@progress/kendo-angular-dropdowns 18.1.0-develop.32 → 18.1.0-develop.34

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.
@@ -1252,6 +1252,7 @@ export class MultiSelectComponent {
1252
1252
  }
1253
1253
  selectedDataItems = [];
1254
1254
  popupMouseDownHandler;
1255
+ isOpenPrevented = false;
1255
1256
  customValueSubject = new Subject();
1256
1257
  customValueSubscription;
1257
1258
  subs = new Subscription();
@@ -1446,7 +1447,7 @@ export class MultiSelectComponent {
1446
1447
  if (!this.isActionSheetExpanded) {
1447
1448
  const inputElement = this.searchbar.input.nativeElement;
1448
1449
  if (event.button === 0) {
1449
- if (this.isFocused && this.isOpen && event.target === inputElement) {
1450
+ if (this.isFocused && (this.isOpen || this.isOpenPrevented) && event.target === inputElement) {
1450
1451
  return;
1451
1452
  }
1452
1453
  if (!touchEnabled || (touchEnabled && event.target.tagName !== 'SPAN')) {
@@ -1669,6 +1670,9 @@ export class MultiSelectComponent {
1669
1670
  return;
1670
1671
  }
1671
1672
  const isDefaultPrevented = this.triggerPopupEvents(open);
1673
+ if (open) {
1674
+ this.isOpenPrevented = isDefaultPrevented;
1675
+ }
1672
1676
  if (!isDefaultPrevented) {
1673
1677
  this._toggle(open);
1674
1678
  }
@@ -10,7 +10,7 @@ export const packageMetadata = {
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCode: 'KENDOUIANGULAR',
12
12
  productCodes: ['KENDOUIANGULAR'],
13
- publishDate: 1739276412,
14
- version: '18.1.0-develop.32',
13
+ publishDate: 1739278672,
14
+ version: '18.1.0-develop.34',
15
15
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
16
16
  };
@@ -37,8 +37,8 @@ const packageMetadata = {
37
37
  productName: 'Kendo UI for Angular',
38
38
  productCode: 'KENDOUIANGULAR',
39
39
  productCodes: ['KENDOUIANGULAR'],
40
- publishDate: 1739276412,
41
- version: '18.1.0-develop.32',
40
+ publishDate: 1739278672,
41
+ version: '18.1.0-develop.34',
42
42
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
43
43
  };
44
44
 
@@ -10571,6 +10571,7 @@ class MultiSelectComponent {
10571
10571
  }
10572
10572
  selectedDataItems = [];
10573
10573
  popupMouseDownHandler;
10574
+ isOpenPrevented = false;
10574
10575
  customValueSubject = new Subject();
10575
10576
  customValueSubscription;
10576
10577
  subs = new Subscription();
@@ -10765,7 +10766,7 @@ class MultiSelectComponent {
10765
10766
  if (!this.isActionSheetExpanded) {
10766
10767
  const inputElement = this.searchbar.input.nativeElement;
10767
10768
  if (event.button === 0) {
10768
- if (this.isFocused && this.isOpen && event.target === inputElement) {
10769
+ if (this.isFocused && (this.isOpen || this.isOpenPrevented) && event.target === inputElement) {
10769
10770
  return;
10770
10771
  }
10771
10772
  if (!touchEnabled || (touchEnabled && event.target.tagName !== 'SPAN')) {
@@ -10988,6 +10989,9 @@ class MultiSelectComponent {
10988
10989
  return;
10989
10990
  }
10990
10991
  const isDefaultPrevented = this.triggerPopupEvents(open);
10992
+ if (open) {
10993
+ this.isOpenPrevented = isDefaultPrevented;
10994
+ }
10991
10995
  if (!isDefaultPrevented) {
10992
10996
  this._toggle(open);
10993
10997
  }
@@ -640,6 +640,7 @@ export declare class MultiSelectComponent implements OnDestroy, OnChanges, OnIni
640
640
  get isFocused(): boolean;
641
641
  private selectedDataItems;
642
642
  private popupMouseDownHandler;
643
+ private isOpenPrevented;
643
644
  private customValueSubject;
644
645
  private customValueSubscription;
645
646
  private subs;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-dropdowns",
3
- "version": "18.1.0-develop.32",
3
+ "version": "18.1.0-develop.34",
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",
@@ -20,7 +20,7 @@
20
20
  "package": {
21
21
  "productName": "Kendo UI for Angular",
22
22
  "productCode": "KENDOUIANGULAR",
23
- "publishDate": 1739276412,
23
+ "publishDate": 1739278672,
24
24
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
25
25
  }
26
26
  },
@@ -31,18 +31,18 @@
31
31
  "@angular/forms": "16 - 19",
32
32
  "@angular/platform-browser": "16 - 19",
33
33
  "@progress/kendo-licensing": "^1.4.0",
34
- "@progress/kendo-angular-common": "18.1.0-develop.32",
35
- "@progress/kendo-angular-utils": "18.1.0-develop.32",
36
- "@progress/kendo-angular-l10n": "18.1.0-develop.32",
37
- "@progress/kendo-angular-navigation": "18.1.0-develop.32",
38
- "@progress/kendo-angular-popup": "18.1.0-develop.32",
39
- "@progress/kendo-angular-icons": "18.1.0-develop.32",
40
- "@progress/kendo-angular-treeview": "18.1.0-develop.32",
34
+ "@progress/kendo-angular-common": "18.1.0-develop.34",
35
+ "@progress/kendo-angular-utils": "18.1.0-develop.34",
36
+ "@progress/kendo-angular-l10n": "18.1.0-develop.34",
37
+ "@progress/kendo-angular-navigation": "18.1.0-develop.34",
38
+ "@progress/kendo-angular-popup": "18.1.0-develop.34",
39
+ "@progress/kendo-angular-icons": "18.1.0-develop.34",
40
+ "@progress/kendo-angular-treeview": "18.1.0-develop.34",
41
41
  "rxjs": "^6.5.3 || ^7.0.0"
42
42
  },
43
43
  "dependencies": {
44
44
  "tslib": "^2.3.1",
45
- "@progress/kendo-angular-schematics": "18.1.0-develop.32",
45
+ "@progress/kendo-angular-schematics": "18.1.0-develop.34",
46
46
  "@progress/kendo-common": "^1.0.1"
47
47
  },
48
48
  "schematics": "./schematics/collection.json",
@@ -4,9 +4,9 @@ const schematics_1 = require("@angular-devkit/schematics");
4
4
  function default_1(options) {
5
5
  const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'DropDownsModule', package: 'dropdowns', peerDependencies: {
6
6
  // peers of the treeview
7
- '@progress/kendo-angular-inputs': '18.1.0-develop.32',
7
+ '@progress/kendo-angular-inputs': '18.1.0-develop.34',
8
8
  // peers of inputs
9
- '@progress/kendo-angular-intl': '18.1.0-develop.32',
9
+ '@progress/kendo-angular-intl': '18.1.0-develop.34',
10
10
  '@progress/kendo-drawing': '^1.17.2',
11
11
  // Peer dependency of icons
12
12
  '@progress/kendo-svg-icons': '^4.0.0'