@progress/kendo-angular-dropdowns 24.0.0-develop.1 → 24.0.0-develop.3

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.
Files changed (48) hide show
  1. package/codemods/{utils.js → libs/common/src/codemods/utils.js} +53 -30
  2. package/codemods/libs/dropdowns/codemods/v19/autocomplete-closebuttontitle.js +25 -0
  3. package/codemods/libs/dropdowns/codemods/v19/autocomplete-subtitle.js +27 -0
  4. package/codemods/libs/dropdowns/codemods/v19/autocomplete-title.js +27 -0
  5. package/codemods/libs/dropdowns/codemods/v19/combobox-closebuttontitle.js +25 -0
  6. package/codemods/libs/dropdowns/codemods/v19/combobox-subtitle.js +27 -0
  7. package/codemods/libs/dropdowns/codemods/v19/combobox-title.js +27 -0
  8. package/codemods/libs/dropdowns/codemods/v19/dropdownlist-closebuttontitle.js +25 -0
  9. package/codemods/libs/dropdowns/codemods/v19/dropdownlist-subtitle.js +27 -0
  10. package/codemods/libs/dropdowns/codemods/v19/dropdownlist-title.js +27 -0
  11. package/codemods/libs/dropdowns/codemods/v19/dropdowntree-closebuttontitle.js +25 -0
  12. package/codemods/libs/dropdowns/codemods/v19/dropdowntree-subtitle.js +27 -0
  13. package/codemods/libs/dropdowns/codemods/v19/dropdowntree-title.js +27 -0
  14. package/codemods/libs/dropdowns/codemods/v19/multicolumncombobox-closebuttontitle.js +25 -0
  15. package/codemods/libs/dropdowns/codemods/v19/multicolumncombobox-subtitle.js +27 -0
  16. package/codemods/libs/dropdowns/codemods/v19/multicolumncombobox-title.js +27 -0
  17. package/codemods/libs/dropdowns/codemods/v19/multiselect-closebuttontitle.js +25 -0
  18. package/codemods/libs/dropdowns/codemods/v19/multiselect-subtitle.js +27 -0
  19. package/codemods/libs/dropdowns/codemods/v19/multiselect-title.js +27 -0
  20. package/codemods/libs/dropdowns/codemods/v19/multiselecttree-closebuttontitle.js +25 -0
  21. package/codemods/libs/dropdowns/codemods/v19/multiselecttree-subtitle.js +27 -0
  22. package/codemods/libs/dropdowns/codemods/v19/multiselecttree-title.js +27 -0
  23. package/codemods/{v21 → libs/dropdowns/codemods/v21}/dropdowns-rendering-changes.js +4 -4
  24. package/fesm2022/progress-kendo-angular-dropdowns.mjs +2 -2
  25. package/package-metadata.mjs +2 -2
  26. package/package.json +31 -52
  27. package/schematics/ngAdd/index.js +2 -2
  28. package/codemods/v19/autocomplete-closebuttontitle.js +0 -47
  29. package/codemods/v19/autocomplete-subtitle.js +0 -49
  30. package/codemods/v19/autocomplete-title.js +0 -49
  31. package/codemods/v19/combobox-closebuttontitle.js +0 -47
  32. package/codemods/v19/combobox-subtitle.js +0 -49
  33. package/codemods/v19/combobox-title.js +0 -49
  34. package/codemods/v19/dropdownlist-closebuttontitle.js +0 -47
  35. package/codemods/v19/dropdownlist-subtitle.js +0 -49
  36. package/codemods/v19/dropdownlist-title.js +0 -49
  37. package/codemods/v19/dropdowntree-closebuttontitle.js +0 -47
  38. package/codemods/v19/dropdowntree-subtitle.js +0 -49
  39. package/codemods/v19/dropdowntree-title.js +0 -49
  40. package/codemods/v19/multicolumncombobox-closebuttontitle.js +0 -47
  41. package/codemods/v19/multicolumncombobox-subtitle.js +0 -49
  42. package/codemods/v19/multicolumncombobox-title.js +0 -49
  43. package/codemods/v19/multiselect-closebuttontitle.js +0 -47
  44. package/codemods/v19/multiselect-subtitle.js +0 -49
  45. package/codemods/v19/multiselect-title.js +0 -49
  46. package/codemods/v19/multiselecttree-closebuttontitle.js +0 -47
  47. package/codemods/v19/multiselecttree-subtitle.js +0 -49
  48. package/codemods/v19/multiselecttree-title.js +0 -49
@@ -3,29 +3,6 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
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
6
  Object.defineProperty(exports, "__esModule", { value: true });
30
7
  exports.tsInterfaceTransformer = exports.tsPropertyValueTransformer = exports.tsPropertyTransformer = exports.tsComponentPropertyRemoval = exports.attributeRemoval = exports.attributeValueUpdate = exports.attributeNameValueUpdate = exports.attributeNameUpdate = exports.eventUpdate = exports.htmlTransformer = exports.blockTextElements = void 0;
31
8
  exports.hasKendoInTemplate = hasKendoInTemplate;
@@ -35,8 +12,12 @@ exports.makePattern = makePattern;
35
12
  exports.writeInstructionMarker = writeInstructionMarker;
36
13
  exports.isApiChangeTarget = isApiChangeTarget;
37
14
  exports.isRenderingChangeTarget = isRenderingChangeTarget;
38
- const fs = __importStar(require("node:fs"));
39
- const path = __importStar(require("node:path"));
15
+ exports.executeCodemodTest = executeCodemodTest;
16
+ const tslib_1 = require("tslib");
17
+ /// <reference types="node" />
18
+ const fs = tslib_1.__importStar(require("fs"));
19
+ const os = tslib_1.__importStar(require("os"));
20
+ const path = tslib_1.__importStar(require("path"));
40
21
  exports.blockTextElements = {
41
22
  script: true,
42
23
  noscript: true,
@@ -320,12 +301,12 @@ const attributeRemoval = (templateContent, tagName, attributeName, propertyToRem
320
301
  // If no propertyToRemove is specified, remove the entire attribute
321
302
  if (!propertyToRemove) {
322
303
  // Remove bound attributes [attribute]="value"
323
- const boundAttributePattern = new RegExp(`(\\s+)\\[${escapedAttr}\\]\\s*=\\s*("(?:[^"\\\\]|\\\\.)*?"|'(?:[^'\\\\]|\\\\.)*?'|[^\\s>]+)`, 'gi');
304
+ const boundAttributePattern = new RegExp(`(<${escapedTag}[^>]*?)\\s+\\[${escapedAttr}\\]\\s*=\\s*("(?:[^"\\\\]|\\\\.)*?"|'(?:[^'\\\\]|\\\\.)*?'|[^\\s>]+)([^>]*?>)`, 'gi');
324
305
  // Remove static attributes attribute="value"
325
- const staticAttributePattern = new RegExp(`(\\s+)${escapedAttr}\\s*=\\s*("(?:[^"\\\\]|\\\\.)*?"|'(?:[^'\\\\]|\\\\.)*?'|[^\\s>]+)`, 'gi');
326
- // Apply removals
327
- let result = templateContent.replace(boundAttributePattern, '');
328
- result = result.replace(staticAttributePattern, '');
306
+ const staticAttributePattern = new RegExp(`(<${escapedTag}[^>]*?)\\s+${escapedAttr}\\s*=\\s*("(?:[^"\\\\]|\\\\.)*?"|'(?:[^'\\\\]|\\\\.)*?'|[^\\s>]+)([^>]*?>)`, 'gi');
307
+ // Apply removals - keep tag prefix and suffix, remove the attribute
308
+ let result = templateContent.replace(boundAttributePattern, '$1$3');
309
+ result = result.replace(staticAttributePattern, '$1$3');
329
310
  return result;
330
311
  }
331
312
  // Remove specific property from object literal attributes
@@ -1428,3 +1409,45 @@ function isRenderingChangeTarget(filePath) {
1428
1409
  const ext = path.extname(filePath);
1429
1410
  return ext === '.ts' || ext === '.html' || ext === '.css' || ext === '.scss' || ext === '.sass' || ext === '.less';
1430
1411
  }
1412
+ /**
1413
+ * Executes a codemod transformation and compares the result with expected output
1414
+ *
1415
+ * @param codemod - The codemod function to execute
1416
+ * @param testDir - Directory containing the test files (__dirname from test file)
1417
+ * @param exampleFileName - Name of the input file (default: 'example.ts')
1418
+ * @param expectedFileName - Name of the expected output file (default: 'expected.ts')
1419
+ * @returns Object containing the transformation result and expected content
1420
+ */
1421
+ function executeCodemodTest(codemod, testDir, exampleFileName = 'example.ts', expectedFileName = 'expected.ts') {
1422
+ const exampleFile = path.join(testDir, exampleFileName);
1423
+ const expectedFile = path.join(testDir, expectedFileName);
1424
+ const sourceCode = fs.readFileSync(exampleFile, 'utf-8');
1425
+ const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'codemod-test-'));
1426
+ const tmpFile = path.join(tmpDir, path.basename(exampleFile));
1427
+ fs.writeFileSync(tmpFile, sourceCode, 'utf-8');
1428
+ try {
1429
+ const fileInfo = {
1430
+ path: tmpFile,
1431
+ source: sourceCode
1432
+ };
1433
+ const jscodeshift = require('jscodeshift').withParser('tsx');
1434
+ const api = {
1435
+ jscodeshift,
1436
+ j: jscodeshift
1437
+ };
1438
+ const result = codemod(fileInfo, api);
1439
+ const expectedContent = fs.readFileSync(expectedFile, 'utf-8').trim();
1440
+ return {
1441
+ result: result?.trim(),
1442
+ expected: expectedContent,
1443
+ sourceCode,
1444
+ transformedSuccessfully: result !== undefined
1445
+ };
1446
+ }
1447
+ finally {
1448
+ try {
1449
+ fs.rmSync(tmpDir, { recursive: true });
1450
+ }
1451
+ catch { }
1452
+ }
1453
+ }
@@ -0,0 +1,25 @@
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
+ const htmlResult = (0, codemods_1.htmlTransformer)(fileInfo, api, (templateContent) => (0, codemods_1.attributeNameUpdate)(templateContent, 'kendo-autocomplete', 'clearTitle', 'adaptiveCloseButtonTitle'));
14
+ if (filePath.endsWith('.html')) {
15
+ if (htmlResult && htmlResult !== fileInfo.source) {
16
+ fs.writeFileSync(filePath, htmlResult, 'utf-8');
17
+ return htmlResult;
18
+ }
19
+ return fileInfo.source;
20
+ }
21
+ const j = api.jscodeshift;
22
+ const rootSource = j(htmlResult || fileInfo.source);
23
+ (0, codemods_1.tsPropertyTransformer)(fileInfo.source, rootSource, j, '@progress/kendo-angular-dropdowns', 'AutoCompleteComponent', 'clearTitle', 'adaptiveCloseButtonTitle');
24
+ return rootSource.toSource();
25
+ }
@@ -0,0 +1,27 @@
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
+ // Handle HTML files and inline templates
14
+ const htmlResult = (0, codemods_1.htmlTransformer)(fileInfo, api, (templateContent) => (0, codemods_1.attributeNameUpdate)(templateContent, 'kendo-autocomplete', 'subtitle', 'adaptiveSubtitle'));
15
+ if (filePath.endsWith('.html')) {
16
+ if (htmlResult && htmlResult !== fileInfo.source) {
17
+ fs.writeFileSync(filePath, htmlResult, 'utf-8');
18
+ return htmlResult;
19
+ }
20
+ return fileInfo.source; // Return original source if no changes
21
+ }
22
+ // Handle TypeScript property transformations
23
+ const j = api.jscodeshift;
24
+ const rootSource = j(htmlResult || fileInfo.source);
25
+ (0, codemods_1.tsPropertyTransformer)(fileInfo.source, rootSource, j, '@progress/kendo-angular-dropdowns', 'AutoCompleteComponent', 'subtitle', 'adaptiveSubtitle');
26
+ return rootSource.toSource();
27
+ }
@@ -0,0 +1,27 @@
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
+ // Handle HTML files and inline templates
14
+ const htmlResult = (0, codemods_1.htmlTransformer)(fileInfo, api, (templateContent) => (0, codemods_1.attributeNameUpdate)(templateContent, 'kendo-autocomplete', 'title', 'adaptiveTitle'));
15
+ if (filePath.endsWith('.html')) {
16
+ if (htmlResult && htmlResult !== fileInfo.source) {
17
+ fs.writeFileSync(filePath, htmlResult, 'utf-8');
18
+ return htmlResult;
19
+ }
20
+ return fileInfo.source; // Return original source if no changes
21
+ }
22
+ // Handle TypeScript property transformations
23
+ const j = api.jscodeshift;
24
+ const rootSource = j(htmlResult || fileInfo.source);
25
+ (0, codemods_1.tsPropertyTransformer)(fileInfo.source, rootSource, j, '@progress/kendo-angular-dropdowns', 'AutoCompleteComponent', 'title', 'adaptiveTitle');
26
+ return rootSource.toSource();
27
+ }
@@ -0,0 +1,25 @@
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
+ const htmlResult = (0, codemods_1.htmlTransformer)(fileInfo, api, (templateContent) => (0, codemods_1.attributeNameUpdate)(templateContent, 'kendo-combobox', 'clearTitle', 'adaptiveCloseButtonTitle'));
14
+ if (filePath.endsWith('.html')) {
15
+ if (htmlResult && htmlResult !== fileInfo.source) {
16
+ fs.writeFileSync(filePath, htmlResult, 'utf-8');
17
+ return htmlResult;
18
+ }
19
+ return fileInfo.source;
20
+ }
21
+ const j = api.jscodeshift;
22
+ const rootSource = j(htmlResult || fileInfo.source);
23
+ (0, codemods_1.tsPropertyTransformer)(fileInfo.source, rootSource, j, '@progress/kendo-angular-dropdowns', 'ComboBoxComponent', 'clearTitle', 'adaptiveCloseButtonTitle');
24
+ return rootSource.toSource();
25
+ }
@@ -0,0 +1,27 @@
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
+ // Handle HTML files and inline templates
14
+ const htmlResult = (0, codemods_1.htmlTransformer)(fileInfo, api, (templateContent) => (0, codemods_1.attributeNameUpdate)(templateContent, 'kendo-combobox', 'subtitle', 'adaptiveSubtitle'));
15
+ if (filePath.endsWith('.html')) {
16
+ if (htmlResult && htmlResult !== fileInfo.source) {
17
+ fs.writeFileSync(filePath, htmlResult, 'utf-8');
18
+ return htmlResult;
19
+ }
20
+ return fileInfo.source; // Return original source if no changes
21
+ }
22
+ // Handle TypeScript property transformations
23
+ const j = api.jscodeshift;
24
+ const rootSource = j(htmlResult || fileInfo.source);
25
+ (0, codemods_1.tsPropertyTransformer)(fileInfo.source, rootSource, j, '@progress/kendo-angular-dropdowns', 'ComboBoxComponent', 'subtitle', 'adaptiveSubtitle');
26
+ return rootSource.toSource();
27
+ }
@@ -0,0 +1,27 @@
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
+ // Handle HTML files and inline templates
14
+ const htmlResult = (0, codemods_1.htmlTransformer)(fileInfo, api, (templateContent) => (0, codemods_1.attributeNameUpdate)(templateContent, 'kendo-combobox', 'title', 'adaptiveTitle'));
15
+ if (filePath.endsWith('.html')) {
16
+ if (htmlResult && htmlResult !== fileInfo.source) {
17
+ fs.writeFileSync(filePath, htmlResult, 'utf-8');
18
+ return htmlResult;
19
+ }
20
+ return fileInfo.source; // Return original source if no changes
21
+ }
22
+ // Handle TypeScript property transformations
23
+ const j = api.jscodeshift;
24
+ const rootSource = j(htmlResult || fileInfo.source);
25
+ (0, codemods_1.tsPropertyTransformer)(fileInfo.source, rootSource, j, '@progress/kendo-angular-dropdowns', 'ComboBoxComponent', 'title', 'adaptiveTitle');
26
+ return rootSource.toSource();
27
+ }
@@ -0,0 +1,25 @@
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
+ const htmlResult = (0, codemods_1.htmlTransformer)(fileInfo, api, (templateContent) => (0, codemods_1.attributeNameUpdate)(templateContent, 'kendo-dropdownlist', 'clearTitle', 'adaptiveCloseButtonTitle'));
14
+ if (filePath.endsWith('.html')) {
15
+ if (htmlResult && htmlResult !== fileInfo.source) {
16
+ fs.writeFileSync(filePath, htmlResult, 'utf-8');
17
+ return htmlResult;
18
+ }
19
+ return fileInfo.source;
20
+ }
21
+ const j = api.jscodeshift;
22
+ const rootSource = j(htmlResult || fileInfo.source);
23
+ (0, codemods_1.tsPropertyTransformer)(fileInfo.source, rootSource, j, '@progress/kendo-angular-dropdowns', 'DropDownListComponent', 'clearTitle', 'adaptiveCloseButtonTitle');
24
+ return rootSource.toSource();
25
+ }
@@ -0,0 +1,27 @@
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
+ // Handle HTML files and inline templates
14
+ const htmlResult = (0, codemods_1.htmlTransformer)(fileInfo, api, (templateContent) => (0, codemods_1.attributeNameUpdate)(templateContent, 'kendo-dropdownlist', 'subtitle', 'adaptiveSubtitle'));
15
+ if (filePath.endsWith('.html')) {
16
+ if (htmlResult && htmlResult !== fileInfo.source) {
17
+ fs.writeFileSync(filePath, htmlResult, 'utf-8');
18
+ return htmlResult;
19
+ }
20
+ return fileInfo.source; // Return original source if no changes
21
+ }
22
+ // Handle TypeScript property transformations
23
+ const j = api.jscodeshift;
24
+ const rootSource = j(htmlResult || fileInfo.source);
25
+ (0, codemods_1.tsPropertyTransformer)(fileInfo.source, rootSource, j, '@progress/kendo-angular-dropdowns', 'DropDownListComponent', 'subtitle', 'adaptiveSubtitle');
26
+ return rootSource.toSource();
27
+ }
@@ -0,0 +1,27 @@
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
+ // Handle HTML files and inline templates
14
+ const htmlResult = (0, codemods_1.htmlTransformer)(fileInfo, api, (templateContent) => (0, codemods_1.attributeNameUpdate)(templateContent, 'kendo-dropdownlist', 'title', 'adaptiveTitle'));
15
+ if (filePath.endsWith('.html')) {
16
+ if (htmlResult && htmlResult !== fileInfo.source) {
17
+ fs.writeFileSync(filePath, htmlResult, 'utf-8');
18
+ return htmlResult;
19
+ }
20
+ return fileInfo.source; // Return original source if no changes
21
+ }
22
+ // Handle TypeScript property transformations
23
+ const j = api.jscodeshift;
24
+ const rootSource = j(htmlResult || fileInfo.source);
25
+ (0, codemods_1.tsPropertyTransformer)(fileInfo.source, rootSource, j, '@progress/kendo-angular-dropdowns', 'DropDownListComponent', 'title', 'adaptiveTitle');
26
+ return rootSource.toSource();
27
+ }
@@ -0,0 +1,25 @@
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
+ const htmlResult = (0, codemods_1.htmlTransformer)(fileInfo, api, (templateContent) => (0, codemods_1.attributeNameUpdate)(templateContent, 'kendo-dropdowntree', 'clearTitle', 'adaptiveCloseButtonTitle'));
14
+ if (filePath.endsWith('.html')) {
15
+ if (htmlResult && htmlResult !== fileInfo.source) {
16
+ fs.writeFileSync(filePath, htmlResult, 'utf-8');
17
+ return htmlResult;
18
+ }
19
+ return fileInfo.source;
20
+ }
21
+ const j = api.jscodeshift;
22
+ const rootSource = j(htmlResult || fileInfo.source);
23
+ (0, codemods_1.tsPropertyTransformer)(fileInfo.source, rootSource, j, '@progress/kendo-angular-dropdowns', 'DropDownTreeComponent', 'clearTitle', 'adaptiveCloseButtonTitle');
24
+ return rootSource.toSource();
25
+ }
@@ -0,0 +1,27 @@
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
+ // Handle HTML files and inline templates
14
+ const htmlResult = (0, codemods_1.htmlTransformer)(fileInfo, api, (templateContent) => (0, codemods_1.attributeNameUpdate)(templateContent, 'kendo-dropdowntree', 'subtitle', 'adaptiveSubtitle'));
15
+ if (filePath.endsWith('.html')) {
16
+ if (htmlResult && htmlResult !== fileInfo.source) {
17
+ fs.writeFileSync(filePath, htmlResult, 'utf-8');
18
+ return htmlResult;
19
+ }
20
+ return fileInfo.source; // Return original source if no changes
21
+ }
22
+ // Handle TypeScript property transformations
23
+ const j = api.jscodeshift;
24
+ const rootSource = j(htmlResult || fileInfo.source);
25
+ (0, codemods_1.tsPropertyTransformer)(fileInfo.source, rootSource, j, '@progress/kendo-angular-dropdowns', 'DropDownTreeComponent', 'subtitle', 'adaptiveSubtitle');
26
+ return rootSource.toSource();
27
+ }
@@ -0,0 +1,27 @@
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
+ // Handle HTML files and inline templates
14
+ const htmlResult = (0, codemods_1.htmlTransformer)(fileInfo, api, (templateContent) => (0, codemods_1.attributeNameUpdate)(templateContent, 'kendo-dropdowntree', 'title', 'adaptiveTitle'));
15
+ if (filePath.endsWith('.html')) {
16
+ if (htmlResult && htmlResult !== fileInfo.source) {
17
+ fs.writeFileSync(filePath, htmlResult, 'utf-8');
18
+ return htmlResult;
19
+ }
20
+ return fileInfo.source; // Return original source if no changes
21
+ }
22
+ // Handle TypeScript property transformations
23
+ const j = api.jscodeshift;
24
+ const rootSource = j(htmlResult || fileInfo.source);
25
+ (0, codemods_1.tsPropertyTransformer)(fileInfo.source, rootSource, j, '@progress/kendo-angular-dropdowns', 'DropDownTreeComponent', 'title', 'adaptiveTitle');
26
+ return rootSource.toSource();
27
+ }
@@ -0,0 +1,25 @@
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
+ const htmlResult = (0, codemods_1.htmlTransformer)(fileInfo, api, (templateContent) => (0, codemods_1.attributeNameUpdate)(templateContent, 'kendo-multicolumncombobox', 'clearTitle', 'adaptiveCloseButtonTitle'));
14
+ if (filePath.endsWith('.html')) {
15
+ if (htmlResult && htmlResult !== fileInfo.source) {
16
+ fs.writeFileSync(filePath, htmlResult, 'utf-8');
17
+ return htmlResult;
18
+ }
19
+ return fileInfo.source;
20
+ }
21
+ const j = api.jscodeshift;
22
+ const rootSource = j(htmlResult || fileInfo.source);
23
+ (0, codemods_1.tsPropertyTransformer)(fileInfo.source, rootSource, j, '@progress/kendo-angular-dropdowns', 'MultiColumnComboBoxComponent', 'clearTitle', 'adaptiveCloseButtonTitle');
24
+ return rootSource.toSource();
25
+ }
@@ -0,0 +1,27 @@
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
+ // Handle HTML files and inline templates
14
+ const htmlResult = (0, codemods_1.htmlTransformer)(fileInfo, api, (templateContent) => (0, codemods_1.attributeNameUpdate)(templateContent, 'kendo-multicolumncombobox', 'subtitle', 'adaptiveSubtitle'));
15
+ if (filePath.endsWith('.html')) {
16
+ if (htmlResult && htmlResult !== fileInfo.source) {
17
+ fs.writeFileSync(filePath, htmlResult, 'utf-8');
18
+ return htmlResult;
19
+ }
20
+ return fileInfo.source; // Return original source if no changes
21
+ }
22
+ // Handle TypeScript property transformations
23
+ const j = api.jscodeshift;
24
+ const rootSource = j(htmlResult || fileInfo.source);
25
+ (0, codemods_1.tsPropertyTransformer)(fileInfo.source, rootSource, j, '@progress/kendo-angular-dropdowns', 'MultiColumnComboBoxComponent', 'subtitle', 'adaptiveSubtitle');
26
+ return rootSource.toSource();
27
+ }
@@ -0,0 +1,27 @@
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
+ // Handle HTML files and inline templates
14
+ const htmlResult = (0, codemods_1.htmlTransformer)(fileInfo, api, (templateContent) => (0, codemods_1.attributeNameUpdate)(templateContent, 'kendo-multicolumncombobox', 'title', 'adaptiveTitle'));
15
+ if (filePath.endsWith('.html')) {
16
+ if (htmlResult && htmlResult !== fileInfo.source) {
17
+ fs.writeFileSync(filePath, htmlResult, 'utf-8');
18
+ return htmlResult;
19
+ }
20
+ return fileInfo.source; // Return original source if no changes
21
+ }
22
+ // Handle TypeScript property transformations
23
+ const j = api.jscodeshift;
24
+ const rootSource = j(htmlResult || fileInfo.source);
25
+ (0, codemods_1.tsPropertyTransformer)(fileInfo.source, rootSource, j, '@progress/kendo-angular-dropdowns', 'MultiColumnComboBoxComponent', 'title', 'adaptiveTitle');
26
+ return rootSource.toSource();
27
+ }
@@ -0,0 +1,25 @@
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
+ const htmlResult = (0, codemods_1.htmlTransformer)(fileInfo, api, (templateContent) => (0, codemods_1.attributeNameUpdate)(templateContent, 'kendo-multiselect', 'clearTitle', 'adaptiveCloseButtonTitle'));
14
+ if (filePath.endsWith('.html')) {
15
+ if (htmlResult && htmlResult !== fileInfo.source) {
16
+ fs.writeFileSync(filePath, htmlResult, 'utf-8');
17
+ return htmlResult;
18
+ }
19
+ return fileInfo.source;
20
+ }
21
+ const j = api.jscodeshift;
22
+ const rootSource = j(htmlResult || fileInfo.source);
23
+ (0, codemods_1.tsPropertyTransformer)(fileInfo.source, rootSource, j, '@progress/kendo-angular-dropdowns', 'MultiSelectComponent', 'clearTitle', 'adaptiveCloseButtonTitle');
24
+ return rootSource.toSource();
25
+ }
@@ -0,0 +1,27 @@
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
+ // Handle HTML files and inline templates
14
+ const htmlResult = (0, codemods_1.htmlTransformer)(fileInfo, api, (templateContent) => (0, codemods_1.attributeNameUpdate)(templateContent, 'kendo-multiselect', 'subtitle', 'adaptiveSubtitle'));
15
+ if (filePath.endsWith('.html')) {
16
+ if (htmlResult && htmlResult !== fileInfo.source) {
17
+ fs.writeFileSync(filePath, htmlResult, 'utf-8');
18
+ return htmlResult;
19
+ }
20
+ return fileInfo.source; // Return original source if no changes
21
+ }
22
+ // Handle TypeScript property transformations
23
+ const j = api.jscodeshift;
24
+ const rootSource = j(htmlResult || fileInfo.source);
25
+ (0, codemods_1.tsPropertyTransformer)(fileInfo.source, rootSource, j, '@progress/kendo-angular-dropdowns', 'MultiSelectComponent', 'subtitle', 'adaptiveSubtitle');
26
+ return rootSource.toSource();
27
+ }
@@ -0,0 +1,27 @@
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
+ // Handle HTML files and inline templates
14
+ const htmlResult = (0, codemods_1.htmlTransformer)(fileInfo, api, (templateContent) => (0, codemods_1.attributeNameUpdate)(templateContent, 'kendo-multiselect', 'title', 'adaptiveTitle'));
15
+ if (filePath.endsWith('.html')) {
16
+ if (htmlResult && htmlResult !== fileInfo.source) {
17
+ fs.writeFileSync(filePath, htmlResult, 'utf-8');
18
+ return htmlResult;
19
+ }
20
+ return fileInfo.source; // Return original source if no changes
21
+ }
22
+ // Handle TypeScript property transformations
23
+ const j = api.jscodeshift;
24
+ const rootSource = j(htmlResult || fileInfo.source);
25
+ (0, codemods_1.tsPropertyTransformer)(fileInfo.source, rootSource, j, '@progress/kendo-angular-dropdowns', 'MultiSelectComponent', 'title', 'adaptiveTitle');
26
+ return rootSource.toSource();
27
+ }
@@ -0,0 +1,25 @@
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
+ const htmlResult = (0, codemods_1.htmlTransformer)(fileInfo, api, (templateContent) => (0, codemods_1.attributeNameUpdate)(templateContent, 'kendo-multiselecttree', 'clearTitle', 'adaptiveCloseButtonTitle'));
14
+ if (filePath.endsWith('.html')) {
15
+ if (htmlResult && htmlResult !== fileInfo.source) {
16
+ fs.writeFileSync(filePath, htmlResult, 'utf-8');
17
+ return htmlResult;
18
+ }
19
+ return fileInfo.source;
20
+ }
21
+ const j = api.jscodeshift;
22
+ const rootSource = j(htmlResult || fileInfo.source);
23
+ (0, codemods_1.tsPropertyTransformer)(fileInfo.source, rootSource, j, '@progress/kendo-angular-dropdowns', 'MultiSelectTreeComponent', 'clearTitle', 'adaptiveCloseButtonTitle');
24
+ return rootSource.toSource();
25
+ }