@progress/kendo-angular-inputs 26.1.0-develop.3 → 26.1.0-develop.5

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.
@@ -608,8 +608,8 @@ const packageMetadata = {
608
608
  productName: 'Kendo UI for Angular',
609
609
  productCode: 'KENDOUIANGULAR',
610
610
  productCodes: ['KENDOUIANGULAR'],
611
- publishDate: 1794811431,
612
- version: '26.1.0-develop.3',
611
+ publishDate: 1794817250,
612
+ version: '26.1.0-develop.5',
613
613
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
614
614
  };
615
615
 
@@ -7961,16 +7961,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImpo
7961
7961
  type: Input
7962
7962
  }] } });
7963
7963
 
7964
- /**
7965
- * @hidden
7966
- *
7967
- * Checks if input is Japanese IME
7968
- */
7969
- const isJapanese = (input) => {
7970
- const japaneseRegex = /[\u3000-\u303F]|[\u3040-\u309F]|[\u30A0-\u30FF]|[\uFF00-\uFFEF]|[\u4E00-\u9FAF]|[\u2605-\u2606]|[\u2190-\u2195]|\u203B/g;
7971
- return japaneseRegex.test(input);
7972
- };
7973
-
7974
7964
  /**
7975
7965
  * Represents a template for suffix adornments in the TextBox component ([see examples](https://www.telerik.com/kendo-angular-ui/components/inputs/textbox/adornments#suffix-adornments)).
7976
7966
  *
@@ -8204,6 +8194,8 @@ class TextBoxComponent {
8204
8194
  */
8205
8195
  set value(value) {
8206
8196
  this._value.set(value ?? null);
8197
+ this.syncInputValue();
8198
+ this.changeDetector.markForCheck();
8207
8199
  }
8208
8200
  get value() {
8209
8201
  return this._value();
@@ -8505,6 +8497,7 @@ class TextBoxComponent {
8505
8497
  });
8506
8498
  }
8507
8499
  ngAfterViewInit() {
8500
+ this.syncInputValue();
8508
8501
  const stylingInputs = ['size', 'rounded', 'fillMode'];
8509
8502
  stylingInputs.forEach(input => {
8510
8503
  this.handleClasses(this[input], input);
@@ -8614,7 +8607,7 @@ class TextBoxComponent {
8614
8607
  handleInput = (ev) => {
8615
8608
  const target = ev.target;
8616
8609
  const isBrowserSafari = isSafari(navigator.userAgent);
8617
- const incomingValue = isBrowserSafari && isJapanese(target.value) ? ev.data : target.value;
8610
+ const incomingValue = target.value;
8618
8611
  const value = this.composing || ev.isComposing
8619
8612
  ? incomingValue
8620
8613
  : limitMaxLength(incomingValue, this.maxlength);
@@ -8803,6 +8796,13 @@ class TextBoxComponent {
8803
8796
  this.setSelection(0, this.value.length);
8804
8797
  }
8805
8798
  }
8799
+ syncInputValue() {
8800
+ const input = this.input?.nativeElement;
8801
+ const value = this.value ?? '';
8802
+ if (input && input.value !== value) {
8803
+ this.renderer.setProperty(input, 'value', value);
8804
+ }
8805
+ }
8806
8806
  updateValue(value) {
8807
8807
  if (!areSame(this.value, value)) {
8808
8808
  this.ngZone.run(() => {
@@ -8903,7 +8903,6 @@ class TextBoxComponent {
8903
8903
  [disabled]="disabled"
8904
8904
  [readonly]="readonly"
8905
8905
  [attr.tabindex]="disabled ? undefined : tabindex"
8906
- [value]="value"
8907
8906
  [attr.type]="type"
8908
8907
  [attr.placeholder]="placeholder"
8909
8908
  [attr.title]="title"
@@ -9013,7 +9012,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImpo
9013
9012
  [disabled]="disabled"
9014
9013
  [readonly]="readonly"
9015
9014
  [attr.tabindex]="disabled ? undefined : tabindex"
9016
- [value]="value"
9017
9015
  [attr.type]="type"
9018
9016
  [attr.placeholder]="placeholder"
9019
9017
  [attr.title]="title"
package/index.d.ts CHANGED
@@ -2271,6 +2271,7 @@ declare class TextBoxComponent implements ControlValueAccessor {
2271
2271
  private ngTouched;
2272
2272
  private setSelection;
2273
2273
  private selectAll;
2274
+ private syncInputValue;
2274
2275
  private updateValue;
2275
2276
  private enforceMaxLength;
2276
2277
  /**
@@ -7,7 +7,7 @@ export const packageMetadata = {
7
7
  "productCodes": [
8
8
  "KENDOUIANGULAR"
9
9
  ],
10
- "publishDate": 1794811431,
11
- "version": "26.1.0-develop.3",
10
+ "publishDate": 1794817250,
11
+ "version": "26.1.0-develop.5",
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-inputs",
3
- "version": "26.1.0-develop.3",
3
+ "version": "26.1.0-develop.5",
4
4
  "description": "Kendo UI for Angular Inputs Package - Everything you need to build professional form functionality (Checkbox, ColorGradient, ColorPalette, ColorPicker, FlatColorPicker, FormField, MaskedTextBox, NumericTextBox, RadioButton, RangeSlider, Slider, Switch, TextArea, and TextBox Components)",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -69,7 +69,7 @@
69
69
  "package": {
70
70
  "productName": "Kendo UI for Angular",
71
71
  "productCode": "KENDOUIANGULAR",
72
- "publishDate": 1794811431,
72
+ "publishDate": 1794817250,
73
73
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
74
74
  }
75
75
  },
@@ -81,20 +81,20 @@
81
81
  "@angular/platform-browser": "20 - 22",
82
82
  "@progress/kendo-drawing": "^1.25.0",
83
83
  "@progress/kendo-licensing": "^1.13.0",
84
- "@progress/kendo-angular-buttons": "26.1.0-develop.3",
85
- "@progress/kendo-angular-common": "26.1.0-develop.3",
86
- "@progress/kendo-angular-utils": "26.1.0-develop.3",
87
- "@progress/kendo-angular-navigation": "26.1.0-develop.3",
88
- "@progress/kendo-angular-dialog": "26.1.0-develop.3",
89
- "@progress/kendo-angular-intl": "26.1.0-develop.3",
90
- "@progress/kendo-angular-l10n": "26.1.0-develop.3",
91
- "@progress/kendo-angular-popup": "26.1.0-develop.3",
92
- "@progress/kendo-angular-icons": "26.1.0-develop.3",
84
+ "@progress/kendo-angular-buttons": "26.1.0-develop.5",
85
+ "@progress/kendo-angular-common": "26.1.0-develop.5",
86
+ "@progress/kendo-angular-utils": "26.1.0-develop.5",
87
+ "@progress/kendo-angular-navigation": "26.1.0-develop.5",
88
+ "@progress/kendo-angular-dialog": "26.1.0-develop.5",
89
+ "@progress/kendo-angular-intl": "26.1.0-develop.5",
90
+ "@progress/kendo-angular-l10n": "26.1.0-develop.5",
91
+ "@progress/kendo-angular-popup": "26.1.0-develop.5",
92
+ "@progress/kendo-angular-icons": "26.1.0-develop.5",
93
93
  "rxjs": "^6.5.3 || ^7.0.0"
94
94
  },
95
95
  "dependencies": {
96
96
  "tslib": "^2.3.1",
97
- "@progress/kendo-angular-schematics": "26.1.0-develop.3",
97
+ "@progress/kendo-angular-schematics": "26.1.0-develop.5",
98
98
  "@progress/kendo-common": "^1.0.1",
99
99
  "@progress/kendo-draggable": "^3.0.0",
100
100
  "@progress/kendo-inputs-common": "^3.1.0"