@progress/kendo-angular-dropdowns 23.2.2 → 23.3.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:
|
|
41
|
-
version: '23.
|
|
40
|
+
publishDate: 1774343476,
|
|
41
|
+
version: '23.3.0-develop.10',
|
|
42
42
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
43
43
|
};
|
|
44
44
|
|
|
@@ -10301,10 +10301,7 @@ class MultiSelectComponent {
|
|
|
10301
10301
|
* @hidden
|
|
10302
10302
|
*/
|
|
10303
10303
|
setState(value) {
|
|
10304
|
-
|
|
10305
|
-
if (this.dataService.grouped) {
|
|
10306
|
-
data = data.filter(item => !item.header).map(item => item.value);
|
|
10307
|
-
}
|
|
10304
|
+
const data = this.getDataItems();
|
|
10308
10305
|
const selection = selectedIndices(this.value, data, this.valueField);
|
|
10309
10306
|
this.selectionService.resetSelection(selection);
|
|
10310
10307
|
if (this.disabledItemsService.isIndexDisabled(this.selectionService.focused)) {
|
|
@@ -10444,8 +10441,15 @@ class MultiSelectComponent {
|
|
|
10444
10441
|
this.clearFilter();
|
|
10445
10442
|
this.selectionService.lastClickedIndex = null;
|
|
10446
10443
|
const selected = this.selectionService.selected;
|
|
10447
|
-
this.
|
|
10448
|
-
|
|
10444
|
+
if (this.isAdaptive && this.isActionSheetExpanded) {
|
|
10445
|
+
this._valueHolder = this._valueHolder.filter((_item, index) => this.disabledItemsService.isIndexDisabled(selected[index]));
|
|
10446
|
+
const selection = selectedIndices(this._valueHolder, this.getDataItems(), this.valueField);
|
|
10447
|
+
this.selectionService.resetSelection(selection);
|
|
10448
|
+
}
|
|
10449
|
+
else {
|
|
10450
|
+
this.value = this.value.filter((_item, index) => this.disabledItemsService.isIndexDisabled(selected[index]));
|
|
10451
|
+
this.emitValueChange();
|
|
10452
|
+
}
|
|
10449
10453
|
}
|
|
10450
10454
|
/**
|
|
10451
10455
|
* @hidden
|
|
@@ -10682,11 +10686,15 @@ class MultiSelectComponent {
|
|
|
10682
10686
|
this.touchstartDisposeHandler();
|
|
10683
10687
|
}
|
|
10684
10688
|
}
|
|
10685
|
-
|
|
10686
|
-
|
|
10689
|
+
getDataItems() {
|
|
10690
|
+
const data = this.dataService.data;
|
|
10687
10691
|
if (this.dataService.grouped) {
|
|
10688
|
-
|
|
10692
|
+
return data.filter(item => !item.header).map(item => item.value);
|
|
10689
10693
|
}
|
|
10694
|
+
return data;
|
|
10695
|
+
}
|
|
10696
|
+
removeGroupTag(dataItems) {
|
|
10697
|
+
const data = this.getDataItems();
|
|
10690
10698
|
const dataItemValues = new Set(dataItems.map(item => getter(item, this.valueField)));
|
|
10691
10699
|
this.value = this.value.filter(value => {
|
|
10692
10700
|
const index = selectedIndices([value], data, this.valueField)[0];
|
|
@@ -10696,10 +10704,7 @@ class MultiSelectComponent {
|
|
|
10696
10704
|
this.emitValueChange();
|
|
10697
10705
|
}
|
|
10698
10706
|
removeSingleTag(dataItem) {
|
|
10699
|
-
|
|
10700
|
-
if (this.dataService.grouped) {
|
|
10701
|
-
data = data.filter(item => !item.header).map(item => item.value);
|
|
10702
|
-
}
|
|
10707
|
+
const data = this.getDataItems();
|
|
10703
10708
|
const index = selectedIndices([dataItem], data, this.valueField)[0];
|
|
10704
10709
|
if (this.disabledItemsService.isIndexDisabled(index)) {
|
|
10705
10710
|
return;
|
|
@@ -593,6 +593,7 @@ export declare class MultiSelectComponent implements OnDestroy, OnChanges, OnIni
|
|
|
593
593
|
private subscribeEvents;
|
|
594
594
|
private subscribeTouchEvents;
|
|
595
595
|
private unsubscribeEvents;
|
|
596
|
+
private getDataItems;
|
|
596
597
|
private removeGroupTag;
|
|
597
598
|
private removeSingleTag;
|
|
598
599
|
/**
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "23.
|
|
10
|
+
"publishDate": 1774343476,
|
|
11
|
+
"version": "23.3.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": "23.
|
|
3
|
+
"version": "23.3.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",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"package": {
|
|
101
101
|
"productName": "Kendo UI for Angular",
|
|
102
102
|
"productCode": "KENDOUIANGULAR",
|
|
103
|
-
"publishDate":
|
|
103
|
+
"publishDate": 1774343476,
|
|
104
104
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
105
105
|
}
|
|
106
106
|
},
|
|
@@ -111,18 +111,18 @@
|
|
|
111
111
|
"@angular/forms": "19 - 21",
|
|
112
112
|
"@angular/platform-browser": "19 - 21",
|
|
113
113
|
"@progress/kendo-licensing": "^1.10.0",
|
|
114
|
-
"@progress/kendo-angular-common": "23.
|
|
115
|
-
"@progress/kendo-angular-utils": "23.
|
|
116
|
-
"@progress/kendo-angular-l10n": "23.
|
|
117
|
-
"@progress/kendo-angular-navigation": "23.
|
|
118
|
-
"@progress/kendo-angular-popup": "23.
|
|
119
|
-
"@progress/kendo-angular-icons": "23.
|
|
120
|
-
"@progress/kendo-angular-treeview": "23.
|
|
114
|
+
"@progress/kendo-angular-common": "23.3.0-develop.10",
|
|
115
|
+
"@progress/kendo-angular-utils": "23.3.0-develop.10",
|
|
116
|
+
"@progress/kendo-angular-l10n": "23.3.0-develop.10",
|
|
117
|
+
"@progress/kendo-angular-navigation": "23.3.0-develop.10",
|
|
118
|
+
"@progress/kendo-angular-popup": "23.3.0-develop.10",
|
|
119
|
+
"@progress/kendo-angular-icons": "23.3.0-develop.10",
|
|
120
|
+
"@progress/kendo-angular-treeview": "23.3.0-develop.10",
|
|
121
121
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
122
122
|
},
|
|
123
123
|
"dependencies": {
|
|
124
124
|
"tslib": "^2.3.1",
|
|
125
|
-
"@progress/kendo-angular-schematics": "23.
|
|
125
|
+
"@progress/kendo-angular-schematics": "23.3.0-develop.10",
|
|
126
126
|
"@progress/kendo-common": "^1.0.1"
|
|
127
127
|
},
|
|
128
128
|
"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': '23.
|
|
12
|
+
'@progress/kendo-angular-inputs': '23.3.0-develop.10',
|
|
13
13
|
// peers of inputs
|
|
14
|
-
'@progress/kendo-angular-intl': '23.
|
|
14
|
+
'@progress/kendo-angular-intl': '23.3.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'
|