@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,70 +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 { isPresent, parseNumber } from '../../common/util';
|
|
7
|
-
import { MultiSelectTreeComponent } from '../multiselecttree.component';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
import * as i1 from "../multiselecttree.component";
|
|
10
|
-
/**
|
|
11
|
-
* Configures the MultiSelectTree to show one single summary tag for all selected data items.
|
|
12
|
-
* When a number is set, the summary tag is shown after the corresponding number of data items are selected (see examples).
|
|
13
|
-
* See [more information and examples]({% slug api_dropdowns_multiselecttreesummarytagdirective %}).
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* ```html
|
|
17
|
-
* <kendo-multiselecttree kendoMultiSelectTreeSummaryTag [data]="data"></kendo-multiselecttree>
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* ```html
|
|
22
|
-
* <kendo-multiselecttree [kendoMultiSelectTreeSummaryTag]="2" [data]="data"></kendo-multiselecttree>
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @remarks
|
|
26
|
-
* Applied to: {@link MultiSelectTreeComponent}.
|
|
27
|
-
*/
|
|
28
|
-
export class MultiSelectTreeSummaryTagDirective {
|
|
29
|
-
multiSelectTreeComponent;
|
|
30
|
-
/**
|
|
31
|
-
* Sets the number of data items that need to be selected before the summary tag appears.
|
|
32
|
-
*
|
|
33
|
-
* @default 0
|
|
34
|
-
*/
|
|
35
|
-
showAfter = 0;
|
|
36
|
-
constructor(multiSelectTreeComponent) {
|
|
37
|
-
this.multiSelectTreeComponent = multiSelectTreeComponent;
|
|
38
|
-
this.createTagMapper();
|
|
39
|
-
}
|
|
40
|
-
ngOnChanges(changes) {
|
|
41
|
-
if (isPresent(changes.showAfter)) {
|
|
42
|
-
this.createTagMapper();
|
|
43
|
-
this.multiSelectTreeComponent.handleTagMapperChange(this.showAfter);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
createTagMapper() {
|
|
47
|
-
const showAfter = parseNumber(this.showAfter);
|
|
48
|
-
this.multiSelectTreeComponent.tagMapper = (tags) => {
|
|
49
|
-
if (tags.length > showAfter) {
|
|
50
|
-
// tags provided in an array are rendered as a single group tag
|
|
51
|
-
return [...tags.slice(0, showAfter), tags.slice(showAfter)];
|
|
52
|
-
}
|
|
53
|
-
else {
|
|
54
|
-
return tags;
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MultiSelectTreeSummaryTagDirective, deps: [{ token: i1.MultiSelectTreeComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
59
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: MultiSelectTreeSummaryTagDirective, isStandalone: true, selector: "[kendoMultiSelectTreeSummaryTag]", inputs: { showAfter: ["kendoMultiSelectTreeSummaryTag", "showAfter"] }, usesOnChanges: true, ngImport: i0 });
|
|
60
|
-
}
|
|
61
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MultiSelectTreeSummaryTagDirective, decorators: [{
|
|
62
|
-
type: Directive,
|
|
63
|
-
args: [{
|
|
64
|
-
selector: '[kendoMultiSelectTreeSummaryTag]',
|
|
65
|
-
standalone: true
|
|
66
|
-
}]
|
|
67
|
-
}], ctorParameters: () => [{ type: i1.MultiSelectTreeComponent }], propDecorators: { showAfter: [{
|
|
68
|
-
type: Input,
|
|
69
|
-
args: ['kendoMultiSelectTreeSummaryTag']
|
|
70
|
-
}] } });
|
|
@@ -1,31 +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, TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Renders the content of each node in the DropDownTree. To define a node template, nest an `<ng-template>` tag
|
|
9
|
-
* with the `kendoDropDownTreeNodeTemplate` directive inside the `<kendo-dropdowntree>` tag.
|
|
10
|
-
* To define a node template, nest an `<ng-template>` tag with the `kendoDropDownTreeNodeTemplate` directive inside the `<kendo-dropdowntree>` tag.
|
|
11
|
-
*
|
|
12
|
-
* You can use these context variables in the template:
|
|
13
|
-
*
|
|
14
|
-
* - `let-dataItem` (`any`) - The current data item. This is the implicit context variable.
|
|
15
|
-
* - `let-index="index"` (`string`) - The current item's hierarchical index.
|
|
16
|
-
*/
|
|
17
|
-
export class NodeTemplateDirective {
|
|
18
|
-
templateRef;
|
|
19
|
-
constructor(templateRef) {
|
|
20
|
-
this.templateRef = templateRef;
|
|
21
|
-
}
|
|
22
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NodeTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
23
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: NodeTemplateDirective, isStandalone: true, selector: "[kendoDropDownTreeNodeTemplate], [kendoMultiSelectTreeNodeTemplate]", ngImport: i0 });
|
|
24
|
-
}
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NodeTemplateDirective, decorators: [{
|
|
26
|
-
type: Directive,
|
|
27
|
-
args: [{
|
|
28
|
-
selector: '[kendoDropDownTreeNodeTemplate], [kendoMultiSelectTreeNodeTemplate]',
|
|
29
|
-
standalone: true
|
|
30
|
-
}]
|
|
31
|
-
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
package/esm2022/index.mjs
DELETED
|
@@ -1,55 +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 { AutoCompleteComponent } from './autocomplete/autocomplete.component';
|
|
6
|
-
export { ComboBoxComponent } from './comboboxes/combobox.component';
|
|
7
|
-
export { DropDownListComponent } from './dropdownlist/dropdownlist.component';
|
|
8
|
-
export { MultiSelectComponent } from './multiselect/multiselect.component';
|
|
9
|
-
export { SearchBarComponent } from './common/searchbar.component';
|
|
10
|
-
export { TagListComponent } from './common/taglist.component';
|
|
11
|
-
export { PrefixTemplateDirective, SuffixTemplateDirective, SeparatorComponent, ToggleButtonTabStopDirective } from '@progress/kendo-angular-common';
|
|
12
|
-
export { MultiColumnComboBoxComponent } from './comboboxes/multicolumncombobox.component';
|
|
13
|
-
export { ComboBoxColumnComponent } from './comboboxes/combobox-column/combobox-column.component';
|
|
14
|
-
export { ColumnCellTemplateDirective } from './comboboxes/combobox-column/column-cell-template.directive';
|
|
15
|
-
export { ColumnHeaderTemplateDirective } from './comboboxes/combobox-column/column-header-template.directive';
|
|
16
|
-
export { DropDownTreeComponent } from './dropdowntrees/dropdowntree.component';
|
|
17
|
-
export { MultiSelectTreeComponent } from './dropdowntrees/multiselecttree.component';
|
|
18
|
-
export { DropDownTreeFlatBindingDirective } from './dropdowntrees/data-binding/dropdowntree/flat-binding.directive';
|
|
19
|
-
export { DropDownTreeHierarchyBindingDirective } from './dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive';
|
|
20
|
-
export { MultiSelectTreeFlatBindingDirective } from './dropdowntrees/data-binding/multiselecttree/flat-binding.directive';
|
|
21
|
-
export { MultiSelectTreeHierarchyBindingDirective } from './dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive';
|
|
22
|
-
export { DropDownTreesExpandDirective } from './dropdowntrees/expanded-state/expand.directive';
|
|
23
|
-
export { DropDownTreesModule } from './dropdowntrees/dropdowntrees.module';
|
|
24
|
-
export { NodeTemplateDirective } from './dropdowntrees/templates/node-template.directive';
|
|
25
|
-
export { MultiSelectTreeSummaryTagDirective } from './dropdowntrees/summary-tag/summary-tag.directive';
|
|
26
|
-
export { CheckDirective } from './dropdowntrees/checked-state/check.directive';
|
|
27
|
-
export { CheckAllDirective } from './dropdowntrees/checked-state/check-all.directive';
|
|
28
|
-
export { ItemTemplateDirective } from './common/templates/item-template.directive';
|
|
29
|
-
export { GroupTemplateDirective } from './common/templates/group-template.directive';
|
|
30
|
-
export { FixedGroupTemplateDirective } from './common/templates/fixed-group-template.directive';
|
|
31
|
-
export { CustomItemTemplateDirective } from './common/templates/custom-item-template.directive';
|
|
32
|
-
export { HeaderTemplateDirective } from './common/templates/header-template.directive';
|
|
33
|
-
export { FooterTemplateDirective } from './common/templates/footer-template.directive';
|
|
34
|
-
export { ValueTemplateDirective } from './common/templates/value-template.directive';
|
|
35
|
-
export { TagTemplateDirective } from './common/templates/tag-template.directive';
|
|
36
|
-
export { GroupTagTemplateDirective } from './common/templates/group-tag-template.directive';
|
|
37
|
-
export { NoDataTemplateDirective } from './common/templates/no-data-template.directive';
|
|
38
|
-
export { SelectableDirective } from './common/selection/selectable.directive';
|
|
39
|
-
export { SummaryTagDirective } from './multiselect/summary-tag.directive';
|
|
40
|
-
export { FilterableComponent } from './common/filtering/filterable-component';
|
|
41
|
-
export { FilterDirective } from './common/filtering/filter.directive';
|
|
42
|
-
export { ListItemDirective } from './common/list-item.directive';
|
|
43
|
-
export { LocalizedMessagesDirective } from './common/localization/localized-messages.directive';
|
|
44
|
-
export { CustomMessagesComponent } from './common/localization/custom-messages.component';
|
|
45
|
-
export { FilterInputDirective } from './common/filter-input.directive';
|
|
46
|
-
export { DropDownsModule } from './dropdowns.module';
|
|
47
|
-
export { MultiSelectModule } from './multiselect/multiselect.module';
|
|
48
|
-
export { AutoCompleteModule } from './autocomplete/autocomplete.module';
|
|
49
|
-
export { ComboBoxModule } from './comboboxes/combobox.module';
|
|
50
|
-
export { DropDownListModule } from './dropdownlist/dropdownlist.module';
|
|
51
|
-
export { ListComponent } from './common/list.component';
|
|
52
|
-
export { AdaptiveRendererComponent } from './common/adaptive-renderer.component';
|
|
53
|
-
export { PreventableEvent } from './common/models/preventable-event';
|
|
54
|
-
export { RemoveTagEvent } from './common/models/remove-tag-event';
|
|
55
|
-
export * from './directives';
|