@progress/kendo-angular-inputs 23.2.0-develop.5 → 23.2.0-develop.6

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.
@@ -584,7 +584,7 @@ const packageMetadata = {
584
584
  productCode: 'KENDOUIANGULAR',
585
585
  productCodes: ['KENDOUIANGULAR'],
586
586
  publishDate: 0,
587
- version: '23.2.0-develop.5',
587
+ version: '23.2.0-develop.6',
588
588
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
589
589
  };
590
590
 
@@ -17931,14 +17931,16 @@ class TextAreaComponent extends TextFieldsBase {
17931
17931
  if (this.resizable !== 'auto') {
17932
17932
  return;
17933
17933
  }
17934
- // The logic of the resize method, does not depend on Angular and thus moving it outisde of it
17935
- // We need to ensure that the resizing logic runs after the value is updated thus the setTimout
17934
+ // The logic of the resize method, does not depend on Angular and thus moving it outside of it
17935
+ // We need to ensure that the resizing logic runs after the value is updated thus the setTimeout
17936
17936
  this.ngZone.runOutsideAngular(() => {
17937
17937
  setTimeout(() => {
17938
17938
  const hostElement = this.hostElement.nativeElement;
17939
17939
  const element = this.input.nativeElement;
17940
17940
  this.renderer.setStyle(element, 'height', `${this.initialHeight}px`);
17941
+ this.renderer.removeClass(element, '!k-overflow-auto');
17941
17942
  const scrollHeight = element.scrollHeight;
17943
+ this.renderer.addClass(element, '!k-overflow-auto');
17942
17944
  if (scrollHeight > this.maxResizableHeight) {
17943
17945
  this.renderer.setStyle(element, 'height', `${this.maxResizableHeight}px`);
17944
17946
  return;
@@ -19328,6 +19330,7 @@ class FormComponent {
19328
19330
  element;
19329
19331
  cdr;
19330
19332
  formService;
19333
+ localizationService;
19331
19334
  /**
19332
19335
  * Defines the orientation of the form.
19333
19336
  *
@@ -19366,15 +19369,22 @@ class FormComponent {
19366
19369
  get horizontalClass() {
19367
19370
  return this.orientation === 'horizontal';
19368
19371
  }
19372
+ direction;
19369
19373
  _formColumnsNumber;
19370
19374
  _formGutters = { ...DEFAULT_FORM_GUTTERS };
19371
- constructor(element, cdr, formService) {
19375
+ subscriptions = new Subscription();
19376
+ constructor(element, cdr, formService, localizationService) {
19372
19377
  this.element = element;
19373
19378
  this.cdr = cdr;
19374
19379
  this.formService = formService;
19380
+ this.localizationService = localizationService;
19375
19381
  const isValid = validatePackage(packageMetadata);
19376
19382
  this.licenseMessage = getLicenseMessage(packageMetadata);
19377
19383
  this.showLicenseWatermark = shouldShowValidationUI(isValid);
19384
+ this.direction = localizationService.rtl ? 'rtl' : 'ltr';
19385
+ this.subscriptions.add(this.localizationService.changes.subscribe(({ rtl }) => {
19386
+ this.direction = rtl ? 'rtl' : 'ltr';
19387
+ }));
19378
19388
  }
19379
19389
  ngAfterContentInit() {
19380
19390
  if (!isDocumentAvailable()) {
@@ -19427,8 +19437,14 @@ class FormComponent {
19427
19437
  updateGutterClasses() {
19428
19438
  this.guttersStyle = generateGuttersStyling(this._formGutters, { ...DEFAULT_FORM_GUTTERS });
19429
19439
  }
19430
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: FormComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: FormService }], target: i0.ɵɵFactoryTarget.Component });
19431
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.18", type: FormComponent, isStandalone: true, selector: "form[kendoForm]", inputs: { orientation: "orientation", cols: "cols", gutters: "gutters" }, host: { properties: { "class": "this.formClass", "class.k-form-horizontal": "this.horizontalClass" } }, exportAs: ["kendoForm"], usesOnChanges: true, ngImport: i0, template: `
19440
+ ngOnDestroy() {
19441
+ this.subscriptions.unsubscribe();
19442
+ }
19443
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: FormComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: FormService }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
19444
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.18", type: FormComponent, isStandalone: true, selector: "form[kendoForm]", inputs: { orientation: "orientation", cols: "cols", gutters: "gutters" }, host: { properties: { "class": "this.formClass", "class.k-form-horizontal": "this.horizontalClass", "attr.dir": "this.direction" } }, providers: [
19445
+ LocalizationService,
19446
+ { provide: L10N_PREFIX, useValue: 'kendo.form' }
19447
+ ], exportAs: ["kendoForm"], usesOnChanges: true, ngImport: i0, template: `
19432
19448
  <div class="k-form-layout k-d-grid" [ngClass]="[columnsClass]" [ngStyle]="{ gap: guttersStyle }">
19433
19449
  <ng-content></ng-content>
19434
19450
  </div>
@@ -19454,8 +19470,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
19454
19470
  `,
19455
19471
  standalone: true,
19456
19472
  imports: [NgClass, NgStyle, ResizeSensorComponent, WatermarkOverlayComponent],
19473
+ providers: [
19474
+ LocalizationService,
19475
+ { provide: L10N_PREFIX, useValue: 'kendo.form' }
19476
+ ],
19457
19477
  }]
19458
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: FormService }], propDecorators: { orientation: [{
19478
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: FormService }, { type: i1.LocalizationService }], propDecorators: { orientation: [{
19459
19479
  type: Input
19460
19480
  }], cols: [{
19461
19481
  type: Input
@@ -19467,6 +19487,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
19467
19487
  }], horizontalClass: [{
19468
19488
  type: HostBinding,
19469
19489
  args: ['class.k-form-horizontal']
19490
+ }], direction: [{
19491
+ type: HostBinding,
19492
+ args: ['attr.dir']
19470
19493
  }] } });
19471
19494
 
19472
19495
  /**
@@ -19548,7 +19571,9 @@ class FormFieldSetComponent {
19548
19571
  renderer;
19549
19572
  formService;
19550
19573
  cdr;
19574
+ localizationService;
19551
19575
  formFieldSetClass = true;
19576
+ direction;
19552
19577
  /**
19553
19578
  * Defines the legend for the fieldset.
19554
19579
  */
@@ -19584,12 +19609,17 @@ class FormFieldSetComponent {
19584
19609
  _previousCols = null;
19585
19610
  _previousGutters;
19586
19611
  subs = new Subscription();
19587
- constructor(elementRef, renderer, formService, cdr) {
19612
+ constructor(elementRef, renderer, formService, cdr, localizationService) {
19588
19613
  this.elementRef = elementRef;
19589
19614
  this.renderer = renderer;
19590
19615
  this.formService = formService;
19591
19616
  this.cdr = cdr;
19617
+ this.localizationService = localizationService;
19592
19618
  validatePackage(packageMetadata);
19619
+ this.direction = localizationService.rtl ? 'rtl' : 'ltr';
19620
+ this.subs.add(this.localizationService.changes.subscribe(({ rtl }) => {
19621
+ this.direction = rtl ? 'rtl' : 'ltr';
19622
+ }));
19593
19623
  }
19594
19624
  ngOnInit() {
19595
19625
  this.subs.add(this.formService.formWidth.pipe(filter((width) => width !== null)).subscribe((width) => {
@@ -19655,8 +19685,11 @@ class FormFieldSetComponent {
19655
19685
  this.cdr.detectChanges();
19656
19686
  }
19657
19687
  }
19658
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: FormFieldSetComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: FormService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
19659
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.18", type: FormFieldSetComponent, isStandalone: true, selector: "fieldset[kendoFormFieldSet]", inputs: { legend: "legend", cols: "cols", gutters: "gutters", colSpan: "colSpan" }, host: { properties: { "class.k-form-fieldset": "this.formFieldSetClass" } }, exportAs: ["kendoFormFieldSet"], usesOnChanges: true, ngImport: i0, template: `
19688
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: FormFieldSetComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: FormService }, { token: i0.ChangeDetectorRef }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
19689
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.18", type: FormFieldSetComponent, isStandalone: true, selector: "fieldset[kendoFormFieldSet]", inputs: { legend: "legend", cols: "cols", gutters: "gutters", colSpan: "colSpan" }, host: { properties: { "class.k-form-fieldset": "this.formFieldSetClass", "attr.dir": "this.direction" } }, providers: [
19690
+ LocalizationService,
19691
+ { provide: L10N_PREFIX, useValue: 'kendo.formfieldset' }
19692
+ ], exportAs: ["kendoFormFieldSet"], usesOnChanges: true, ngImport: i0, template: `
19660
19693
  @if (legend) {
19661
19694
  <legend class="k-form-legend">
19662
19695
  {{ legend }}
@@ -19684,10 +19717,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
19684
19717
  `,
19685
19718
  standalone: true,
19686
19719
  imports: [NgClass, NgStyle],
19720
+ providers: [
19721
+ LocalizationService,
19722
+ { provide: L10N_PREFIX, useValue: 'kendo.formfieldset' }
19723
+ ],
19687
19724
  }]
19688
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: FormService }, { type: i0.ChangeDetectorRef }], propDecorators: { formFieldSetClass: [{
19725
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: FormService }, { type: i0.ChangeDetectorRef }, { type: i1.LocalizationService }], propDecorators: { formFieldSetClass: [{
19689
19726
  type: HostBinding,
19690
19727
  args: ['class.k-form-fieldset']
19728
+ }], direction: [{
19729
+ type: HostBinding,
19730
+ args: ['attr.dir']
19691
19731
  }], legend: [{
19692
19732
  type: Input
19693
19733
  }], cols: [{
@@ -2,12 +2,13 @@
2
2
  * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { ElementRef, ChangeDetectorRef, SimpleChanges, OnChanges, AfterContentInit } from '@angular/core';
5
+ import { ElementRef, ChangeDetectorRef, SimpleChanges, OnChanges, AfterContentInit, OnDestroy } from '@angular/core';
6
6
  import { Orientation } from '../formfield/models/orientation';
7
7
  import { ResponsiveFormBreakPoint } from '../common/models/responsive-breakpoints';
8
8
  import { Gutters } from '../common/models/gutters';
9
9
  import { FormService } from '../common/formservice.service';
10
10
  import { LicenseMessage } from '@progress/kendo-licensing';
11
+ import { LocalizationService } from '@progress/kendo-angular-l10n';
11
12
  import * as i0 from "@angular/core";
12
13
  /**
13
14
  * Represents the Kendo UI Form component for Angular.
@@ -15,10 +16,11 @@ import * as i0 from "@angular/core";
15
16
  * @remarks
16
17
  * Supported children components are: {@link FormFieldComponent}, {@link FormSeparatorComponent}, and {@link FormFieldSetComponent}.
17
18
  */
18
- export declare class FormComponent implements AfterContentInit, OnChanges {
19
+ export declare class FormComponent implements AfterContentInit, OnChanges, OnDestroy {
19
20
  private element;
20
21
  private cdr;
21
22
  private formService;
23
+ private localizationService;
22
24
  /**
23
25
  * Defines the orientation of the form.
24
26
  *
@@ -53,9 +55,11 @@ export declare class FormComponent implements AfterContentInit, OnChanges {
53
55
  licenseMessage?: LicenseMessage;
54
56
  get formClass(): string;
55
57
  get horizontalClass(): boolean;
58
+ direction: string;
56
59
  private _formColumnsNumber;
57
60
  private _formGutters;
58
- constructor(element: ElementRef, cdr: ChangeDetectorRef, formService: FormService);
61
+ private subscriptions;
62
+ constructor(element: ElementRef, cdr: ChangeDetectorRef, formService: FormService, localizationService: LocalizationService);
59
63
  ngAfterContentInit(): void;
60
64
  ngOnChanges(changes: SimpleChanges): void;
61
65
  /**
@@ -66,6 +70,7 @@ export declare class FormComponent implements AfterContentInit, OnChanges {
66
70
  private applyGutters;
67
71
  private updateColumnClasses;
68
72
  private updateGutterClasses;
73
+ ngOnDestroy(): void;
69
74
  static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent, never>;
70
75
  static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "form[kendoForm]", ["kendoForm"], { "orientation": { "alias": "orientation"; "required": false; }; "cols": { "alias": "cols"; "required": false; }; "gutters": { "alias": "gutters"; "required": false; }; }, {}, never, ["*"], true, never>;
71
76
  }
@@ -2,10 +2,11 @@
2
2
  * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { SimpleChanges, ElementRef, Renderer2, OnInit, OnChanges, ChangeDetectorRef } from '@angular/core';
5
+ import { SimpleChanges, ElementRef, Renderer2, OnInit, OnChanges, OnDestroy, ChangeDetectorRef } from '@angular/core';
6
6
  import { ResponsiveFormBreakPoint } from '../common/models/responsive-breakpoints';
7
7
  import { FormService } from '../common/formservice.service';
8
8
  import { Gutters } from '../common/models/gutters';
9
+ import { LocalizationService } from '@progress/kendo-angular-l10n';
9
10
  import * as i0 from "@angular/core";
10
11
  /**
11
12
  * Represents the Kendo UI FormFieldSet component for Angular.
@@ -13,12 +14,14 @@ import * as i0 from "@angular/core";
13
14
  * @remarks
14
15
  * Supported children components are: {@link FormFieldComponent} and {@link FormSeparatorComponent}.
15
16
  */
16
- export declare class FormFieldSetComponent implements OnInit, OnChanges {
17
+ export declare class FormFieldSetComponent implements OnInit, OnChanges, OnDestroy {
17
18
  private elementRef;
18
19
  private renderer;
19
20
  private formService;
20
21
  private cdr;
22
+ private localizationService;
21
23
  formFieldSetClass: boolean;
24
+ direction: string;
22
25
  /**
23
26
  * Defines the legend for the fieldset.
24
27
  */
@@ -54,7 +57,7 @@ export declare class FormFieldSetComponent implements OnInit, OnChanges {
54
57
  private _previousCols;
55
58
  private _previousGutters;
56
59
  private subs;
57
- constructor(elementRef: ElementRef, renderer: Renderer2, formService: FormService, cdr: ChangeDetectorRef);
60
+ constructor(elementRef: ElementRef, renderer: Renderer2, formService: FormService, cdr: ChangeDetectorRef, localizationService: LocalizationService);
58
61
  ngOnInit(): void;
59
62
  ngOnChanges(changes: SimpleChanges): void;
60
63
  ngOnDestroy(): void;
@@ -7,7 +7,7 @@ export const packageMetadata = {
7
7
  "productCodes": [
8
8
  "KENDOUIANGULAR"
9
9
  ],
10
- "publishDate": 1771935877,
11
- "version": "23.2.0-develop.5",
10
+ "publishDate": 1772025973,
11
+ "version": "23.2.0-develop.6",
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": "23.2.0-develop.5",
3
+ "version": "23.2.0-develop.6",
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",
@@ -28,7 +28,7 @@
28
28
  "package": {
29
29
  "productName": "Kendo UI for Angular",
30
30
  "productCode": "KENDOUIANGULAR",
31
- "publishDate": 1771935877,
31
+ "publishDate": 1772025973,
32
32
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
33
33
  }
34
34
  },
@@ -40,20 +40,20 @@
40
40
  "@angular/platform-browser": "19 - 21",
41
41
  "@progress/kendo-drawing": "^1.24.0",
42
42
  "@progress/kendo-licensing": "^1.10.0",
43
- "@progress/kendo-angular-buttons": "23.2.0-develop.5",
44
- "@progress/kendo-angular-common": "23.2.0-develop.5",
45
- "@progress/kendo-angular-utils": "23.2.0-develop.5",
46
- "@progress/kendo-angular-navigation": "23.2.0-develop.5",
47
- "@progress/kendo-angular-dialog": "23.2.0-develop.5",
48
- "@progress/kendo-angular-intl": "23.2.0-develop.5",
49
- "@progress/kendo-angular-l10n": "23.2.0-develop.5",
50
- "@progress/kendo-angular-popup": "23.2.0-develop.5",
51
- "@progress/kendo-angular-icons": "23.2.0-develop.5",
43
+ "@progress/kendo-angular-buttons": "23.2.0-develop.6",
44
+ "@progress/kendo-angular-common": "23.2.0-develop.6",
45
+ "@progress/kendo-angular-utils": "23.2.0-develop.6",
46
+ "@progress/kendo-angular-navigation": "23.2.0-develop.6",
47
+ "@progress/kendo-angular-dialog": "23.2.0-develop.6",
48
+ "@progress/kendo-angular-intl": "23.2.0-develop.6",
49
+ "@progress/kendo-angular-l10n": "23.2.0-develop.6",
50
+ "@progress/kendo-angular-popup": "23.2.0-develop.6",
51
+ "@progress/kendo-angular-icons": "23.2.0-develop.6",
52
52
  "rxjs": "^6.5.3 || ^7.0.0"
53
53
  },
54
54
  "dependencies": {
55
55
  "tslib": "^2.3.1",
56
- "@progress/kendo-angular-schematics": "23.2.0-develop.5",
56
+ "@progress/kendo-angular-schematics": "23.2.0-develop.6",
57
57
  "@progress/kendo-common": "^1.0.1",
58
58
  "@progress/kendo-draggable": "^3.0.0",
59
59
  "@progress/kendo-inputs-common": "^3.1.0"