@progress/kendo-angular-dropdowns 26.1.0 → 26.2.0-develop.10

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.
@@ -37,8 +37,8 @@ const packageMetadata = {
37
37
  productName: 'Kendo UI for Angular',
38
38
  productCode: 'KENDOUIANGULAR',
39
39
  productCodes: ['KENDOUIANGULAR'],
40
- publishDate: 1794915396,
41
- version: '26.1.0',
40
+ publishDate: 1795522907,
41
+ version: '26.2.0-develop.10',
42
42
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
43
43
  };
44
44
 
@@ -4677,6 +4677,7 @@ class AutoCompleteComponent {
4677
4677
  suggestedText;
4678
4678
  backspacePressed;
4679
4679
  subs = new Subscription();
4680
+ popupSubscriptions;
4680
4681
  valueChangeSubject = new Subject();
4681
4682
  touchstartDisposeHandler;
4682
4683
  wrapper;
@@ -4808,7 +4809,8 @@ class AutoCompleteComponent {
4808
4809
  this.renderer.setAttribute(popupWrapper, 'role', 'region');
4809
4810
  this.renderer.setAttribute(popupWrapper, 'aria-label', this.messageFor('popupLabel'));
4810
4811
  }
4811
- this.subs.add(this.popupRef.popupOpen.subscribe(() => {
4812
+ this.popupSubscriptions = new Subscription();
4813
+ this.popupSubscriptions.add(this.popupRef.popupOpen.subscribe(() => {
4812
4814
  this.cdr.detectChanges();
4813
4815
  if (!this.dataService.grouped) {
4814
4816
  setListBoxAriaLabelledBy(this.optionsList, this.searchbar.input, this.renderer);
@@ -4817,10 +4819,10 @@ class AutoCompleteComponent {
4817
4819
  this.selectionService.focus(this.selectionService.focused);
4818
4820
  this.opened.emit();
4819
4821
  }));
4820
- this.subs.add(this.popupRef.popupClose.subscribe(() => {
4822
+ this.popupSubscriptions.add(this.popupRef.popupClose.subscribe(() => {
4821
4823
  this.closed.emit();
4822
4824
  }));
4823
- this.subs.add(this.popupRef.popupAnchorViewportLeave.subscribe(() => this.togglePopup(false)));
4825
+ this.popupSubscriptions.add(this.popupRef.popupAnchorViewportLeave.subscribe(() => this.togglePopup(false)));
4824
4826
  }
4825
4827
  destroyPopup() {
4826
4828
  if (this.popupRef) {
@@ -4829,6 +4831,8 @@ class AutoCompleteComponent {
4829
4831
  this.popupRef.close();
4830
4832
  this.popupRef = null;
4831
4833
  }
4834
+ this.popupSubscriptions?.unsubscribe();
4835
+ this.popupSubscriptions = null;
4832
4836
  }
4833
4837
  _toggle(open) {
4834
4838
  this._open.set(open);
@@ -6100,6 +6104,7 @@ class ComboBoxComponent extends MultiTabStop {
6100
6104
  _tabindex = signal(0, ...(ngDevMode ? [{ debugName: "_tabindex" }] : []));
6101
6105
  _filterable = signal(false, ...(ngDevMode ? [{ debugName: "_filterable" }] : []));
6102
6106
  _listHeight = signal(200, ...(ngDevMode ? [{ debugName: "_listHeight" }] : []));
6107
+ popupSubscriptions;
6103
6108
  constructor(wrapper, localization, popupService, selectionService, navigationService, disabledItemsService, dataService, zone, cdr, renderer, injector, hostElement, adaptiveService) {
6104
6109
  super();
6105
6110
  this.wrapper = wrapper;
@@ -6878,6 +6883,8 @@ class ComboBoxComponent extends MultiTabStop {
6878
6883
  this.popupRef.close();
6879
6884
  this.popupRef = null;
6880
6885
  }
6886
+ this.popupSubscriptions?.unsubscribe();
6887
+ this.popupSubscriptions = null;
6881
6888
  }
6882
6889
  createPopup() {
6883
6890
  if (this.virtual) {
@@ -6913,7 +6920,8 @@ class ComboBoxComponent extends MultiTabStop {
6913
6920
  this.renderer.setAttribute(popupWrapper, 'role', 'region');
6914
6921
  this.renderer.setAttribute(popupWrapper, 'aria-label', this.messageFor('popupLabel'));
6915
6922
  }
6916
- this.popupRef.popupOpen.subscribe(() => {
6923
+ this.popupSubscriptions = new Subscription();
6924
+ this.popupSubscriptions.add(this.popupRef.popupOpen.subscribe(() => {
6917
6925
  this.cdr.detectChanges();
6918
6926
  if (!this.dataService.grouped) {
6919
6927
  setListBoxAriaLabelledBy(this.optionsList, this.searchbar.input, this.renderer);
@@ -6921,11 +6929,11 @@ class ComboBoxComponent extends MultiTabStop {
6921
6929
  this.optionsList.scrollToItem(this.selectionService.focused);
6922
6930
  this.selectionService.focus(this.selectionService.focused);
6923
6931
  this.opened.emit();
6924
- });
6925
- this.popupRef.popupClose.subscribe(() => {
6932
+ }));
6933
+ this.popupSubscriptions.add(this.popupRef.popupClose.subscribe(() => {
6926
6934
  this.closed.emit();
6927
- });
6928
- this.popupRef.popupAnchorViewportLeave.subscribe(() => this.togglePopup(false));
6935
+ }));
6936
+ this.popupSubscriptions.add(this.popupRef.popupAnchorViewportLeave.subscribe(() => this.togglePopup(false)));
6929
6937
  }
6930
6938
  _toggle(open) {
6931
6939
  this._open.set(open);
@@ -8319,6 +8327,7 @@ class DropDownListComponent {
8319
8327
  filterText = '';
8320
8328
  listBoxId = `k-${guid()}`;
8321
8329
  subs = new Subscription();
8330
+ popupSubscriptions;
8322
8331
  _isFocused = false;
8323
8332
  set isFocused(isFocused) {
8324
8333
  this.renderer[isFocused ? 'addClass' : 'removeClass'](this.wrapper.nativeElement, 'k-focus');
@@ -8673,7 +8682,8 @@ class DropDownListComponent {
8673
8682
  this.renderer.setAttribute(popupWrapper, 'role', 'region');
8674
8683
  this.renderer.setAttribute(popupWrapper, 'aria-label', this.messageFor('popupLabel'));
8675
8684
  }
8676
- this.subs.add(this.popupRef.popupOpen.subscribe(() => {
8685
+ this.popupSubscriptions = new Subscription();
8686
+ this.popupSubscriptions.add(this.popupRef.popupOpen.subscribe(() => {
8677
8687
  this.cdr.detectChanges();
8678
8688
  if (!this.dataService.grouped) {
8679
8689
  setListBoxAriaLabelledBy(this.optionsList, this.wrapper, this.renderer);
@@ -8683,11 +8693,11 @@ class DropDownListComponent {
8683
8693
  this.selectionService.focus(this.selectionService.focused);
8684
8694
  this.opened.emit();
8685
8695
  }));
8686
- this.subs.add(this.popupRef.popupClose.subscribe(() => {
8696
+ this.popupSubscriptions.add(this.popupRef.popupClose.subscribe(() => {
8687
8697
  this.closed.emit();
8688
8698
  }));
8689
8699
  if (!this.filterable) {
8690
- this.subs.add(this.popupRef.popupAnchorViewportLeave.subscribe(() => this.togglePopup(false)));
8700
+ this.popupSubscriptions.add(this.popupRef.popupAnchorViewportLeave.subscribe(() => this.togglePopup(false)));
8691
8701
  }
8692
8702
  }
8693
8703
  destroyPopup() {
@@ -8700,6 +8710,8 @@ class DropDownListComponent {
8700
8710
  this.popupRef.close();
8701
8711
  this.popupRef = null;
8702
8712
  }
8713
+ this.popupSubscriptions?.unsubscribe();
8714
+ this.popupSubscriptions = null;
8703
8715
  }
8704
8716
  updateState({ dataItem, confirm = false }) {
8705
8717
  this._dataItem.set(dataItem);
@@ -8776,7 +8788,7 @@ class DropDownListComponent {
8776
8788
  this.hostElementBlurred.emit();
8777
8789
  }));
8778
8790
  this._zone.runOutsideAngular(() => {
8779
- this.subs.add(merge(this.hostElementBlurred.pipe(concatMap(() => interval(10).pipe(take(1), takeUntil(this.filterFocused)))), this.navigationService.tab).pipe(tap(event => event instanceof NavigationEvent && this.focus()), filter(() => this.isFocused), filter(() => {
8791
+ this.subs.add(merge(this.hostElementBlurred.pipe(concatMap(() => interval(10).pipe(take(1), takeUntil(merge(this.hostElementFocused, this.filterFocused))))), this.navigationService.tab).pipe(tap(event => event instanceof NavigationEvent && this.focus()), filter(() => this.isFocused), filter(() => {
8780
8792
  const isBrowserSafari = isDocumentAvailable() && isSafari(navigator.userAgent);
8781
8793
  if (!isBrowserSafari) {
8782
8794
  return true;
@@ -11415,6 +11427,7 @@ class MultiSelectComponent {
11415
11427
  customValueSubject = new Subject();
11416
11428
  customValueSubscription;
11417
11429
  subs = new Subscription();
11430
+ popupSubscriptions;
11418
11431
  touchstartDisposeHandler;
11419
11432
  direction;
11420
11433
  differ;
@@ -11924,6 +11937,8 @@ class MultiSelectComponent {
11924
11937
  this.popupRef.close();
11925
11938
  this.popupRef = null;
11926
11939
  }
11940
+ this.popupSubscriptions?.unsubscribe();
11941
+ this.popupSubscriptions = null;
11927
11942
  }
11928
11943
  createPopup() {
11929
11944
  if (this.virtual) {
@@ -11960,7 +11975,8 @@ class MultiSelectComponent {
11960
11975
  popupWrapper.style.width = max;
11961
11976
  popupWrapper.style.height = this.height;
11962
11977
  popupWrapper.setAttribute("dir", this.direction);
11963
- this.popupRef.popupOpen.subscribe(() => {
11978
+ this.popupSubscriptions = new Subscription();
11979
+ this.popupSubscriptions.add(this.popupRef.popupOpen.subscribe(() => {
11964
11980
  this.cdr.detectChanges();
11965
11981
  if (!this.dataService.grouped) {
11966
11982
  setListBoxAriaLabelledBy(this.optionsList, this.searchbar.input, this.renderer);
@@ -11968,13 +11984,13 @@ class MultiSelectComponent {
11968
11984
  this.optionsList?.scrollToItem(this.selectionService.focused);
11969
11985
  this.selectionService.focus(this.selectionService.focused);
11970
11986
  this.opened.emit();
11971
- });
11972
- this.popupRef.popupClose.subscribe(() => {
11987
+ }));
11988
+ this.popupSubscriptions.add(this.popupRef.popupClose.subscribe(() => {
11973
11989
  this.closed.emit();
11974
- });
11975
- this.popupRef.popupAnchorViewportLeave.subscribe(() => {
11990
+ }));
11991
+ this.popupSubscriptions.add(this.popupRef.popupAnchorViewportLeave.subscribe(() => {
11976
11992
  this.togglePopup(false);
11977
- });
11993
+ }));
11978
11994
  }
11979
11995
  buildTags(items) {
11980
11996
  if (this.isCustomTagMapperActive) {
@@ -14470,6 +14486,7 @@ class DropDownTreeComponent {
14470
14486
  _typedValue = '';
14471
14487
  printableCharacters = new Subject();
14472
14488
  subs = new Subscription();
14489
+ popupSubscriptions;
14473
14490
  touchstartDisposeHandler;
14474
14491
  // Keep an instance of the last focused node for when the popup close is prevented
14475
14492
  // in order to be able to properly restore the focus
@@ -14991,16 +15008,17 @@ class DropDownTreeComponent {
14991
15008
  this.renderer.setAttribute(popupWrapper, 'role', 'region');
14992
15009
  this.renderer.setAttribute(popupWrapper, 'aria-label', this.messageFor('popupLabel'));
14993
15010
  }
14994
- this.popupRef.popupOpen.subscribe(() => {
15011
+ this.popupSubscriptions = new Subscription();
15012
+ this.popupSubscriptions.add(this.popupRef.popupOpen.subscribe(() => {
14995
15013
  this.allNodesHidden = this.areNodesHidden(this.data);
14996
15014
  this.popupRef.popupElement.addEventListener('click', (event) => stopPropagation(event));
14997
15015
  this.cdr.detectChanges();
14998
15016
  this.opened.emit();
14999
15017
  this._searchableNodes = getSearchableItems(this.treeViewId, this.popupRef.popupElement);
15000
- });
15001
- this.popupRef.popupClose.subscribe(() => {
15018
+ }));
15019
+ this.popupSubscriptions.add(this.popupRef.popupClose.subscribe(() => {
15002
15020
  this.closed.emit();
15003
- });
15021
+ }));
15004
15022
  }
15005
15023
  destroyPopup() {
15006
15024
  if (this.isActionSheetExpanded) {
@@ -15014,6 +15032,8 @@ class DropDownTreeComponent {
15014
15032
  // Trigger change detection to update aria-controls attribute
15015
15033
  this.cdr.markForCheck();
15016
15034
  }
15035
+ this.popupSubscriptions?.unsubscribe();
15036
+ this.popupSubscriptions = null;
15017
15037
  }
15018
15038
  clearFilter() {
15019
15039
  if (this.filter !== "") {
@@ -17096,6 +17116,7 @@ class MultiSelectTreeComponent {
17096
17116
  _typedValue = '';
17097
17117
  printableCharacters = new Subject();
17098
17118
  subs = new Subscription();
17119
+ popupSubscriptions;
17099
17120
  // Keep an instance of the last focused node for when the popup close is prevented
17100
17121
  // in order to be able to properly restore the focus
17101
17122
  lastNodeOnFocus;
@@ -17635,18 +17656,19 @@ class MultiSelectTreeComponent {
17635
17656
  popupWrapper.style.width = max;
17636
17657
  popupWrapper.style.height = this.height;
17637
17658
  this.renderer.setAttribute(popupWrapper, 'dir', this.direction);
17638
- this.popupRef.popupOpen.subscribe(() => {
17659
+ this.popupSubscriptions = new Subscription();
17660
+ this.popupSubscriptions.add(this.popupRef.popupOpen.subscribe(() => {
17639
17661
  this.cdr.detectChanges();
17640
17662
  this.opened.emit();
17641
17663
  this._searchableNodes = getSearchableItems(this.treeViewId, this.popupRef.popupElement);
17642
- });
17643
- this.popupRef.popupClose.subscribe(() => {
17664
+ }));
17665
+ this.popupSubscriptions.add(this.popupRef.popupClose.subscribe(() => {
17644
17666
  if (hasObservers(this.closed)) {
17645
17667
  this._zone.run(() => {
17646
17668
  this.closed.emit();
17647
17669
  });
17648
17670
  }
17649
- });
17671
+ }));
17650
17672
  }
17651
17673
  destroyPopup() {
17652
17674
  if (this.isActionSheetExpanded) {
@@ -17657,6 +17679,8 @@ class MultiSelectTreeComponent {
17657
17679
  this.popupRef = null;
17658
17680
  this.clearFilter();
17659
17681
  }
17682
+ this.popupSubscriptions?.unsubscribe();
17683
+ this.popupSubscriptions = null;
17660
17684
  }
17661
17685
  clearFilter() {
17662
17686
  if (this.filter !== "") {
package/index.d.ts CHANGED
@@ -1495,6 +1495,7 @@ declare class AutoCompleteComponent implements ControlValueAccessor, OnDestroy,
1495
1495
  private suggestedText;
1496
1496
  private backspacePressed;
1497
1497
  private subs;
1498
+ private popupSubscriptions;
1498
1499
  private valueChangeSubject;
1499
1500
  private touchstartDisposeHandler;
1500
1501
  private wrapper;
@@ -1997,6 +1998,7 @@ declare class ComboBoxComponent extends MultiTabStop implements ControlValueAcce
1997
1998
  private _tabindex;
1998
1999
  private _filterable;
1999
2000
  private _listHeight;
2001
+ private popupSubscriptions;
2000
2002
  constructor(wrapper: ElementRef<HTMLElement>, localization: LocalizationService, popupService: PopupService, selectionService: SelectionService, navigationService: NavigationService, disabledItemsService: DisabledItemsService, dataService: DataService, zone: NgZone, cdr: ChangeDetectorRef, renderer: Renderer2, injector: Injector, hostElement: ElementRef, adaptiveService: AdaptiveService);
2001
2003
  ngOnInit(): void;
2002
2004
  ngAfterViewInit(): void;
@@ -2571,6 +2573,7 @@ declare class DropDownListComponent implements ControlValueAccessor, AfterViewIn
2571
2573
  filterText: string;
2572
2574
  listBoxId: string;
2573
2575
  private subs;
2576
+ private popupSubscriptions;
2574
2577
  private _isFocused;
2575
2578
  set isFocused(isFocused: boolean);
2576
2579
  get isFocused(): boolean;
@@ -3534,6 +3537,7 @@ declare class MultiSelectComponent implements OnDestroy, OnChanges, OnInit, DoCh
3534
3537
  private customValueSubject;
3535
3538
  private customValueSubscription;
3536
3539
  private subs;
3540
+ private popupSubscriptions;
3537
3541
  private touchstartDisposeHandler;
3538
3542
  private direction;
3539
3543
  private differ;
@@ -4310,6 +4314,7 @@ declare class DropDownTreeComponent implements OnInit, OnDestroy, OnChanges, Aft
4310
4314
  private _typedValue;
4311
4315
  private printableCharacters;
4312
4316
  private subs;
4317
+ private popupSubscriptions;
4313
4318
  private touchstartDisposeHandler;
4314
4319
  private lastNodeOnFocus;
4315
4320
  private _popupRef;
@@ -5106,6 +5111,7 @@ declare class MultiSelectTreeComponent implements OnInit, OnDestroy, OnChanges,
5106
5111
  private _typedValue;
5107
5112
  private printableCharacters;
5108
5113
  private subs;
5114
+ private popupSubscriptions;
5109
5115
  private lastNodeOnFocus;
5110
5116
  private isContentInit;
5111
5117
  private _adaptiveMode;
@@ -7,7 +7,7 @@ export const packageMetadata = {
7
7
  "productCodes": [
8
8
  "KENDOUIANGULAR"
9
9
  ],
10
- "publishDate": 1794915396,
11
- "version": "26.1.0",
10
+ "publishDate": 1795522907,
11
+ "version": "26.2.0-develop.10",
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-dropdowns",
3
- "version": "26.1.0",
3
+ "version": "26.2.0-develop.10",
4
4
  "description": "A wide variety of native Angular dropdown components including AutoComplete, ComboBox, DropDownList, DropDownTree, MultiColumnComboBox, MultiSelect, and MultiSelectTree ",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -132,30 +132,29 @@
132
132
  "package": {
133
133
  "productName": "Kendo UI for Angular",
134
134
  "productCode": "KENDOUIANGULAR",
135
- "publishDate": 1794915396,
135
+ "publishDate": 1795522907,
136
136
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
137
137
  }
138
138
  },
139
139
  "peerDependencies": {
140
- "@angular/animations": "20 - 22",
141
140
  "@angular/common": "20 - 22",
142
141
  "@angular/core": "20 - 22",
143
142
  "@angular/forms": "20 - 22",
144
143
  "@angular/platform-browser": "20 - 22",
145
144
  "@progress/kendo-licensing": "^1.13.1",
146
- "@progress/kendo-angular-common": "26.1.0",
147
- "@progress/kendo-angular-utils": "26.1.0",
148
- "@progress/kendo-angular-l10n": "26.1.0",
149
- "@progress/kendo-angular-navigation": "26.1.0",
150
- "@progress/kendo-angular-popup": "26.1.0",
151
- "@progress/kendo-angular-icons": "26.1.0",
152
- "@progress/kendo-angular-inputs": "26.1.0",
153
- "@progress/kendo-angular-treeview": "26.1.0",
145
+ "@progress/kendo-angular-common": "26.2.0-develop.10",
146
+ "@progress/kendo-angular-utils": "26.2.0-develop.10",
147
+ "@progress/kendo-angular-l10n": "26.2.0-develop.10",
148
+ "@progress/kendo-angular-navigation": "26.2.0-develop.10",
149
+ "@progress/kendo-angular-popup": "26.2.0-develop.10",
150
+ "@progress/kendo-angular-icons": "26.2.0-develop.10",
151
+ "@progress/kendo-angular-inputs": "26.2.0-develop.10",
152
+ "@progress/kendo-angular-treeview": "26.2.0-develop.10",
154
153
  "rxjs": "^6.5.3 || ^7.0.0"
155
154
  },
156
155
  "dependencies": {
157
156
  "tslib": "^2.3.1",
158
- "@progress/kendo-angular-schematics": "26.1.0",
157
+ "@progress/kendo-angular-schematics": "26.2.0-develop.10",
159
158
  "@progress/kendo-common": "^1.0.1"
160
159
  },
161
160
  "schematics": "./schematics/collection.json",
@@ -9,9 +9,9 @@ const schematics_1 = require("@angular-devkit/schematics");
9
9
  function default_1(options) {
10
10
  const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'DropDownsModule', package: 'dropdowns', peerDependencies: {
11
11
  // peers of the treeview
12
- '@progress/kendo-angular-inputs': '26.1.0',
12
+ '@progress/kendo-angular-inputs': '26.2.0-develop.10',
13
13
  // peers of inputs
14
- '@progress/kendo-angular-intl': '26.1.0',
14
+ '@progress/kendo-angular-intl': '26.2.0-develop.10',
15
15
  '@progress/kendo-drawing': '^1.17.2',
16
16
  // Peer dependency of icons
17
17
  '@progress/kendo-svg-icons': '^4.0.0'