@progress/kendo-angular-dateinputs 21.0.0-develop.15 → 21.0.0-develop.17

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.
@@ -34,10 +34,12 @@ const utils_1 = require("../utils");
34
34
  function default_1(fileInfo, api) {
35
35
  const filePath = fileInfo.path;
36
36
  if (filePath.endsWith('.html')) {
37
- let updatedContent = fileInfo.source;
38
- updatedContent = (0, utils_1.htmlAttributeTransformer)({ ...fileInfo, source: updatedContent }, 'kendo-datepicker', 'subtitle', 'adaptiveSubtitle');
39
- // Only write to file once after all transformations
40
- fs.writeFileSync(filePath, updatedContent, 'utf-8');
37
+ if ((0, utils_1.hasKendoInTemplate)(fileInfo.source)) {
38
+ let updatedContent = fileInfo.source;
39
+ updatedContent = (0, utils_1.htmlAttributeTransformer)({ ...fileInfo, source: updatedContent }, 'kendo-datepicker', 'subtitle', 'adaptiveSubtitle');
40
+ // Only write to file once after all transformations
41
+ fs.writeFileSync(filePath, updatedContent, 'utf-8');
42
+ }
41
43
  return;
42
44
  }
43
45
  const j = api.jscodeshift;
@@ -45,6 +47,6 @@ function default_1(fileInfo, api) {
45
47
  (0, index_1.templateTransformer)(rootSource, j, (root) => {
46
48
  (0, utils_1.templateAttributeTransformer)(root, 'kendo-datepicker', 'subtitle', 'adaptiveSubtitle');
47
49
  });
48
- (0, utils_1.tsPropertyTransformer)(rootSource, j, 'DatePickerComponent', 'subtitle', 'adaptiveSubtitle');
50
+ (0, utils_1.tsPropertyTransformer)(fileInfo.source, rootSource, j, 'DatePickerComponent', 'subtitle', 'adaptiveSubtitle');
49
51
  return rootSource.toSource();
50
52
  }
@@ -34,10 +34,12 @@ const utils_1 = require("../utils");
34
34
  function default_1(fileInfo, api) {
35
35
  const filePath = fileInfo.path;
36
36
  if (filePath.endsWith('.html')) {
37
- let updatedContent = fileInfo.source;
38
- updatedContent = (0, utils_1.htmlAttributeTransformer)({ ...fileInfo, source: updatedContent }, 'kendo-datepicker', 'title', 'adaptiveTitle');
39
- // Only write to file once after all transformations
40
- fs.writeFileSync(filePath, updatedContent, 'utf-8');
37
+ if ((0, utils_1.hasKendoInTemplate)(fileInfo.source)) {
38
+ let updatedContent = fileInfo.source;
39
+ updatedContent = (0, utils_1.htmlAttributeTransformer)({ ...fileInfo, source: updatedContent }, 'kendo-datepicker', 'title', 'adaptiveTitle');
40
+ // Only write to file once after all transformations
41
+ fs.writeFileSync(filePath, updatedContent, 'utf-8');
42
+ }
41
43
  return;
42
44
  }
43
45
  const j = api.jscodeshift;
@@ -45,6 +47,6 @@ function default_1(fileInfo, api) {
45
47
  (0, index_1.templateTransformer)(rootSource, j, (root) => {
46
48
  (0, utils_1.templateAttributeTransformer)(root, 'kendo-datepicker', 'title', 'adaptiveTitle');
47
49
  });
48
- (0, utils_1.tsPropertyTransformer)(rootSource, j, 'DatePickerComponent', 'title', 'adaptiveTitle');
50
+ (0, utils_1.tsPropertyTransformer)(fileInfo.source, rootSource, j, 'DatePickerComponent', 'title', 'adaptiveTitle');
49
51
  return rootSource.toSource();
50
52
  }
@@ -34,10 +34,12 @@ const utils_1 = require("../utils");
34
34
  function default_1(fileInfo, api) {
35
35
  const filePath = fileInfo.path;
36
36
  if (filePath.endsWith('.html')) {
37
- let updatedContent = fileInfo.source;
38
- updatedContent = (0, utils_1.htmlAttributeTransformer)({ ...fileInfo, source: updatedContent }, 'kendo-daterange-popup', 'subtitle', 'adaptiveSubtitle');
39
- // Only write to file once after all transformations
40
- fs.writeFileSync(filePath, updatedContent, 'utf-8');
37
+ if ((0, utils_1.hasKendoInTemplate)(fileInfo.source)) {
38
+ let updatedContent = fileInfo.source;
39
+ updatedContent = (0, utils_1.htmlAttributeTransformer)({ ...fileInfo, source: updatedContent }, 'kendo-daterange-popup', 'subtitle', 'adaptiveSubtitle');
40
+ // Only write to file once after all transformations
41
+ fs.writeFileSync(filePath, updatedContent, 'utf-8');
42
+ }
41
43
  return;
42
44
  }
43
45
  const j = api.jscodeshift;
@@ -45,6 +47,6 @@ function default_1(fileInfo, api) {
45
47
  (0, index_1.templateTransformer)(rootSource, j, (root) => {
46
48
  (0, utils_1.templateAttributeTransformer)(root, 'kendo-daterange-popup', 'subtitle', 'adaptiveSubtitle');
47
49
  });
48
- (0, utils_1.tsPropertyTransformer)(rootSource, j, 'DateRangePopupComponent', 'subtitle', 'adaptiveSubtitle');
50
+ (0, utils_1.tsPropertyTransformer)(fileInfo.source, rootSource, j, 'DateRangePopupComponent', 'subtitle', 'adaptiveSubtitle');
49
51
  return rootSource.toSource();
50
52
  }
@@ -34,10 +34,12 @@ const utils_1 = require("../utils");
34
34
  function default_1(fileInfo, api) {
35
35
  const filePath = fileInfo.path;
36
36
  if (filePath.endsWith('.html')) {
37
- let updatedContent = fileInfo.source;
38
- updatedContent = (0, utils_1.htmlAttributeTransformer)({ ...fileInfo, source: updatedContent }, 'kendo-daterange-popup', 'title', 'adaptiveTitle');
39
- // Only write to file once after all transformations
40
- fs.writeFileSync(filePath, updatedContent, 'utf-8');
37
+ if ((0, utils_1.hasKendoInTemplate)(fileInfo.source)) {
38
+ let updatedContent = fileInfo.source;
39
+ updatedContent = (0, utils_1.htmlAttributeTransformer)({ ...fileInfo, source: updatedContent }, 'kendo-daterange-popup', 'title', 'adaptiveTitle');
40
+ // Only write to file once after all transformations
41
+ fs.writeFileSync(filePath, updatedContent, 'utf-8');
42
+ }
41
43
  return;
42
44
  }
43
45
  const j = api.jscodeshift;
@@ -45,6 +47,6 @@ function default_1(fileInfo, api) {
45
47
  (0, index_1.templateTransformer)(rootSource, j, (root) => {
46
48
  (0, utils_1.templateAttributeTransformer)(root, 'kendo-daterange-popup', 'title', 'adaptiveTitle');
47
49
  });
48
- (0, utils_1.tsPropertyTransformer)(rootSource, j, 'DateRangePopupComponent', 'title', 'adaptiveTitle');
50
+ (0, utils_1.tsPropertyTransformer)(fileInfo.source, rootSource, j, 'DateRangePopupComponent', 'title', 'adaptiveTitle');
49
51
  return rootSource.toSource();
50
52
  }
@@ -34,10 +34,12 @@ const utils_1 = require("../utils");
34
34
  function default_1(fileInfo, api) {
35
35
  const filePath = fileInfo.path;
36
36
  if (filePath.endsWith('.html')) {
37
- let updatedContent = fileInfo.source;
38
- updatedContent = (0, utils_1.htmlAttributeTransformer)({ ...fileInfo, source: updatedContent }, 'kendo-datetimepicker', 'subtitle', 'adaptiveSubtitle');
39
- // Only write to file once after all transformations
40
- fs.writeFileSync(filePath, updatedContent, 'utf-8');
37
+ if ((0, utils_1.hasKendoInTemplate)(fileInfo.source)) {
38
+ let updatedContent = fileInfo.source;
39
+ updatedContent = (0, utils_1.htmlAttributeTransformer)({ ...fileInfo, source: updatedContent }, 'kendo-datetimepicker', 'subtitle', 'adaptiveSubtitle');
40
+ // Only write to file once after all transformations
41
+ fs.writeFileSync(filePath, updatedContent, 'utf-8');
42
+ }
41
43
  return;
42
44
  }
43
45
  const j = api.jscodeshift;
@@ -45,6 +47,6 @@ function default_1(fileInfo, api) {
45
47
  (0, index_1.templateTransformer)(rootSource, j, (root) => {
46
48
  (0, utils_1.templateAttributeTransformer)(root, 'kendo-datetimepicker', 'subtitle', 'adaptiveSubtitle');
47
49
  });
48
- (0, utils_1.tsPropertyTransformer)(rootSource, j, 'DateTimePickerComponent', 'subtitle', 'adaptiveSubtitle');
50
+ (0, utils_1.tsPropertyTransformer)(fileInfo.source, rootSource, j, 'DateTimePickerComponent', 'subtitle', 'adaptiveSubtitle');
49
51
  return rootSource.toSource();
50
52
  }
@@ -34,10 +34,12 @@ const utils_1 = require("../utils");
34
34
  function default_1(fileInfo, api) {
35
35
  const filePath = fileInfo.path;
36
36
  if (filePath.endsWith('.html')) {
37
- let updatedContent = fileInfo.source;
38
- updatedContent = (0, utils_1.htmlAttributeTransformer)({ ...fileInfo, source: updatedContent }, 'kendo-datetimepicker', 'title', 'adaptiveTitle');
39
- // Only write to file once after all transformations
40
- fs.writeFileSync(filePath, updatedContent, 'utf-8');
37
+ if ((0, utils_1.hasKendoInTemplate)(fileInfo.source)) {
38
+ let updatedContent = fileInfo.source;
39
+ updatedContent = (0, utils_1.htmlAttributeTransformer)({ ...fileInfo, source: updatedContent }, 'kendo-datetimepicker', 'title', 'adaptiveTitle');
40
+ // Only write to file once after all transformations
41
+ fs.writeFileSync(filePath, updatedContent, 'utf-8');
42
+ }
41
43
  return;
42
44
  }
43
45
  const j = api.jscodeshift;
@@ -45,6 +47,6 @@ function default_1(fileInfo, api) {
45
47
  (0, index_1.templateTransformer)(rootSource, j, (root) => {
46
48
  (0, utils_1.templateAttributeTransformer)(root, 'kendo-datetimepicker', 'title', 'adaptiveTitle');
47
49
  });
48
- (0, utils_1.tsPropertyTransformer)(rootSource, j, 'DateTimePickerComponent', 'title', 'adaptiveTitle');
50
+ (0, utils_1.tsPropertyTransformer)(fileInfo.source, rootSource, j, 'DateTimePickerComponent', 'title', 'adaptiveTitle');
49
51
  return rootSource.toSource();
50
52
  }
@@ -34,10 +34,12 @@ const utils_1 = require("../utils");
34
34
  function default_1(fileInfo, api) {
35
35
  const filePath = fileInfo.path;
36
36
  if (filePath.endsWith('.html')) {
37
- let updatedContent = fileInfo.source;
38
- updatedContent = (0, utils_1.htmlAttributeTransformer)({ ...fileInfo, source: updatedContent }, 'kendo-timepicker', 'subtitle', 'adaptiveSubtitle');
39
- // Only write to file once after all transformations
40
- fs.writeFileSync(filePath, updatedContent, 'utf-8');
37
+ if ((0, utils_1.hasKendoInTemplate)(fileInfo.source)) {
38
+ let updatedContent = fileInfo.source;
39
+ updatedContent = (0, utils_1.htmlAttributeTransformer)({ ...fileInfo, source: updatedContent }, 'kendo-timepicker', 'subtitle', 'adaptiveSubtitle');
40
+ // Only write to file once after all transformations
41
+ fs.writeFileSync(filePath, updatedContent, 'utf-8');
42
+ }
41
43
  return;
42
44
  }
43
45
  const j = api.jscodeshift;
@@ -45,6 +47,6 @@ function default_1(fileInfo, api) {
45
47
  (0, index_1.templateTransformer)(rootSource, j, (root) => {
46
48
  (0, utils_1.templateAttributeTransformer)(root, 'kendo-timepicker', 'subtitle', 'adaptiveSubtitle');
47
49
  });
48
- (0, utils_1.tsPropertyTransformer)(rootSource, j, 'TimePickerComponent', 'subtitle', 'adaptiveSubtitle');
50
+ (0, utils_1.tsPropertyTransformer)(fileInfo.source, rootSource, j, 'TimePickerComponent', 'subtitle', 'adaptiveSubtitle');
49
51
  return rootSource.toSource();
50
52
  }
@@ -34,10 +34,12 @@ const utils_1 = require("../utils");
34
34
  function default_1(fileInfo, api) {
35
35
  const filePath = fileInfo.path;
36
36
  if (filePath.endsWith('.html')) {
37
- let updatedContent = fileInfo.source;
38
- updatedContent = (0, utils_1.htmlAttributeTransformer)({ ...fileInfo, source: updatedContent }, 'kendo-timepicker', 'title', 'adaptiveTitle');
39
- // Only write to file once after all transformations
40
- fs.writeFileSync(filePath, updatedContent, 'utf-8');
37
+ if ((0, utils_1.hasKendoInTemplate)(fileInfo.source)) {
38
+ let updatedContent = fileInfo.source;
39
+ updatedContent = (0, utils_1.htmlAttributeTransformer)({ ...fileInfo, source: updatedContent }, 'kendo-timepicker', 'title', 'adaptiveTitle');
40
+ // Only write to file once after all transformations
41
+ fs.writeFileSync(filePath, updatedContent, 'utf-8');
42
+ }
41
43
  return;
42
44
  }
43
45
  const j = api.jscodeshift;
@@ -45,6 +47,6 @@ function default_1(fileInfo, api) {
45
47
  (0, index_1.templateTransformer)(rootSource, j, (root) => {
46
48
  (0, utils_1.templateAttributeTransformer)(root, 'kendo-timepicker', 'title', 'adaptiveTitle');
47
49
  });
48
- (0, utils_1.tsPropertyTransformer)(rootSource, j, 'TimePickerComponent', 'title', 'adaptiveTitle');
50
+ (0, utils_1.tsPropertyTransformer)(fileInfo.source, rootSource, j, 'TimePickerComponent', 'title', 'adaptiveTitle');
49
51
  return rootSource.toSource();
50
52
  }
@@ -10,7 +10,7 @@ export const packageMetadata = {
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCode: 'KENDOUIANGULAR',
12
12
  productCodes: ['KENDOUIANGULAR'],
13
- publishDate: 1762156980,
14
- version: '21.0.0-develop.15',
13
+ publishDate: 1762256375,
14
+ version: '21.0.0-develop.17',
15
15
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
16
16
  };
@@ -36,8 +36,8 @@ const packageMetadata = {
36
36
  productName: 'Kendo UI for Angular',
37
37
  productCode: 'KENDOUIANGULAR',
38
38
  productCodes: ['KENDOUIANGULAR'],
39
- publishDate: 1762156980,
40
- version: '21.0.0-develop.15',
39
+ publishDate: 1762256375,
40
+ version: '21.0.0-develop.17',
41
41
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
42
42
  };
43
43
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-dateinputs",
3
- "version": "21.0.0-develop.15",
3
+ "version": "21.0.0-develop.17",
4
4
  "description": "Kendo UI for Angular Date Inputs Package - Everything you need to add date selection functionality to apps (DatePicker, TimePicker, DateInput, DateRangePicker, DateTimePicker, Calendar, and MultiViewCalendar).",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -79,7 +79,7 @@
79
79
  "package": {
80
80
  "productName": "Kendo UI for Angular",
81
81
  "productCode": "KENDOUIANGULAR",
82
- "publishDate": 1762156980,
82
+ "publishDate": 1762256375,
83
83
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
84
84
  }
85
85
  },
@@ -90,19 +90,19 @@
90
90
  "@angular/forms": "18 - 20",
91
91
  "@angular/platform-browser": "18 - 20",
92
92
  "@progress/kendo-licensing": "^1.7.0",
93
- "@progress/kendo-angular-buttons": "21.0.0-develop.15",
94
- "@progress/kendo-angular-common": "21.0.0-develop.15",
95
- "@progress/kendo-angular-utils": "21.0.0-develop.15",
96
- "@progress/kendo-angular-intl": "21.0.0-develop.15",
97
- "@progress/kendo-angular-l10n": "21.0.0-develop.15",
98
- "@progress/kendo-angular-icons": "21.0.0-develop.15",
99
- "@progress/kendo-angular-popup": "21.0.0-develop.15",
100
- "@progress/kendo-angular-navigation": "21.0.0-develop.15",
93
+ "@progress/kendo-angular-buttons": "21.0.0-develop.17",
94
+ "@progress/kendo-angular-common": "21.0.0-develop.17",
95
+ "@progress/kendo-angular-utils": "21.0.0-develop.17",
96
+ "@progress/kendo-angular-intl": "21.0.0-develop.17",
97
+ "@progress/kendo-angular-l10n": "21.0.0-develop.17",
98
+ "@progress/kendo-angular-icons": "21.0.0-develop.17",
99
+ "@progress/kendo-angular-popup": "21.0.0-develop.17",
100
+ "@progress/kendo-angular-navigation": "21.0.0-develop.17",
101
101
  "rxjs": "^6.5.3 || ^7.0.0"
102
102
  },
103
103
  "dependencies": {
104
104
  "tslib": "^2.3.1",
105
- "@progress/kendo-angular-schematics": "21.0.0-develop.15",
105
+ "@progress/kendo-angular-schematics": "21.0.0-develop.17",
106
106
  "@progress/kendo-common": "^1.0.1",
107
107
  "@progress/kendo-date-math": "^1.1.0",
108
108
  "@progress/kendo-dateinputs-common": "^0.4.7",