@progress/kendo-angular-dateinputs 19.2.0-develop.9 → 19.2.1-develop.1

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/README.md CHANGED
@@ -4,9 +4,12 @@
4
4
 
5
5
  ## Kendo UI for Angular Date Inputs Package (DatePicker, TimePicker, DateInput, DateRangePicker, DateTimePicker, Calendar, and MultiViewCalendar Components)
6
6
 
7
- > * This package is part of [Kendo UI for Angular](https://www.telerik.com/kendo-angular-ui)—a commercial library designed and built for developing business applications with Angular. Every UI component in the Kendo UI for Angular suite has been built from the ground-up specifically for Angular.
8
- > * You must [install a license key](https://www.telerik.com/kendo-angular-ui/my-license) when adding the package to your project. To receive a license key, either [purchase a license](https://www.telerik.com/purchase/kendo-ui) or register for a [free trial](https://www.telerik.com/download-login-v2-kendo-angular-ui).
9
- > * The 30-day free trial gives you access to all the Kendo UI for Angular components and their full functionality. Additionally, for the period of your license, you get access to our legendary technical support provided directly by the Kendo UI for Angular dev team!
7
+ > * This package is part of [Kendo UI for Angular](https://www.telerik.com/kendo-angular-ui/)—a commercial UI library.
8
+ > * To use this package, you must install a license key file, whether you are on a paid license or a 30-day free trial. To receive a license key, either [purchase a license](https://www.telerik.com/purchase/kendo-ui) or start a [free trial](https://www.telerik.com/download-login-v2-kendo-angular-ui).
9
+ > * Adding a valid license key file ensures a seamless experience during the trial period—no watermarks, no warnings, and full access to all components and features.
10
+ > * Trial users can register for a free license key file. Without it, your trial may be interrupted by visual indicators or functionality limitations.
11
+ > * Additionally, for the period of your license, you get access to our legendary technical support provided directly by the Kendo UI for Angular team!
12
+ > * Learn more: https://www.telerik.com/kendo-angular-ui/components/licensing
10
13
  >
11
14
  > [Start using Kendo UI for Angular](https://www.telerik.com/download-login-v2-kendo-angular-ui) and speed up your development process!
12
15
 
@@ -783,7 +783,7 @@ export class CalendarComponent {
783
783
  focus() {
784
784
  this.currentlyFocusedElement = this.type === 'infinite' ?
785
785
  this.element?.nativeElement.querySelector(selectors.infiniteCalendarTable) :
786
- this.currentlyFocusedElement = this.element?.nativeElement.querySelector(selectors.multiViewCalendarTable);
786
+ this.element?.nativeElement.querySelector(selectors.multiViewCalendarTable);
787
787
  this.currentlyFocusedElement?.focus();
788
788
  }
789
789
  /**
@@ -10,7 +10,7 @@ export const packageMetadata = {
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCode: 'KENDOUIANGULAR',
12
12
  productCodes: ['KENDOUIANGULAR'],
13
- publishDate: 1751035809,
14
- version: '19.2.0-develop.9',
13
+ publishDate: 1751466761,
14
+ version: '19.2.1-develop.1',
15
15
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
16
16
  };
package/esm2022/util.mjs CHANGED
@@ -160,7 +160,7 @@ export const approximateStringMatching = (oldTextOrigin, oldFormat, newTextOrigi
160
160
  diff.push([oldFormat[caret - 1], newText[caret - 1]]);
161
161
  return diff;
162
162
  }
163
- if (oldText.indexOf(newText) === 0 && (newText.length === 0 || oldFormat[newText.length - 1] !== oldFormat[newText.length])) {
163
+ if (oldText.startsWith(newText) && (newText.length === 0 || oldFormat[newText.length - 1] !== oldFormat[newText.length])) {
164
164
  // Handle Delete/Backspace.
165
165
  let deletedSymbol = "";
166
166
  //XXX:
@@ -179,7 +179,7 @@ export const approximateStringMatching = (oldTextOrigin, oldFormat, newTextOrigi
179
179
  }
180
180
  // Handle inserting text (the new text is longer than the previous one).
181
181
  // Handle typing over a literal as well.
182
- if (newText.indexOf(oldText) === 0 || oldFormat[caret - 1] === "_") {
182
+ if (newText.startsWith(oldText) || oldFormat[caret - 1] === "_") {
183
183
  let symbol = oldFormat[0];
184
184
  for (let i = Math.max(0, oldText.length - 1); i < oldFormat.length; i++) {
185
185
  if (oldFormat[i] !== "_") {
@@ -190,7 +190,7 @@ export const approximateStringMatching = (oldTextOrigin, oldFormat, newTextOrigi
190
190
  return [[symbol, newText[caret - 1]]];
191
191
  }
192
192
  // Handle entering a space or a separator, for navigation to the next item.
193
- if (newText[newText.length - 1] === " " || (newText[newText.length - 1] === oldTextSeparator && oldFormat[oldIndex] === '_')) {
193
+ if (newText.endsWith(" ") || (newText.endsWith(oldTextSeparator) && oldFormat[oldIndex] === '_')) {
194
194
  return [[oldFormat[caret - 1], "_"]];
195
195
  }
196
196
  // Handle typing over a correctly selected part.
@@ -202,7 +202,7 @@ export const approximateStringMatching = (oldTextOrigin, oldFormat, newTextOrigi
202
202
  export const domContainerFactory = (type) => (children, classes = "", styles = {}) => {
203
203
  const container = document.createElement(type);
204
204
  container.className = classes;
205
- Object.keys(styles).map(key => container.style[key] = styles[key]);
205
+ Object.keys(styles).forEach(key => container.style[key] = styles[key]);
206
206
  if (typeof children === 'string') {
207
207
  container.innerHTML = children || '';
208
208
  }
@@ -36,8 +36,8 @@ const packageMetadata = {
36
36
  productName: 'Kendo UI for Angular',
37
37
  productCode: 'KENDOUIANGULAR',
38
38
  productCodes: ['KENDOUIANGULAR'],
39
- publishDate: 1751035809,
40
- version: '19.2.0-develop.9',
39
+ publishDate: 1751466761,
40
+ version: '19.2.1-develop.1',
41
41
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
42
42
  };
43
43
 
@@ -314,7 +314,7 @@ const approximateStringMatching = (oldTextOrigin, oldFormat, newTextOrigin, care
314
314
  diff.push([oldFormat[caret - 1], newText[caret - 1]]);
315
315
  return diff;
316
316
  }
317
- if (oldText.indexOf(newText) === 0 && (newText.length === 0 || oldFormat[newText.length - 1] !== oldFormat[newText.length])) {
317
+ if (oldText.startsWith(newText) && (newText.length === 0 || oldFormat[newText.length - 1] !== oldFormat[newText.length])) {
318
318
  // Handle Delete/Backspace.
319
319
  let deletedSymbol = "";
320
320
  //XXX:
@@ -333,7 +333,7 @@ const approximateStringMatching = (oldTextOrigin, oldFormat, newTextOrigin, care
333
333
  }
334
334
  // Handle inserting text (the new text is longer than the previous one).
335
335
  // Handle typing over a literal as well.
336
- if (newText.indexOf(oldText) === 0 || oldFormat[caret - 1] === "_") {
336
+ if (newText.startsWith(oldText) || oldFormat[caret - 1] === "_") {
337
337
  let symbol = oldFormat[0];
338
338
  for (let i = Math.max(0, oldText.length - 1); i < oldFormat.length; i++) {
339
339
  if (oldFormat[i] !== "_") {
@@ -344,7 +344,7 @@ const approximateStringMatching = (oldTextOrigin, oldFormat, newTextOrigin, care
344
344
  return [[symbol, newText[caret - 1]]];
345
345
  }
346
346
  // Handle entering a space or a separator, for navigation to the next item.
347
- if (newText[newText.length - 1] === " " || (newText[newText.length - 1] === oldTextSeparator && oldFormat[oldIndex] === '_')) {
347
+ if (newText.endsWith(" ") || (newText.endsWith(oldTextSeparator) && oldFormat[oldIndex] === '_')) {
348
348
  return [[oldFormat[caret - 1], "_"]];
349
349
  }
350
350
  // Handle typing over a correctly selected part.
@@ -356,7 +356,7 @@ const approximateStringMatching = (oldTextOrigin, oldFormat, newTextOrigin, care
356
356
  const domContainerFactory = (type) => (children, classes = "", styles = {}) => {
357
357
  const container = document.createElement(type);
358
358
  container.className = classes;
359
- Object.keys(styles).map(key => container.style[key] = styles[key]);
359
+ Object.keys(styles).forEach(key => container.style[key] = styles[key]);
360
360
  if (typeof children === 'string') {
361
361
  container.innerHTML = children || '';
362
362
  }
@@ -7449,7 +7449,7 @@ class CalendarComponent {
7449
7449
  focus() {
7450
7450
  this.currentlyFocusedElement = this.type === 'infinite' ?
7451
7451
  this.element?.nativeElement.querySelector(selectors.infiniteCalendarTable) :
7452
- this.currentlyFocusedElement = this.element?.nativeElement.querySelector(selectors.multiViewCalendarTable);
7452
+ this.element?.nativeElement.querySelector(selectors.multiViewCalendarTable);
7453
7453
  this.currentlyFocusedElement?.focus();
7454
7454
  }
7455
7455
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-dateinputs",
3
- "version": "19.2.0-develop.9",
3
+ "version": "19.2.1-develop.1",
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": 1751035809,
82
+ "publishDate": 1751466761,
83
83
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
84
84
  }
85
85
  },
@@ -90,19 +90,19 @@
90
90
  "@angular/forms": "16 - 20",
91
91
  "@angular/platform-browser": "16 - 20",
92
92
  "@progress/kendo-licensing": "^1.5.0",
93
- "@progress/kendo-angular-buttons": "19.2.0-develop.9",
94
- "@progress/kendo-angular-common": "19.2.0-develop.9",
95
- "@progress/kendo-angular-utils": "19.2.0-develop.9",
96
- "@progress/kendo-angular-intl": "19.2.0-develop.9",
97
- "@progress/kendo-angular-l10n": "19.2.0-develop.9",
98
- "@progress/kendo-angular-icons": "19.2.0-develop.9",
99
- "@progress/kendo-angular-popup": "19.2.0-develop.9",
100
- "@progress/kendo-angular-navigation": "19.2.0-develop.9",
93
+ "@progress/kendo-angular-buttons": "19.2.1-develop.1",
94
+ "@progress/kendo-angular-common": "19.2.1-develop.1",
95
+ "@progress/kendo-angular-utils": "19.2.1-develop.1",
96
+ "@progress/kendo-angular-intl": "19.2.1-develop.1",
97
+ "@progress/kendo-angular-l10n": "19.2.1-develop.1",
98
+ "@progress/kendo-angular-icons": "19.2.1-develop.1",
99
+ "@progress/kendo-angular-popup": "19.2.1-develop.1",
100
+ "@progress/kendo-angular-navigation": "19.2.1-develop.1",
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": "19.2.0-develop.9",
105
+ "@progress/kendo-angular-schematics": "19.2.1-develop.1",
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.4",