@progress/kendo-angular-dropdowns 7.2.4 → 11.0.0-develop.79
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/NOTICE.txt +3 -3
- package/README.md +7 -7
- package/autocomplete/autocomplete.component.d.ts +1 -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 +1 -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 +1 -1
- package/common/taglist.component.d.ts +1 -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 +1 -1
- package/dropdownlist/dropdownlist.component.d.ts +1 -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 +1 -1
- 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 +1 -1
- 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} +9 -7
- 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} +9 -7
- package/{esm2015/comboboxes/combobox.module.js → esm2020/comboboxes/combobox.module.mjs} +5 -5
- package/{esm2015/comboboxes/multicolumncombobox.component.js → esm2020/comboboxes/multicolumncombobox.component.mjs} +6 -5
- 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} +5 -5
- package/{esm2015/common/taglist.component.js → esm2020/common/taglist.component.mjs} +7 -5
- 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} +1 -1
- package/{esm2015/dropdownlist/dropdownlist.component.js → esm2020/dropdownlist/dropdownlist.component.mjs} +12 -11
- 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} +9 -8
- 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} +15 -10
- 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} +12 -10
- 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 +14672 -0
- package/{fesm2015/kendo-angular-dropdowns.js → fesm2020/progress-kendo-angular-dropdowns.mjs} +260 -250
- package/{main.d.ts → index.d.ts} +2 -1
- package/multiselect/multiselect.component.d.ts +1 -1
- 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 +32 -58
- package/{kendo-angular-dropdowns.d.ts → progress-kendo-angular-dropdowns.d.ts} +2 -2
- package/schematics/ngAdd/index.js +1 -5
- 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,10 +1,10 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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 { isChanged } from '@progress/kendo-angular-common';
|
|
7
|
-
import { HierarchyBindingDirective } from '@progress/kendo-angular-treeview';
|
|
7
|
+
import { DataBoundComponent, HierarchyBindingDirective } from '@progress/kendo-angular-treeview';
|
|
8
8
|
import { getter } from '@progress/kendo-common';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
import * as i1 from "@progress/kendo-angular-treeview";
|
|
@@ -45,15 +45,15 @@ export class DropDownTreeHierarchyBindingDirective extends HierarchyBindingDirec
|
|
|
45
45
|
}
|
|
46
46
|
ngOnChanges(changes) {
|
|
47
47
|
if (isChanged('nodes', changes, false)) {
|
|
48
|
-
this.dropDownTree.nodes = changes
|
|
49
|
-
super.nodes = changes
|
|
48
|
+
this.dropDownTree.nodes = changes['nodes'].currentValue;
|
|
49
|
+
super.nodes = changes['nodes'].currentValue;
|
|
50
50
|
}
|
|
51
51
|
super.ngOnChanges(changes);
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
DropDownTreeHierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
55
|
-
DropDownTreeHierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
54
|
+
DropDownTreeHierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreeHierarchyBindingDirective, deps: [{ token: i1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
55
|
+
DropDownTreeHierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DropDownTreeHierarchyBindingDirective, selector: "[kendoDropDownTreeHierarchyBinding]", inputs: { nodes: ["kendoDropDownTreeHierarchyBinding", "nodes"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreeHierarchyBindingDirective, decorators: [{
|
|
57
57
|
type: Directive,
|
|
58
58
|
args: [{
|
|
59
59
|
selector: '[kendoDropDownTreeHierarchyBinding]'
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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 { isChanged } from '@progress/kendo-angular-common';
|
|
7
|
-
import { FlatDataBindingDirective } from '@progress/kendo-angular-treeview';
|
|
7
|
+
import { DataBoundComponent, FlatDataBindingDirective } from '@progress/kendo-angular-treeview';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
import * as i1 from "@progress/kendo-angular-treeview";
|
|
10
10
|
/**
|
|
@@ -23,15 +23,15 @@ export class MultiSelectTreeFlatBindingDirective extends FlatDataBindingDirectiv
|
|
|
23
23
|
}
|
|
24
24
|
ngOnChanges(changes) {
|
|
25
25
|
if (isChanged('nodes', changes, false)) {
|
|
26
|
-
this.multiSelectTree.nodes = changes
|
|
27
|
-
super.nodes = changes
|
|
26
|
+
this.multiSelectTree.nodes = changes['nodes'].currentValue;
|
|
27
|
+
super.nodes = changes['nodes'].currentValue;
|
|
28
28
|
}
|
|
29
29
|
super.ngOnChanges(changes);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
MultiSelectTreeFlatBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
33
|
-
MultiSelectTreeFlatBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
32
|
+
MultiSelectTreeFlatBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeFlatBindingDirective, deps: [{ token: i1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
33
|
+
MultiSelectTreeFlatBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: MultiSelectTreeFlatBindingDirective, selector: "[kendoMultiSelectTreeFlatBinding]", inputs: { nodes: ["kendoMultiSelectTreeFlatBinding", "nodes"], idField: ["valueField", "idField"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeFlatBindingDirective, decorators: [{
|
|
35
35
|
type: Directive,
|
|
36
36
|
args: [{
|
|
37
37
|
selector: '[kendoMultiSelectTreeFlatBinding]'
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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 { isChanged } from '@progress/kendo-angular-common';
|
|
7
|
-
import { HierarchyBindingDirective } from '@progress/kendo-angular-treeview';
|
|
7
|
+
import { DataBoundComponent, HierarchyBindingDirective } from '@progress/kendo-angular-treeview';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
import * as i1 from "@progress/kendo-angular-treeview";
|
|
10
10
|
/**
|
|
@@ -23,15 +23,15 @@ export class MultiSelectTreeHierarchyBindingDirective extends HierarchyBindingDi
|
|
|
23
23
|
}
|
|
24
24
|
ngOnChanges(changes) {
|
|
25
25
|
if (isChanged('nodes', changes, false)) {
|
|
26
|
-
this.multiSelectTree.nodes = changes
|
|
27
|
-
super.nodes = changes
|
|
26
|
+
this.multiSelectTree.nodes = changes['nodes'].currentValue;
|
|
27
|
+
super.nodes = changes['nodes'].currentValue;
|
|
28
28
|
}
|
|
29
29
|
super.ngOnChanges(changes);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
MultiSelectTreeHierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
33
|
-
MultiSelectTreeHierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
32
|
+
MultiSelectTreeHierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeHierarchyBindingDirective, deps: [{ token: i1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
33
|
+
MultiSelectTreeHierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: MultiSelectTreeHierarchyBindingDirective, selector: "[kendoMultiSelectTreeHierarchyBinding]", inputs: { nodes: ["kendoMultiSelectTreeHierarchyBinding", "nodes"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeHierarchyBindingDirective, decorators: [{
|
|
35
35
|
type: Directive,
|
|
36
36
|
args: [{
|
|
37
37
|
selector: '[kendoMultiSelectTreeHierarchyBinding]'
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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 { ChangeDetectionStrategy, Component, EventEmitter, HostBinding, Input, Output, ViewChild, ContentChild, forwardRef, ViewContainerRef, isDevMode, Optional, Inject, HostListener } from '@angular/core';
|
|
5
|
+
import { ChangeDetectionStrategy, Component, ElementRef, EventEmitter, HostBinding, Input, Output, NgZone, Renderer2, TemplateRef, ViewChild, ChangeDetectorRef, ContentChild, forwardRef, ViewContainerRef, isDevMode, Optional, Inject, HostListener, Injector } from '@angular/core';
|
|
6
6
|
import { anyChanged, guid, hasObservers, isDocumentAvailable, KendoInput } from '@progress/kendo-angular-common';
|
|
7
|
-
import {
|
|
7
|
+
import { PopupService } from '@progress/kendo-angular-popup';
|
|
8
|
+
import { TreeViewComponent, DataBoundComponent, ExpandableComponent } from '@progress/kendo-angular-treeview';
|
|
8
9
|
import { getter } from '@progress/kendo-common';
|
|
9
10
|
import { NgControl, NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
10
11
|
import { DataService } from '../common/data.service';
|
|
@@ -497,7 +498,7 @@ export class DropDownTreeComponent {
|
|
|
497
498
|
*/
|
|
498
499
|
get formControl() {
|
|
499
500
|
const ngControl = this.injector.get(NgControl, null);
|
|
500
|
-
return
|
|
501
|
+
return ngControl?.control || null;
|
|
501
502
|
}
|
|
502
503
|
ngOnInit() {
|
|
503
504
|
this.renderer.removeAttribute(this.wrapper.nativeElement, 'tabindex');
|
|
@@ -605,7 +606,7 @@ export class DropDownTreeComponent {
|
|
|
605
606
|
focusItemAt(index) {
|
|
606
607
|
if (this.treeview) {
|
|
607
608
|
const lookup = this.treeview.itemLookup(index);
|
|
608
|
-
|
|
609
|
+
const isItemDisabled = !isPresent(lookup) || this.treeview.isDisabled(lookup.item.dataItem, lookup.item.index);
|
|
609
610
|
if (!isItemDisabled) {
|
|
610
611
|
this.treeview.focus(index);
|
|
611
612
|
}
|
|
@@ -994,8 +995,8 @@ export class DropDownTreeComponent {
|
|
|
994
995
|
}
|
|
995
996
|
}
|
|
996
997
|
}
|
|
997
|
-
DropDownTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
998
|
-
DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
998
|
+
DropDownTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreeComponent, deps: [{ token: i0.Injector }, { token: i0.ElementRef }, { token: i1.PopupService }, { token: i2.NavigationService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i3.LocalizationService }, { token: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
999
|
+
DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DropDownTreeComponent, selector: "kendo-dropdowntree", inputs: { loading: "loading", clearButton: "clearButton", data: "data", value: "value", textField: "textField", valueField: "valueField", valueDepth: "valueDepth", hasChildren: "hasChildren", fetchChildren: "fetchChildren", placeholder: "placeholder", popupSettings: "popupSettings", dataItem: "dataItem", listHeight: "listHeight", disabled: "disabled", readonly: "readonly", valuePrimitive: "valuePrimitive", tabindex: "tabindex", size: "size", rounded: "rounded", fillMode: "fillMode", itemDisabled: "itemDisabled", isNodeExpanded: "isNodeExpanded", isNodeVisible: "isNodeVisible", loadOnDemand: "loadOnDemand", filterable: "filterable", filter: "filter", focusableId: "focusableId" }, outputs: { open: "open", opened: "opened", close: "close", closed: "closed", nodeExpand: "nodeExpand", nodeCollapse: "nodeCollapse", onFocus: "focus", onBlur: "blur", valueChange: "valueChange", filterChange: "filterChange" }, host: { listeners: { "click": "handleClick()", "keydown": "handleKeydown($event)" }, properties: { "class.k-dropdowntree": "this.hostClasses", "class.k-picker": "this.hostClasses", "attr.aria-invalid": "this.hostAriaInvalid", "class.k-disabled": "this.isDisabled", "attr.disabled": "this.isDisabledAttribute", "class.k-loading": "this.isLoading", "attr.aria-busy": "this.isBusy", "attr.aria-controls": "this.hostAriaControls", "attr.id": "this.id", "attr.dir": "this.direction", "attr.tabindex": "this.hostTabIndex", "attr.role": "this.role", "attr.aria-haspopup": "this.ariaHasPopup", "attr.aria-expanded": "this.isAriaExpanded", "attr.aria-autocomplete": "this.hostAriaAutocomplete", "attr.readonly": "this.isReadonly" } }, providers: [
|
|
999
1000
|
DataService,
|
|
1000
1001
|
SelectionService,
|
|
1001
1002
|
NavigationService,
|
|
@@ -1158,7 +1159,7 @@ DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
1158
1159
|
</ng-template>
|
|
1159
1160
|
<ng-container #container></ng-container>
|
|
1160
1161
|
`, isInline: true, components: [{ type: i4.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: i5.LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i6.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i8.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: i9.FilterInputDirective, selector: "[filterInput]", inputs: ["filterInput"] }, { type: i8.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i8.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i10.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i4.SelectDirective, selector: "[kendoTreeViewSelectable]", inputs: ["isSelected", "selectBy", "kendoTreeViewSelectable", "selectedKeys"], outputs: ["selectedKeysChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1161
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1162
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreeComponent, decorators: [{
|
|
1162
1163
|
type: Component,
|
|
1163
1164
|
args: [{
|
|
1164
1165
|
exportAs: 'kendoDropDownTree',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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 © 2022 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 © 2022 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 © 2022 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 © 2022 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, HostListener, 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';
|
|
@@ -279,7 +280,7 @@ export class MultiSelectTreeComponent {
|
|
|
279
280
|
*/
|
|
280
281
|
get formControl() {
|
|
281
282
|
const ngControl = this.injector.get(NgControl, null);
|
|
282
|
-
return
|
|
283
|
+
return ngControl?.control || null;
|
|
283
284
|
}
|
|
284
285
|
/**
|
|
285
286
|
* @hidden
|
|
@@ -650,14 +651,18 @@ export class MultiSelectTreeComponent {
|
|
|
650
651
|
this.setState();
|
|
651
652
|
}
|
|
652
653
|
if (anyChanged(['valueDepth', 'value', 'dataItems'], changes, false)) {
|
|
653
|
-
if (changes
|
|
654
|
+
if (changes['value'] && !changes['dataItems'] && !this.valuePrimitive) {
|
|
654
655
|
// Update the dataItems if the value is updated programmatically (non-primitive values only)
|
|
655
656
|
// In the primitive case, the client should update the dataItems as well
|
|
656
657
|
this.dataItems = this.value;
|
|
657
658
|
}
|
|
658
659
|
else {
|
|
659
660
|
// Re-map the dataItems because `valueDepth` is not yet available when the check directive parses the items
|
|
660
|
-
this.dataItems = this.dataItems.map((item, index) => (
|
|
661
|
+
this.dataItems = this.dataItems.map((item, index) => ({
|
|
662
|
+
...item,
|
|
663
|
+
key: valueFrom({ dataItem: item.dataItem, index: null, level: this.valueDepth[index] || 0 }, this.valueField) + '_' + (this.isHeterogeneous ? this.valueDepth[index] : 0),
|
|
664
|
+
level: this.valueDepth[index] || 0
|
|
665
|
+
}));
|
|
661
666
|
}
|
|
662
667
|
}
|
|
663
668
|
if (anyChanged(['data', 'children', 'hasChildren', 'loadOnDemand', 'valueField'], changes, true) && !this.loadOnDemand) {
|
|
@@ -684,7 +689,7 @@ export class MultiSelectTreeComponent {
|
|
|
684
689
|
* should be rendered inside the input when the component is not focused.
|
|
685
690
|
*/
|
|
686
691
|
isEmpty() {
|
|
687
|
-
return !
|
|
692
|
+
return !this.placeholder && (!isPresent(this.value) || this.value.length === 0);
|
|
688
693
|
}
|
|
689
694
|
/**
|
|
690
695
|
* Focuses the MultiSelectTree.
|
|
@@ -1297,8 +1302,8 @@ export class MultiSelectTreeComponent {
|
|
|
1297
1302
|
}
|
|
1298
1303
|
}
|
|
1299
1304
|
}
|
|
1300
|
-
MultiSelectTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1301
|
-
MultiSelectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1305
|
+
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 });
|
|
1306
|
+
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: [
|
|
1302
1307
|
LocalizationService,
|
|
1303
1308
|
NavigationService,
|
|
1304
1309
|
DataService,
|
|
@@ -1497,7 +1502,7 @@ MultiSelectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
1497
1502
|
</ng-template>
|
|
1498
1503
|
<ng-container #container></ng-container>
|
|
1499
1504
|
`, 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: i7.LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i9.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: i10.FilterInputDirective, selector: "[filterInput]", inputs: ["filterInput"] }, { type: i9.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i9.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i11.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i12.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i13.CheckAllDirective, selector: "[checkAll]", inputs: ["lastAction", "treeview", "checkedItems", "valueField", "checkAll"], outputs: ["checkedItemsChange"] }, { type: i14.CheckDirective, selector: "[kendoMultiSelectTreeCheckable]", inputs: ["checkable", "valueField", "checkedItems"], outputs: ["checkedItemsChange"] }] });
|
|
1500
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1505
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeComponent, decorators: [{
|
|
1501
1506
|
type: Component,
|
|
1502
1507
|
args: [{
|
|
1503
1508
|
exportAs: 'kendoMultiSelectTree',
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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 © 2022 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 © 2022 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';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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 { guid, isPresent, isArray, isObjectArray, resolveAllValues, selectedIndices, getter, isNumber, isUntouched, inDropDown, getSizeClass, getRoundedClass, getFillModeClass } from '../common/util';
|
|
6
6
|
import { SearchBarComponent } from '../common/searchbar.component';
|
|
7
|
-
import { ViewChild, ViewContainerRef, Component, HostBinding, Input, Output, EventEmitter, isDevMode, forwardRef, ContentChild, Optional, Inject, HostListener } from '@angular/core';
|
|
7
|
+
import { ViewChild, Renderer2, ViewContainerRef, Component, HostBinding, Input, ElementRef, TemplateRef, Output, EventEmitter, isDevMode, forwardRef, ContentChild, ChangeDetectorRef, KeyValueDiffers, NgZone, Optional, Inject, HostListener } from '@angular/core';
|
|
8
8
|
import { Subscription, Subject, of, merge } from 'rxjs';
|
|
9
9
|
import { catchError, filter, map, tap } from 'rxjs/operators';
|
|
10
10
|
import { isChanged, isDocumentAvailable, KendoInput, hasObservers, anyChanged } from '@progress/kendo-angular-common';
|
|
@@ -29,9 +29,11 @@ import { MultiselectMessages } from '../common/constants/error-messages';
|
|
|
29
29
|
import { PreventableEvent } from '../common/models/preventable-event';
|
|
30
30
|
import { RemoveTagEvent } from '../common/models/remove-tag-event';
|
|
31
31
|
import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
32
|
+
import { PopupService } from '@progress/kendo-angular-popup';
|
|
32
33
|
import { FilterableComponent } from '../common/filtering/filterable-component';
|
|
33
34
|
import { TOUCH_ENABLED } from '../common/constants/touch-enabled';
|
|
34
35
|
import { DataService } from '../common/data.service';
|
|
36
|
+
import { ListComponent } from '../common/list.component';
|
|
35
37
|
import { normalizeCheckboxesSettings } from '../common/models/checkboxes-settings';
|
|
36
38
|
import { normalizeVirtualizationSettings } from '../common/models/virtualization-settings';
|
|
37
39
|
import * as i0 from "@angular/core";
|
|
@@ -831,8 +833,8 @@ export class MultiSelectComponent {
|
|
|
831
833
|
* @hidden
|
|
832
834
|
*/
|
|
833
835
|
clearAll(event) {
|
|
834
|
-
event
|
|
835
|
-
event
|
|
836
|
+
event?.stopImmediatePropagation();
|
|
837
|
+
event?.preventDefault();
|
|
836
838
|
this.focus();
|
|
837
839
|
this.clearFilter();
|
|
838
840
|
this.selectionService.lastClickedIndex = null;
|
|
@@ -1309,7 +1311,7 @@ export class MultiSelectComponent {
|
|
|
1309
1311
|
findIndex(text, startsFrom = 0) {
|
|
1310
1312
|
let itemText;
|
|
1311
1313
|
text = text.toLowerCase();
|
|
1312
|
-
|
|
1314
|
+
const index = this.dataService.findIndex(item => {
|
|
1313
1315
|
if (this.dataService.grouped) {
|
|
1314
1316
|
itemText = getter(item.value, this.textField);
|
|
1315
1317
|
}
|
|
@@ -1460,8 +1462,8 @@ export class MultiSelectComponent {
|
|
|
1460
1462
|
}
|
|
1461
1463
|
}
|
|
1462
1464
|
}
|
|
1463
|
-
MultiSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1464
|
-
MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1465
|
+
MultiSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectComponent, deps: [{ token: i0.ElementRef }, { token: i1.LocalizationService }, { token: i2.PopupService }, { token: i3.DataService }, { token: i4.SelectionService }, { token: i5.NavigationService }, { token: i6.DisabledItemsService }, { token: i0.ChangeDetectorRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
1466
|
+
MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MultiSelectComponent, selector: "kendo-multiselect", inputs: { focusableId: "focusableId", autoClose: "autoClose", loading: "loading", data: "data", value: "value", valueField: "valueField", textField: "textField", tabindex: "tabindex", tabIndex: "tabIndex", size: "size", rounded: "rounded", fillMode: "fillMode", placeholder: "placeholder", disabled: "disabled", itemDisabled: "itemDisabled", checkboxes: "checkboxes", readonly: "readonly", filterable: "filterable", virtual: "virtual", popupSettings: "popupSettings", listHeight: "listHeight", valuePrimitive: "valuePrimitive", clearButton: "clearButton", tagMapper: "tagMapper", allowCustom: "allowCustom", valueNormalizer: "valueNormalizer" }, outputs: { filterChange: "filterChange", valueChange: "valueChange", open: "open", opened: "opened", close: "close", closed: "closed", onFocus: "focus", onBlur: "blur", removeTag: "removeTag" }, host: { listeners: { "keydown": "handleKeyboardEvent($event)", "mousedown": "hostMousedown($event)" }, properties: { "class.k-multiselect": "this.hostClasses", "class.k-input": "this.hostClasses", "attr.dir": "this.dir", "class.k-disabled": "this.disabledClass", "class.k-loading": "this.isLoading" } }, providers: [
|
|
1465
1467
|
MULTISELECT_VALUE_ACCESSOR,
|
|
1466
1468
|
DataService,
|
|
1467
1469
|
SelectionService,
|
|
@@ -1563,7 +1565,7 @@ MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
1563
1565
|
}">
|
|
1564
1566
|
</ng-template>
|
|
1565
1567
|
<ng-template #default_custom_item_template>{{ text }}</ng-template>
|
|
1566
|
-
<span class="k-icon k-i-plus" style="float: right"></span>
|
|
1568
|
+
<span class="k-icon k-i-plus" [style]="'float: right;'"></span>
|
|
1567
1569
|
</div>
|
|
1568
1570
|
</div>
|
|
1569
1571
|
<!--list-->
|
|
@@ -1611,7 +1613,7 @@ MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
1611
1613
|
</ng-template>
|
|
1612
1614
|
<ng-container #container></ng-container>
|
|
1613
1615
|
`, isInline: true, components: [{ type: i7.TagListComponent, selector: "kendo-taglist", inputs: ["tags", "textField", "valueField", "valueDepth", "focused", "template", "groupTemplate", "disabled", "tagPrefix", "id", "size", "rounded", "fillMode", "disabledIndices"], outputs: ["removeTag"] }, { type: i8.SearchBarComponent, selector: "kendo-searchbar", inputs: ["id", "listId", "tagListId", "activeDescendant", "disabled", "readonly", "tabIndex", "popupOpen", "role", "isLoading", "isSuggestable", "isFilterable", "userInput", "suggestedText", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { type: i9.ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "isMultiselect", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize"] }, { type: i10.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i11.LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i12.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i13.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i12.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i14.SelectableDirective, selector: "[kendoDropDownsSelectable]", inputs: ["index", "checkboxes", "height", "multipleSelection"] }] });
|
|
1614
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1616
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectComponent, decorators: [{
|
|
1615
1617
|
type: Component,
|
|
1616
1618
|
args: [{
|
|
1617
1619
|
exportAs: 'kendoMultiSelect',
|
|
@@ -1719,7 +1721,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1719
1721
|
}">
|
|
1720
1722
|
</ng-template>
|
|
1721
1723
|
<ng-template #default_custom_item_template>{{ text }}</ng-template>
|
|
1722
|
-
<span class="k-icon k-i-plus" style="float: right"></span>
|
|
1724
|
+
<span class="k-icon k-i-plus" [style]="'float: right;'"></span>
|
|
1723
1725
|
</div>
|
|
1724
1726
|
</div>
|
|
1725
1727
|
<!--list-->
|
package/{esm2015/multiselect/multiselect.module.js → esm2020/multiselect/multiselect.module.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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';
|
|
@@ -34,14 +34,14 @@ const MULTISELECT_DIRECTIVES = [
|
|
|
34
34
|
*/
|
|
35
35
|
export class MultiSelectModule {
|
|
36
36
|
}
|
|
37
|
-
MultiSelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
38
|
-
MultiSelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
37
|
+
MultiSelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
38
|
+
MultiSelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectModule, declarations: [MultiSelectComponent,
|
|
39
39
|
SummaryTagDirective,
|
|
40
40
|
CustomItemTemplateDirective], imports: [SharedModule], exports: [MultiSelectComponent,
|
|
41
41
|
SummaryTagDirective,
|
|
42
42
|
CustomItemTemplateDirective, SharedDirectivesModule] });
|
|
43
|
-
MultiSelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
43
|
+
MultiSelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectModule, providers: [{ provide: TOUCH_ENABLED, useValue: touchEnabled }], imports: [[SharedModule], SharedDirectivesModule] });
|
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectModule, decorators: [{
|
|
45
45
|
type: NgModule,
|
|
46
46
|
args: [{
|
|
47
47
|
declarations: [MULTISELECT_DIRECTIVES],
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 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 { MultiSelectComponent } from './multiselect.component';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
import * as i1 from "./multiselect.component";
|
|
9
10
|
/**
|
|
@@ -40,8 +41,7 @@ export class SummaryTagDirective {
|
|
|
40
41
|
const showAfter = parseNumber(this.showAfter);
|
|
41
42
|
this.multiSelectComponent.tagMapper = (tags) => {
|
|
42
43
|
if (tags.length > showAfter) {
|
|
43
|
-
|
|
44
|
-
result = tags.slice(0, showAfter);
|
|
44
|
+
const result = tags.slice(0, showAfter);
|
|
45
45
|
result.push(tags.slice(showAfter, tags.length));
|
|
46
46
|
return result;
|
|
47
47
|
}
|
|
@@ -51,9 +51,9 @@ export class SummaryTagDirective {
|
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
SummaryTagDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
55
|
-
SummaryTagDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
54
|
+
SummaryTagDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SummaryTagDirective, deps: [{ token: i1.MultiSelectComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
55
|
+
SummaryTagDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: SummaryTagDirective, selector: "[kendoMultiSelectSummaryTag]", inputs: { showAfter: ["kendoMultiSelectSummaryTag", "showAfter"] }, usesOnChanges: true, ngImport: i0 });
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SummaryTagDirective, decorators: [{
|
|
57
57
|
type: Directive,
|
|
58
58
|
args: [{
|
|
59
59
|
selector: '[kendoMultiSelectSummaryTag]'
|