@progress/kendo-angular-dateinputs 23.0.1 → 23.1.0-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.
@@ -273,6 +273,9 @@ export declare class DateInputComponent implements OnInit, AfterViewInit, Contro
273
273
  get fillMode(): DateInputFillMode;
274
274
  /**
275
275
  * Specifies the HTML attributes of the inner focusable input element. Attributes which are essential for certain component functionalities cannot be changed.
276
+ *
277
+ * @remarks
278
+ * This property is related to accessibility.
276
279
  */
277
280
  set inputAttributes(attributes: {
278
281
  [key: string]: string;
@@ -98,6 +98,9 @@ export declare class DatePickerComponent extends MultiTabStop implements Control
98
98
  /**
99
99
  * Specifies the HTML attributes of the inner focusable input element.
100
100
  * You cannot change attributes that are essential for certain component functionalities.
101
+ *
102
+ * @remarks
103
+ * This property is related to accessibility.
101
104
  */
102
105
  inputAttributes: {
103
106
  [key: string]: string;
@@ -17,6 +17,7 @@ import { ActionSheetComponent } from '@progress/kendo-angular-navigation';
17
17
  import { DateInputSize } from '../common/models/size';
18
18
  import { CalendarView } from '../calendar/models/view.type';
19
19
  import { Day } from '@progress/kendo-date-math';
20
+ import { SelectionRange } from '../calendar/models/selection-range.interface';
20
21
  import * as i0 from "@angular/core";
21
22
  /**
22
23
  * Represents the Kendo UI DateRangePopup component for Angular.
@@ -283,6 +284,10 @@ export declare class DateRangePopupComponent implements OnInit, OnDestroy {
283
284
  * @hidden
284
285
  */
285
286
  windowSize: AdaptiveSize;
287
+ /**
288
+ * @hidden
289
+ */
290
+ adaptiveRangeSelection: SelectionRange;
286
291
  /**
287
292
  * Gets or sets the visibility state of the component.
288
293
  */
@@ -302,7 +307,6 @@ export declare class DateRangePopupComponent implements OnInit, OnDestroy {
302
307
  private resolvedPromise;
303
308
  private _calendar;
304
309
  private _show;
305
- private _rangeSelection;
306
310
  constructor(popupService: PopupService, dateRangeService: DateRangeService, zone: NgZone, renderer: Renderer2, localization: LocalizationService, cdr: ChangeDetectorRef, rtl: boolean, adaptiveService: AdaptiveService);
307
311
  ngOnInit(): void;
308
312
  ngAfterViewInit(): void;
@@ -156,6 +156,8 @@ export declare class DateTimePickerComponent extends MultiTabStop implements OnI
156
156
  twoDigitYearMax: number;
157
157
  /**
158
158
  * Specifies the [`tabindex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the DateTimePicker.
159
+ *
160
+ * @default 0
159
161
  */
160
162
  set tabindex(value: number);
161
163
  get tabindex(): number;
@@ -342,6 +344,9 @@ export declare class DateTimePickerComponent extends MultiTabStop implements OnI
342
344
  adaptiveMode: AdaptiveMode;
343
345
  /**
344
346
  * Specifies the HTML attributes of the inner focusable input element. You cannot change attributes that are essential for certain component functionalities.
347
+ *
348
+ * @remarks
349
+ * This property is related to accessibility.
345
350
  */
346
351
  inputAttributes: {
347
352
  [key: string]: string;
@@ -37,7 +37,7 @@ const packageMetadata = {
37
37
  productCode: 'KENDOUIANGULAR',
38
38
  productCodes: ['KENDOUIANGULAR'],
39
39
  publishDate: 0,
40
- version: '23.0.1',
40
+ version: '23.1.0-develop.1',
41
41
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
42
42
  };
43
43
 
@@ -8868,6 +8868,9 @@ class DateInputComponent {
8868
8868
  }
8869
8869
  /**
8870
8870
  * Specifies the HTML attributes of the inner focusable input element. Attributes which are essential for certain component functionalities cannot be changed.
8871
+ *
8872
+ * @remarks
8873
+ * This property is related to accessibility.
8871
8874
  */
8872
8875
  set inputAttributes(attributes) {
8873
8876
  if (isObjectPresent(this.parsedAttributes)) {
@@ -9983,6 +9986,9 @@ class DatePickerComponent extends MultiTabStop {
9983
9986
  /**
9984
9987
  * Specifies the HTML attributes of the inner focusable input element.
9985
9988
  * You cannot change attributes that are essential for certain component functionalities.
9989
+ *
9990
+ * @remarks
9991
+ * This property is related to accessibility.
9986
9992
  */
9987
9993
  inputAttributes;
9988
9994
  /**
@@ -10327,10 +10333,10 @@ class DatePickerComponent extends MultiTabStop {
10327
10333
  */
10328
10334
  set size(size) {
10329
10335
  this.renderer.removeClass(this.wrapper.nativeElement, getSizeClass('input', this.size));
10330
- this.renderer.removeClass(this.toggleButton.nativeElement, getSizeClass('button', this.size));
10336
+ this.toggleButton && this.renderer.removeClass(this.toggleButton.nativeElement, getSizeClass('button', this.size));
10331
10337
  if (size) {
10332
10338
  this.renderer.addClass(this.wrapper.nativeElement, getSizeClass('input', size));
10333
- this.renderer.addClass(this.toggleButton.nativeElement, getSizeClass('button', size));
10339
+ this.toggleButton && this.renderer.addClass(this.toggleButton.nativeElement, getSizeClass('button', size));
10334
10340
  }
10335
10341
  this._size = size;
10336
10342
  }
@@ -10355,9 +10361,9 @@ class DatePickerComponent extends MultiTabStop {
10355
10361
  */
10356
10362
  set fillMode(fillMode) {
10357
10363
  this.renderer.removeClass(this.wrapper.nativeElement, getFillModeClass('input', this.fillMode));
10358
- this.renderer.removeClass(this.toggleButton.nativeElement, getFillModeClass('button', this.fillMode));
10364
+ this.toggleButton && this.renderer.removeClass(this.toggleButton.nativeElement, getFillModeClass('button', this.fillMode));
10359
10365
  if (fillMode) {
10360
- this.renderer.addClass(this.toggleButton.nativeElement, getFillModeClass('button', fillMode));
10366
+ this.toggleButton && this.renderer.addClass(this.toggleButton.nativeElement, getFillModeClass('button', fillMode));
10361
10367
  this.renderer.addClass(this.wrapper.nativeElement, getFillModeClass('input', fillMode));
10362
10368
  }
10363
10369
  this._fillMode = fillMode;
@@ -10674,7 +10680,9 @@ class DatePickerComponent extends MultiTabStop {
10674
10680
  return;
10675
10681
  }
10676
10682
  event.preventDefault();
10677
- this.focusInput();
10683
+ if (this.show) {
10684
+ this.focusInput();
10685
+ }
10678
10686
  //XXX: explicitly call the handleFocus handler here
10679
10687
  //due to async IE focus event
10680
10688
  this.handleFocus();
@@ -13928,10 +13936,10 @@ class TimePickerComponent extends MultiTabStop {
13928
13936
  */
13929
13937
  set size(size) {
13930
13938
  this.renderer.removeClass(this.wrapper.nativeElement, getSizeClass('input', this.size));
13931
- this.renderer.removeClass(this.toggleButton.nativeElement, getSizeClass('button', this.size));
13939
+ this.toggleButton && this.renderer.removeClass(this.toggleButton.nativeElement, getSizeClass('button', this.size));
13932
13940
  if (size) {
13933
13941
  this.renderer.addClass(this.wrapper.nativeElement, getSizeClass('input', size));
13934
- this.renderer.addClass(this.toggleButton.nativeElement, getSizeClass('button', size));
13942
+ this.toggleButton && this.renderer.addClass(this.toggleButton.nativeElement, getSizeClass('button', size));
13935
13943
  }
13936
13944
  this._size = size;
13937
13945
  }
@@ -13957,10 +13965,10 @@ class TimePickerComponent extends MultiTabStop {
13957
13965
  */
13958
13966
  set fillMode(fillMode) {
13959
13967
  this.renderer.removeClass(this.wrapper.nativeElement, getFillModeClass('input', this.fillMode));
13960
- this.renderer.removeClass(this.toggleButton.nativeElement, getFillModeClass('button', this.fillMode));
13968
+ this.toggleButton && this.renderer.removeClass(this.toggleButton.nativeElement, getFillModeClass('button', this.fillMode));
13961
13969
  if (fillMode) {
13962
13970
  this.renderer.addClass(this.wrapper.nativeElement, getFillModeClass('input', fillMode));
13963
- this.renderer.addClass(this.toggleButton.nativeElement, getFillModeClass('button', fillMode));
13971
+ this.toggleButton && this.renderer.addClass(this.toggleButton.nativeElement, getFillModeClass('button', fillMode));
13964
13972
  }
13965
13973
  this._fillMode = fillMode;
13966
13974
  }
@@ -13969,6 +13977,9 @@ class TimePickerComponent extends MultiTabStop {
13969
13977
  }
13970
13978
  /**
13971
13979
  * Sets the HTML attributes of the inner focusable input element. Attributes which are essential for certain component functionalities cannot be changed.
13980
+ *
13981
+ * @remarks
13982
+ * This property is related to accessibility.
13972
13983
  */
13973
13984
  inputAttributes;
13974
13985
  /**
@@ -15558,6 +15569,8 @@ class DateTimePickerComponent extends MultiTabStop {
15558
15569
  twoDigitYearMax = TWO_DIGIT_YEAR_MAX;
15559
15570
  /**
15560
15571
  * Specifies the [`tabindex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the DateTimePicker.
15572
+ *
15573
+ * @default 0
15561
15574
  */
15562
15575
  set tabindex(value) {
15563
15576
  const tabindex = Number(value);
@@ -15769,6 +15782,9 @@ class DateTimePickerComponent extends MultiTabStop {
15769
15782
  adaptiveMode = 'none';
15770
15783
  /**
15771
15784
  * Specifies the HTML attributes of the inner focusable input element. You cannot change attributes that are essential for certain component functionalities.
15785
+ *
15786
+ * @remarks
15787
+ * This property is related to accessibility.
15772
15788
  */
15773
15789
  inputAttributes;
15774
15790
  /**
@@ -15839,10 +15855,10 @@ class DateTimePickerComponent extends MultiTabStop {
15839
15855
  */
15840
15856
  set size(size) {
15841
15857
  this.renderer.removeClass(this.wrapper.nativeElement, getSizeClass('input', this.size));
15842
- this.renderer.removeClass(this.toggleButton.nativeElement, getSizeClass('button', this.size));
15858
+ this.toggleButton && this.renderer.removeClass(this.toggleButton.nativeElement, getSizeClass('button', this.size));
15843
15859
  if (size) {
15844
15860
  this.renderer.addClass(this.wrapper.nativeElement, getSizeClass('input', size));
15845
- this.renderer.addClass(this.toggleButton.nativeElement, getSizeClass('button', size));
15861
+ this.toggleButton && this.renderer.addClass(this.toggleButton.nativeElement, getSizeClass('button', size));
15846
15862
  }
15847
15863
  this._size = size;
15848
15864
  }
@@ -15869,10 +15885,10 @@ class DateTimePickerComponent extends MultiTabStop {
15869
15885
  */
15870
15886
  set fillMode(fillMode) {
15871
15887
  this.renderer.removeClass(this.wrapper.nativeElement, getFillModeClass('input', this.fillMode));
15872
- this.renderer.removeClass(this.toggleButton.nativeElement, getFillModeClass('button', this.fillMode));
15888
+ this.toggleButton && this.renderer.removeClass(this.toggleButton.nativeElement, getFillModeClass('button', this.fillMode));
15873
15889
  if (fillMode) {
15874
15890
  this.renderer.addClass(this.wrapper.nativeElement, getFillModeClass('input', fillMode));
15875
- this.renderer.addClass(this.toggleButton.nativeElement, getFillModeClass('button', fillMode));
15891
+ this.toggleButton && this.renderer.addClass(this.toggleButton.nativeElement, getFillModeClass('button', fillMode));
15876
15892
  }
15877
15893
  this._fillMode = fillMode;
15878
15894
  }
@@ -18677,6 +18693,10 @@ class DateRangePopupComponent {
18677
18693
  * @hidden
18678
18694
  */
18679
18695
  windowSize;
18696
+ /**
18697
+ * @hidden
18698
+ */
18699
+ adaptiveRangeSelection;
18680
18700
  /**
18681
18701
  * Gets or sets the visibility state of the component.
18682
18702
  */
@@ -18703,7 +18723,7 @@ class DateRangePopupComponent {
18703
18723
  * @hidden
18704
18724
  */
18705
18725
  handleAccept() {
18706
- this.dateRangeService.setRange(this._rangeSelection);
18726
+ this.dateRangeService.setRange(this.adaptiveRangeSelection);
18707
18727
  this.show = false;
18708
18728
  }
18709
18729
  activateSubscription;
@@ -18716,7 +18736,6 @@ class DateRangePopupComponent {
18716
18736
  resolvedPromise = Promise.resolve();
18717
18737
  _calendar;
18718
18738
  _show;
18719
- _rangeSelection;
18720
18739
  constructor(popupService, dateRangeService, zone, renderer, localization, cdr, rtl, adaptiveService) {
18721
18740
  this.popupService = popupService;
18722
18741
  this.dateRangeService = dateRangeService;
@@ -18784,7 +18803,7 @@ class DateRangePopupComponent {
18784
18803
  this.dateRangeService.setRange(rangeSelection.selectionRange);
18785
18804
  }
18786
18805
  else {
18787
- this._rangeSelection = rangeSelection.selectionRange;
18806
+ this.adaptiveRangeSelection = rangeSelection.selectionRange;
18788
18807
  }
18789
18808
  }
18790
18809
  /**
@@ -18995,6 +19014,7 @@ class DateRangePopupComponent {
18995
19014
  return;
18996
19015
  }
18997
19016
  if (show && !this.actionSheet.expanded) {
19017
+ this.adaptiveRangeSelection = this.dateRangeService.selectionRange;
18998
19018
  this.actionSheet.toggle();
18999
19019
  this.renderer.setAttribute(this.actionSheet.element.nativeElement, 'id', this.popupUID);
19000
19020
  }
@@ -19130,7 +19150,7 @@ class DateRangePopupComponent {
19130
19150
  [showViewHeader]="showViewHeader"
19131
19151
  [showOtherMonthDays]="showOtherMonthDays"
19132
19152
  [focusedDate]="dateRangeService.focusedDate"
19133
- [value]="dateRangeService.selectionRange"
19153
+ [value]="adaptiveRangeSelection"
19134
19154
  selection="range"
19135
19155
  (rangeSelectionChange)="onRangeSelectionChange($event)"
19136
19156
  >
@@ -19292,7 +19312,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
19292
19312
  [showViewHeader]="showViewHeader"
19293
19313
  [showOtherMonthDays]="showOtherMonthDays"
19294
19314
  [focusedDate]="dateRangeService.focusedDate"
19295
- [value]="dateRangeService.selectionRange"
19315
+ [value]="adaptiveRangeSelection"
19296
19316
  selection="range"
19297
19317
  (rangeSelectionChange)="onRangeSelectionChange($event)"
19298
19318
  >
@@ -7,7 +7,7 @@ export const packageMetadata = {
7
7
  "productCodes": [
8
8
  "KENDOUIANGULAR"
9
9
  ],
10
- "publishDate": 1770815739,
11
- "version": "23.0.1",
10
+ "publishDate": 1771342336,
11
+ "version": "23.1.0-develop.1",
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-dateinputs",
3
- "version": "23.0.1",
3
+ "version": "23.1.0-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": 1770815739,
82
+ "publishDate": 1771342336,
83
83
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
84
84
  }
85
85
  },
@@ -90,19 +90,19 @@
90
90
  "@angular/forms": "19 - 21",
91
91
  "@angular/platform-browser": "19 - 21",
92
92
  "@progress/kendo-licensing": "^1.10.0",
93
- "@progress/kendo-angular-buttons": "23.0.1",
94
- "@progress/kendo-angular-common": "23.0.1",
95
- "@progress/kendo-angular-utils": "23.0.1",
96
- "@progress/kendo-angular-intl": "23.0.1",
97
- "@progress/kendo-angular-l10n": "23.0.1",
98
- "@progress/kendo-angular-icons": "23.0.1",
99
- "@progress/kendo-angular-popup": "23.0.1",
100
- "@progress/kendo-angular-navigation": "23.0.1",
93
+ "@progress/kendo-angular-buttons": "23.1.0-develop.1",
94
+ "@progress/kendo-angular-common": "23.1.0-develop.1",
95
+ "@progress/kendo-angular-utils": "23.1.0-develop.1",
96
+ "@progress/kendo-angular-intl": "23.1.0-develop.1",
97
+ "@progress/kendo-angular-l10n": "23.1.0-develop.1",
98
+ "@progress/kendo-angular-icons": "23.1.0-develop.1",
99
+ "@progress/kendo-angular-popup": "23.1.0-develop.1",
100
+ "@progress/kendo-angular-navigation": "23.1.0-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": "23.0.1",
105
+ "@progress/kendo-angular-schematics": "23.1.0-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.7"
@@ -247,6 +247,9 @@ export declare class TimePickerComponent extends MultiTabStop implements Control
247
247
  get fillMode(): DateInputFillMode;
248
248
  /**
249
249
  * Sets the HTML attributes of the inner focusable input element. Attributes which are essential for certain component functionalities cannot be changed.
250
+ *
251
+ * @remarks
252
+ * This property is related to accessibility.
250
253
  */
251
254
  inputAttributes: {
252
255
  [key: string]: string;