@progress/kendo-angular-dropdowns 21.4.1 → 22.0.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.
- package/common/localization/messages.d.ts +1 -1
- package/dropdowntrees/checked-state/base-check.directive.d.ts +1 -1
- package/fesm2022/progress-kendo-angular-dropdowns.mjs +173 -173
- package/package.json +14 -22
- package/schematics/ngAdd/index.js +2 -2
- package/esm2022/autocomplete/autocomplete.component.mjs +0 -1687
- package/esm2022/autocomplete/autocomplete.module.mjs +0 -70
- package/esm2022/comboboxes/combobox-column/column-cell-template.directive.mjs +0 -42
- package/esm2022/comboboxes/combobox-column/column-header-template.directive.mjs +0 -40
- package/esm2022/comboboxes/combobox-column/combobox-column.component.mjs +0 -116
- package/esm2022/comboboxes/combobox-column/util.mjs +0 -60
- package/esm2022/comboboxes/combobox.component.mjs +0 -2149
- package/esm2022/comboboxes/combobox.module.mjs +0 -77
- package/esm2022/comboboxes/multicolumncombobox.component.mjs +0 -883
- package/esm2022/common/adaptive-renderer.component.mjs +0 -253
- package/esm2022/common/constants/error-messages.mjs +0 -61
- package/esm2022/common/data.service.mjs +0 -250
- package/esm2022/common/disabled-items/disabled-items.service.mjs +0 -47
- package/esm2022/common/disabled-items/item-disabled.mjs +0 -5
- package/esm2022/common/filter-input.directive.mjs +0 -39
- package/esm2022/common/filtering/filter-settings.mjs +0 -5
- package/esm2022/common/filtering/filter.directive.mjs +0 -136
- package/esm2022/common/filtering/filterable-component.mjs +0 -34
- package/esm2022/common/list-item.directive.mjs +0 -25
- package/esm2022/common/list.component.mjs +0 -968
- package/esm2022/common/localization/custom-messages.component.mjs +0 -96
- package/esm2022/common/localization/localized-messages.directive.mjs +0 -47
- package/esm2022/common/localization/messages.mjs +0 -77
- package/esm2022/common/models/checkboxes-settings.mjs +0 -15
- package/esm2022/common/models/direction.mjs +0 -5
- package/esm2022/common/models/fillmode.mjs +0 -5
- package/esm2022/common/models/list-type.mjs +0 -5
- package/esm2022/common/models/page-change-event.mjs +0 -5
- package/esm2022/common/models/popup-settings.mjs +0 -5
- package/esm2022/common/models/preventable-event.mjs +0 -25
- package/esm2022/common/models/remove-tag-event.mjs +0 -23
- package/esm2022/common/models/rounded.mjs +0 -5
- package/esm2022/common/models/size.mjs +0 -5
- package/esm2022/common/models/virtualization-settings.mjs +0 -24
- package/esm2022/common/navigation/navigation-action.mjs +0 -32
- package/esm2022/common/navigation/navigation.service.mjs +0 -188
- package/esm2022/common/searchbar.component.mjs +0 -386
- package/esm2022/common/selection/selectable.directive.mjs +0 -83
- package/esm2022/common/selection/selection.service.mjs +0 -166
- package/esm2022/common/shared-events.directive.mjs +0 -99
- package/esm2022/common/taglist.component.mjs +0 -295
- package/esm2022/common/templates/custom-item-template.directive.mjs +0 -48
- package/esm2022/common/templates/fixed-group-template.directive.mjs +0 -55
- package/esm2022/common/templates/footer-template.directive.mjs +0 -49
- package/esm2022/common/templates/group-tag-template.directive.mjs +0 -47
- package/esm2022/common/templates/group-template.directive.mjs +0 -55
- package/esm2022/common/templates/header-template.directive.mjs +0 -49
- package/esm2022/common/templates/item-template.directive.mjs +0 -48
- package/esm2022/common/templates/no-data-template.directive.mjs +0 -49
- package/esm2022/common/templates/tag-template.directive.mjs +0 -46
- package/esm2022/common/templates/value-template.directive.mjs +0 -50
- package/esm2022/common/util.mjs +0 -376
- package/esm2022/directives.mjs +0 -172
- package/esm2022/dropdownlist/dropdownlist.component.mjs +0 -1999
- package/esm2022/dropdownlist/dropdownlist.module.mjs +0 -79
- package/esm2022/dropdowns.module.mjs +0 -76
- package/esm2022/dropdowntrees/checked-state/base-check.directive.mjs +0 -76
- package/esm2022/dropdowntrees/checked-state/check-all.directive.mjs +0 -170
- package/esm2022/dropdowntrees/checked-state/check.directive.mjs +0 -168
- package/esm2022/dropdowntrees/checked-state/checkable-settings.mjs +0 -5
- package/esm2022/dropdowntrees/checked-state/checked-item.mjs +0 -5
- package/esm2022/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.mjs +0 -69
- package/esm2022/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.mjs +0 -62
- package/esm2022/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.mjs +0 -69
- package/esm2022/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.mjs +0 -62
- package/esm2022/dropdowntrees/dropdowntree.component.mjs +0 -1967
- package/esm2022/dropdowntrees/dropdowntrees.module.mjs +0 -79
- package/esm2022/dropdowntrees/expanded-state/expand.directive.mjs +0 -49
- package/esm2022/dropdowntrees/lookup/lookup.mjs +0 -5
- package/esm2022/dropdowntrees/lookup/lookup.service.mjs +0 -82
- package/esm2022/dropdowntrees/multiselecttree.component.mjs +0 -2359
- package/esm2022/dropdowntrees/summary-tag/summary-tag.directive.mjs +0 -70
- package/esm2022/dropdowntrees/templates/node-template.directive.mjs +0 -31
- package/esm2022/index.mjs +0 -55
- package/esm2022/multiselect/multiselect.component.mjs +0 -2380
- package/esm2022/multiselect/multiselect.module.mjs +0 -79
- package/esm2022/multiselect/summary-tag.directive.mjs +0 -68
- package/esm2022/package-metadata.mjs +0 -16
- package/esm2022/progress-kendo-angular-dropdowns.mjs +0 -8
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { NgModule } from '@angular/core';
|
|
6
|
-
import { KENDO_DROPDOWNTREE, KENDO_MULTISELECTTREE } from '../directives';
|
|
7
|
-
import { ResizeBatchService } from '@progress/kendo-angular-common';
|
|
8
|
-
import { DialogContainerService, DialogService, WindowContainerService, WindowService } from '@progress/kendo-angular-dialog';
|
|
9
|
-
import { IconsService } from '@progress/kendo-angular-icons';
|
|
10
|
-
import { PopupService } from '@progress/kendo-angular-popup';
|
|
11
|
-
import { AdaptiveService } from '@progress/kendo-angular-utils';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
import * as i1 from "./dropdowntree.component";
|
|
14
|
-
import * as i2 from "./data-binding/dropdowntree/flat-binding.directive";
|
|
15
|
-
import * as i3 from "./data-binding/dropdowntree/hierarchy-binding.directive";
|
|
16
|
-
import * as i4 from "./expanded-state/expand.directive";
|
|
17
|
-
import * as i5 from "./templates/node-template.directive";
|
|
18
|
-
import * as i6 from "../common/templates/header-template.directive";
|
|
19
|
-
import * as i7 from "../common/templates/footer-template.directive";
|
|
20
|
-
import * as i8 from "../common/templates/value-template.directive";
|
|
21
|
-
import * as i9 from "../common/templates/no-data-template.directive";
|
|
22
|
-
import * as i10 from "../common/localization/custom-messages.component";
|
|
23
|
-
import * as i11 from "./multiselecttree.component";
|
|
24
|
-
import * as i12 from "./data-binding/multiselecttree/flat-binding.directive";
|
|
25
|
-
import * as i13 from "./data-binding/multiselecttree/hierarchy-binding.directive";
|
|
26
|
-
import * as i14 from "./summary-tag/summary-tag.directive";
|
|
27
|
-
import * as i15 from "../common/templates/group-tag-template.directive";
|
|
28
|
-
import * as i16 from "../common/templates/tag-template.directive";
|
|
29
|
-
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
30
|
-
/**
|
|
31
|
-
* Required for adding all DropDownTree features in NgModule-based Angular applications.
|
|
32
|
-
* - `MultiSelectTreeComponent`—The MultiSelectTree component class.
|
|
33
|
-
* - `DropDownTreeComponent`—The DropDownTree component class.
|
|
34
|
-
* - `MultiSelectTreeFlatBindingDirective`—The MultiSelectTree flat binding directive.
|
|
35
|
-
* - `DropDownTreeFlatBindingDirective`—The DropDownTree flat binding directive.
|
|
36
|
-
* - `MultiSelectTreeHierarchyBindingDirective`—The MultiSelectTree hierarchy binding directive.
|
|
37
|
-
* - `DropDownTreeHierarchyBindingDirective`—The DropDownTree hierarchy binding directive.
|
|
38
|
-
* - `DropDownTreesExpandDirective`—The DropDownTreesExpand directive.
|
|
39
|
-
* - `NodeTemplateDirective`—The node template directive.
|
|
40
|
-
* - `MultiSelectTreeSummaryTagDirective`—The MultiSelectTreeSummaryTag directive.
|
|
41
|
-
* - `TagTemplateDirective`—The tag template directive.
|
|
42
|
-
* - `GroupTagTemplateDirective`—The group tag template directive.
|
|
43
|
-
* - `HeaderTemplateDirective`—The header template directive.
|
|
44
|
-
* - `FooterTemplateDirective`—The footer template directive.
|
|
45
|
-
* - `ValueTemplateDirective`—The value template directive.
|
|
46
|
-
* - `NoDataTemplateDirective`—The no-data template directive.
|
|
47
|
-
* - `CustomMessagesComponent`—The custom messages component.
|
|
48
|
-
*/
|
|
49
|
-
export class DropDownTreesModule {
|
|
50
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DropDownTreesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
51
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: DropDownTreesModule, imports: [i1.DropDownTreeComponent, i2.DropDownTreeFlatBindingDirective, i3.DropDownTreeHierarchyBindingDirective, i4.DropDownTreesExpandDirective, i5.NodeTemplateDirective, i6.HeaderTemplateDirective, i7.FooterTemplateDirective, i8.ValueTemplateDirective, i9.NoDataTemplateDirective, i10.CustomMessagesComponent, i11.MultiSelectTreeComponent, i12.MultiSelectTreeFlatBindingDirective, i13.MultiSelectTreeHierarchyBindingDirective, i4.DropDownTreesExpandDirective, i5.NodeTemplateDirective, i14.MultiSelectTreeSummaryTagDirective, i15.GroupTagTemplateDirective, i16.TagTemplateDirective, i6.HeaderTemplateDirective, i7.FooterTemplateDirective, i8.ValueTemplateDirective, i9.NoDataTemplateDirective, i10.CustomMessagesComponent], exports: [i1.DropDownTreeComponent, i2.DropDownTreeFlatBindingDirective, i3.DropDownTreeHierarchyBindingDirective, i4.DropDownTreesExpandDirective, i5.NodeTemplateDirective, i6.HeaderTemplateDirective, i7.FooterTemplateDirective, i8.ValueTemplateDirective, i9.NoDataTemplateDirective, i10.CustomMessagesComponent, i11.MultiSelectTreeComponent, i12.MultiSelectTreeFlatBindingDirective, i13.MultiSelectTreeHierarchyBindingDirective, i4.DropDownTreesExpandDirective, i5.NodeTemplateDirective, i14.MultiSelectTreeSummaryTagDirective, i15.GroupTagTemplateDirective, i16.TagTemplateDirective, i6.HeaderTemplateDirective, i7.FooterTemplateDirective, i8.ValueTemplateDirective, i9.NoDataTemplateDirective, i10.CustomMessagesComponent] });
|
|
52
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DropDownTreesModule, providers: [
|
|
53
|
-
IconsService,
|
|
54
|
-
PopupService,
|
|
55
|
-
ResizeBatchService,
|
|
56
|
-
DialogContainerService,
|
|
57
|
-
DialogService,
|
|
58
|
-
WindowService,
|
|
59
|
-
WindowContainerService,
|
|
60
|
-
AdaptiveService
|
|
61
|
-
], imports: [i1.DropDownTreeComponent, i11.MultiSelectTreeComponent] });
|
|
62
|
-
}
|
|
63
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DropDownTreesModule, decorators: [{
|
|
64
|
-
type: NgModule,
|
|
65
|
-
args: [{
|
|
66
|
-
imports: [...KENDO_DROPDOWNTREE, ...KENDO_MULTISELECTTREE],
|
|
67
|
-
exports: [...KENDO_DROPDOWNTREE, ...KENDO_MULTISELECTTREE],
|
|
68
|
-
providers: [
|
|
69
|
-
IconsService,
|
|
70
|
-
PopupService,
|
|
71
|
-
ResizeBatchService,
|
|
72
|
-
DialogContainerService,
|
|
73
|
-
DialogService,
|
|
74
|
-
WindowService,
|
|
75
|
-
WindowContainerService,
|
|
76
|
-
AdaptiveService
|
|
77
|
-
]
|
|
78
|
-
}]
|
|
79
|
-
}] });
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, Input } from '@angular/core';
|
|
6
|
-
import { ExpandableComponent, ExpandDirective } from '@progress/kendo-angular-treeview';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "@progress/kendo-angular-treeview";
|
|
9
|
-
/**
|
|
10
|
-
* Manages the expanded state of the popup TreeView.
|
|
11
|
-
* @example
|
|
12
|
-
* ```html
|
|
13
|
-
* <kendo-dropdowntree kendoDropDownTreeExpandable></kendo-dropdowntree>
|
|
14
|
-
* ```
|
|
15
|
-
* @example
|
|
16
|
-
* ```html
|
|
17
|
-
* <kendo-multiselecttree kendoMultiSelectTreeExpandable> </kendo-multiselecttree>
|
|
18
|
-
* ```
|
|
19
|
-
* @remarks
|
|
20
|
-
* Applied to: {@link DropDownTreeComponent}, {@link MultiSelectTreeComponent}.
|
|
21
|
-
*/
|
|
22
|
-
export class DropDownTreesExpandDirective extends ExpandDirective {
|
|
23
|
-
dropDownTree;
|
|
24
|
-
/**
|
|
25
|
-
* @hidden
|
|
26
|
-
*
|
|
27
|
-
* Ensures a user-defined `isNodeExpanded` callback will not be overriden by the default directive setup.
|
|
28
|
-
* Implemented as a value setter in the base directive, this just overrides the input name.
|
|
29
|
-
*/
|
|
30
|
-
set isExpanded(value) {
|
|
31
|
-
this.dropDownTree.isExpanded = value;
|
|
32
|
-
}
|
|
33
|
-
constructor(dropDownTree) {
|
|
34
|
-
super(dropDownTree);
|
|
35
|
-
this.dropDownTree = dropDownTree;
|
|
36
|
-
}
|
|
37
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DropDownTreesExpandDirective, deps: [{ token: i1.ExpandableComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
38
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: DropDownTreesExpandDirective, isStandalone: true, selector: "[kendoDropDownTreeExpandable], [kendoMultiSelectTreeExpandable]", inputs: { isExpanded: ["isNodeExpanded", "isExpanded"] }, usesInheritance: true, ngImport: i0 });
|
|
39
|
-
}
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DropDownTreesExpandDirective, decorators: [{
|
|
41
|
-
type: Directive,
|
|
42
|
-
args: [{
|
|
43
|
-
selector: '[kendoDropDownTreeExpandable], [kendoMultiSelectTreeExpandable]',
|
|
44
|
-
standalone: true
|
|
45
|
-
}]
|
|
46
|
-
}], ctorParameters: () => [{ type: i1.ExpandableComponent }], propDecorators: { isExpanded: [{
|
|
47
|
-
type: Input,
|
|
48
|
-
args: ['isNodeExpanded']
|
|
49
|
-
}] } });
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
export {};
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Injectable } from '@angular/core';
|
|
6
|
-
import { isPresent, valueFrom } from '../../common/util';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export const nodeIndex = (item) => (item || {}).key;
|
|
12
|
-
/**
|
|
13
|
-
* @hidden
|
|
14
|
-
*/
|
|
15
|
-
export const buildTreeIndex = (parentIndex, itemIndex) => {
|
|
16
|
-
return [parentIndex, itemIndex].filter(part => isPresent(part)).join('_');
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* @hidden
|
|
20
|
-
*/
|
|
21
|
-
export const buildTreeItem = (dataItem, valueField, currentLevelIndex) => {
|
|
22
|
-
if (!isPresent(dataItem)) {
|
|
23
|
-
return null;
|
|
24
|
-
}
|
|
25
|
-
return {
|
|
26
|
-
dataItem,
|
|
27
|
-
key: valueFrom({ dataItem, level: currentLevelIndex }, valueField) + '_' + currentLevelIndex
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* @hidden
|
|
32
|
-
*/
|
|
33
|
-
export class MultiSelectTreeLookupService {
|
|
34
|
-
map = new Map();
|
|
35
|
-
reset() {
|
|
36
|
-
this.map.clear();
|
|
37
|
-
}
|
|
38
|
-
registerChildren(index, children) {
|
|
39
|
-
const item = this.item(index);
|
|
40
|
-
if (!item) {
|
|
41
|
-
return;
|
|
42
|
-
}
|
|
43
|
-
item.children = children;
|
|
44
|
-
}
|
|
45
|
-
item(index) {
|
|
46
|
-
return this.map.get(index) || null;
|
|
47
|
-
}
|
|
48
|
-
registerItem(item, parent) {
|
|
49
|
-
const currentLookup = {
|
|
50
|
-
children: [],
|
|
51
|
-
item,
|
|
52
|
-
parent: this.item(nodeIndex(parent))
|
|
53
|
-
};
|
|
54
|
-
this.map.set(item.key, currentLookup);
|
|
55
|
-
}
|
|
56
|
-
itemLookup(index) {
|
|
57
|
-
const item = this.item(index);
|
|
58
|
-
if (!item) {
|
|
59
|
-
return null;
|
|
60
|
-
}
|
|
61
|
-
return {
|
|
62
|
-
children: this.mapChildren(item.children),
|
|
63
|
-
item: item.item,
|
|
64
|
-
parent: item.parent
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
mapChildren(children = []) {
|
|
68
|
-
return children.map(c => {
|
|
69
|
-
const { item, parent, children } = this.item(c.key);
|
|
70
|
-
return {
|
|
71
|
-
children: this.mapChildren(children),
|
|
72
|
-
item,
|
|
73
|
-
parent
|
|
74
|
-
};
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MultiSelectTreeLookupService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
78
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MultiSelectTreeLookupService });
|
|
79
|
-
}
|
|
80
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MultiSelectTreeLookupService, decorators: [{
|
|
81
|
-
type: Injectable
|
|
82
|
-
}] });
|