@progress/kendo-angular-dropdowns 7.2.4 → 11.0.0-develop.100
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 +22 -2
- 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 +18 -2
- 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} +141 -62
- 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} +127 -44
- 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} +51 -19
- 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} +677 -364
- package/{main.d.ts → index.d.ts} +2 -1
- package/multiselect/multiselect.component.d.ts +10 -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 +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,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, 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';
|
|
@@ -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 } 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,7 +241,10 @@ export class MultiSelectTreeComponent {
|
|
|
230
241
|
this._size = 'medium';
|
|
231
242
|
this._rounded = 'medium';
|
|
232
243
|
this._fillMode = 'solid';
|
|
233
|
-
this.
|
|
244
|
+
this._searchableNodes = [];
|
|
245
|
+
this._typedValue = '';
|
|
246
|
+
this.printableCharacters = new Subject();
|
|
247
|
+
this.subs = new Subscription();
|
|
234
248
|
this.lastAction = 'check';
|
|
235
249
|
this.onTouchedCallback = noop;
|
|
236
250
|
this.onChangeCallback = noop;
|
|
@@ -279,7 +293,7 @@ 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;
|
|
283
297
|
}
|
|
284
298
|
/**
|
|
285
299
|
* @hidden
|
|
@@ -299,6 +313,9 @@ export class MultiSelectTreeComponent {
|
|
|
299
313
|
if (this.disabled || this.readonly) {
|
|
300
314
|
return;
|
|
301
315
|
}
|
|
316
|
+
if (isLetter(event.key)) {
|
|
317
|
+
this.printableCharacters.next(event.key);
|
|
318
|
+
}
|
|
302
319
|
const eventData = event;
|
|
303
320
|
const action = this.navigationService.process({
|
|
304
321
|
originalEvent: eventData
|
|
@@ -306,6 +323,10 @@ export class MultiSelectTreeComponent {
|
|
|
306
323
|
if (action === NavigationAction.Open) {
|
|
307
324
|
eventData.preventDefault();
|
|
308
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
|
+
}
|
|
309
330
|
}
|
|
310
331
|
set treeview(treeview) {
|
|
311
332
|
this._treeview = treeview;
|
|
@@ -625,9 +646,20 @@ export class MultiSelectTreeComponent {
|
|
|
625
646
|
return this.checkAllInput && document.activeElement === this.checkAllInput.nativeElement;
|
|
626
647
|
}
|
|
627
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
|
+
}));
|
|
628
660
|
this.renderer.removeAttribute(this.wrapper.nativeElement, 'tabindex');
|
|
629
661
|
this.renderer.setAttribute(this.wrapper.nativeElement, 'aria-expanded', String(this.isOpen));
|
|
630
|
-
this.
|
|
662
|
+
this.subs.add(this.localization
|
|
631
663
|
.changes.subscribe(({ rtl }) => {
|
|
632
664
|
this.direction = rtl ? 'rtl' : 'ltr';
|
|
633
665
|
this.cdr.markForCheck();
|
|
@@ -650,14 +682,18 @@ export class MultiSelectTreeComponent {
|
|
|
650
682
|
this.setState();
|
|
651
683
|
}
|
|
652
684
|
if (anyChanged(['valueDepth', 'value', 'dataItems'], changes, false)) {
|
|
653
|
-
if (changes
|
|
685
|
+
if (changes['value'] && !changes['dataItems'] && !this.valuePrimitive) {
|
|
654
686
|
// Update the dataItems if the value is updated programmatically (non-primitive values only)
|
|
655
687
|
// In the primitive case, the client should update the dataItems as well
|
|
656
688
|
this.dataItems = this.value;
|
|
657
689
|
}
|
|
658
690
|
else {
|
|
659
691
|
// 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) => (
|
|
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
|
+
}));
|
|
661
697
|
}
|
|
662
698
|
}
|
|
663
699
|
if (anyChanged(['data', 'children', 'hasChildren', 'loadOnDemand', 'valueField'], changes, true) && !this.loadOnDemand) {
|
|
@@ -684,7 +720,7 @@ export class MultiSelectTreeComponent {
|
|
|
684
720
|
* should be rendered inside the input when the component is not focused.
|
|
685
721
|
*/
|
|
686
722
|
isEmpty() {
|
|
687
|
-
return !
|
|
723
|
+
return !this.placeholder && (!isPresent(this.value) || this.value.length === 0);
|
|
688
724
|
}
|
|
689
725
|
/**
|
|
690
726
|
* Focuses the MultiSelectTree.
|
|
@@ -1030,9 +1066,11 @@ export class MultiSelectTreeComponent {
|
|
|
1030
1066
|
popupWrapper.style.height = this.height;
|
|
1031
1067
|
this.renderer.setAttribute(popupWrapper, 'dir', this.direction);
|
|
1032
1068
|
this.renderer.setAttribute(this.wrapper.nativeElement, 'aria-expanded', 'true');
|
|
1069
|
+
this.renderer.setAttribute(popupWrapper, 'id', this._popupId);
|
|
1033
1070
|
this.popupRef.popupOpen.subscribe(() => {
|
|
1034
1071
|
this.cdr.detectChanges();
|
|
1035
1072
|
this.opened.emit();
|
|
1073
|
+
this._searchableNodes = getSearchableItems(this._popupId, this.popupRef.popupElement);
|
|
1036
1074
|
});
|
|
1037
1075
|
this.popupRef.popupClose.subscribe(() => {
|
|
1038
1076
|
this.closed.emit();
|
|
@@ -1055,20 +1093,33 @@ export class MultiSelectTreeComponent {
|
|
|
1055
1093
|
}
|
|
1056
1094
|
}
|
|
1057
1095
|
subscribeEvents() {
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
this.
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1096
|
+
[
|
|
1097
|
+
this.navigationService.open.subscribe((event) => {
|
|
1098
|
+
event.originalEvent.preventDefault();
|
|
1099
|
+
this.togglePopup(true);
|
|
1100
|
+
}),
|
|
1101
|
+
this.navigationService.enter
|
|
1102
|
+
.pipe(tap((event) => event.originalEvent.preventDefault()))
|
|
1103
|
+
.subscribe(() => this.togglePopup(true)),
|
|
1104
|
+
merge(this.navigationService.close, this.navigationService.esc).subscribe((event) => {
|
|
1105
|
+
event.originalEvent.preventDefault();
|
|
1106
|
+
this.focus();
|
|
1107
|
+
this.togglePopup(false);
|
|
1108
|
+
}),
|
|
1109
|
+
this.navigationService.tab.subscribe(this.handleTabKey.bind(this)),
|
|
1110
|
+
this.navigationService.up.subscribe(this.handleUpKey.bind(this)),
|
|
1111
|
+
this.navigationService.down.subscribe(this.handleDownKey.bind(this)),
|
|
1112
|
+
this.navigationService.left
|
|
1113
|
+
.pipe(filter(() => !this.isTreeViewActive))
|
|
1114
|
+
.subscribe(this.direction === 'rtl' ? this.handleRightKey.bind(this) : this.handleLeftKey.bind(this)),
|
|
1115
|
+
this.navigationService.right
|
|
1116
|
+
.pipe(filter(() => !this.isTreeViewActive))
|
|
1117
|
+
.subscribe(this.direction === 'rtl' ? this.handleLeftKey.bind(this) : this.handleRightKey.bind(this)),
|
|
1118
|
+
this.navigationService.home.pipe(filter(() => !this.isOpen)).subscribe(this.handleHome.bind(this)),
|
|
1119
|
+
this.navigationService.end.pipe(filter(() => !this.isOpen)).subscribe(this.handleEnd.bind(this)),
|
|
1120
|
+
this.navigationService.backspace.pipe(filter(() => this.isTagFocused)).subscribe(this.handleBackspace.bind(this)),
|
|
1121
|
+
this.navigationService.delete.pipe(filter(() => this.isTagFocused)).subscribe(this.handleDelete.bind(this))
|
|
1122
|
+
].forEach(sub => this.subs.add(sub));
|
|
1072
1123
|
}
|
|
1073
1124
|
subscribeFocusEvents() {
|
|
1074
1125
|
if (isDocumentAvailable()) {
|
|
@@ -1199,7 +1250,7 @@ export class MultiSelectTreeComponent {
|
|
|
1199
1250
|
}
|
|
1200
1251
|
}
|
|
1201
1252
|
unsubscribeEvents() {
|
|
1202
|
-
this.
|
|
1253
|
+
this.subs.unsubscribe();
|
|
1203
1254
|
this.unSubscribeFocusEvents();
|
|
1204
1255
|
}
|
|
1205
1256
|
/**
|
|
@@ -1234,6 +1285,16 @@ export class MultiSelectTreeComponent {
|
|
|
1234
1285
|
this.value = newValue;
|
|
1235
1286
|
this.emitValueChange(this.value);
|
|
1236
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
|
+
}
|
|
1237
1298
|
/**
|
|
1238
1299
|
* @hidden
|
|
1239
1300
|
*
|
|
@@ -1297,8 +1358,8 @@ export class MultiSelectTreeComponent {
|
|
|
1297
1358
|
}
|
|
1298
1359
|
}
|
|
1299
1360
|
}
|
|
1300
|
-
MultiSelectTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1301
|
-
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: [
|
|
1302
1363
|
LocalizationService,
|
|
1303
1364
|
NavigationService,
|
|
1304
1365
|
DataService,
|
|
@@ -1369,7 +1430,12 @@ MultiSelectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
1369
1430
|
tabindex="-1"
|
|
1370
1431
|
(click)="clearAll($event)"
|
|
1371
1432
|
>
|
|
1372
|
-
<
|
|
1433
|
+
<kendo-icon-wrapper
|
|
1434
|
+
class="k-icon"
|
|
1435
|
+
name="x"
|
|
1436
|
+
[svgIcon]="xIcon"
|
|
1437
|
+
>
|
|
1438
|
+
</kendo-icon-wrapper>
|
|
1373
1439
|
</span>
|
|
1374
1440
|
<span
|
|
1375
1441
|
*ngIf="loading"
|
|
@@ -1386,7 +1452,12 @@ MultiSelectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
1386
1452
|
[ngClass]="filterInputClasses"
|
|
1387
1453
|
>
|
|
1388
1454
|
<span class="k-input-prefix">
|
|
1389
|
-
<
|
|
1455
|
+
<kendo-icon-wrapper
|
|
1456
|
+
class="k-icon"
|
|
1457
|
+
name="search"
|
|
1458
|
+
[svgIcon]="searchIcon"
|
|
1459
|
+
>
|
|
1460
|
+
</kendo-icon-wrapper>
|
|
1390
1461
|
</span>
|
|
1391
1462
|
<input
|
|
1392
1463
|
#filterInput
|
|
@@ -1474,6 +1545,7 @@ MultiSelectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
1474
1545
|
focusout: handleBlur
|
|
1475
1546
|
}"
|
|
1476
1547
|
[scope]="this"
|
|
1548
|
+
(childrenLoaded)="onChildrenLoaded()"
|
|
1477
1549
|
>
|
|
1478
1550
|
</kendo-treeview>
|
|
1479
1551
|
<!--footer template-->
|
|
@@ -1496,8 +1568,8 @@ MultiSelectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
1496
1568
|
</div>
|
|
1497
1569
|
</ng-template>
|
|
1498
1570
|
<ng-container #container></ng-container>
|
|
1499
|
-
`, 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:
|
|
1500
|
-
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: [{
|
|
1501
1573
|
type: Component,
|
|
1502
1574
|
args: [{
|
|
1503
1575
|
exportAs: 'kendoMultiSelectTree',
|
|
@@ -1574,7 +1646,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1574
1646
|
tabindex="-1"
|
|
1575
1647
|
(click)="clearAll($event)"
|
|
1576
1648
|
>
|
|
1577
|
-
<
|
|
1649
|
+
<kendo-icon-wrapper
|
|
1650
|
+
class="k-icon"
|
|
1651
|
+
name="x"
|
|
1652
|
+
[svgIcon]="xIcon"
|
|
1653
|
+
>
|
|
1654
|
+
</kendo-icon-wrapper>
|
|
1578
1655
|
</span>
|
|
1579
1656
|
<span
|
|
1580
1657
|
*ngIf="loading"
|
|
@@ -1591,7 +1668,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1591
1668
|
[ngClass]="filterInputClasses"
|
|
1592
1669
|
>
|
|
1593
1670
|
<span class="k-input-prefix">
|
|
1594
|
-
<
|
|
1671
|
+
<kendo-icon-wrapper
|
|
1672
|
+
class="k-icon"
|
|
1673
|
+
name="search"
|
|
1674
|
+
[svgIcon]="searchIcon"
|
|
1675
|
+
>
|
|
1676
|
+
</kendo-icon-wrapper>
|
|
1595
1677
|
</span>
|
|
1596
1678
|
<input
|
|
1597
1679
|
#filterInput
|
|
@@ -1679,6 +1761,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1679
1761
|
focusout: handleBlur
|
|
1680
1762
|
}"
|
|
1681
1763
|
[scope]="this"
|
|
1764
|
+
(childrenLoaded)="onChildrenLoaded()"
|
|
1682
1765
|
>
|
|
1683
1766
|
</kendo-treeview>
|
|
1684
1767
|
<!--footer template-->
|
|
@@ -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';
|