@progress/kendo-angular-dropdowns 14.0.0-develop.6 → 14.0.0-develop.7
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.
|
@@ -1038,14 +1038,10 @@ export class MultiSelectTreeComponent {
|
|
|
1038
1038
|
pendingCheck.push(...this.removeParents(lookup.parent));
|
|
1039
1039
|
}
|
|
1040
1040
|
const keysToRemove = pendingCheck.map(item => item.key);
|
|
1041
|
-
const valueDepthIndices = [];
|
|
1042
1041
|
this.dataItems = this.dataItems.filter((_item, i) => {
|
|
1043
|
-
// We need to know the index position of the data item to be able to update the valueDepth array accordignly
|
|
1044
|
-
// as each data item's position is corresponding to the same position in valueDepth
|
|
1045
|
-
valueDepthIndices.push(i);
|
|
1046
1042
|
return !keysToRemove.includes(_item.key) || this.disabledIndices.has(i);
|
|
1047
1043
|
});
|
|
1048
|
-
this.valueDepth = this.
|
|
1044
|
+
this.valueDepth = this.dataItems.map(i => i.level);
|
|
1049
1045
|
}
|
|
1050
1046
|
this.updateValue(this.dataItems);
|
|
1051
1047
|
if (!this.isFocused) {
|
|
@@ -1436,6 +1432,7 @@ export class MultiSelectTreeComponent {
|
|
|
1436
1432
|
const source = this.dataItems.map(item => item.dataItem);
|
|
1437
1433
|
this.tags = this.tagMapper(source);
|
|
1438
1434
|
this.disabledIndices = this.disabledItemsMapper();
|
|
1435
|
+
this.dataItems.sort((a, b) => this.tags.indexOf(a.dataItem) - this.tags.indexOf(b.dataItem));
|
|
1439
1436
|
}
|
|
1440
1437
|
updateValue(value) {
|
|
1441
1438
|
const newValue = this.valuePrimitive ?
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-dropdowns',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '14.0.0-develop.
|
|
12
|
+
publishDate: 1696412831,
|
|
13
|
+
version: '14.0.0-develop.7',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -38,8 +38,8 @@ const packageMetadata = {
|
|
|
38
38
|
name: '@progress/kendo-angular-dropdowns',
|
|
39
39
|
productName: 'Kendo UI for Angular',
|
|
40
40
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
41
|
-
publishDate:
|
|
42
|
-
version: '14.0.0-develop.
|
|
41
|
+
publishDate: 1696412831,
|
|
42
|
+
version: '14.0.0-develop.7',
|
|
43
43
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
44
44
|
};
|
|
45
45
|
|
|
@@ -14737,14 +14737,10 @@ class MultiSelectTreeComponent {
|
|
|
14737
14737
|
pendingCheck.push(...this.removeParents(lookup.parent));
|
|
14738
14738
|
}
|
|
14739
14739
|
const keysToRemove = pendingCheck.map(item => item.key);
|
|
14740
|
-
const valueDepthIndices = [];
|
|
14741
14740
|
this.dataItems = this.dataItems.filter((_item, i) => {
|
|
14742
|
-
// We need to know the index position of the data item to be able to update the valueDepth array accordignly
|
|
14743
|
-
// as each data item's position is corresponding to the same position in valueDepth
|
|
14744
|
-
valueDepthIndices.push(i);
|
|
14745
14741
|
return !keysToRemove.includes(_item.key) || this.disabledIndices.has(i);
|
|
14746
14742
|
});
|
|
14747
|
-
this.valueDepth = this.
|
|
14743
|
+
this.valueDepth = this.dataItems.map(i => i.level);
|
|
14748
14744
|
}
|
|
14749
14745
|
this.updateValue(this.dataItems);
|
|
14750
14746
|
if (!this.isFocused) {
|
|
@@ -15135,6 +15131,7 @@ class MultiSelectTreeComponent {
|
|
|
15135
15131
|
const source = this.dataItems.map(item => item.dataItem);
|
|
15136
15132
|
this.tags = this.tagMapper(source);
|
|
15137
15133
|
this.disabledIndices = this.disabledItemsMapper();
|
|
15134
|
+
this.dataItems.sort((a, b) => this.tags.indexOf(a.dataItem) - this.tags.indexOf(b.dataItem));
|
|
15138
15135
|
}
|
|
15139
15136
|
updateValue(value) {
|
|
15140
15137
|
const newValue = this.valuePrimitive ?
|
|
@@ -38,8 +38,8 @@ const packageMetadata = {
|
|
|
38
38
|
name: '@progress/kendo-angular-dropdowns',
|
|
39
39
|
productName: 'Kendo UI for Angular',
|
|
40
40
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
41
|
-
publishDate:
|
|
42
|
-
version: '14.0.0-develop.
|
|
41
|
+
publishDate: 1696412831,
|
|
42
|
+
version: '14.0.0-develop.7',
|
|
43
43
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
44
44
|
};
|
|
45
45
|
|
|
@@ -14709,14 +14709,10 @@ class MultiSelectTreeComponent {
|
|
|
14709
14709
|
pendingCheck.push(...this.removeParents(lookup.parent));
|
|
14710
14710
|
}
|
|
14711
14711
|
const keysToRemove = pendingCheck.map(item => item.key);
|
|
14712
|
-
const valueDepthIndices = [];
|
|
14713
14712
|
this.dataItems = this.dataItems.filter((_item, i) => {
|
|
14714
|
-
// We need to know the index position of the data item to be able to update the valueDepth array accordignly
|
|
14715
|
-
// as each data item's position is corresponding to the same position in valueDepth
|
|
14716
|
-
valueDepthIndices.push(i);
|
|
14717
14713
|
return !keysToRemove.includes(_item.key) || this.disabledIndices.has(i);
|
|
14718
14714
|
});
|
|
14719
|
-
this.valueDepth = this.
|
|
14715
|
+
this.valueDepth = this.dataItems.map(i => i.level);
|
|
14720
14716
|
}
|
|
14721
14717
|
this.updateValue(this.dataItems);
|
|
14722
14718
|
if (!this.isFocused) {
|
|
@@ -15107,6 +15103,7 @@ class MultiSelectTreeComponent {
|
|
|
15107
15103
|
const source = this.dataItems.map(item => item.dataItem);
|
|
15108
15104
|
this.tags = this.tagMapper(source);
|
|
15109
15105
|
this.disabledIndices = this.disabledItemsMapper();
|
|
15106
|
+
this.dataItems.sort((a, b) => this.tags.indexOf(a.dataItem) - this.tags.indexOf(b.dataItem));
|
|
15110
15107
|
}
|
|
15111
15108
|
updateValue(value) {
|
|
15112
15109
|
const newValue = this.valuePrimitive ?
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-dropdowns",
|
|
3
|
-
"version": "14.0.0-develop.
|
|
3
|
+
"version": "14.0.0-develop.7",
|
|
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",
|
|
@@ -24,18 +24,18 @@
|
|
|
24
24
|
"@angular/core": "13 - 16",
|
|
25
25
|
"@angular/platform-browser": "13 - 16",
|
|
26
26
|
"@progress/kendo-licensing": "^1.0.2",
|
|
27
|
-
"@progress/kendo-angular-common": "14.0.0-develop.
|
|
28
|
-
"@progress/kendo-angular-l10n": "14.0.0-develop.
|
|
29
|
-
"@progress/kendo-angular-popup": "14.0.0-develop.
|
|
30
|
-
"@progress/kendo-angular-icons": "14.0.0-develop.
|
|
31
|
-
"@progress/kendo-angular-treeview": "14.0.0-develop.
|
|
27
|
+
"@progress/kendo-angular-common": "14.0.0-develop.7",
|
|
28
|
+
"@progress/kendo-angular-l10n": "14.0.0-develop.7",
|
|
29
|
+
"@progress/kendo-angular-popup": "14.0.0-develop.7",
|
|
30
|
+
"@progress/kendo-angular-icons": "14.0.0-develop.7",
|
|
31
|
+
"@progress/kendo-angular-treeview": "14.0.0-develop.7",
|
|
32
32
|
"rxjs": "^6.5.3 || ^7.0.0",
|
|
33
|
-
"@progress/kendo-angular-navigation": "14.0.0-develop.
|
|
34
|
-
"@progress/kendo-angular-label": "14.0.0-develop.
|
|
33
|
+
"@progress/kendo-angular-navigation": "14.0.0-develop.7",
|
|
34
|
+
"@progress/kendo-angular-label": "14.0.0-develop.7"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"tslib": "^2.3.1",
|
|
38
|
-
"@progress/kendo-angular-schematics": "14.0.0-develop.
|
|
38
|
+
"@progress/kendo-angular-schematics": "14.0.0-develop.7",
|
|
39
39
|
"@progress/kendo-common": "^0.2.1"
|
|
40
40
|
},
|
|
41
41
|
"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': '14.0.0-develop.
|
|
7
|
+
'@progress/kendo-angular-inputs': '14.0.0-develop.7',
|
|
8
8
|
// peers of inputs
|
|
9
|
-
'@progress/kendo-angular-intl': '14.0.0-develop.
|
|
9
|
+
'@progress/kendo-angular-intl': '14.0.0-develop.7',
|
|
10
10
|
'@progress/kendo-drawing': '^1.17.2',
|
|
11
11
|
// Peer dependency of icons
|
|
12
12
|
'@progress/kendo-svg-icons': '^1.0.0'
|