@progress/kendo-angular-dropdowns 7.2.5-dev.202212021231 → 11.0.0-develop.101
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/LICENSE.md +1 -1
- package/NOTICE.txt +4 -4
- package/README.md +8 -8
- package/autocomplete/autocomplete.component.d.ts +6 -1
- package/autocomplete/autocomplete.module.d.ts +1 -1
- package/comboboxes/combobox-column/column-cell-template.directive.d.ts +1 -1
- package/comboboxes/combobox-column/column-header-template.directive.d.ts +1 -1
- package/comboboxes/combobox-column/combobox-column.component.d.ts +1 -1
- package/comboboxes/combobox-column/util.d.ts +1 -1
- package/comboboxes/combobox.component.d.ts +10 -1
- package/comboboxes/combobox.module.d.ts +1 -1
- package/comboboxes/multicolumncombobox.component.d.ts +1 -1
- package/common/constants/error-messages.d.ts +1 -1
- package/common/constants/touch-enabled.d.ts +1 -1
- package/common/data.service.d.ts +1 -1
- package/common/disabled-items/disabled-items.service.d.ts +1 -1
- package/common/disabled-items/item-disabled.d.ts +1 -1
- package/common/filter-input.directive.d.ts +1 -1
- package/common/filtering/filter-settings.d.ts +1 -1
- package/common/filtering/filter.directive.d.ts +1 -1
- package/common/filtering/filterable-component.d.ts +1 -1
- package/common/list-item.directive.d.ts +1 -1
- package/common/list.component.d.ts +1 -1
- package/common/localization/custom-messages.component.d.ts +1 -1
- package/common/localization/localized-messages.directive.d.ts +1 -1
- package/common/localization/messages.d.ts +1 -1
- package/common/models/checkboxes-settings.d.ts +1 -1
- package/common/models/direction.d.ts +1 -1
- package/common/models/fillmode.d.ts +1 -1
- package/common/models/list-type.d.ts +1 -1
- package/common/models/page-change-event.d.ts +1 -1
- package/common/models/popup-settings.d.ts +1 -1
- package/common/models/preventable-event.d.ts +1 -1
- package/common/models/remove-tag-event.d.ts +1 -1
- package/common/models/rounded.d.ts +1 -1
- package/common/models/size.d.ts +1 -1
- package/common/models/virtualization-settings.d.ts +1 -1
- package/common/navigation/navigation-action.d.ts +1 -1
- package/common/navigation/navigation.service.d.ts +1 -1
- package/common/searchbar.component.d.ts +1 -1
- package/common/selection/selectable.directive.d.ts +1 -1
- package/common/selection/selection.service.d.ts +1 -1
- package/common/shared-directives.module.d.ts +1 -1
- package/common/shared.module.d.ts +3 -2
- package/common/taglist.component.d.ts +6 -1
- package/common/templates/custom-item-template.directive.d.ts +1 -1
- package/common/templates/fixed-group-template.directive.d.ts +1 -1
- package/common/templates/footer-template.directive.d.ts +1 -1
- package/common/templates/group-tag-template.directive.d.ts +1 -1
- package/common/templates/group-template.directive.d.ts +1 -1
- package/common/templates/header-template.directive.d.ts +1 -1
- package/common/templates/item-template.directive.d.ts +1 -1
- package/common/templates/no-data-template.directive.d.ts +1 -1
- package/common/templates/tag-template.directive.d.ts +1 -1
- package/common/templates/template-context.directive.d.ts +1 -1
- package/common/templates/value-template.directive.d.ts +1 -1
- package/common/util.d.ts +16 -1
- package/dropdownlist/dropdownlist.component.d.ts +10 -1
- package/dropdownlist/dropdownlist.module.d.ts +1 -1
- package/dropdowns.module.d.ts +1 -1
- package/dropdowntrees/checked-state/base-check.directive.d.ts +1 -1
- package/dropdowntrees/checked-state/check-all.directive.d.ts +1 -1
- package/dropdowntrees/checked-state/check.directive.d.ts +1 -1
- package/dropdowntrees/checked-state/checkable-settings.d.ts +1 -1
- package/dropdowntrees/checked-state/checked-item.d.ts +1 -1
- package/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.d.ts +1 -1
- package/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.d.ts +1 -1
- package/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.d.ts +1 -1
- package/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.d.ts +1 -1
- package/dropdowntrees/dropdowntree.component.d.ts +25 -9
- package/dropdowntrees/dropdowntrees.module.d.ts +1 -1
- package/dropdowntrees/expanded-state/expand.directive.d.ts +1 -1
- package/dropdowntrees/lookup/lookup.d.ts +1 -1
- package/dropdowntrees/lookup/lookup.service.d.ts +1 -1
- package/dropdowntrees/multiselecttree.component.d.ts +21 -3
- package/dropdowntrees/summary-tag/summary-tag.directive.d.ts +1 -1
- package/dropdowntrees/templates/node-template.directive.d.ts +1 -1
- package/{esm2015/autocomplete/autocomplete.component.js → esm2020/autocomplete/autocomplete.component.mjs} +31 -15
- package/{esm2015/autocomplete/autocomplete.module.js → esm2020/autocomplete/autocomplete.module.mjs} +5 -5
- package/{esm2015/comboboxes/combobox-column/column-cell-template.directive.js → esm2020/comboboxes/combobox-column/column-cell-template.directive.mjs} +5 -5
- package/{esm2015/comboboxes/combobox-column/column-header-template.directive.js → esm2020/comboboxes/combobox-column/column-header-template.directive.mjs} +5 -5
- package/{esm2015/comboboxes/combobox-column/combobox-column.component.js → esm2020/comboboxes/combobox-column/combobox-column.component.mjs} +4 -4
- package/{esm2015/comboboxes/combobox-column/util.js → esm2020/comboboxes/combobox-column/util.mjs} +1 -1
- package/{esm2015/comboboxes/combobox.component.js → esm2020/comboboxes/combobox.component.mjs} +50 -18
- package/{esm2015/comboboxes/combobox.module.js → esm2020/comboboxes/combobox.module.mjs} +5 -5
- package/{esm2015/comboboxes/multicolumncombobox.component.js → esm2020/comboboxes/multicolumncombobox.component.mjs} +37 -15
- package/{esm2015/common/constants/error-messages.js → esm2020/common/constants/error-messages.mjs} +1 -1
- package/{esm2015/common/constants/touch-enabled.js → esm2020/common/constants/touch-enabled.mjs} +1 -1
- package/{esm2015/common/data.service.js → esm2020/common/data.service.mjs} +5 -5
- package/{esm2015/common/disabled-items/disabled-items.service.js → esm2020/common/disabled-items/disabled-items.service.mjs} +5 -4
- package/{esm2015/common/models/fillmode.js → esm2020/common/disabled-items/item-disabled.mjs} +1 -1
- package/{esm2015/common/filter-input.directive.js → esm2020/common/filter-input.directive.mjs} +5 -5
- package/{esm2015/common/disabled-items/item-disabled.js → esm2020/common/filtering/filter-settings.mjs} +1 -1
- package/{esm2015/common/filtering/filter.directive.js → esm2020/common/filtering/filter.directive.mjs} +5 -4
- package/{esm2015/common/filtering/filterable-component.js → esm2020/common/filtering/filterable-component.mjs} +1 -1
- package/{esm2015/common/list-item.directive.js → esm2020/common/list-item.directive.mjs} +5 -5
- package/{esm2015/common/list.component.js → esm2020/common/list.component.mjs} +21 -10
- package/{esm2015/common/localization/custom-messages.component.js → esm2020/common/localization/custom-messages.component.mjs} +5 -4
- package/{esm2015/common/localization/localized-messages.directive.js → esm2020/common/localization/localized-messages.directive.mjs} +5 -4
- package/{esm2015/common/localization/messages.js → esm2020/common/localization/messages.mjs} +4 -4
- package/{esm2015/common/models/checkboxes-settings.js → esm2020/common/models/checkboxes-settings.mjs} +1 -1
- package/{esm2015/common/filtering/filter-settings.js → esm2020/common/models/direction.mjs} +1 -1
- package/{esm2015/common/models/direction.js → esm2020/common/models/fillmode.mjs} +1 -1
- package/esm2020/common/models/list-type.mjs +5 -0
- package/esm2020/common/models/page-change-event.mjs +5 -0
- package/esm2020/common/models/popup-settings.mjs +5 -0
- package/{esm2015/common/models/preventable-event.js → esm2020/common/models/preventable-event.mjs} +1 -1
- package/{esm2015/common/models/remove-tag-event.js → esm2020/common/models/remove-tag-event.mjs} +1 -1
- package/esm2020/common/models/rounded.mjs +5 -0
- package/esm2020/common/models/size.mjs +5 -0
- package/{esm2015/common/models/virtualization-settings.js → esm2020/common/models/virtualization-settings.mjs} +2 -2
- package/{esm2015/common/navigation/navigation-action.js → esm2020/common/navigation/navigation-action.mjs} +1 -1
- package/{esm2015/common/navigation/navigation.service.js → esm2020/common/navigation/navigation.service.mjs} +6 -4
- package/{esm2015/common/searchbar.component.js → esm2020/common/searchbar.component.mjs} +10 -6
- package/{esm2015/common/selection/selectable.directive.js → esm2020/common/selection/selectable.directive.mjs} +5 -4
- package/{esm2015/common/selection/selection.service.js → esm2020/common/selection/selection.service.mjs} +8 -7
- package/{esm2015/common/shared-directives.module.js → esm2020/common/shared-directives.module.mjs} +5 -5
- package/{esm2015/common/shared.module.js → esm2020/common/shared.module.mjs} +10 -9
- package/{esm2015/common/taglist.component.js → esm2020/common/taglist.component.mjs} +28 -14
- package/{esm2015/common/templates/custom-item-template.directive.js → esm2020/common/templates/custom-item-template.directive.mjs} +5 -5
- package/{esm2015/common/templates/fixed-group-template.directive.js → esm2020/common/templates/fixed-group-template.directive.mjs} +5 -5
- package/{esm2015/common/templates/footer-template.directive.js → esm2020/common/templates/footer-template.directive.mjs} +5 -5
- package/{esm2015/common/templates/group-tag-template.directive.js → esm2020/common/templates/group-tag-template.directive.mjs} +5 -5
- package/{esm2015/common/templates/group-template.directive.js → esm2020/common/templates/group-template.directive.mjs} +5 -5
- package/{esm2015/common/templates/header-template.directive.js → esm2020/common/templates/header-template.directive.mjs} +5 -5
- package/{esm2015/common/templates/item-template.directive.js → esm2020/common/templates/item-template.directive.mjs} +5 -5
- package/{esm2015/common/templates/no-data-template.directive.js → esm2020/common/templates/no-data-template.directive.mjs} +5 -5
- package/{esm2015/common/templates/tag-template.directive.js → esm2020/common/templates/tag-template.directive.mjs} +5 -5
- package/{esm2015/common/templates/template-context.directive.js → esm2020/common/templates/template-context.directive.mjs} +5 -5
- package/{esm2015/common/templates/value-template.directive.js → esm2020/common/templates/value-template.directive.mjs} +5 -5
- package/{esm2015/common/util.js → esm2020/common/util.mjs} +27 -1
- package/{esm2015/dropdownlist/dropdownlist.component.js → esm2020/dropdownlist/dropdownlist.component.mjs} +60 -33
- package/{esm2015/dropdownlist/dropdownlist.module.js → esm2020/dropdownlist/dropdownlist.module.mjs} +5 -5
- package/{esm2015/dropdowns.module.js → esm2020/dropdowns.module.mjs} +5 -5
- package/{esm2015/dropdowntrees/checked-state/base-check.directive.js → esm2020/dropdowntrees/checked-state/base-check.directive.mjs} +6 -6
- package/{esm2015/dropdowntrees/checked-state/check-all.directive.js → esm2020/dropdowntrees/checked-state/check-all.directive.mjs} +7 -6
- package/{esm2015/dropdowntrees/checked-state/check.directive.js → esm2020/dropdowntrees/checked-state/check.directive.mjs} +7 -6
- package/esm2020/dropdowntrees/checked-state/checkable-settings.mjs +5 -0
- package/esm2020/dropdowntrees/checked-state/checked-item.mjs +5 -0
- package/{esm2015/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.js → esm2020/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.mjs} +7 -7
- package/{esm2015/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.js → esm2020/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.mjs} +7 -7
- package/{esm2015/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.js → esm2020/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.mjs} +7 -7
- package/{esm2015/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.js → esm2020/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.mjs} +7 -7
- package/{esm2015/dropdowntrees/dropdowntree.component.js → esm2020/dropdowntrees/dropdowntree.component.mjs} +121 -75
- package/{esm2015/dropdowntrees/dropdowntrees.module.js → esm2020/dropdowntrees/dropdowntrees.module.mjs} +5 -5
- package/{esm2015/dropdowntrees/expanded-state/expand.directive.js → esm2020/dropdowntrees/expanded-state/expand.directive.mjs} +5 -5
- package/{esm2015/dropdowntrees/lookup/lookup.js → esm2020/dropdowntrees/lookup/lookup.mjs} +1 -1
- package/{esm2015/dropdowntrees/lookup/lookup.service.js → esm2020/dropdowntrees/lookup/lookup.service.mjs} +4 -4
- package/{esm2015/dropdowntrees/multiselecttree.component.js → esm2020/dropdowntrees/multiselecttree.component.mjs} +109 -39
- package/{esm2015/dropdowntrees/summary-tag/summary-tag.directive.js → esm2020/dropdowntrees/summary-tag/summary-tag.directive.mjs} +5 -4
- package/{esm2015/dropdowntrees/templates/node-template.directive.js → esm2020/dropdowntrees/templates/node-template.directive.mjs} +5 -5
- package/{esm2015/main.js → esm2020/index.mjs} +1 -1
- package/{esm2015/multiselect/multiselect.component.js → esm2020/multiselect/multiselect.component.mjs} +82 -45
- package/{esm2015/multiselect/multiselect.module.js → esm2020/multiselect/multiselect.module.mjs} +5 -5
- package/{esm2015/multiselect/summary-tag.directive.js → esm2020/multiselect/summary-tag.directive.mjs} +6 -6
- package/{esm2015/package-metadata.js → esm2020/package-metadata.mjs} +3 -3
- package/{esm2015/kendo-angular-dropdowns.js → esm2020/progress-kendo-angular-dropdowns.mjs} +2 -2
- package/fesm2015/progress-kendo-angular-dropdowns.mjs +14976 -0
- package/{fesm2015/kendo-angular-dropdowns.js → fesm2020/progress-kendo-angular-dropdowns.mjs} +670 -398
- package/{main.d.ts → index.d.ts} +2 -1
- package/multiselect/multiselect.component.d.ts +18 -3
- package/multiselect/multiselect.module.d.ts +1 -1
- package/multiselect/summary-tag.directive.d.ts +1 -1
- package/package-metadata.d.ts +1 -1
- package/package.json +33 -58
- package/{kendo-angular-dropdowns.d.ts → progress-kendo-angular-dropdowns.d.ts} +2 -2
- package/schematics/ngAdd/index.js +4 -6
- package/bundles/kendo-angular-dropdowns.umd.js +0 -5
- package/esm2015/common/models/list-type.js +0 -5
- package/esm2015/common/models/page-change-event.js +0 -5
- package/esm2015/common/models/popup-settings.js +0 -5
- package/esm2015/common/models/rounded.js +0 -5
- package/esm2015/common/models/size.js +0 -5
- package/esm2015/dropdowntrees/checked-state/checkable-settings.js +0 -5
- package/esm2015/dropdowntrees/checked-state/checked-item.js +0 -5
- package/schematics/ngAdd/index.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from '@angular/core';
|
|
@@ -32,8 +32,8 @@ const DROPDOWNTREE_DIRECTIVES = [
|
|
|
32
32
|
*/
|
|
33
33
|
export class DropDownTreesModule {
|
|
34
34
|
}
|
|
35
|
-
DropDownTreesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
36
|
-
DropDownTreesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
35
|
+
DropDownTreesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
36
|
+
DropDownTreesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreesModule, declarations: [DropDownTreeComponent,
|
|
37
37
|
MultiSelectTreeComponent,
|
|
38
38
|
DropDownTreeFlatBindingDirective,
|
|
39
39
|
DropDownTreeHierarchyBindingDirective,
|
|
@@ -50,8 +50,8 @@ DropDownTreesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", ver
|
|
|
50
50
|
DropDownTreesExpandDirective,
|
|
51
51
|
NodeTemplateDirective,
|
|
52
52
|
MultiSelectTreeSummaryTagDirective, SharedDirectivesModule] });
|
|
53
|
-
DropDownTreesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
53
|
+
DropDownTreesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreesModule, imports: [[SharedModule, TreeViewModule], SharedDirectivesModule] });
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreesModule, decorators: [{
|
|
55
55
|
type: NgModule,
|
|
56
56
|
args: [{
|
|
57
57
|
declarations: [DROPDOWNTREE_DIRECTIVES],
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, Input } from '@angular/core';
|
|
6
|
-
import { ExpandDirective } from '@progress/kendo-angular-treeview';
|
|
6
|
+
import { ExpandableComponent, ExpandDirective } from '@progress/kendo-angular-treeview';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
import * as i1 from "@progress/kendo-angular-treeview";
|
|
9
9
|
/**
|
|
@@ -25,9 +25,9 @@ export class DropDownTreesExpandDirective extends ExpandDirective {
|
|
|
25
25
|
}
|
|
26
26
|
;
|
|
27
27
|
}
|
|
28
|
-
DropDownTreesExpandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
29
|
-
DropDownTreesExpandDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
28
|
+
DropDownTreesExpandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreesExpandDirective, deps: [{ token: i1.ExpandableComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
29
|
+
DropDownTreesExpandDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DropDownTreesExpandDirective, selector: "[kendoDropDownTreeExpandable], [kendoMultiSelectTreeExpandable]", inputs: { isExpanded: ["isNodeExpanded", "isExpanded"] }, usesInheritance: true, ngImport: i0 });
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreesExpandDirective, decorators: [{
|
|
31
31
|
type: Directive,
|
|
32
32
|
args: [{
|
|
33
33
|
selector: '[kendoDropDownTreeExpandable], [kendoMultiSelectTreeExpandable]'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Injectable } from '@angular/core';
|
|
@@ -77,8 +77,8 @@ export class MultiSelectTreeLookupService {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
MultiSelectTreeLookupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
81
|
-
MultiSelectTreeLookupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
82
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
80
|
+
MultiSelectTreeLookupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeLookupService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
81
|
+
MultiSelectTreeLookupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeLookupService });
|
|
82
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeLookupService, decorators: [{
|
|
83
83
|
type: Injectable
|
|
84
84
|
}] });
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Component, ContentChild, EventEmitter, forwardRef, HostBinding, Inject, Input, isDevMode, Optional, Output, ViewChild, ViewContainerRef } from '@angular/core';
|
|
5
|
+
import { ChangeDetectorRef, Component, ContentChild, ElementRef, EventEmitter, forwardRef, HostBinding, HostListener, Inject, Injector, Input, isDevMode, NgZone, Optional, Output, Renderer2, TemplateRef, ViewChild, ViewContainerRef } from '@angular/core';
|
|
6
6
|
import { NgControl, NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
7
7
|
import { anyChanged, guid, hasObservers, Keys, KendoInput, isDocumentAvailable } from '@progress/kendo-angular-common';
|
|
8
8
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
9
|
import { NavigationService } from '../common/navigation/navigation.service';
|
|
10
|
-
import {
|
|
10
|
+
import { PopupService } from '@progress/kendo-angular-popup';
|
|
11
|
+
import { DataBoundComponent, ExpandableComponent, TreeViewComponent } from '@progress/kendo-angular-treeview';
|
|
11
12
|
import { DataService } from '../common/data.service';
|
|
12
13
|
import { DisabledItemsService } from '../common/disabled-items/disabled-items.service';
|
|
13
14
|
import { SelectionService } from '../common/selection/selection.service';
|
|
@@ -15,7 +16,7 @@ import { PreventableEvent } from '../common/models/preventable-event';
|
|
|
15
16
|
import { NavigationAction } from '../common/navigation/navigation-action';
|
|
16
17
|
import { RemoveTagEvent } from '../common/models/remove-tag-event';
|
|
17
18
|
import { MultiSelectTreeMessages } from '../common/constants/error-messages';
|
|
18
|
-
import { fetchDescendentNodes, getFillModeClass, getRoundedClass, getSizeClass, hasProps, isArray, isObject, isObjectArray, isPresent, isUntouched, noop, parseNumber, valueFrom } from '../common/util';
|
|
19
|
+
import { fetchDescendentNodes, getFillModeClass, getRoundedClass, getSearchableItems, getSizeClass, hasProps, isArray, isLetter, isObject, isObjectArray, isPresent, isUntouched, noop, parseNumber, valueFrom } from '../common/util';
|
|
19
20
|
import { HeaderTemplateDirective } from '../common/templates/header-template.directive';
|
|
20
21
|
import { FooterTemplateDirective } from '../common/templates/footer-template.directive';
|
|
21
22
|
import { NodeTemplateDirective } from './templates/node-template.directive';
|
|
@@ -23,24 +24,26 @@ import { NoDataTemplateDirective } from '../common/templates/no-data-template.di
|
|
|
23
24
|
import { TagTemplateDirective } from '../common/templates/tag-template.directive';
|
|
24
25
|
import { GroupTagTemplateDirective } from '../common/templates/group-tag-template.directive';
|
|
25
26
|
import { TOUCH_ENABLED } from '../common/constants/touch-enabled';
|
|
26
|
-
import { merge, of, Subscription } from 'rxjs';
|
|
27
|
-
import { filter, tap } from 'rxjs/operators';
|
|
27
|
+
import { merge, of, Subject, Subscription } from 'rxjs';
|
|
28
|
+
import { debounceTime, filter, tap } from 'rxjs/operators';
|
|
28
29
|
import { buildTreeItem, MultiSelectTreeLookupService, nodeIndex } from './lookup/lookup.service';
|
|
30
|
+
import { searchIcon, xIcon } from '@progress/kendo-svg-icons';
|
|
29
31
|
import * as i0 from "@angular/core";
|
|
30
32
|
import * as i1 from "@progress/kendo-angular-popup";
|
|
31
33
|
import * as i2 from "../common/navigation/navigation.service";
|
|
32
34
|
import * as i3 from "@progress/kendo-angular-l10n";
|
|
33
35
|
import * as i4 from "./lookup/lookup.service";
|
|
34
36
|
import * as i5 from "../common/taglist.component";
|
|
35
|
-
import * as i6 from "@progress/kendo-angular-
|
|
36
|
-
import * as i7 from "
|
|
37
|
-
import * as i8 from "
|
|
38
|
-
import * as i9 from "@angular/
|
|
39
|
-
import * as i10 from "
|
|
40
|
-
import * as i11 from "
|
|
41
|
-
import * as i12 from "
|
|
42
|
-
import * as i13 from "
|
|
43
|
-
import * as i14 from "./checked-state/check.directive";
|
|
37
|
+
import * as i6 from "@progress/kendo-angular-icons";
|
|
38
|
+
import * as i7 from "@progress/kendo-angular-treeview";
|
|
39
|
+
import * as i8 from "../common/localization/localized-messages.directive";
|
|
40
|
+
import * as i9 from "@angular/common";
|
|
41
|
+
import * as i10 from "@angular/forms";
|
|
42
|
+
import * as i11 from "../common/filter-input.directive";
|
|
43
|
+
import * as i12 from "@progress/kendo-angular-common";
|
|
44
|
+
import * as i13 from "../common/templates/template-context.directive";
|
|
45
|
+
import * as i14 from "./checked-state/check-all.directive";
|
|
46
|
+
import * as i15 from "./checked-state/check.directive";
|
|
44
47
|
const DEFAULT_POPUP_SETTINGS = { animate: true };
|
|
45
48
|
const DEFAULT_CHECKABLE_SETTINGS = { checkChildren: true, checkOnClick: true };
|
|
46
49
|
const hasChildren = () => false;
|
|
@@ -65,6 +68,14 @@ export class MultiSelectTreeComponent {
|
|
|
65
68
|
this.cdr = cdr;
|
|
66
69
|
this.lookup = lookup;
|
|
67
70
|
this.touchEnabled = touchEnabled;
|
|
71
|
+
/**
|
|
72
|
+
* @hidden
|
|
73
|
+
*/
|
|
74
|
+
this.searchIcon = searchIcon;
|
|
75
|
+
/**
|
|
76
|
+
* @hidden
|
|
77
|
+
*/
|
|
78
|
+
this.xIcon = xIcon;
|
|
68
79
|
this.hostClasses = true;
|
|
69
80
|
this.role = 'combobox';
|
|
70
81
|
this.ariaHasPopup = 'tree';
|
|
@@ -230,6 +241,9 @@ export class MultiSelectTreeComponent {
|
|
|
230
241
|
this._size = 'medium';
|
|
231
242
|
this._rounded = 'medium';
|
|
232
243
|
this._fillMode = 'solid';
|
|
244
|
+
this._searchableNodes = [];
|
|
245
|
+
this._typedValue = '';
|
|
246
|
+
this.printableCharacters = new Subject();
|
|
233
247
|
this.subs = new Subscription();
|
|
234
248
|
this.lastAction = 'check';
|
|
235
249
|
this.onTouchedCallback = noop;
|
|
@@ -279,7 +293,13 @@ export class MultiSelectTreeComponent {
|
|
|
279
293
|
*/
|
|
280
294
|
get formControl() {
|
|
281
295
|
const ngControl = this.injector.get(NgControl, null);
|
|
282
|
-
return
|
|
296
|
+
return ngControl?.control || null;
|
|
297
|
+
}
|
|
298
|
+
/**
|
|
299
|
+
* @hidden
|
|
300
|
+
*/
|
|
301
|
+
handleClick() {
|
|
302
|
+
this.togglePopup(!this.isOpen);
|
|
283
303
|
}
|
|
284
304
|
/**
|
|
285
305
|
* @hidden
|
|
@@ -293,6 +313,9 @@ export class MultiSelectTreeComponent {
|
|
|
293
313
|
if (this.disabled || this.readonly) {
|
|
294
314
|
return;
|
|
295
315
|
}
|
|
316
|
+
if (isLetter(event.key)) {
|
|
317
|
+
this.printableCharacters.next(event.key);
|
|
318
|
+
}
|
|
296
319
|
const eventData = event;
|
|
297
320
|
const action = this.navigationService.process({
|
|
298
321
|
originalEvent: eventData
|
|
@@ -300,6 +323,10 @@ export class MultiSelectTreeComponent {
|
|
|
300
323
|
if (action === NavigationAction.Open) {
|
|
301
324
|
eventData.preventDefault();
|
|
302
325
|
}
|
|
326
|
+
if (this.isOpen && action === NavigationAction.Enter) {
|
|
327
|
+
const spaceKeyDownEvent = new KeyboardEvent('keydown', { 'key': ' ', 'code': 'Space', 'keyCode': 32, 'which': 32 });
|
|
328
|
+
this.treeview?.element.nativeElement.dispatchEvent(spaceKeyDownEvent);
|
|
329
|
+
}
|
|
303
330
|
}
|
|
304
331
|
set treeview(treeview) {
|
|
305
332
|
this._treeview = treeview;
|
|
@@ -619,6 +646,17 @@ export class MultiSelectTreeComponent {
|
|
|
619
646
|
return this.checkAllInput && document.activeElement === this.checkAllInput.nativeElement;
|
|
620
647
|
}
|
|
621
648
|
ngOnInit() {
|
|
649
|
+
this.subs.add(this.printableCharacters.pipe(tap((char) => {
|
|
650
|
+
this._typedValue += char;
|
|
651
|
+
const itemToFocus = this._searchableNodes.find((node) => {
|
|
652
|
+
return node.text.toLowerCase().indexOf(this._typedValue) === 0;
|
|
653
|
+
});
|
|
654
|
+
this.treeview.focus(itemToFocus?.index);
|
|
655
|
+
const htmlItem = document.querySelector(`kendo-popup[id='${this._popupId}'] li.k-treeview-item[data-treeindex='${itemToFocus?.index}']`);
|
|
656
|
+
htmlItem?.scrollIntoView();
|
|
657
|
+
}), debounceTime(1000)).subscribe(() => {
|
|
658
|
+
this._typedValue = '';
|
|
659
|
+
}));
|
|
622
660
|
this.renderer.removeAttribute(this.wrapper.nativeElement, 'tabindex');
|
|
623
661
|
this.renderer.setAttribute(this.wrapper.nativeElement, 'aria-expanded', String(this.isOpen));
|
|
624
662
|
this.subs.add(this.localization
|
|
@@ -628,10 +666,6 @@ export class MultiSelectTreeComponent {
|
|
|
628
666
|
}));
|
|
629
667
|
this.setComponentClasses();
|
|
630
668
|
}
|
|
631
|
-
ngAfterViewInit() {
|
|
632
|
-
this.subs.add(this.renderer.listen(this.wrapper.nativeElement, 'click', this.handleClick.bind(this)));
|
|
633
|
-
this.subs.add(this.renderer.listen(this.wrapper.nativeElement, 'keydown', this.handleKeydown.bind(this)));
|
|
634
|
-
}
|
|
635
669
|
/**
|
|
636
670
|
* @hidden
|
|
637
671
|
*/
|
|
@@ -648,14 +682,18 @@ export class MultiSelectTreeComponent {
|
|
|
648
682
|
this.setState();
|
|
649
683
|
}
|
|
650
684
|
if (anyChanged(['valueDepth', 'value', 'dataItems'], changes, false)) {
|
|
651
|
-
if (changes
|
|
685
|
+
if (changes['value'] && !changes['dataItems'] && !this.valuePrimitive) {
|
|
652
686
|
// Update the dataItems if the value is updated programmatically (non-primitive values only)
|
|
653
687
|
// In the primitive case, the client should update the dataItems as well
|
|
654
688
|
this.dataItems = this.value;
|
|
655
689
|
}
|
|
656
690
|
else {
|
|
657
691
|
// Re-map the dataItems because `valueDepth` is not yet available when the check directive parses the items
|
|
658
|
-
this.dataItems = this.dataItems.map((item, index) => (
|
|
692
|
+
this.dataItems = this.dataItems.map((item, index) => ({
|
|
693
|
+
...item,
|
|
694
|
+
key: valueFrom({ dataItem: item.dataItem, index: null, level: this.valueDepth[index] || 0 }, this.valueField) + '_' + (this.isHeterogeneous ? this.valueDepth[index] : 0),
|
|
695
|
+
level: this.valueDepth[index] || 0
|
|
696
|
+
}));
|
|
659
697
|
}
|
|
660
698
|
}
|
|
661
699
|
if (anyChanged(['data', 'children', 'hasChildren', 'loadOnDemand', 'valueField'], changes, true) && !this.loadOnDemand) {
|
|
@@ -682,7 +720,7 @@ export class MultiSelectTreeComponent {
|
|
|
682
720
|
* should be rendered inside the input when the component is not focused.
|
|
683
721
|
*/
|
|
684
722
|
isEmpty() {
|
|
685
|
-
return !
|
|
723
|
+
return !this.placeholder && (!isPresent(this.value) || this.value.length === 0);
|
|
686
724
|
}
|
|
687
725
|
/**
|
|
688
726
|
* Focuses the MultiSelectTree.
|
|
@@ -1028,9 +1066,11 @@ export class MultiSelectTreeComponent {
|
|
|
1028
1066
|
popupWrapper.style.height = this.height;
|
|
1029
1067
|
this.renderer.setAttribute(popupWrapper, 'dir', this.direction);
|
|
1030
1068
|
this.renderer.setAttribute(this.wrapper.nativeElement, 'aria-expanded', 'true');
|
|
1069
|
+
this.renderer.setAttribute(popupWrapper, 'id', this._popupId);
|
|
1031
1070
|
this.popupRef.popupOpen.subscribe(() => {
|
|
1032
1071
|
this.cdr.detectChanges();
|
|
1033
1072
|
this.opened.emit();
|
|
1073
|
+
this._searchableNodes = getSearchableItems(this._popupId, this.popupRef.popupElement);
|
|
1034
1074
|
});
|
|
1035
1075
|
this.popupRef.popupClose.subscribe(() => {
|
|
1036
1076
|
this.closed.emit();
|
|
@@ -1052,14 +1092,6 @@ export class MultiSelectTreeComponent {
|
|
|
1052
1092
|
}
|
|
1053
1093
|
}
|
|
1054
1094
|
}
|
|
1055
|
-
handleClick(e) {
|
|
1056
|
-
// The check is needed otherwise when appended to the component, the popup reopens on click
|
|
1057
|
-
// https://github.com/telerik/kendo-angular/issues/3738
|
|
1058
|
-
if ((this.popupRef && this.popupRef.popupElement.contains(e.target))) {
|
|
1059
|
-
return;
|
|
1060
|
-
}
|
|
1061
|
-
this.togglePopup(!this.isOpen);
|
|
1062
|
-
}
|
|
1063
1095
|
subscribeEvents() {
|
|
1064
1096
|
[
|
|
1065
1097
|
this.navigationService.open.subscribe((event) => {
|
|
@@ -1253,6 +1285,16 @@ export class MultiSelectTreeComponent {
|
|
|
1253
1285
|
this.value = newValue;
|
|
1254
1286
|
this.emitValueChange(this.value);
|
|
1255
1287
|
}
|
|
1288
|
+
/**
|
|
1289
|
+
* @hidden
|
|
1290
|
+
*/
|
|
1291
|
+
onChildrenLoaded() {
|
|
1292
|
+
setTimeout(() => {
|
|
1293
|
+
if (this.popupRef) {
|
|
1294
|
+
this._searchableNodes = getSearchableItems(this._popupId, this.popupRef.popupElement);
|
|
1295
|
+
}
|
|
1296
|
+
});
|
|
1297
|
+
}
|
|
1256
1298
|
/**
|
|
1257
1299
|
* @hidden
|
|
1258
1300
|
*
|
|
@@ -1316,8 +1358,8 @@ export class MultiSelectTreeComponent {
|
|
|
1316
1358
|
}
|
|
1317
1359
|
}
|
|
1318
1360
|
}
|
|
1319
|
-
MultiSelectTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1320
|
-
MultiSelectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1361
|
+
MultiSelectTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeComponent, deps: [{ token: i0.Injector }, { token: i0.ElementRef }, { token: i1.PopupService }, { token: i0.Renderer2 }, { token: i2.NavigationService }, { token: i0.NgZone }, { token: i3.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i4.MultiSelectTreeLookupService }, { token: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
1362
|
+
MultiSelectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MultiSelectTreeComponent, selector: "kendo-multiselecttree", inputs: { tabindex: "tabindex", size: "size", rounded: "rounded", fillMode: "fillMode", popupSettings: "popupSettings", checkableSettings: "checkableSettings", data: "data", value: "value", dataItems: "dataItems", textField: "textField", valueField: "valueField", valueDepth: "valueDepth", loading: "loading", placeholder: "placeholder", listHeight: "listHeight", disabled: "disabled", readonly: "readonly", valuePrimitive: "valuePrimitive", loadOnDemand: "loadOnDemand", focusableId: "focusableId", clearButton: "clearButton", filterable: "filterable", checkAll: "checkAll", hasChildren: "hasChildren", fetchChildren: "fetchChildren", isNodeExpanded: "isNodeExpanded", isNodeVisible: "isNodeVisible", itemDisabled: "itemDisabled", tagMapper: "tagMapper" }, outputs: { onFocus: "focus", onBlur: "blur", open: "open", opened: "opened", close: "close", closed: "closed", nodeExpand: "nodeExpand", nodeCollapse: "nodeCollapse", valueChange: "valueChange", removeTag: "removeTag", filterChange: "filterChange" }, host: { listeners: { "click": "handleClick()", "keydown": "handleKeydown($event)" }, properties: { "class.k-multiselect-tree": "this.hostClasses", "class.k-input": "this.hostClasses", "class.k-disabled": "this.isDisabled", "attr.aria-disabled": "this.isDisabled", "attr.aria-controls": "this.hostAriaControls", "attr.aria-autocomplete": "this.hostAriaAutocomplete", "class.k-loading": "this.isLoading", "attr.aria-invalid": "this.hostAriaInvalid", "attr.aria-busy": "this.isBusy", "attr.id": "this.id", "attr.dir": "this.direction", "attr.tabindex": "this.hostTabIndex", "attr.role": "this.role", "attr.aria-expanded": "this.isAriaExpanded", "attr.aria-haspopup": "this.ariaHasPopup", "attr.readonly": "this.isReadonly", "attr.aria-describedby": "this.ariaDescribedBy", "attr.aria-activedescendant": "this.ariaActiveDescendant" } }, providers: [
|
|
1321
1363
|
LocalizationService,
|
|
1322
1364
|
NavigationService,
|
|
1323
1365
|
DataService,
|
|
@@ -1388,7 +1430,12 @@ MultiSelectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
1388
1430
|
tabindex="-1"
|
|
1389
1431
|
(click)="clearAll($event)"
|
|
1390
1432
|
>
|
|
1391
|
-
<
|
|
1433
|
+
<kendo-icon-wrapper
|
|
1434
|
+
class="k-icon"
|
|
1435
|
+
name="x"
|
|
1436
|
+
[svgIcon]="xIcon"
|
|
1437
|
+
>
|
|
1438
|
+
</kendo-icon-wrapper>
|
|
1392
1439
|
</span>
|
|
1393
1440
|
<span
|
|
1394
1441
|
*ngIf="loading"
|
|
@@ -1405,7 +1452,12 @@ MultiSelectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
1405
1452
|
[ngClass]="filterInputClasses"
|
|
1406
1453
|
>
|
|
1407
1454
|
<span class="k-input-prefix">
|
|
1408
|
-
<
|
|
1455
|
+
<kendo-icon-wrapper
|
|
1456
|
+
class="k-icon"
|
|
1457
|
+
name="search"
|
|
1458
|
+
[svgIcon]="searchIcon"
|
|
1459
|
+
>
|
|
1460
|
+
</kendo-icon-wrapper>
|
|
1409
1461
|
</span>
|
|
1410
1462
|
<input
|
|
1411
1463
|
#filterInput
|
|
@@ -1493,6 +1545,7 @@ MultiSelectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
1493
1545
|
focusout: handleBlur
|
|
1494
1546
|
}"
|
|
1495
1547
|
[scope]="this"
|
|
1548
|
+
(childrenLoaded)="onChildrenLoaded()"
|
|
1496
1549
|
>
|
|
1497
1550
|
</kendo-treeview>
|
|
1498
1551
|
<!--footer template-->
|
|
@@ -1515,8 +1568,8 @@ MultiSelectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
1515
1568
|
</div>
|
|
1516
1569
|
</ng-template>
|
|
1517
1570
|
<ng-container #container></ng-container>
|
|
1518
|
-
`, isInline: true, components: [{ type: i5.TagListComponent, selector: "kendo-taglist", inputs: ["tags", "textField", "valueField", "valueDepth", "focused", "template", "groupTemplate", "disabled", "tagPrefix", "id", "size", "rounded", "fillMode", "disabledIndices"], outputs: ["removeTag"] }, { type: i6.TreeViewComponent, selector: "kendo-treeview", inputs: ["filterInputPlaceholder", "expandDisabledNodes", "animate", "nodeTemplate", "loadMoreButtonTemplate", "trackBy", "nodes", "textField", "hasChildren", "isChecked", "isDisabled", "isExpanded", "isSelected", "isVisible", "navigable", "children", "loadOnDemand", "filterable", "filter", "size", "disableParentNodesOnly"], outputs: ["childrenLoaded", "blur", "focus", "expand", "collapse", "nodeDragStart", "nodeDrag", "filterStateChange", "nodeDrop", "nodeDragEnd", "addItem", "removeItem", "checkedChange", "selectionChange", "filterChange", "nodeClick", "nodeDblClick"], exportAs: ["kendoTreeView"] }], directives: [{ type:
|
|
1519
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1571
|
+
`, isInline: true, components: [{ type: i5.TagListComponent, selector: "kendo-taglist", inputs: ["tags", "textField", "valueField", "valueDepth", "focused", "template", "groupTemplate", "disabled", "tagPrefix", "id", "size", "rounded", "fillMode", "disabledIndices"], outputs: ["removeTag"] }, { type: i6.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: i7.TreeViewComponent, selector: "kendo-treeview", inputs: ["filterInputPlaceholder", "expandDisabledNodes", "animate", "nodeTemplate", "loadMoreButtonTemplate", "trackBy", "nodes", "textField", "hasChildren", "isChecked", "isDisabled", "isExpanded", "isSelected", "isVisible", "navigable", "children", "loadOnDemand", "filterable", "filter", "size", "disableParentNodesOnly"], outputs: ["childrenLoaded", "blur", "focus", "expand", "collapse", "nodeDragStart", "nodeDrag", "filterStateChange", "nodeDrop", "nodeDragEnd", "addItem", "removeItem", "checkedChange", "selectionChange", "filterChange", "nodeClick", "nodeDblClick"], exportAs: ["kendoTreeView"] }], directives: [{ type: i8.LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i9.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i9.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i10.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i11.FilterInputDirective, selector: "[filterInput]", inputs: ["filterInput"] }, { type: i10.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i10.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i12.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i13.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i14.CheckAllDirective, selector: "[checkAll]", inputs: ["lastAction", "treeview", "checkedItems", "valueField", "checkAll"], outputs: ["checkedItemsChange"] }, { type: i15.CheckDirective, selector: "[kendoMultiSelectTreeCheckable]", inputs: ["checkable", "valueField", "checkedItems"], outputs: ["checkedItemsChange"] }] });
|
|
1572
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeComponent, decorators: [{
|
|
1520
1573
|
type: Component,
|
|
1521
1574
|
args: [{
|
|
1522
1575
|
exportAs: 'kendoMultiSelectTree',
|
|
@@ -1593,7 +1646,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
1593
1646
|
tabindex="-1"
|
|
1594
1647
|
(click)="clearAll($event)"
|
|
1595
1648
|
>
|
|
1596
|
-
<
|
|
1649
|
+
<kendo-icon-wrapper
|
|
1650
|
+
class="k-icon"
|
|
1651
|
+
name="x"
|
|
1652
|
+
[svgIcon]="xIcon"
|
|
1653
|
+
>
|
|
1654
|
+
</kendo-icon-wrapper>
|
|
1597
1655
|
</span>
|
|
1598
1656
|
<span
|
|
1599
1657
|
*ngIf="loading"
|
|
@@ -1610,7 +1668,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
1610
1668
|
[ngClass]="filterInputClasses"
|
|
1611
1669
|
>
|
|
1612
1670
|
<span class="k-input-prefix">
|
|
1613
|
-
<
|
|
1671
|
+
<kendo-icon-wrapper
|
|
1672
|
+
class="k-icon"
|
|
1673
|
+
name="search"
|
|
1674
|
+
[svgIcon]="searchIcon"
|
|
1675
|
+
>
|
|
1676
|
+
</kendo-icon-wrapper>
|
|
1614
1677
|
</span>
|
|
1615
1678
|
<input
|
|
1616
1679
|
#filterInput
|
|
@@ -1698,6 +1761,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
1698
1761
|
focusout: handleBlur
|
|
1699
1762
|
}"
|
|
1700
1763
|
[scope]="this"
|
|
1764
|
+
(childrenLoaded)="onChildrenLoaded()"
|
|
1701
1765
|
>
|
|
1702
1766
|
</kendo-treeview>
|
|
1703
1767
|
<!--footer template-->
|
|
@@ -1781,6 +1845,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
1781
1845
|
}], ariaActiveDescendant: [{
|
|
1782
1846
|
type: HostBinding,
|
|
1783
1847
|
args: ['attr.aria-activedescendant']
|
|
1848
|
+
}], handleClick: [{
|
|
1849
|
+
type: HostListener,
|
|
1850
|
+
args: ['click']
|
|
1851
|
+
}], handleKeydown: [{
|
|
1852
|
+
type: HostListener,
|
|
1853
|
+
args: ['keydown', ['$event']]
|
|
1784
1854
|
}], headerTemplate: [{
|
|
1785
1855
|
type: ContentChild,
|
|
1786
1856
|
args: [HeaderTemplateDirective, { static: false }]
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Directive, Input } from '@angular/core';
|
|
6
6
|
import { isPresent, parseNumber } from '../../common/util';
|
|
7
|
+
import { MultiSelectTreeComponent } from '../multiselecttree.component';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
import * as i1 from "../multiselecttree.component";
|
|
9
10
|
/**
|
|
@@ -49,9 +50,9 @@ export class MultiSelectTreeSummaryTagDirective {
|
|
|
49
50
|
};
|
|
50
51
|
}
|
|
51
52
|
}
|
|
52
|
-
MultiSelectTreeSummaryTagDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
53
|
-
MultiSelectTreeSummaryTagDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
53
|
+
MultiSelectTreeSummaryTagDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeSummaryTagDirective, deps: [{ token: i1.MultiSelectTreeComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
54
|
+
MultiSelectTreeSummaryTagDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: MultiSelectTreeSummaryTagDirective, selector: "[kendoMultiSelectTreeSummaryTag]", inputs: { showAfter: ["kendoMultiSelectTreeSummaryTag", "showAfter"] }, usesOnChanges: true, ngImport: i0 });
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeSummaryTagDirective, decorators: [{
|
|
55
56
|
type: Directive,
|
|
56
57
|
args: [{
|
|
57
58
|
selector: '[kendoMultiSelectTreeSummaryTag]'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive } from '@angular/core';
|
|
5
|
+
import { Directive, TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Renders the content of each node in the DropDownTree. To define a node template, nest an `<ng-template>` tag
|
|
@@ -18,9 +18,9 @@ export class NodeTemplateDirective {
|
|
|
18
18
|
this.templateRef = templateRef;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
NodeTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
22
|
-
NodeTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
21
|
+
NodeTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NodeTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
22
|
+
NodeTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: NodeTemplateDirective, selector: "[kendoDropDownTreeNodeTemplate], [kendoMultiSelectTreeNodeTemplate]", ngImport: i0 });
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NodeTemplateDirective, decorators: [{
|
|
24
24
|
type: Directive,
|
|
25
25
|
args: [{
|
|
26
26
|
selector: '[kendoDropDownTreeNodeTemplate], [kendoMultiSelectTreeNodeTemplate]'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
export { AutoCompleteComponent } from './autocomplete/autocomplete.component';
|