@progress/kendo-angular-conversational-ui 24.0.0-develop.1 → 24.0.0-develop.11
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/NOTICE.txt +2599 -172
- package/codemods/{utils.js → libs/common/src/codemods/utils.js} +53 -30
- package/codemods/{v20 → libs/conversational-ui/codemods/v20}/aiprompt-rendering-changes.js +4 -4
- package/codemods/{v20 → libs/conversational-ui/codemods/v20}/chat-messageboxtype.js +5 -27
- package/codemods/{v20 → libs/conversational-ui/codemods/v20}/chat-rendering-changes.js +8 -8
- package/codemods/{v20 → libs/conversational-ui/codemods/v20}/chat-user.js +6 -28
- package/codemods/{v21 → libs/conversational-ui/codemods/v21}/chat-message-id-required.js +6 -6
- package/codemods/{v21 → libs/conversational-ui/codemods/v21}/chat-messagetoolbarvisibility.js +6 -28
- package/codemods/{v21 → libs/conversational-ui/codemods/v21}/chat-pinnedbyfield.js +2 -2
- package/codemods/{v21 → libs/conversational-ui/codemods/v21}/chat-rendering-changes.js +12 -12
- package/codemods/{v23 → libs/conversational-ui/codemods/v23}/chat-FileSelectSettings.js +3 -3
- package/codemods/{v23 → libs/conversational-ui/codemods/v23}/chat-enableFileSelect.js +6 -28
- package/codemods/libs/conversational-ui/codemods/v23/chat-enableSpeechToText.js +30 -0
- package/codemods/{v23 → libs/conversational-ui/codemods/v23}/chat-rendering-changes.js +16 -16
- package/codemods/libs/conversational-ui/codemods/v23/customMessages-send.js +30 -0
- package/fesm2022/progress-kendo-angular-conversational-ui.mjs +2 -2
- package/package-metadata.mjs +2 -2
- package/package.json +22 -30
- package/codemods/v23/chat-enableSpeechToText.js +0 -52
- package/codemods/v23/customMessages-send.js +0 -52
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
"use strict";
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.default = default_1;
|
|
8
|
+
const tslib_1 = require("tslib");
|
|
9
|
+
const fs = tslib_1.__importStar(require("fs"));
|
|
10
|
+
const codemods_1 = require("@progress/kendo-angular-common/codemods");
|
|
11
|
+
function default_1(fileInfo, api) {
|
|
12
|
+
const filePath = fileInfo.path;
|
|
13
|
+
if (!(0, codemods_1.isApiChangeTarget)(filePath)) {
|
|
14
|
+
return fileInfo.source;
|
|
15
|
+
}
|
|
16
|
+
// Handle HTML files and inline templates
|
|
17
|
+
const htmlResult = (0, codemods_1.htmlTransformer)(fileInfo, api, (templateContent) => (0, codemods_1.attributeNameUpdate)(templateContent, 'kendo-chat-messages', 'send', 'actionButtonTitle'));
|
|
18
|
+
if (filePath.endsWith('.html')) {
|
|
19
|
+
if (htmlResult && htmlResult !== fileInfo.source) {
|
|
20
|
+
fs.writeFileSync(filePath, htmlResult, 'utf-8');
|
|
21
|
+
return htmlResult;
|
|
22
|
+
}
|
|
23
|
+
return fileInfo.source; // Return original source if no changes
|
|
24
|
+
}
|
|
25
|
+
// Handle TypeScript property transformations
|
|
26
|
+
const j = api.jscodeshift;
|
|
27
|
+
const rootSource = j(htmlResult || fileInfo.source);
|
|
28
|
+
(0, codemods_1.tsPropertyTransformer)(fileInfo.source, rootSource, j, '@progress/kendo-angular-conversational-ui', 'CustomMessagesComponent', 'send', 'actionButtonTitle');
|
|
29
|
+
return rootSource.toSource();
|
|
30
|
+
}
|
|
@@ -215,8 +215,8 @@ const packageMetadata = {
|
|
|
215
215
|
productName: 'Kendo UI for Angular',
|
|
216
216
|
productCode: 'KENDOUIANGULAR',
|
|
217
217
|
productCodes: ['KENDOUIANGULAR'],
|
|
218
|
-
publishDate:
|
|
219
|
-
version: '24.0.0-develop.
|
|
218
|
+
publishDate: 1777399640,
|
|
219
|
+
version: '24.0.0-develop.11',
|
|
220
220
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
221
221
|
};
|
|
222
222
|
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "24.0.0-develop.
|
|
10
|
+
"publishDate": 1777399640,
|
|
11
|
+
"version": "24.0.0-develop.11",
|
|
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": "24.0.0-develop.
|
|
3
|
+
"version": "24.0.0-develop.11",
|
|
4
4
|
"description": "Kendo UI for Angular Conversational UI components",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -26,8 +26,7 @@
|
|
|
26
26
|
"20": [
|
|
27
27
|
{
|
|
28
28
|
"description": "The Chat's user input property is deprecated",
|
|
29
|
-
"file": "codemods/v20/chat-user.js"
|
|
30
|
-
"prompt": "false"
|
|
29
|
+
"file": "codemods/v20/chat-user.js"
|
|
31
30
|
},
|
|
32
31
|
{
|
|
33
32
|
"description": "The AIPrompt component has rendering changes that may affect custom styling.",
|
|
@@ -41,20 +40,17 @@
|
|
|
41
40
|
},
|
|
42
41
|
{
|
|
43
42
|
"description": "The Chat's messageBoxType property is removed.",
|
|
44
|
-
"file": "codemods/v20/chat-messageboxtype.js"
|
|
45
|
-
"prompt": "false"
|
|
43
|
+
"file": "codemods/v20/chat-messageboxtype.js"
|
|
46
44
|
}
|
|
47
45
|
],
|
|
48
46
|
"21": [
|
|
49
47
|
{
|
|
50
48
|
"description": "The Chat's messageToolbarVisibility input property is deprecated.",
|
|
51
|
-
"file": "codemods/v21/chat-messagetoolbarvisibility.js"
|
|
52
|
-
"prompt": "false"
|
|
49
|
+
"file": "codemods/v21/chat-messagetoolbarvisibility.js"
|
|
53
50
|
},
|
|
54
51
|
{
|
|
55
52
|
"description": "The pinnedByField property of the Chat's ConversationalUIModelFields is deprecated.",
|
|
56
|
-
"file": "codemods/v21/chat-pinnedbyfield.js"
|
|
57
|
-
"prompt": "false"
|
|
53
|
+
"file": "codemods/v21/chat-pinnedbyfield.js"
|
|
58
54
|
},
|
|
59
55
|
{
|
|
60
56
|
"description": "The Message interface now requires a unique 'id' property.",
|
|
@@ -70,23 +66,19 @@
|
|
|
70
66
|
"23": [
|
|
71
67
|
{
|
|
72
68
|
"description": "The Chat's enableSpeechToText input property is renamed to speechToTextButton.",
|
|
73
|
-
"file": "codemods/v23/chat-enableSpeechToText.js"
|
|
74
|
-
"prompt": "false"
|
|
69
|
+
"file": "codemods/v23/chat-enableSpeechToText.js"
|
|
75
70
|
},
|
|
76
71
|
{
|
|
77
72
|
"description": "The Chat's enableFileSelect input property is renamed to fileSelectButton.",
|
|
78
|
-
"file": "codemods/v23/chat-enableFileSelect.js"
|
|
79
|
-
"prompt": "false"
|
|
73
|
+
"file": "codemods/v23/chat-enableFileSelect.js"
|
|
80
74
|
},
|
|
81
75
|
{
|
|
82
76
|
"description": "The Chat's FileSelectSettings is changed to FileSelectButtonSettings.",
|
|
83
|
-
"file": "codemods/v23/chat-FileSelectSettings.js"
|
|
84
|
-
"prompt": "false"
|
|
77
|
+
"file": "codemods/v23/chat-FileSelectSettings.js"
|
|
85
78
|
},
|
|
86
79
|
{
|
|
87
80
|
"description": "The CustomMessagesComponent's send property is renamed to actionButtonTitle.",
|
|
88
|
-
"file": "codemods/v23/customMessages-send.js"
|
|
89
|
-
"prompt": "false"
|
|
81
|
+
"file": "codemods/v23/customMessages-send.js"
|
|
90
82
|
},
|
|
91
83
|
{
|
|
92
84
|
"description": "The Chat component has rendering changes that may affect custom styling.",
|
|
@@ -99,7 +91,7 @@
|
|
|
99
91
|
"package": {
|
|
100
92
|
"productName": "Kendo UI for Angular",
|
|
101
93
|
"productCode": "KENDOUIANGULAR",
|
|
102
|
-
"publishDate":
|
|
94
|
+
"publishDate": 1777399640,
|
|
103
95
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
104
96
|
}
|
|
105
97
|
},
|
|
@@ -109,22 +101,22 @@
|
|
|
109
101
|
"@angular/core": "19 - 21",
|
|
110
102
|
"@angular/platform-browser": "19 - 21",
|
|
111
103
|
"@progress/kendo-licensing": "^1.11.0",
|
|
112
|
-
"@progress/kendo-angular-buttons": "24.0.0-develop.
|
|
113
|
-
"@progress/kendo-angular-inputs": "24.0.0-develop.
|
|
114
|
-
"@progress/kendo-angular-layout": "24.0.0-develop.
|
|
115
|
-
"@progress/kendo-angular-icons": "24.0.0-develop.
|
|
116
|
-
"@progress/kendo-angular-common": "24.0.0-develop.
|
|
117
|
-
"@progress/kendo-angular-intl": "24.0.0-develop.
|
|
118
|
-
"@progress/kendo-angular-l10n": "24.0.0-develop.
|
|
119
|
-
"@progress/kendo-angular-menu": "24.0.0-develop.
|
|
120
|
-
"@progress/kendo-angular-popup": "24.0.0-develop.
|
|
121
|
-
"@progress/kendo-angular-toolbar": "24.0.0-develop.
|
|
122
|
-
"@progress/kendo-angular-upload": "24.0.0-develop.
|
|
104
|
+
"@progress/kendo-angular-buttons": "24.0.0-develop.11",
|
|
105
|
+
"@progress/kendo-angular-inputs": "24.0.0-develop.11",
|
|
106
|
+
"@progress/kendo-angular-layout": "24.0.0-develop.11",
|
|
107
|
+
"@progress/kendo-angular-icons": "24.0.0-develop.11",
|
|
108
|
+
"@progress/kendo-angular-common": "24.0.0-develop.11",
|
|
109
|
+
"@progress/kendo-angular-intl": "24.0.0-develop.11",
|
|
110
|
+
"@progress/kendo-angular-l10n": "24.0.0-develop.11",
|
|
111
|
+
"@progress/kendo-angular-menu": "24.0.0-develop.11",
|
|
112
|
+
"@progress/kendo-angular-popup": "24.0.0-develop.11",
|
|
113
|
+
"@progress/kendo-angular-toolbar": "24.0.0-develop.11",
|
|
114
|
+
"@progress/kendo-angular-upload": "24.0.0-develop.11",
|
|
123
115
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
124
116
|
},
|
|
125
117
|
"dependencies": {
|
|
126
118
|
"tslib": "^2.3.1",
|
|
127
|
-
"@progress/kendo-angular-schematics": "24.0.0-develop.
|
|
119
|
+
"@progress/kendo-angular-schematics": "24.0.0-develop.11"
|
|
128
120
|
},
|
|
129
121
|
"schematics": "./schematics/collection.json",
|
|
130
122
|
"module": "fesm2022/progress-kendo-angular-conversational-ui.mjs",
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
"use strict";
|
|
6
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
-
if (k2 === undefined) k2 = k;
|
|
8
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
-
}
|
|
12
|
-
Object.defineProperty(o, k2, desc);
|
|
13
|
-
}) : (function(o, m, k, k2) {
|
|
14
|
-
if (k2 === undefined) k2 = k;
|
|
15
|
-
o[k2] = m[k];
|
|
16
|
-
}));
|
|
17
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
-
}) : function(o, v) {
|
|
20
|
-
o["default"] = v;
|
|
21
|
-
});
|
|
22
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
23
|
-
if (mod && mod.__esModule) return mod;
|
|
24
|
-
var result = {};
|
|
25
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
26
|
-
__setModuleDefault(result, mod);
|
|
27
|
-
return result;
|
|
28
|
-
};
|
|
29
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
-
exports.default = default_1;
|
|
31
|
-
const fs = __importStar(require("fs"));
|
|
32
|
-
const utils_1 = require("../utils");
|
|
33
|
-
function default_1(fileInfo, api) {
|
|
34
|
-
const filePath = fileInfo.path;
|
|
35
|
-
if (!(0, utils_1.isApiChangeTarget)(filePath)) {
|
|
36
|
-
return fileInfo.source;
|
|
37
|
-
}
|
|
38
|
-
// Handle HTML files and inline templates
|
|
39
|
-
const htmlResult = (0, utils_1.htmlTransformer)(fileInfo, api, (templateContent) => (0, utils_1.attributeNameUpdate)(templateContent, 'kendo-chat', 'enableSpeechToText', 'speechToTextButton'));
|
|
40
|
-
if (filePath.endsWith('.html')) {
|
|
41
|
-
if (htmlResult && htmlResult !== fileInfo.source) {
|
|
42
|
-
fs.writeFileSync(filePath, htmlResult, 'utf-8');
|
|
43
|
-
return htmlResult;
|
|
44
|
-
}
|
|
45
|
-
return fileInfo.source; // Return original source if no changes
|
|
46
|
-
}
|
|
47
|
-
// Handle TypeScript property transformations
|
|
48
|
-
const j = api.jscodeshift;
|
|
49
|
-
const rootSource = j(htmlResult || fileInfo.source);
|
|
50
|
-
(0, utils_1.tsPropertyTransformer)(fileInfo.source, rootSource, j, '@progress/kendo-angular-conversational-ui', 'ChatComponent', 'enableSpeechToText', 'speechToTextButton');
|
|
51
|
-
return rootSource.toSource();
|
|
52
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
"use strict";
|
|
6
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
-
if (k2 === undefined) k2 = k;
|
|
8
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
-
}
|
|
12
|
-
Object.defineProperty(o, k2, desc);
|
|
13
|
-
}) : (function(o, m, k, k2) {
|
|
14
|
-
if (k2 === undefined) k2 = k;
|
|
15
|
-
o[k2] = m[k];
|
|
16
|
-
}));
|
|
17
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
-
}) : function(o, v) {
|
|
20
|
-
o["default"] = v;
|
|
21
|
-
});
|
|
22
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
23
|
-
if (mod && mod.__esModule) return mod;
|
|
24
|
-
var result = {};
|
|
25
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
26
|
-
__setModuleDefault(result, mod);
|
|
27
|
-
return result;
|
|
28
|
-
};
|
|
29
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
-
exports.default = default_1;
|
|
31
|
-
const fs = __importStar(require("fs"));
|
|
32
|
-
const utils_1 = require("../utils");
|
|
33
|
-
function default_1(fileInfo, api) {
|
|
34
|
-
const filePath = fileInfo.path;
|
|
35
|
-
if (!(0, utils_1.isApiChangeTarget)(filePath)) {
|
|
36
|
-
return fileInfo.source;
|
|
37
|
-
}
|
|
38
|
-
// Handle HTML files and inline templates
|
|
39
|
-
const htmlResult = (0, utils_1.htmlTransformer)(fileInfo, api, (templateContent) => (0, utils_1.attributeNameUpdate)(templateContent, 'kendo-chat-messages', 'send', 'actionButtonTitle'));
|
|
40
|
-
if (filePath.endsWith('.html')) {
|
|
41
|
-
if (htmlResult && htmlResult !== fileInfo.source) {
|
|
42
|
-
fs.writeFileSync(filePath, htmlResult, 'utf-8');
|
|
43
|
-
return htmlResult;
|
|
44
|
-
}
|
|
45
|
-
return fileInfo.source; // Return original source if no changes
|
|
46
|
-
}
|
|
47
|
-
// Handle TypeScript property transformations
|
|
48
|
-
const j = api.jscodeshift;
|
|
49
|
-
const rootSource = j(htmlResult || fileInfo.source);
|
|
50
|
-
(0, utils_1.tsPropertyTransformer)(fileInfo.source, rootSource, j, '@progress/kendo-angular-conversational-ui', 'CustomMessagesComponent', 'send', 'actionButtonTitle');
|
|
51
|
-
return rootSource.toSource();
|
|
52
|
-
}
|