@progress/kendo-angular-dropdowns 7.2.5-dev.202212021231 → 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 +6 -10
- 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 +6 -4
- 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} +56 -88
- 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} +45 -53
- 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} +43 -36
- 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} +366 -397
- package/{main.d.ts → index.d.ts} +2 -1
- package/multiselect/multiselect.component.d.ts +9 -3
- package/multiselect/multiselect.module.d.ts +1 -1
- package/multiselect/summary-tag.directive.d.ts +1 -1
- package/package-metadata.d.ts +1 -1
- package/package.json +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
package/{fesm2015/kendo-angular-dropdowns.js → fesm2020/progress-kendo-angular-dropdowns.mjs}
RENAMED
|
@@ -1,18 +1,18 @@
|
|
|
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 * as i0 from '@angular/core';
|
|
6
|
-
import { EventEmitter, Component, Input, Output, ViewChild, HostBinding, Directive, Injectable,
|
|
6
|
+
import { EventEmitter, Component, Input, Output, ViewChild, HostBinding, Directive, Injectable, HostListener, ViewChildren, InjectionToken, forwardRef, isDevMode, ViewContainerRef, Optional, Inject, ContentChild, ContentChildren, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
7
7
|
import * as i9 from '@progress/kendo-angular-common';
|
|
8
8
|
import { isDocumentAvailable, Keys, isChanged, hasObservers, KendoInput, anyChanged, guid as guid$1, ResizeSensorModule, EventsModule } from '@progress/kendo-angular-common';
|
|
9
9
|
import * as i12 from '@angular/forms';
|
|
10
10
|
import { NgControl, NG_VALUE_ACCESSOR, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
11
11
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
12
12
|
import { getter as getter$1, detectDesktopBrowser, detectMobileOS, pointers, touchEnabled } from '@progress/kendo-common';
|
|
13
|
-
import { Subscription, merge, fromEvent, Subject, of, interval } from 'rxjs';
|
|
14
13
|
import * as i1 from '@progress/kendo-angular-l10n';
|
|
15
14
|
import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
15
|
+
import { Subscription, merge, fromEvent, Subject, of, interval } from 'rxjs';
|
|
16
16
|
import * as i2 from '@progress/kendo-angular-popup';
|
|
17
17
|
import { PopupModule } from '@progress/kendo-angular-popup';
|
|
18
18
|
export { PopupComponent } from '@progress/kendo-angular-popup';
|
|
@@ -29,9 +29,9 @@ const packageMetadata = {
|
|
|
29
29
|
name: '@progress/kendo-angular-dropdowns',
|
|
30
30
|
productName: 'Kendo UI for Angular',
|
|
31
31
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
32
|
-
publishDate:
|
|
32
|
+
publishDate: 1672320851,
|
|
33
33
|
version: '',
|
|
34
|
-
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license
|
|
34
|
+
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
35
35
|
};
|
|
36
36
|
|
|
37
37
|
/* eslint-disable no-bitwise */
|
|
@@ -428,7 +428,7 @@ class SearchBarComponent {
|
|
|
428
428
|
*/
|
|
429
429
|
get formControl() {
|
|
430
430
|
const ngControl = this.injector.get(NgControl, null);
|
|
431
|
-
return
|
|
431
|
+
return ngControl?.control || null;
|
|
432
432
|
}
|
|
433
433
|
get value() {
|
|
434
434
|
return this.input.nativeElement.value;
|
|
@@ -448,6 +448,9 @@ class SearchBarComponent {
|
|
|
448
448
|
.changes.subscribe(({ rtl }) => this.direction = rtl ? 'rtl' : 'ltr'));
|
|
449
449
|
}
|
|
450
450
|
ngOnChanges(changes) {
|
|
451
|
+
if (!isDocumentAvailable()) {
|
|
452
|
+
return;
|
|
453
|
+
}
|
|
451
454
|
let previousUserInput;
|
|
452
455
|
if (this.input && (changes.userInput || changes.suggestedText)) {
|
|
453
456
|
if (changes.userInput && changes.userInput.previousValue) {
|
|
@@ -553,8 +556,8 @@ class SearchBarComponent {
|
|
|
553
556
|
this.renderer.setAttribute(input, 'size', size.toString());
|
|
554
557
|
}
|
|
555
558
|
}
|
|
556
|
-
SearchBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
557
|
-
SearchBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
559
|
+
SearchBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SearchBarComponent, deps: [{ token: i1.LocalizationService }, { token: i0.Renderer2 }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
560
|
+
SearchBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SearchBarComponent, selector: "kendo-searchbar", inputs: { id: "id", listId: "listId", tagListId: "tagListId", activeDescendant: "activeDescendant", disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", popupOpen: "popupOpen", role: "role", isLoading: "isLoading", isSuggestable: "isSuggestable", isFilterable: "isFilterable", userInput: "userInput", suggestedText: "suggestedText", placeholder: "placeholder" }, outputs: { valueChange: "valueChange", onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", onNavigate: "onNavigate" }, host: { properties: { "class.k-searchbar": "this.searchBarClass" } }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
558
561
|
<input #input
|
|
559
562
|
autocomplete="off"
|
|
560
563
|
[id]="id"
|
|
@@ -581,7 +584,7 @@ SearchBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
581
584
|
[attr.aria-invalid]="formControl?.invalid"
|
|
582
585
|
/>
|
|
583
586
|
`, isInline: true, directives: [{ type: i9.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
|
584
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
587
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SearchBarComponent, decorators: [{
|
|
585
588
|
type: Component,
|
|
586
589
|
args: [{
|
|
587
590
|
selector: 'kendo-searchbar',
|
|
@@ -693,9 +696,9 @@ class ItemTemplateDirective {
|
|
|
693
696
|
this.templateRef = templateRef;
|
|
694
697
|
}
|
|
695
698
|
}
|
|
696
|
-
ItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
697
|
-
ItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
698
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
699
|
+
ItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
700
|
+
ItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]", ngImport: i0 });
|
|
701
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ItemTemplateDirective, decorators: [{
|
|
699
702
|
type: Directive,
|
|
700
703
|
args: [{
|
|
701
704
|
selector: '[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]'
|
|
@@ -735,9 +738,9 @@ class HeaderTemplateDirective {
|
|
|
735
738
|
this.templateRef = templateRef;
|
|
736
739
|
}
|
|
737
740
|
}
|
|
738
|
-
HeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
739
|
-
HeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
740
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
741
|
+
HeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HeaderTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
742
|
+
HeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: HeaderTemplateDirective, selector: "[kendoDropDownListHeaderTemplate],[kendoComboBoxHeaderTemplate],[kendoDropDownTreeHeaderTemplate],[kendoMultiColumnComboBoxHeaderTemplate],[kendoAutoCompleteHeaderTemplate],[kendoMultiSelectHeaderTemplate],[kendoMultiSelectTreeHeaderTemplate]", ngImport: i0 });
|
|
743
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HeaderTemplateDirective, decorators: [{
|
|
741
744
|
type: Directive,
|
|
742
745
|
args: [{
|
|
743
746
|
selector: '[kendoDropDownListHeaderTemplate],[kendoComboBoxHeaderTemplate],[kendoDropDownTreeHeaderTemplate],[kendoMultiColumnComboBoxHeaderTemplate],[kendoAutoCompleteHeaderTemplate],[kendoMultiSelectHeaderTemplate],[kendoMultiSelectTreeHeaderTemplate]'
|
|
@@ -777,9 +780,9 @@ class FooterTemplateDirective {
|
|
|
777
780
|
this.templateRef = templateRef;
|
|
778
781
|
}
|
|
779
782
|
}
|
|
780
|
-
FooterTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
781
|
-
FooterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
782
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
783
|
+
FooterTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FooterTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
784
|
+
FooterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: FooterTemplateDirective, selector: "[kendoDropDownListFooterTemplate],[kendoComboBoxFooterTemplate],[kendoDropDownTreeFooterTemplate],[kendoMultiColumnComboBoxFooterTemplate],[kendoAutoCompleteFooterTemplate],[kendoMultiSelectFooterTemplate],[kendoMultiSelectTreeFooterTemplate]", ngImport: i0 });
|
|
785
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FooterTemplateDirective, decorators: [{
|
|
783
786
|
type: Directive,
|
|
784
787
|
args: [{
|
|
785
788
|
selector: '[kendoDropDownListFooterTemplate],[kendoComboBoxFooterTemplate],[kendoDropDownTreeFooterTemplate],[kendoMultiColumnComboBoxFooterTemplate],[kendoAutoCompleteFooterTemplate],[kendoMultiSelectFooterTemplate],[kendoMultiSelectTreeFooterTemplate]'
|
|
@@ -825,9 +828,9 @@ class GroupTemplateDirective {
|
|
|
825
828
|
this.templateRef = templateRef;
|
|
826
829
|
}
|
|
827
830
|
}
|
|
828
|
-
GroupTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
829
|
-
GroupTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
830
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
831
|
+
GroupTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
832
|
+
GroupTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: GroupTemplateDirective, selector: "[kendoDropDownListGroupTemplate],[kendoComboBoxGroupTemplate],[kendoMultiColumnComboBoxGroupTemplate],[kendoAutoCompleteGroupTemplate],[kendoMultiSelectGroupTemplate]", ngImport: i0 });
|
|
833
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupTemplateDirective, decorators: [{
|
|
831
834
|
type: Directive,
|
|
832
835
|
args: [{
|
|
833
836
|
selector: '[kendoDropDownListGroupTemplate],[kendoComboBoxGroupTemplate],[kendoMultiColumnComboBoxGroupTemplate],[kendoAutoCompleteGroupTemplate],[kendoMultiSelectGroupTemplate]'
|
|
@@ -873,9 +876,9 @@ class FixedGroupTemplateDirective {
|
|
|
873
876
|
this.templateRef = templateRef;
|
|
874
877
|
}
|
|
875
878
|
}
|
|
876
|
-
FixedGroupTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
877
|
-
FixedGroupTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
878
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
879
|
+
FixedGroupTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FixedGroupTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
880
|
+
FixedGroupTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: FixedGroupTemplateDirective, selector: "[kendoDropDownListFixedGroupTemplate],[kendoComboBoxFixedGroupTemplate],[kendoMultiColumnComboBoxFixedGroupTemplate],[kendoAutoCompleteFixedGroupTemplate],[kendoMultiSelectFixedGroupTemplate]", ngImport: i0 });
|
|
881
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FixedGroupTemplateDirective, decorators: [{
|
|
879
882
|
type: Directive,
|
|
880
883
|
args: [{
|
|
881
884
|
selector: '[kendoDropDownListFixedGroupTemplate],[kendoComboBoxFixedGroupTemplate],[kendoMultiColumnComboBoxFixedGroupTemplate],[kendoAutoCompleteFixedGroupTemplate],[kendoMultiSelectFixedGroupTemplate]'
|
|
@@ -929,7 +932,7 @@ class DataService {
|
|
|
929
932
|
* Used to calculate the last item index of each group.
|
|
930
933
|
*/
|
|
931
934
|
getGroupIndices(data) {
|
|
932
|
-
|
|
935
|
+
const groupIndices = [];
|
|
933
936
|
for (let i = 0; i <= data.length - 1; i++) {
|
|
934
937
|
groupIndices[i] = (groupIndices[i - 1] || 0) + data[i].items.length;
|
|
935
938
|
}
|
|
@@ -1117,9 +1120,9 @@ class DataService {
|
|
|
1117
1120
|
return flat;
|
|
1118
1121
|
}
|
|
1119
1122
|
}
|
|
1120
|
-
DataService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1121
|
-
DataService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1122
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1123
|
+
DataService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1124
|
+
DataService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DataService });
|
|
1125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DataService, decorators: [{
|
|
1123
1126
|
type: Injectable
|
|
1124
1127
|
}] });
|
|
1125
1128
|
|
|
@@ -1154,9 +1157,9 @@ class DisabledItemsService {
|
|
|
1154
1157
|
}
|
|
1155
1158
|
}
|
|
1156
1159
|
}
|
|
1157
|
-
DisabledItemsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1158
|
-
DisabledItemsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1159
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1160
|
+
DisabledItemsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DisabledItemsService, deps: [{ token: DataService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1161
|
+
DisabledItemsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DisabledItemsService });
|
|
1162
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DisabledItemsService, decorators: [{
|
|
1160
1163
|
type: Injectable
|
|
1161
1164
|
}], ctorParameters: function () { return [{ type: DataService }]; } });
|
|
1162
1165
|
|
|
@@ -1277,7 +1280,7 @@ class SelectionService {
|
|
|
1277
1280
|
}
|
|
1278
1281
|
}
|
|
1279
1282
|
selectFromTo(from, to) {
|
|
1280
|
-
|
|
1283
|
+
const addedIndices = [];
|
|
1281
1284
|
for (let i = from; i <= to; i++) {
|
|
1282
1285
|
if (!this.isSelected(i) && !this.disabledItemsService.isIndexDisabled(i)) {
|
|
1283
1286
|
addedIndices.push(i);
|
|
@@ -1286,7 +1289,7 @@ class SelectionService {
|
|
|
1286
1289
|
this.addMultiple(addedIndices);
|
|
1287
1290
|
}
|
|
1288
1291
|
unselectFromTo(from, to) {
|
|
1289
|
-
|
|
1292
|
+
const indicesToBeUnselected = [];
|
|
1290
1293
|
for (let i = from; i >= to; i--) {
|
|
1291
1294
|
if (this.isSelected(i) && !this.disabledItemsService.isIndexDisabled(i)) {
|
|
1292
1295
|
indicesToBeUnselected.push(i);
|
|
@@ -1295,7 +1298,7 @@ class SelectionService {
|
|
|
1295
1298
|
this.unselectMultiple(indicesToBeUnselected);
|
|
1296
1299
|
}
|
|
1297
1300
|
unselectNotNeededIndices(startOfSelection, endOfSelection, totalItems) {
|
|
1298
|
-
|
|
1301
|
+
const indicesToBeUnselected = [];
|
|
1299
1302
|
for (let i = 0; i < startOfSelection; i++) {
|
|
1300
1303
|
if (this.isSelected(i)) {
|
|
1301
1304
|
indicesToBeUnselected.push(i);
|
|
@@ -1309,9 +1312,9 @@ class SelectionService {
|
|
|
1309
1312
|
this.unselectMultiple(indicesToBeUnselected);
|
|
1310
1313
|
}
|
|
1311
1314
|
}
|
|
1312
|
-
SelectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1313
|
-
SelectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1314
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1315
|
+
SelectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectionService, deps: [{ token: DisabledItemsService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1316
|
+
SelectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectionService });
|
|
1317
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectionService, decorators: [{
|
|
1315
1318
|
type: Injectable
|
|
1316
1319
|
}], ctorParameters: function () { return [{ type: DisabledItemsService }]; } });
|
|
1317
1320
|
|
|
@@ -1501,9 +1504,9 @@ class NavigationService {
|
|
|
1501
1504
|
}
|
|
1502
1505
|
}
|
|
1503
1506
|
}
|
|
1504
|
-
NavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1505
|
-
NavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1506
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1507
|
+
NavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService, deps: [{ token: DisabledItemsService }, { token: SelectionService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1508
|
+
NavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService });
|
|
1509
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService, decorators: [{
|
|
1507
1510
|
type: Injectable
|
|
1508
1511
|
}], ctorParameters: function () { return [{ type: DisabledItemsService }, { type: SelectionService }]; } });
|
|
1509
1512
|
|
|
@@ -1540,9 +1543,9 @@ class NoDataTemplateDirective {
|
|
|
1540
1543
|
this.templateRef = templateRef;
|
|
1541
1544
|
}
|
|
1542
1545
|
}
|
|
1543
|
-
NoDataTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1544
|
-
NoDataTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1545
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1546
|
+
NoDataTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NoDataTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1547
|
+
NoDataTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: NoDataTemplateDirective, selector: "[kendoDropDownListNoDataTemplate],[kendoDropDownTreeNoDataTemplate],[kendoComboBoxNoDataTemplate],[kendoMultiColumnComboBoxNoDataTemplate],[kendoAutoCompleteNoDataTemplate],[kendoMultiSelectNoDataTemplate],[kendoMultiSelectTreeNoDataTemplate]", ngImport: i0 });
|
|
1548
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NoDataTemplateDirective, decorators: [{
|
|
1546
1549
|
type: Directive,
|
|
1547
1550
|
args: [{
|
|
1548
1551
|
selector: '[kendoDropDownListNoDataTemplate],[kendoDropDownTreeNoDataTemplate],[kendoComboBoxNoDataTemplate],[kendoMultiColumnComboBoxNoDataTemplate],[kendoAutoCompleteNoDataTemplate],[kendoMultiSelectNoDataTemplate],[kendoMultiSelectTreeNoDataTemplate]'
|
|
@@ -1583,32 +1586,6 @@ class PreventableEvent {
|
|
|
1583
1586
|
class FilterableComponent {
|
|
1584
1587
|
}
|
|
1585
1588
|
|
|
1586
|
-
/**
|
|
1587
|
-
* @hidden
|
|
1588
|
-
*/
|
|
1589
|
-
const DEFAULTS = {
|
|
1590
|
-
pageSize: 50,
|
|
1591
|
-
itemHeight: 28
|
|
1592
|
-
};
|
|
1593
|
-
/**
|
|
1594
|
-
* @hidden
|
|
1595
|
-
*/
|
|
1596
|
-
const normalizeVirtualizationSettings = (settings, defaultOverrides) => {
|
|
1597
|
-
const defaults = Object.assign({}, DEFAULTS, defaultOverrides);
|
|
1598
|
-
if (settings === true) {
|
|
1599
|
-
return defaults;
|
|
1600
|
-
}
|
|
1601
|
-
if (!settings) {
|
|
1602
|
-
return null;
|
|
1603
|
-
}
|
|
1604
|
-
return Object.assign({ pageSize: DEFAULTS.pageSize }, settings);
|
|
1605
|
-
};
|
|
1606
|
-
|
|
1607
|
-
/**
|
|
1608
|
-
* @hidden
|
|
1609
|
-
*/
|
|
1610
|
-
const TOUCH_ENABLED = new InjectionToken('dropdowns-touch-enabled');
|
|
1611
|
-
|
|
1612
1589
|
/**
|
|
1613
1590
|
* @hidden
|
|
1614
1591
|
*/
|
|
@@ -1617,9 +1594,9 @@ class ListItemDirective {
|
|
|
1617
1594
|
this.element = element;
|
|
1618
1595
|
}
|
|
1619
1596
|
}
|
|
1620
|
-
ListItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1621
|
-
ListItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1622
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1597
|
+
ListItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ListItemDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1598
|
+
ListItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ListItemDirective, selector: "\"li[role=option], li[role=group]\"", ngImport: i0 });
|
|
1599
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ListItemDirective, decorators: [{
|
|
1623
1600
|
type: Directive,
|
|
1624
1601
|
args: [{
|
|
1625
1602
|
selector: '"li[role=option], li[role=group]"' // eslint-disable-line
|
|
@@ -1643,9 +1620,9 @@ class TemplateContextDirective {
|
|
|
1643
1620
|
}
|
|
1644
1621
|
}
|
|
1645
1622
|
}
|
|
1646
|
-
TemplateContextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1647
|
-
TemplateContextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1648
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1623
|
+
TemplateContextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TemplateContextDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1624
|
+
TemplateContextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TemplateContextDirective, selector: "[templateContext]", inputs: { templateContext: "templateContext" }, ngImport: i0 });
|
|
1625
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TemplateContextDirective, decorators: [{
|
|
1649
1626
|
type: Directive,
|
|
1650
1627
|
args: [{
|
|
1651
1628
|
selector: '[templateContext]' // eslint-disable-line
|
|
@@ -1690,9 +1667,9 @@ class SelectableDirective {
|
|
|
1690
1667
|
}
|
|
1691
1668
|
}
|
|
1692
1669
|
}
|
|
1693
|
-
SelectableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1694
|
-
SelectableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1695
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1670
|
+
SelectableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectableDirective, deps: [{ token: SelectionService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1671
|
+
SelectableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: SelectableDirective, selector: "[kendoDropDownsSelectable]", inputs: { index: "index", checkboxes: "checkboxes", height: "height", multipleSelection: "multipleSelection" }, host: { listeners: { "click": "onClick($event)" }, properties: { "attr.index": "this.index", "style.height.px": "this.height", "style.minHeight.px": "this.height", "class.k-focus": "this.focusedClassName", "class.k-selected": "this.selectedClassName" } }, ngImport: i0 });
|
|
1672
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectableDirective, decorators: [{
|
|
1696
1673
|
type: Directive,
|
|
1697
1674
|
args: [{
|
|
1698
1675
|
selector: '[kendoDropDownsSelectable]'
|
|
@@ -1782,7 +1759,7 @@ class ListComponent {
|
|
|
1782
1759
|
if (this.virtual.pageSize) {
|
|
1783
1760
|
return this.virtual.pageSize;
|
|
1784
1761
|
}
|
|
1785
|
-
|
|
1762
|
+
const size = Math.round(this.height / this.virtual.itemHeight);
|
|
1786
1763
|
return size;
|
|
1787
1764
|
}
|
|
1788
1765
|
get scrollHeight() {
|
|
@@ -1804,7 +1781,7 @@ class ListComponent {
|
|
|
1804
1781
|
if (isChanged('data', changes, false)) {
|
|
1805
1782
|
if (this.lastLoaded <= 0) {
|
|
1806
1783
|
this.lastLoaded = this.data.length - 1;
|
|
1807
|
-
this.scrollToFocused = !changes
|
|
1784
|
+
this.scrollToFocused = !changes['data'].isFirstChange();
|
|
1808
1785
|
}
|
|
1809
1786
|
this.setOverflow();
|
|
1810
1787
|
}
|
|
@@ -1983,7 +1960,7 @@ class ListComponent {
|
|
|
1983
1960
|
}
|
|
1984
1961
|
}
|
|
1985
1962
|
scrollWithOnePage(action) {
|
|
1986
|
-
|
|
1963
|
+
const content = this.content.nativeElement;
|
|
1987
1964
|
const contentOffsetHeight = content.clientHeight;
|
|
1988
1965
|
if (action === NavigationAction.PageDown) {
|
|
1989
1966
|
content.scrollTop += contentOffsetHeight;
|
|
@@ -1993,7 +1970,7 @@ class ListComponent {
|
|
|
1993
1970
|
}
|
|
1994
1971
|
}
|
|
1995
1972
|
scrollToIndex(index) {
|
|
1996
|
-
|
|
1973
|
+
const content = this.content.nativeElement;
|
|
1997
1974
|
let contentScrollTop = content.scrollTop;
|
|
1998
1975
|
const itemOffsetTop = index * this.virtual.itemHeight;
|
|
1999
1976
|
const itemOffsetHeight = this.virtual.itemHeight;
|
|
@@ -2012,7 +1989,12 @@ class ListComponent {
|
|
|
2012
1989
|
return;
|
|
2013
1990
|
}
|
|
2014
1991
|
const nativeElement = item.nativeElement;
|
|
2015
|
-
|
|
1992
|
+
const content = this.content.nativeElement;
|
|
1993
|
+
const itemOffsetTop = nativeElement.offsetTop;
|
|
1994
|
+
const itemOffsetHeight = nativeElement.offsetHeight;
|
|
1995
|
+
let contentScrollTop = content.scrollTop;
|
|
1996
|
+
const contentOffsetHeight = content.clientHeight;
|
|
1997
|
+
const bottomDistance = itemOffsetTop + itemOffsetHeight;
|
|
2016
1998
|
if (contentScrollTop > itemOffsetTop) {
|
|
2017
1999
|
contentScrollTop = itemOffsetTop;
|
|
2018
2000
|
}
|
|
@@ -2078,8 +2060,8 @@ class ListComponent {
|
|
|
2078
2060
|
}
|
|
2079
2061
|
}
|
|
2080
2062
|
}
|
|
2081
|
-
ListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2082
|
-
ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2063
|
+
ListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ListComponent, deps: [{ token: DataService }, { token: i0.ElementRef }, { token: SelectionService }, { token: DisabledItemsService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
2064
|
+
ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ListComponent, selector: "kendo-list", inputs: { selected: "selected", focused: "focused", textField: "textField", valueField: "valueField", height: "height", template: "template", groupTemplate: "groupTemplate", fixedGroupTemplate: "fixedGroupTemplate", show: "show", id: "id", optionPrefix: "optionPrefix", multipleSelection: "multipleSelection", virtual: "virtual", type: "type", checkboxes: "checkboxes", ariaLive: "ariaLive", isMultiselect: "isMultiselect", data: "data", size: "size", rounded: "rounded" }, outputs: { onClick: "onClick", pageChange: "pageChange", listResize: "listResize" }, viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true, static: true }, { propertyName: "list", first: true, predicate: ["list"], descendants: true, static: true }, { propertyName: "virtualContainer", first: true, predicate: ["virtualContainer"], descendants: true }, { propertyName: "items", predicate: ListItemDirective, descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
2083
2065
|
<div *ngIf="dataService.grouped"
|
|
2084
2066
|
[class]="listGroupStickyHeaderClass"
|
|
2085
2067
|
[ngStyle]="{
|
|
@@ -2203,7 +2185,7 @@ ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
2203
2185
|
</div>
|
|
2204
2186
|
</div>
|
|
2205
2187
|
`, isInline: true, components: [{ type: i9.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: ListItemDirective, selector: "\"li[role=option], li[role=group]\"" }, { type: SelectableDirective, selector: "[kendoDropDownsSelectable]", inputs: ["index", "checkboxes", "height", "multipleSelection"] }, { type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
2206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2188
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ListComponent, decorators: [{
|
|
2207
2189
|
type: Component,
|
|
2208
2190
|
args: [{
|
|
2209
2191
|
selector: 'kendo-list',
|
|
@@ -2392,14 +2374,40 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
2392
2374
|
args: ['virtualContainer', { static: false }]
|
|
2393
2375
|
}] } });
|
|
2394
2376
|
|
|
2377
|
+
/**
|
|
2378
|
+
* @hidden
|
|
2379
|
+
*/
|
|
2380
|
+
const DEFAULTS = {
|
|
2381
|
+
pageSize: 50,
|
|
2382
|
+
itemHeight: 28
|
|
2383
|
+
};
|
|
2384
|
+
/**
|
|
2385
|
+
* @hidden
|
|
2386
|
+
*/
|
|
2387
|
+
const normalizeVirtualizationSettings = (settings, defaultOverrides) => {
|
|
2388
|
+
const defaults = Object.assign({}, DEFAULTS, defaultOverrides);
|
|
2389
|
+
if (settings === true) {
|
|
2390
|
+
return defaults;
|
|
2391
|
+
}
|
|
2392
|
+
if (!settings) {
|
|
2393
|
+
return null;
|
|
2394
|
+
}
|
|
2395
|
+
return { pageSize: DEFAULTS.pageSize, ...settings };
|
|
2396
|
+
};
|
|
2397
|
+
|
|
2398
|
+
/**
|
|
2399
|
+
* @hidden
|
|
2400
|
+
*/
|
|
2401
|
+
const TOUCH_ENABLED = new InjectionToken('dropdowns-touch-enabled');
|
|
2402
|
+
|
|
2395
2403
|
/**
|
|
2396
2404
|
* @hidden
|
|
2397
2405
|
*/
|
|
2398
2406
|
class Messages extends ComponentMessages {
|
|
2399
2407
|
}
|
|
2400
|
-
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2401
|
-
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
2402
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2408
|
+
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2409
|
+
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: Messages, inputs: { noDataText: "noDataText", clearTitle: "clearTitle", checkAllText: "checkAllText", selectButtonText: "selectButtonText" }, usesInheritance: true, ngImport: i0 });
|
|
2410
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: Messages, decorators: [{
|
|
2403
2411
|
type: Directive
|
|
2404
2412
|
}], propDecorators: { noDataText: [{
|
|
2405
2413
|
type: Input
|
|
@@ -2420,14 +2428,14 @@ class LocalizedMessagesDirective extends Messages {
|
|
|
2420
2428
|
this.service = service;
|
|
2421
2429
|
}
|
|
2422
2430
|
}
|
|
2423
|
-
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2424
|
-
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
2431
|
+
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2432
|
+
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n ", providers: [
|
|
2425
2433
|
{
|
|
2426
2434
|
provide: Messages,
|
|
2427
2435
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
2428
2436
|
}
|
|
2429
2437
|
], usesInheritance: true, ngImport: i0 });
|
|
2430
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2438
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
2431
2439
|
type: Directive,
|
|
2432
2440
|
args: [{
|
|
2433
2441
|
providers: [
|
|
@@ -2867,7 +2875,7 @@ class AutoCompleteComponent {
|
|
|
2867
2875
|
}
|
|
2868
2876
|
ngOnChanges(changes) {
|
|
2869
2877
|
const virtual = this.virtual;
|
|
2870
|
-
const requestInitialData = virtual && changes
|
|
2878
|
+
const requestInitialData = virtual && changes['data'] && changes['data'].isFirstChange();
|
|
2871
2879
|
if (requestInitialData) {
|
|
2872
2880
|
this.pageChange({ skip: 0, take: virtual.pageSize });
|
|
2873
2881
|
}
|
|
@@ -3202,7 +3210,7 @@ class AutoCompleteComponent {
|
|
|
3202
3210
|
if (!isPresent(index)) {
|
|
3203
3211
|
return;
|
|
3204
3212
|
}
|
|
3205
|
-
|
|
3213
|
+
const text = getter(this.dataService.itemAt(index), this.valueField);
|
|
3206
3214
|
this.change(text);
|
|
3207
3215
|
}
|
|
3208
3216
|
handleItemFocus(_event) {
|
|
@@ -3313,8 +3321,8 @@ class AutoCompleteComponent {
|
|
|
3313
3321
|
}
|
|
3314
3322
|
}
|
|
3315
3323
|
}
|
|
3316
|
-
AutoCompleteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3317
|
-
AutoCompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
3324
|
+
AutoCompleteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AutoCompleteComponent, deps: [{ token: i1.LocalizationService }, { token: DataService }, { token: i2.PopupService }, { token: SelectionService }, { token: NavigationService }, { token: DisabledItemsService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
3325
|
+
AutoCompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AutoCompleteComponent, selector: "kendo-autocomplete", inputs: { highlightFirst: "highlightFirst", focusableId: "focusableId", data: "data", value: "value", valueField: "valueField", placeholder: "placeholder", popupSettings: "popupSettings", listHeight: "listHeight", loading: "loading", clearButton: "clearButton", suggest: "suggest", disabled: "disabled", itemDisabled: "itemDisabled", readonly: "readonly", tabindex: "tabindex", tabIndex: "tabIndex", filterable: "filterable", virtual: "virtual", size: "size", rounded: "rounded", fillMode: "fillMode" }, outputs: { valueChange: "valueChange", filterChange: "filterChange", open: "open", opened: "opened", close: "close", closed: "closed", onFocus: "focus", onBlur: "blur" }, host: { properties: { "class.k-autocomplete": "this.widgetClasses", "class.k-input": "this.widgetClasses", "class.k-disabled": "this.isDisabled", "class.k-loading": "this.isLoading", "attr.dir": "this.dir" } }, providers: [
|
|
3318
3326
|
AUTOCOMPLETE_VALUE_ACCESSOR,
|
|
3319
3327
|
DataService,
|
|
3320
3328
|
SelectionService,
|
|
@@ -3424,7 +3432,7 @@ AutoCompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
3424
3432
|
</ng-template>
|
|
3425
3433
|
<ng-container #container></ng-container>
|
|
3426
3434
|
`, isInline: true, components: [{ type: 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: 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: i9.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }] });
|
|
3427
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3435
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AutoCompleteComponent, decorators: [{
|
|
3428
3436
|
type: Component,
|
|
3429
3437
|
args: [{
|
|
3430
3438
|
exportAs: 'kendoAutoComplete',
|
|
@@ -4328,7 +4336,7 @@ class ComboBoxComponent {
|
|
|
4328
4336
|
}
|
|
4329
4337
|
ngOnChanges(changes) {
|
|
4330
4338
|
const virtual = this.virtual;
|
|
4331
|
-
const requestInitialData = virtual && changes
|
|
4339
|
+
const requestInitialData = virtual && changes['data'] && changes['data'].isFirstChange();
|
|
4332
4340
|
if (requestInitialData) {
|
|
4333
4341
|
this.pageChange({ skip: 0, take: virtual.pageSize });
|
|
4334
4342
|
}
|
|
@@ -4421,7 +4429,7 @@ class ComboBoxComponent {
|
|
|
4421
4429
|
* @hidden
|
|
4422
4430
|
*/
|
|
4423
4431
|
clearValue(event) {
|
|
4424
|
-
event
|
|
4432
|
+
event?.stopImmediatePropagation();
|
|
4425
4433
|
if (event) {
|
|
4426
4434
|
this.focus();
|
|
4427
4435
|
}
|
|
@@ -4943,8 +4951,8 @@ class ComboBoxComponent {
|
|
|
4943
4951
|
}
|
|
4944
4952
|
}
|
|
4945
4953
|
}
|
|
4946
|
-
ComboBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4947
|
-
ComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
4954
|
+
ComboBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboBoxComponent, deps: [{ token: i0.ElementRef }, { token: i1.LocalizationService }, { token: i2.PopupService }, { token: SelectionService }, { token: NavigationService }, { token: DisabledItemsService }, { token: DataService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
4955
|
+
ComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ComboBoxComponent, selector: "kendo-combobox", inputs: { focusableId: "focusableId", allowCustom: "allowCustom", data: "data", value: "value", textField: "textField", valueField: "valueField", valuePrimitive: "valuePrimitive", valueNormalizer: "valueNormalizer", placeholder: "placeholder", popupSettings: "popupSettings", listHeight: "listHeight", iconClass: "iconClass", loading: "loading", suggest: "suggest", clearButton: "clearButton", disabled: "disabled", itemDisabled: "itemDisabled", readonly: "readonly", tabindex: "tabindex", tabIndex: "tabIndex", filterable: "filterable", virtual: "virtual", size: "size", rounded: "rounded", fillMode: "fillMode" }, outputs: { valueChange: "valueChange", selectionChange: "selectionChange", filterChange: "filterChange", open: "open", opened: "opened", close: "close", closed: "closed", onFocus: "focus", onBlur: "blur" }, host: { properties: { "class.k-combobox": "this.widgetClasses", "class.k-input": "this.widgetClasses", "class.k-disabled": "this.isDisabled", "class.k-loading": "this.isLoading", "attr.dir": "this.dir" } }, providers: [
|
|
4948
4956
|
COMBOBOX_VALUE_ACCESSOR,
|
|
4949
4957
|
DataService,
|
|
4950
4958
|
SelectionService,
|
|
@@ -5069,7 +5077,7 @@ ComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
5069
5077
|
</ng-template>
|
|
5070
5078
|
<ng-container #container></ng-container>
|
|
5071
5079
|
`, isInline: true, components: [{ type: 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: 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: i9.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i9.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }] });
|
|
5072
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5080
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboBoxComponent, decorators: [{
|
|
5073
5081
|
type: Component,
|
|
5074
5082
|
args: [{
|
|
5075
5083
|
exportAs: 'kendoComboBox',
|
|
@@ -5361,9 +5369,9 @@ class ValueTemplateDirective {
|
|
|
5361
5369
|
this.templateRef = templateRef;
|
|
5362
5370
|
}
|
|
5363
5371
|
}
|
|
5364
|
-
ValueTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5365
|
-
ValueTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
5366
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5372
|
+
ValueTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ValueTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5373
|
+
ValueTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ValueTemplateDirective, selector: "[kendoDropDownListValueTemplate],[kendoDropDownTreeValueTemplate]", ngImport: i0 });
|
|
5374
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ValueTemplateDirective, decorators: [{
|
|
5367
5375
|
type: Directive,
|
|
5368
5376
|
args: [{
|
|
5369
5377
|
selector: '[kendoDropDownListValueTemplate],[kendoDropDownTreeValueTemplate]'
|
|
@@ -5387,9 +5395,9 @@ class FilterInputDirective {
|
|
|
5387
5395
|
this.zone.runOutsideAngular(() => setTimeout(fn));
|
|
5388
5396
|
}
|
|
5389
5397
|
}
|
|
5390
|
-
FilterInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5391
|
-
FilterInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
5392
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5398
|
+
FilterInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterInputDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5399
|
+
FilterInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: FilterInputDirective, selector: "[filterInput]", inputs: { focused: ["filterInput", "focused"] }, usesOnChanges: true, ngImport: i0 });
|
|
5400
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterInputDirective, decorators: [{
|
|
5393
5401
|
type: Directive,
|
|
5394
5402
|
args: [{
|
|
5395
5403
|
selector: '[filterInput]' // eslint-disable-line
|
|
@@ -5834,8 +5842,7 @@ class DropDownListComponent {
|
|
|
5834
5842
|
return this.ariaControls;
|
|
5835
5843
|
}
|
|
5836
5844
|
get hostAriaInvalid() {
|
|
5837
|
-
|
|
5838
|
-
return this.formControl ? (_a = this.formControl) === null || _a === void 0 ? void 0 : _a.invalid.toString() : null;
|
|
5845
|
+
return this.formControl ? this.formControl?.invalid.toString() : null;
|
|
5839
5846
|
}
|
|
5840
5847
|
get hostAriaActivedescendant() {
|
|
5841
5848
|
return this.ariaActivedescendant;
|
|
@@ -5845,7 +5852,7 @@ class DropDownListComponent {
|
|
|
5845
5852
|
*/
|
|
5846
5853
|
keydown(event) {
|
|
5847
5854
|
const firstIndex = isPresent(this.defaultItem) ? -1 : 0;
|
|
5848
|
-
|
|
5855
|
+
const focused = isNaN(this.selectionService.focused) ? this.firstFocusableIndex(firstIndex) : this.selectionService.focused;
|
|
5849
5856
|
let offset = 0;
|
|
5850
5857
|
if (this.disabled || this.readonly) {
|
|
5851
5858
|
return;
|
|
@@ -5950,7 +5957,7 @@ class DropDownListComponent {
|
|
|
5950
5957
|
*/
|
|
5951
5958
|
ngOnChanges(changes) {
|
|
5952
5959
|
const virtual = this.virtual;
|
|
5953
|
-
const requestInitialData = virtual && changes
|
|
5960
|
+
const requestInitialData = virtual && changes['data'] && changes['data'].isFirstChange();
|
|
5954
5961
|
if (requestInitialData) {
|
|
5955
5962
|
this.pageChange({ skip: 0, take: virtual.pageSize });
|
|
5956
5963
|
}
|
|
@@ -5972,7 +5979,7 @@ class DropDownListComponent {
|
|
|
5972
5979
|
*/
|
|
5973
5980
|
get formControl() {
|
|
5974
5981
|
const ngControl = this.injector.get(NgControl, null);
|
|
5975
|
-
return
|
|
5982
|
+
return ngControl?.control || null;
|
|
5976
5983
|
}
|
|
5977
5984
|
/**
|
|
5978
5985
|
* Focuses a specific item of the DropDownList based on a provided index.
|
|
@@ -6457,7 +6464,7 @@ class DropDownListComponent {
|
|
|
6457
6464
|
});
|
|
6458
6465
|
const isInLoop = sameCharsOnly(this.word, this.last);
|
|
6459
6466
|
let dataLength = data.length;
|
|
6460
|
-
|
|
6467
|
+
const hasSelected = !isNaN(this.selectionService.selected[0]);
|
|
6461
6468
|
let startIndex = !hasSelected ? 0 : this.selectionService.selected[0];
|
|
6462
6469
|
let text, index, defaultItem;
|
|
6463
6470
|
if (this.defaultItem && !this.disabledItemsService.isItemDisabled(this.defaultItem)) {
|
|
@@ -6583,8 +6590,8 @@ class DropDownListComponent {
|
|
|
6583
6590
|
}
|
|
6584
6591
|
}
|
|
6585
6592
|
}
|
|
6586
|
-
DropDownListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6587
|
-
DropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
6593
|
+
DropDownListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownListComponent, deps: [{ token: i0.ElementRef }, { token: i1.LocalizationService }, { token: i2.PopupService }, { token: SelectionService }, { token: NavigationService }, { token: DisabledItemsService }, { token: DataService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: TOUCH_ENABLED, optional: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
6594
|
+
DropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: { iconClass: "iconClass", loading: "loading", data: "data", value: "value", textField: "textField", valueField: "valueField", popupSettings: "popupSettings", listHeight: "listHeight", defaultItem: "defaultItem", disabled: "disabled", itemDisabled: "itemDisabled", readonly: "readonly", filterable: "filterable", virtual: "virtual", ignoreCase: "ignoreCase", delay: "delay", valuePrimitive: "valuePrimitive", tabindex: "tabindex", tabIndex: "tabIndex", size: "size", rounded: "rounded", fillMode: "fillMode", focusableId: ["id", "focusableId"] }, outputs: { valueChange: "valueChange", filterChange: "filterChange", selectionChange: "selectionChange", open: "open", opened: "opened", close: "close", closed: "closed", onFocus: "focus", onBlur: "blur" }, host: { listeners: { "keydown": "keydown($event)", "keypress": "keypress($event)", "click": "click($event)" }, properties: { "class.k-dropdownlist": "this.hostClasses", "class.k-picker": "this.hostClasses", "class.k-disabled": "this.isDisabledClass", "attr.disabled": "this.isDisabledAttribute", "class.k-loading": "this.isLoading", "attr.id": "this.focusableId", "attr.dir": "this.dir", "attr.tabindex": "this.hostTabIndex", "attr.readonly": "this.readonlyAttr", "attr.aria-busy": "this.isBusy", "attr.role": "this.role", "attr.aria-haspopup": "this.haspopup", "attr.aria-expanded": "this.isAriaExpanded", "attr.aria-controls": "this.hostAriaControls", "attr.aria-invalid": "this.hostAriaInvalid", "attr.aria-activedescendant": "this.hostAriaActivedescendant" } }, providers: [
|
|
6588
6595
|
DROPDOWNLIST_VALUE_ACCESSOR,
|
|
6589
6596
|
DataService,
|
|
6590
6597
|
SelectionService,
|
|
@@ -6741,7 +6748,7 @@ DropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
6741
6748
|
</ng-template>
|
|
6742
6749
|
<ng-container #container></ng-container>
|
|
6743
6750
|
`, isInline: true, components: [{ type: 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: i9.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i9.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i12.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: FilterInputDirective, selector: "[filterInput]", inputs: ["filterInput"] }, { type: i12.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i12.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: SelectableDirective, selector: "[kendoDropDownsSelectable]", inputs: ["index", "checkboxes", "height", "multipleSelection"] }] });
|
|
6744
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6751
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownListComponent, decorators: [{
|
|
6745
6752
|
type: Component,
|
|
6746
6753
|
args: [{
|
|
6747
6754
|
exportAs: 'kendoDropDownList',
|
|
@@ -7102,9 +7109,9 @@ class CustomItemTemplateDirective {
|
|
|
7102
7109
|
this.templateRef = templateRef;
|
|
7103
7110
|
}
|
|
7104
7111
|
}
|
|
7105
|
-
CustomItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7106
|
-
CustomItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
7107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7112
|
+
CustomItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CustomItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7113
|
+
CustomItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: CustomItemTemplateDirective, selector: "[kendoMultiSelectCustomItemTemplate]", ngImport: i0 });
|
|
7114
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CustomItemTemplateDirective, decorators: [{
|
|
7108
7115
|
type: Directive,
|
|
7109
7116
|
args: [{
|
|
7110
7117
|
selector: '[kendoMultiSelectCustomItemTemplate]'
|
|
@@ -7141,9 +7148,9 @@ class TagTemplateDirective {
|
|
|
7141
7148
|
this.templateRef = templateRef;
|
|
7142
7149
|
}
|
|
7143
7150
|
}
|
|
7144
|
-
TagTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7145
|
-
TagTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
7146
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7151
|
+
TagTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TagTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7152
|
+
TagTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TagTemplateDirective, selector: "[kendoMultiSelectTagTemplate],[kendoMultiSelectTreeTagTemplate]", ngImport: i0 });
|
|
7153
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TagTemplateDirective, decorators: [{
|
|
7147
7154
|
type: Directive,
|
|
7148
7155
|
args: [{
|
|
7149
7156
|
selector: '[kendoMultiSelectTagTemplate],[kendoMultiSelectTreeTagTemplate]'
|
|
@@ -7181,9 +7188,9 @@ class GroupTagTemplateDirective {
|
|
|
7181
7188
|
this.templateRef = templateRef;
|
|
7182
7189
|
}
|
|
7183
7190
|
}
|
|
7184
|
-
GroupTagTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7185
|
-
GroupTagTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
7186
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7191
|
+
GroupTagTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupTagTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7192
|
+
GroupTagTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: GroupTagTemplateDirective, selector: "[kendoMultiSelectGroupTagTemplate],[kendoMultiSelectTreeGroupTagTemplate]", ngImport: i0 });
|
|
7193
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupTagTemplateDirective, decorators: [{
|
|
7187
7194
|
type: Directive,
|
|
7188
7195
|
args: [{
|
|
7189
7196
|
selector: '[kendoMultiSelectGroupTagTemplate],[kendoMultiSelectTreeGroupTagTemplate]'
|
|
@@ -7295,8 +7302,8 @@ class TagListComponent {
|
|
|
7295
7302
|
}
|
|
7296
7303
|
}
|
|
7297
7304
|
}
|
|
7298
|
-
TagListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7299
|
-
TagListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
7305
|
+
TagListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TagListComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
7306
|
+
TagListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TagListComponent, selector: "kendo-taglist", inputs: { tags: "tags", textField: "textField", valueField: "valueField", valueDepth: "valueDepth", focused: "focused", template: "template", groupTemplate: "groupTemplate", disabled: "disabled", tagPrefix: "tagPrefix", id: "id", size: "size", rounded: "rounded", fillMode: "fillMode", disabledIndices: "disabledIndices" }, outputs: { removeTag: "removeTag" }, host: { properties: { "class.k-input-values": "this.hostClasses", "class.k-chip-list": "this.hostClasses", "class.k-selection-multiple": "this.hostClasses", "attr.id": "this.hostId" } }, ngImport: i0, template: `
|
|
7300
7307
|
<div
|
|
7301
7308
|
*ngFor="let tag of tags; let index = index;"
|
|
7302
7309
|
[attr.id]="itemId(tag, index)"
|
|
@@ -7352,7 +7359,7 @@ TagListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
7352
7359
|
</div>
|
|
7353
7360
|
<ng-content></ng-content>
|
|
7354
7361
|
`, isInline: true, directives: [{ type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }] });
|
|
7355
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7362
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TagListComponent, decorators: [{
|
|
7356
7363
|
type: Component,
|
|
7357
7364
|
args: [{
|
|
7358
7365
|
selector: 'kendo-taglist',
|
|
@@ -7968,6 +7975,31 @@ class MultiSelectComponent {
|
|
|
7968
7975
|
get isLoading() {
|
|
7969
7976
|
return this.loading;
|
|
7970
7977
|
}
|
|
7978
|
+
/**
|
|
7979
|
+
* @hidden
|
|
7980
|
+
*/
|
|
7981
|
+
handleKeyboardEvent(event) {
|
|
7982
|
+
if (this.isFocused && this.isOpen && (event.ctrlKey || event.metaKey) && event.keyCode === Keys.KeyA) {
|
|
7983
|
+
event.preventDefault();
|
|
7984
|
+
this.handleSelectAll();
|
|
7985
|
+
}
|
|
7986
|
+
}
|
|
7987
|
+
/**
|
|
7988
|
+
* @hidden
|
|
7989
|
+
*/
|
|
7990
|
+
hostMousedown(event) {
|
|
7991
|
+
const inputElement = this.searchbar.input.nativeElement;
|
|
7992
|
+
if (event.button === 0) {
|
|
7993
|
+
if (this.isFocused && this.isOpen && event.target === inputElement) {
|
|
7994
|
+
return;
|
|
7995
|
+
}
|
|
7996
|
+
if (!this.touchEnabled || (this.touchEnabled && event.target.tagName !== 'SPAN')) {
|
|
7997
|
+
this.searchbar.focus();
|
|
7998
|
+
}
|
|
7999
|
+
this.togglePopup(!this.isOpen);
|
|
8000
|
+
event.preventDefault();
|
|
8001
|
+
}
|
|
8002
|
+
}
|
|
7971
8003
|
get listContainerClasses() {
|
|
7972
8004
|
const containerClasses = ['k-list-container', 'k-reset'];
|
|
7973
8005
|
if (this.popupSettings.popupClass) {
|
|
@@ -8214,8 +8246,8 @@ class MultiSelectComponent {
|
|
|
8214
8246
|
* @hidden
|
|
8215
8247
|
*/
|
|
8216
8248
|
clearAll(event) {
|
|
8217
|
-
event
|
|
8218
|
-
event
|
|
8249
|
+
event?.stopImmediatePropagation();
|
|
8250
|
+
event?.preventDefault();
|
|
8219
8251
|
this.focus();
|
|
8220
8252
|
this.clearFilter();
|
|
8221
8253
|
this.selectionService.lastClickedIndex = null;
|
|
@@ -8266,8 +8298,6 @@ class MultiSelectComponent {
|
|
|
8266
8298
|
}
|
|
8267
8299
|
ngAfterViewInit() {
|
|
8268
8300
|
this.searchbar.setInputSize();
|
|
8269
|
-
this.observableSubscriptions.add(this.renderer.listen(this.wrapper.nativeElement, 'mousedown', this.handleMousedown.bind(this)));
|
|
8270
|
-
this.observableSubscriptions.add(this.renderer.listen(this.wrapper.nativeElement, 'keydown', this.handleKeydown.bind(this)));
|
|
8271
8301
|
}
|
|
8272
8302
|
ngOnDestroy() {
|
|
8273
8303
|
this._toggle(false);
|
|
@@ -8532,30 +8562,6 @@ class MultiSelectComponent {
|
|
|
8532
8562
|
this.clearFilter();
|
|
8533
8563
|
}
|
|
8534
8564
|
}
|
|
8535
|
-
handleMousedown(event) {
|
|
8536
|
-
const inputElement = this.searchbar.input.nativeElement;
|
|
8537
|
-
if (event.button === 0) {
|
|
8538
|
-
if (this.isFocused && this.isOpen && event.target === inputElement) {
|
|
8539
|
-
return;
|
|
8540
|
-
}
|
|
8541
|
-
if (!this.touchEnabled || (this.touchEnabled && event.target.tagName !== 'SPAN')) {
|
|
8542
|
-
this.searchbar.focus();
|
|
8543
|
-
}
|
|
8544
|
-
// The check is needed otherwise when appended to the component, the popup reopens on click
|
|
8545
|
-
// https://github.com/telerik/kendo-angular/issues/3738
|
|
8546
|
-
if ((this.popupRef && this.popupRef.popupElement.contains(event.target))) {
|
|
8547
|
-
return;
|
|
8548
|
-
}
|
|
8549
|
-
event.preventDefault();
|
|
8550
|
-
this.togglePopup(!this.isOpen);
|
|
8551
|
-
}
|
|
8552
|
-
}
|
|
8553
|
-
handleKeydown(event) {
|
|
8554
|
-
if (this.isFocused && this.isOpen && (event.ctrlKey || event.metaKey) && event.keyCode === Keys.KeyA) {
|
|
8555
|
-
event.preventDefault();
|
|
8556
|
-
this.handleSelectAll();
|
|
8557
|
-
}
|
|
8558
|
-
}
|
|
8559
8565
|
handleEnter(event) {
|
|
8560
8566
|
const service = this.selectionService;
|
|
8561
8567
|
const focusedIndex = this.selectionService.focused;
|
|
@@ -8718,7 +8724,7 @@ class MultiSelectComponent {
|
|
|
8718
8724
|
findIndex(text, startsFrom = 0) {
|
|
8719
8725
|
let itemText;
|
|
8720
8726
|
text = text.toLowerCase();
|
|
8721
|
-
|
|
8727
|
+
const index = this.dataService.findIndex(item => {
|
|
8722
8728
|
if (this.dataService.grouped) {
|
|
8723
8729
|
itemText = getter(item.value, this.textField);
|
|
8724
8730
|
}
|
|
@@ -8869,8 +8875,8 @@ class MultiSelectComponent {
|
|
|
8869
8875
|
}
|
|
8870
8876
|
}
|
|
8871
8877
|
}
|
|
8872
|
-
MultiSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8873
|
-
MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
8878
|
+
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: DataService }, { token: SelectionService }, { token: NavigationService }, { token: DisabledItemsService }, { token: i0.ChangeDetectorRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
8879
|
+
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: [
|
|
8874
8880
|
MULTISELECT_VALUE_ACCESSOR,
|
|
8875
8881
|
DataService,
|
|
8876
8882
|
SelectionService,
|
|
@@ -8972,7 +8978,7 @@ MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
8972
8978
|
}">
|
|
8973
8979
|
</ng-template>
|
|
8974
8980
|
<ng-template #default_custom_item_template>{{ text }}</ng-template>
|
|
8975
|
-
<span class="k-icon k-i-plus" style="float: right"></span>
|
|
8981
|
+
<span class="k-icon k-i-plus" [style]="'float: right;'"></span>
|
|
8976
8982
|
</div>
|
|
8977
8983
|
</div>
|
|
8978
8984
|
<!--list-->
|
|
@@ -9020,7 +9026,7 @@ MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
9020
9026
|
</ng-template>
|
|
9021
9027
|
<ng-container #container></ng-container>
|
|
9022
9028
|
`, isInline: true, components: [{ type: TagListComponent, selector: "kendo-taglist", inputs: ["tags", "textField", "valueField", "valueDepth", "focused", "template", "groupTemplate", "disabled", "tagPrefix", "id", "size", "rounded", "fillMode", "disabledIndices"], outputs: ["removeTag"] }, { type: 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: 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: i9.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: SelectableDirective, selector: "[kendoDropDownsSelectable]", inputs: ["index", "checkboxes", "height", "multipleSelection"] }] });
|
|
9023
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9029
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectComponent, decorators: [{
|
|
9024
9030
|
type: Component,
|
|
9025
9031
|
args: [{
|
|
9026
9032
|
exportAs: 'kendoMultiSelect',
|
|
@@ -9128,7 +9134,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
9128
9134
|
}">
|
|
9129
9135
|
</ng-template>
|
|
9130
9136
|
<ng-template #default_custom_item_template>{{ text }}</ng-template>
|
|
9131
|
-
<span class="k-icon k-i-plus" style="float: right"></span>
|
|
9137
|
+
<span class="k-icon k-i-plus" [style]="'float: right;'"></span>
|
|
9132
9138
|
</div>
|
|
9133
9139
|
</div>
|
|
9134
9140
|
<!--list-->
|
|
@@ -9309,6 +9315,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
9309
9315
|
}], isLoading: [{
|
|
9310
9316
|
type: HostBinding,
|
|
9311
9317
|
args: ['class.k-loading']
|
|
9318
|
+
}], handleKeyboardEvent: [{
|
|
9319
|
+
type: HostListener,
|
|
9320
|
+
args: ['keydown', ['$event']]
|
|
9321
|
+
}], hostMousedown: [{
|
|
9322
|
+
type: HostListener,
|
|
9323
|
+
args: ['mousedown', ['$event']]
|
|
9312
9324
|
}] } });
|
|
9313
9325
|
|
|
9314
9326
|
/**
|
|
@@ -9326,9 +9338,9 @@ class ColumnCellTemplateDirective {
|
|
|
9326
9338
|
this.templateRef = templateRef;
|
|
9327
9339
|
}
|
|
9328
9340
|
}
|
|
9329
|
-
ColumnCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9330
|
-
ColumnCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
9331
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9341
|
+
ColumnCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
9342
|
+
ColumnCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ColumnCellTemplateDirective, selector: "[kendoMultiColumnComboBoxColumnCellTemplate]", ngImport: i0 });
|
|
9343
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnCellTemplateDirective, decorators: [{
|
|
9332
9344
|
type: Directive,
|
|
9333
9345
|
args: [{
|
|
9334
9346
|
selector: '[kendoMultiColumnComboBoxColumnCellTemplate]'
|
|
@@ -9347,9 +9359,9 @@ class ColumnHeaderTemplateDirective {
|
|
|
9347
9359
|
this.templateRef = templateRef;
|
|
9348
9360
|
}
|
|
9349
9361
|
}
|
|
9350
|
-
ColumnHeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9351
|
-
ColumnHeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
9352
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9362
|
+
ColumnHeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnHeaderTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
9363
|
+
ColumnHeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ColumnHeaderTemplateDirective, selector: "[kendoMultiColumnComboBoxColumnHeaderTemplate]", ngImport: i0 });
|
|
9364
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnHeaderTemplateDirective, decorators: [{
|
|
9353
9365
|
type: Directive,
|
|
9354
9366
|
args: [{
|
|
9355
9367
|
selector: '[kendoMultiColumnComboBoxColumnHeaderTemplate]'
|
|
@@ -9374,9 +9386,9 @@ class ComboBoxColumnComponent {
|
|
|
9374
9386
|
this.matchesMedia = true;
|
|
9375
9387
|
}
|
|
9376
9388
|
}
|
|
9377
|
-
ComboBoxColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9378
|
-
ComboBoxColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
9379
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9389
|
+
ComboBoxColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboBoxColumnComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9390
|
+
ComboBoxColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ComboBoxColumnComponent, selector: "kendo-combobox-column", inputs: { field: "field", title: "title", width: "width", hidden: "hidden", style: "style", headerStyle: "headerStyle", class: "class", headerClass: "headerClass", media: "media" }, queries: [{ propertyName: "cellTemplate", first: true, predicate: ColumnCellTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: ColumnHeaderTemplateDirective, descendants: true }], ngImport: i0, template: '', isInline: true });
|
|
9391
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboBoxColumnComponent, decorators: [{
|
|
9380
9392
|
type: Component,
|
|
9381
9393
|
args: [{
|
|
9382
9394
|
selector: 'kendo-combobox-column',
|
|
@@ -9579,8 +9591,8 @@ class MultiColumnComboBoxComponent extends ComboBoxComponent {
|
|
|
9579
9591
|
});
|
|
9580
9592
|
}
|
|
9581
9593
|
}
|
|
9582
|
-
MultiColumnComboBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9583
|
-
MultiColumnComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
9594
|
+
MultiColumnComboBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiColumnComboBoxComponent, deps: [{ token: i1.LocalizationService }, { token: i2.PopupService }, { token: SelectionService }, { token: NavigationService }, { token: DisabledItemsService }, { token: DataService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: TOUCH_ENABLED }], target: i0.ɵɵFactoryTarget.Component });
|
|
9595
|
+
MultiColumnComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MultiColumnComboBoxComponent, selector: "kendo-multicolumncombobox", host: { properties: { "class.k-dropdowngrid": "this.hostClasses", "class.k-disabled": "this.isDisabled" } }, providers: [
|
|
9584
9596
|
SelectionService,
|
|
9585
9597
|
DataService,
|
|
9586
9598
|
NavigationService,
|
|
@@ -9824,7 +9836,7 @@ MultiColumnComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
9824
9836
|
<!-- when the popupSettings.appendTo value is set to 'component', this container is used -->
|
|
9825
9837
|
<ng-container #container></ng-container>
|
|
9826
9838
|
`, isInline: true, components: [{ type: 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: 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: i9.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i9.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i11.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
9827
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9839
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiColumnComboBoxComponent, decorators: [{
|
|
9828
9840
|
type: Component,
|
|
9829
9841
|
args: [{
|
|
9830
9842
|
providers: [
|
|
@@ -10105,9 +10117,9 @@ class NodeTemplateDirective {
|
|
|
10105
10117
|
this.templateRef = templateRef;
|
|
10106
10118
|
}
|
|
10107
10119
|
}
|
|
10108
|
-
NodeTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10109
|
-
NodeTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
10110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10120
|
+
NodeTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NodeTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
10121
|
+
NodeTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: NodeTemplateDirective, selector: "[kendoDropDownTreeNodeTemplate], [kendoMultiSelectTreeNodeTemplate]", ngImport: i0 });
|
|
10122
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NodeTemplateDirective, decorators: [{
|
|
10111
10123
|
type: Directive,
|
|
10112
10124
|
args: [{
|
|
10113
10125
|
selector: '[kendoDropDownTreeNodeTemplate], [kendoMultiSelectTreeNodeTemplate]'
|
|
@@ -10277,7 +10289,7 @@ class DropDownTreeComponent {
|
|
|
10277
10289
|
this._size = 'medium';
|
|
10278
10290
|
this._rounded = 'medium';
|
|
10279
10291
|
this._fillMode = 'solid';
|
|
10280
|
-
this.
|
|
10292
|
+
this.subscriptions = [];
|
|
10281
10293
|
this.onTouchedCallback = noop;
|
|
10282
10294
|
this.onChangeCallback = noop;
|
|
10283
10295
|
this.direction = localization.rtl ? 'rtl' : 'ltr';
|
|
@@ -10318,6 +10330,12 @@ class DropDownTreeComponent {
|
|
|
10318
10330
|
get isReadonly() {
|
|
10319
10331
|
return this.readonly ? '' : null;
|
|
10320
10332
|
}
|
|
10333
|
+
/**
|
|
10334
|
+
* @hidden
|
|
10335
|
+
*/
|
|
10336
|
+
handleClick() {
|
|
10337
|
+
this.togglePopup(!this.isOpen);
|
|
10338
|
+
}
|
|
10321
10339
|
/**
|
|
10322
10340
|
* @hidden
|
|
10323
10341
|
*/
|
|
@@ -10571,12 +10589,12 @@ class DropDownTreeComponent {
|
|
|
10571
10589
|
*/
|
|
10572
10590
|
get formControl() {
|
|
10573
10591
|
const ngControl = this.injector.get(NgControl, null);
|
|
10574
|
-
return
|
|
10592
|
+
return ngControl?.control || null;
|
|
10575
10593
|
}
|
|
10576
10594
|
ngOnInit() {
|
|
10577
10595
|
this.renderer.removeAttribute(this.wrapper.nativeElement, 'tabindex');
|
|
10578
10596
|
this.assignAriaDescribedBy();
|
|
10579
|
-
this.
|
|
10597
|
+
this.subscriptions.push(this.localization
|
|
10580
10598
|
.changes.subscribe(({ rtl }) => {
|
|
10581
10599
|
this.direction = rtl ? 'rtl' : 'ltr';
|
|
10582
10600
|
this.cdr.markForCheck();
|
|
@@ -10604,10 +10622,6 @@ class DropDownTreeComponent {
|
|
|
10604
10622
|
ngAfterContentChecked() {
|
|
10605
10623
|
this.verifySettings();
|
|
10606
10624
|
}
|
|
10607
|
-
ngAfterViewInit() {
|
|
10608
|
-
this.subs.add(this.renderer.listen(this.wrapper.nativeElement, 'click', this.handleClick.bind(this)));
|
|
10609
|
-
this.subs.add(this.renderer.listen(this.wrapper.nativeElement, 'keydown', this.handleKeydown.bind(this)));
|
|
10610
|
-
}
|
|
10611
10625
|
/**
|
|
10612
10626
|
* @hidden
|
|
10613
10627
|
*
|
|
@@ -10663,14 +10677,17 @@ class DropDownTreeComponent {
|
|
|
10663
10677
|
return;
|
|
10664
10678
|
}
|
|
10665
10679
|
this.isFocused = false;
|
|
10666
|
-
this.togglePopup(false);
|
|
10667
10680
|
if (hasObservers(this.onBlur) ||
|
|
10668
10681
|
isUntouched(this.wrapper.nativeElement)) {
|
|
10669
10682
|
this._zone.run(() => {
|
|
10683
|
+
this.togglePopup(false);
|
|
10670
10684
|
this.onBlur.emit();
|
|
10671
10685
|
this.onTouchedCallback();
|
|
10672
10686
|
});
|
|
10673
10687
|
}
|
|
10688
|
+
else {
|
|
10689
|
+
this.togglePopup(false);
|
|
10690
|
+
}
|
|
10674
10691
|
}
|
|
10675
10692
|
/**
|
|
10676
10693
|
* Focuses a specific item of the DropDownTree based on a provided index in the format of `1_1`.
|
|
@@ -10680,7 +10697,7 @@ class DropDownTreeComponent {
|
|
|
10680
10697
|
focusItemAt(index) {
|
|
10681
10698
|
if (this.treeview) {
|
|
10682
10699
|
const lookup = this.treeview.itemLookup(index);
|
|
10683
|
-
|
|
10700
|
+
const isItemDisabled = !isPresent(lookup) || this.treeview.isDisabled(lookup.item.dataItem, lookup.item.index);
|
|
10684
10701
|
if (!isItemDisabled) {
|
|
10685
10702
|
this.treeview.focus(index);
|
|
10686
10703
|
}
|
|
@@ -10952,14 +10969,6 @@ class DropDownTreeComponent {
|
|
|
10952
10969
|
}
|
|
10953
10970
|
}
|
|
10954
10971
|
}
|
|
10955
|
-
handleClick(e) {
|
|
10956
|
-
// The check is needed otherwise when appended to the component, the popup reopens on click
|
|
10957
|
-
// https://github.com/telerik/kendo-angular/issues/3738
|
|
10958
|
-
if ((this.popupRef && !this.popupRef.popupElement.contains(e.target))
|
|
10959
|
-
|| (!this.popupRef && !e.target.className.includes('k-treeview-leaf'))) {
|
|
10960
|
-
this.togglePopup(!this.isOpen);
|
|
10961
|
-
}
|
|
10962
|
-
}
|
|
10963
10972
|
handleEscape() {
|
|
10964
10973
|
this.togglePopup(false);
|
|
10965
10974
|
this.focus();
|
|
@@ -10981,56 +10990,33 @@ class DropDownTreeComponent {
|
|
|
10981
10990
|
this.selectedKeys = [];
|
|
10982
10991
|
}
|
|
10983
10992
|
subscribeEvents() {
|
|
10984
|
-
|
|
10985
|
-
|
|
10986
|
-
|
|
10987
|
-
|
|
10988
|
-
|
|
10989
|
-
this.
|
|
10990
|
-
|
|
10991
|
-
|
|
10992
|
-
|
|
10993
|
-
|
|
10994
|
-
this.navigationService.
|
|
10995
|
-
|
|
10996
|
-
|
|
10997
|
-
|
|
10998
|
-
|
|
10999
|
-
|
|
11000
|
-
|
|
11001
|
-
|
|
11002
|
-
|
|
11003
|
-
|
|
11004
|
-
|
|
11005
|
-
}
|
|
11006
|
-
|
|
11007
|
-
|
|
11008
|
-
|
|
11009
|
-
|
|
11010
|
-
|
|
11011
|
-
this.treeview.blur();
|
|
11012
|
-
this.removeTreeViewFromTabOrder();
|
|
11013
|
-
}
|
|
11014
|
-
}),
|
|
11015
|
-
this.navigationService.down.subscribe((event) => {
|
|
11016
|
-
if (!this.treeview) {
|
|
11017
|
-
return;
|
|
11018
|
-
}
|
|
11019
|
-
event.originalEvent.preventDefault();
|
|
11020
|
-
if (!this.treeview.isActive) {
|
|
11021
|
-
this.treeview.focus();
|
|
11022
|
-
}
|
|
11023
|
-
}),
|
|
11024
|
-
this.navigationService.up.subscribe((event) => {
|
|
11025
|
-
if (!this.treeview) {
|
|
11026
|
-
return;
|
|
11027
|
-
}
|
|
11028
|
-
event.originalEvent.preventDefault();
|
|
11029
|
-
if (this.filterable && this.treeview['navigationService']['activeIndex'] === '0') {
|
|
11030
|
-
this.filterInput.nativeElement.focus();
|
|
11031
|
-
}
|
|
11032
|
-
})
|
|
11033
|
-
].forEach(sub => this.subs.add(sub));
|
|
10993
|
+
this.subscriptions.push(this.navigationService.open.subscribe((event) => {
|
|
10994
|
+
event.originalEvent.preventDefault();
|
|
10995
|
+
this.togglePopup(true);
|
|
10996
|
+
}), this.navigationService.close.subscribe((event) => {
|
|
10997
|
+
event.originalEvent.preventDefault();
|
|
10998
|
+
this.togglePopup(false);
|
|
10999
|
+
this.focus();
|
|
11000
|
+
}), this.navigationService.enter
|
|
11001
|
+
.pipe(tap((event) => event.originalEvent.preventDefault()))
|
|
11002
|
+
.subscribe(() => this.togglePopup(true)), this.navigationService.esc
|
|
11003
|
+
.subscribe(() => this.handleEscape()), this.navigationService.tab.subscribe(() => this.focus()), this.navigationService.down.subscribe((event) => {
|
|
11004
|
+
if (!this.treeview) {
|
|
11005
|
+
return;
|
|
11006
|
+
}
|
|
11007
|
+
event.originalEvent.preventDefault();
|
|
11008
|
+
if (!this.treeview.isActive) {
|
|
11009
|
+
this.treeview.focus();
|
|
11010
|
+
}
|
|
11011
|
+
}), this.navigationService.up.subscribe((event) => {
|
|
11012
|
+
if (!this.treeview) {
|
|
11013
|
+
return;
|
|
11014
|
+
}
|
|
11015
|
+
event.originalEvent.preventDefault();
|
|
11016
|
+
if (this.filterable && this.treeview['navigationService']['activeIndex'] === '0') {
|
|
11017
|
+
this.filterInput.nativeElement.focus();
|
|
11018
|
+
}
|
|
11019
|
+
}));
|
|
11034
11020
|
}
|
|
11035
11021
|
subscribeTouchEvents() {
|
|
11036
11022
|
if (!isDocumentAvailable() || !this.touchEnabled) {
|
|
@@ -11069,7 +11055,7 @@ class DropDownTreeComponent {
|
|
|
11069
11055
|
}
|
|
11070
11056
|
}
|
|
11071
11057
|
unsubscribeEvents() {
|
|
11072
|
-
this.
|
|
11058
|
+
this.subscriptions.forEach(sub => sub.unsubscribe());
|
|
11073
11059
|
this.unSubscribeFocusEvents();
|
|
11074
11060
|
if (this.touchstartDisposeHandler) {
|
|
11075
11061
|
this.touchstartDisposeHandler();
|
|
@@ -11099,22 +11085,9 @@ class DropDownTreeComponent {
|
|
|
11099
11085
|
this.renderer.addClass(this.wrapper.nativeElement, getFillModeClass('picker', this.fillMode));
|
|
11100
11086
|
}
|
|
11101
11087
|
}
|
|
11102
|
-
/**
|
|
11103
|
-
* Remove the `TreeView` from the tab order, otherwise a focus loop between the page elements will occur
|
|
11104
|
-
* and the user will not be able to tab to the rest of the browser elements
|
|
11105
|
-
*/
|
|
11106
|
-
removeTreeViewFromTabOrder() {
|
|
11107
|
-
const nodes = this.treeview.element.nativeElement.querySelectorAll('li');
|
|
11108
|
-
nodes.forEach(item => {
|
|
11109
|
-
if (item.getAttribute('tabindex') === '0') {
|
|
11110
|
-
this.lastNodeOnFocus = item;
|
|
11111
|
-
this.lastNodeOnFocus.setAttribute('tabindex', '-1');
|
|
11112
|
-
}
|
|
11113
|
-
});
|
|
11114
|
-
}
|
|
11115
11088
|
}
|
|
11116
|
-
DropDownTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11117
|
-
DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
11089
|
+
DropDownTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreeComponent, deps: [{ token: i0.Injector }, { token: i0.ElementRef }, { token: i2.PopupService }, { token: NavigationService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i1.LocalizationService }, { token: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
11090
|
+
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: [
|
|
11118
11091
|
DataService,
|
|
11119
11092
|
SelectionService,
|
|
11120
11093
|
NavigationService,
|
|
@@ -11277,7 +11250,7 @@ DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
11277
11250
|
</ng-template>
|
|
11278
11251
|
<ng-container #container></ng-container>
|
|
11279
11252
|
`, isInline: true, components: [{ type: i1$1.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: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i12.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: FilterInputDirective, selector: "[filterInput]", inputs: ["filterInput"] }, { type: i12.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i12.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i9.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i1$1.SelectDirective, selector: "[kendoTreeViewSelectable]", inputs: ["isSelected", "selectBy", "kendoTreeViewSelectable", "selectedKeys"], outputs: ["selectedKeysChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
11280
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11253
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreeComponent, decorators: [{
|
|
11281
11254
|
type: Component,
|
|
11282
11255
|
args: [{
|
|
11283
11256
|
exportAs: 'kendoDropDownTree',
|
|
@@ -11501,6 +11474,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
11501
11474
|
}], isReadonly: [{
|
|
11502
11475
|
type: HostBinding,
|
|
11503
11476
|
args: ['attr.readonly']
|
|
11477
|
+
}], handleClick: [{
|
|
11478
|
+
type: HostListener,
|
|
11479
|
+
args: ['click']
|
|
11480
|
+
}], handleKeydown: [{
|
|
11481
|
+
type: HostListener,
|
|
11482
|
+
args: ['keydown', ['$event']]
|
|
11504
11483
|
}], noDataTemplate: [{
|
|
11505
11484
|
type: ContentChild,
|
|
11506
11485
|
args: [NoDataTemplateDirective, { static: false }]
|
|
@@ -11678,9 +11657,9 @@ class MultiSelectTreeLookupService {
|
|
|
11678
11657
|
});
|
|
11679
11658
|
}
|
|
11680
11659
|
}
|
|
11681
|
-
MultiSelectTreeLookupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11682
|
-
MultiSelectTreeLookupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
11683
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11660
|
+
MultiSelectTreeLookupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeLookupService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
11661
|
+
MultiSelectTreeLookupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeLookupService });
|
|
11662
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeLookupService, decorators: [{
|
|
11684
11663
|
type: Injectable
|
|
11685
11664
|
}] });
|
|
11686
11665
|
|
|
@@ -11696,7 +11675,7 @@ class BaseCheckDirective {
|
|
|
11696
11675
|
}
|
|
11697
11676
|
const level = getHierarchicalItemLevel(item.index);
|
|
11698
11677
|
const key = this.getKey(item, level);
|
|
11699
|
-
const candidate =
|
|
11678
|
+
const candidate = { ...item, level, key };
|
|
11700
11679
|
this.checkedItems.push(candidate);
|
|
11701
11680
|
this.checkedKeys.add(key);
|
|
11702
11681
|
}
|
|
@@ -11706,7 +11685,7 @@ class BaseCheckDirective {
|
|
|
11706
11685
|
}
|
|
11707
11686
|
const level = getHierarchicalItemLevel(item.index);
|
|
11708
11687
|
const key = this.getKey(item, level);
|
|
11709
|
-
const candidate =
|
|
11688
|
+
const candidate = { ...item, level, key };
|
|
11710
11689
|
this.checkedItems = this.checkedItems
|
|
11711
11690
|
.filter(item => valueFrom(item, this.valueField) !== valueFrom(candidate, this.valueField));
|
|
11712
11691
|
this.checkedKeys.delete(key);
|
|
@@ -11731,9 +11710,9 @@ class BaseCheckDirective {
|
|
|
11731
11710
|
return valueFrom(item, this.valueField) + '_' + (this.isHeterogeneous ? level : 0);
|
|
11732
11711
|
}
|
|
11733
11712
|
}
|
|
11734
|
-
BaseCheckDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11735
|
-
BaseCheckDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
11736
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11713
|
+
BaseCheckDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BaseCheckDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
11714
|
+
BaseCheckDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: BaseCheckDirective, inputs: { valueField: "valueField", checkedItems: "checkedItems", isHeterogeneous: "isHeterogeneous" }, ngImport: i0 });
|
|
11715
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BaseCheckDirective, decorators: [{
|
|
11737
11716
|
type: Directive
|
|
11738
11717
|
}], propDecorators: { valueField: [{
|
|
11739
11718
|
type: Input
|
|
@@ -11795,7 +11774,7 @@ class CheckAllDirective extends BaseCheckDirective {
|
|
|
11795
11774
|
return isChecked;
|
|
11796
11775
|
}
|
|
11797
11776
|
ngOnChanges(changes) {
|
|
11798
|
-
if (isPresent(changes
|
|
11777
|
+
if (isPresent(changes['checkedItems'])) {
|
|
11799
11778
|
this.updateItems();
|
|
11800
11779
|
this.renderer.setProperty(this.element.nativeElement, 'checked', this.isChecked);
|
|
11801
11780
|
this.renderer.setProperty(this.element.nativeElement, 'indeterminate', this.isIndeterminate);
|
|
@@ -11864,9 +11843,9 @@ class CheckAllDirective extends BaseCheckDirective {
|
|
|
11864
11843
|
return childrenChecked || this.isItemChecked(lookup.item);
|
|
11865
11844
|
}
|
|
11866
11845
|
}
|
|
11867
|
-
CheckAllDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11868
|
-
CheckAllDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
11869
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11846
|
+
CheckAllDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckAllDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
11847
|
+
CheckAllDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: CheckAllDirective, selector: "[checkAll]", inputs: { lastAction: "lastAction", treeview: "treeview", checkedItems: "checkedItems", valueField: "valueField", focused: ["checkAll", "focused"] }, outputs: { checkedItemsChange: "checkedItemsChange" }, host: { listeners: { "change": "handleChange($event.target)" } }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
11848
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckAllDirective, decorators: [{
|
|
11870
11849
|
type: Directive,
|
|
11871
11850
|
args: [{
|
|
11872
11851
|
// eslint-disable-next-line
|
|
@@ -11916,10 +11895,10 @@ class CheckDirective extends BaseCheckDirective {
|
|
|
11916
11895
|
this.treeView.isChecked = this.getCheckedState.bind(this);
|
|
11917
11896
|
}
|
|
11918
11897
|
ngOnChanges(changes) {
|
|
11919
|
-
if (isPresent(changes
|
|
11898
|
+
if (isPresent(changes['checkable'])) {
|
|
11920
11899
|
this.toggleCheckOnClick();
|
|
11921
11900
|
}
|
|
11922
|
-
if (isPresent(changes
|
|
11901
|
+
if (isPresent(changes['checkedItems'])) {
|
|
11923
11902
|
this.updateItems();
|
|
11924
11903
|
}
|
|
11925
11904
|
}
|
|
@@ -12017,9 +11996,9 @@ class CheckDirective extends BaseCheckDirective {
|
|
|
12017
11996
|
return false;
|
|
12018
11997
|
}
|
|
12019
11998
|
}
|
|
12020
|
-
CheckDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12021
|
-
CheckDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
12022
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11999
|
+
CheckDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckDirective, deps: [{ token: i1$1.TreeViewComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
12000
|
+
CheckDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: CheckDirective, selector: "[kendoMultiSelectTreeCheckable]", inputs: { checkable: "checkable", valueField: "valueField", checkedItems: "checkedItems" }, outputs: { checkedItemsChange: "checkedItemsChange" }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
12001
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckDirective, decorators: [{
|
|
12023
12002
|
type: Directive,
|
|
12024
12003
|
args: [{
|
|
12025
12004
|
selector: '[kendoMultiSelectTreeCheckable]'
|
|
@@ -12223,7 +12202,7 @@ class MultiSelectTreeComponent {
|
|
|
12223
12202
|
this._size = 'medium';
|
|
12224
12203
|
this._rounded = 'medium';
|
|
12225
12204
|
this._fillMode = 'solid';
|
|
12226
|
-
this.
|
|
12205
|
+
this.subscriptions = [];
|
|
12227
12206
|
this.lastAction = 'check';
|
|
12228
12207
|
this.onTouchedCallback = noop;
|
|
12229
12208
|
this.onChangeCallback = noop;
|
|
@@ -12272,7 +12251,13 @@ class MultiSelectTreeComponent {
|
|
|
12272
12251
|
*/
|
|
12273
12252
|
get formControl() {
|
|
12274
12253
|
const ngControl = this.injector.get(NgControl, null);
|
|
12275
|
-
return
|
|
12254
|
+
return ngControl?.control || null;
|
|
12255
|
+
}
|
|
12256
|
+
/**
|
|
12257
|
+
* @hidden
|
|
12258
|
+
*/
|
|
12259
|
+
handleClick() {
|
|
12260
|
+
this.togglePopup(!this.isOpen);
|
|
12276
12261
|
}
|
|
12277
12262
|
/**
|
|
12278
12263
|
* @hidden
|
|
@@ -12614,17 +12599,13 @@ class MultiSelectTreeComponent {
|
|
|
12614
12599
|
ngOnInit() {
|
|
12615
12600
|
this.renderer.removeAttribute(this.wrapper.nativeElement, 'tabindex');
|
|
12616
12601
|
this.renderer.setAttribute(this.wrapper.nativeElement, 'aria-expanded', String(this.isOpen));
|
|
12617
|
-
this.
|
|
12602
|
+
this.subscriptions.push(this.localization
|
|
12618
12603
|
.changes.subscribe(({ rtl }) => {
|
|
12619
12604
|
this.direction = rtl ? 'rtl' : 'ltr';
|
|
12620
12605
|
this.cdr.markForCheck();
|
|
12621
12606
|
}));
|
|
12622
12607
|
this.setComponentClasses();
|
|
12623
12608
|
}
|
|
12624
|
-
ngAfterViewInit() {
|
|
12625
|
-
this.subs.add(this.renderer.listen(this.wrapper.nativeElement, 'click', this.handleClick.bind(this)));
|
|
12626
|
-
this.subs.add(this.renderer.listen(this.wrapper.nativeElement, 'keydown', this.handleKeydown.bind(this)));
|
|
12627
|
-
}
|
|
12628
12609
|
/**
|
|
12629
12610
|
* @hidden
|
|
12630
12611
|
*/
|
|
@@ -12641,14 +12622,18 @@ class MultiSelectTreeComponent {
|
|
|
12641
12622
|
this.setState();
|
|
12642
12623
|
}
|
|
12643
12624
|
if (anyChanged(['valueDepth', 'value', 'dataItems'], changes, false)) {
|
|
12644
|
-
if (changes
|
|
12625
|
+
if (changes['value'] && !changes['dataItems'] && !this.valuePrimitive) {
|
|
12645
12626
|
// Update the dataItems if the value is updated programmatically (non-primitive values only)
|
|
12646
12627
|
// In the primitive case, the client should update the dataItems as well
|
|
12647
12628
|
this.dataItems = this.value;
|
|
12648
12629
|
}
|
|
12649
12630
|
else {
|
|
12650
12631
|
// Re-map the dataItems because `valueDepth` is not yet available when the check directive parses the items
|
|
12651
|
-
this.dataItems = this.dataItems.map((item, index) => (
|
|
12632
|
+
this.dataItems = this.dataItems.map((item, index) => ({
|
|
12633
|
+
...item,
|
|
12634
|
+
key: valueFrom({ dataItem: item.dataItem, index: null, level: this.valueDepth[index] || 0 }, this.valueField) + '_' + (this.isHeterogeneous ? this.valueDepth[index] : 0),
|
|
12635
|
+
level: this.valueDepth[index] || 0
|
|
12636
|
+
}));
|
|
12652
12637
|
}
|
|
12653
12638
|
}
|
|
12654
12639
|
if (anyChanged(['data', 'children', 'hasChildren', 'loadOnDemand', 'valueField'], changes, true) && !this.loadOnDemand) {
|
|
@@ -12675,7 +12660,7 @@ class MultiSelectTreeComponent {
|
|
|
12675
12660
|
* should be rendered inside the input when the component is not focused.
|
|
12676
12661
|
*/
|
|
12677
12662
|
isEmpty() {
|
|
12678
|
-
return !
|
|
12663
|
+
return !this.placeholder && (!isPresent(this.value) || this.value.length === 0);
|
|
12679
12664
|
}
|
|
12680
12665
|
/**
|
|
12681
12666
|
* Focuses the MultiSelectTree.
|
|
@@ -13045,42 +13030,21 @@ class MultiSelectTreeComponent {
|
|
|
13045
13030
|
}
|
|
13046
13031
|
}
|
|
13047
13032
|
}
|
|
13048
|
-
handleClick(e) {
|
|
13049
|
-
// The check is needed otherwise when appended to the component, the popup reopens on click
|
|
13050
|
-
// https://github.com/telerik/kendo-angular/issues/3738
|
|
13051
|
-
if ((this.popupRef && this.popupRef.popupElement.contains(e.target))) {
|
|
13052
|
-
return;
|
|
13053
|
-
}
|
|
13054
|
-
this.togglePopup(!this.isOpen);
|
|
13055
|
-
}
|
|
13056
13033
|
subscribeEvents() {
|
|
13057
|
-
|
|
13058
|
-
|
|
13059
|
-
|
|
13060
|
-
|
|
13061
|
-
|
|
13062
|
-
this.navigationService.
|
|
13063
|
-
|
|
13064
|
-
|
|
13065
|
-
|
|
13066
|
-
|
|
13067
|
-
|
|
13068
|
-
|
|
13069
|
-
|
|
13070
|
-
this.navigationService.
|
|
13071
|
-
this.navigationService.up.subscribe(this.handleUpKey.bind(this)),
|
|
13072
|
-
this.navigationService.down.subscribe(this.handleDownKey.bind(this)),
|
|
13073
|
-
this.navigationService.left
|
|
13074
|
-
.pipe(filter(() => !this.isTreeViewActive))
|
|
13075
|
-
.subscribe(this.direction === 'rtl' ? this.handleRightKey.bind(this) : this.handleLeftKey.bind(this)),
|
|
13076
|
-
this.navigationService.right
|
|
13077
|
-
.pipe(filter(() => !this.isTreeViewActive))
|
|
13078
|
-
.subscribe(this.direction === 'rtl' ? this.handleLeftKey.bind(this) : this.handleRightKey.bind(this)),
|
|
13079
|
-
this.navigationService.home.pipe(filter(() => !this.isOpen)).subscribe(this.handleHome.bind(this)),
|
|
13080
|
-
this.navigationService.end.pipe(filter(() => !this.isOpen)).subscribe(this.handleEnd.bind(this)),
|
|
13081
|
-
this.navigationService.backspace.pipe(filter(() => this.isTagFocused)).subscribe(this.handleBackspace.bind(this)),
|
|
13082
|
-
this.navigationService.delete.pipe(filter(() => this.isTagFocused)).subscribe(this.handleDelete.bind(this))
|
|
13083
|
-
].forEach(sub => this.subs.add(sub));
|
|
13034
|
+
this.subscriptions.push(this.navigationService.open.subscribe((event) => {
|
|
13035
|
+
event.originalEvent.preventDefault();
|
|
13036
|
+
this.togglePopup(true);
|
|
13037
|
+
}), this.navigationService.enter
|
|
13038
|
+
.pipe(tap((event) => event.originalEvent.preventDefault()))
|
|
13039
|
+
.subscribe(() => this.togglePopup(true)), merge(this.navigationService.close, this.navigationService.esc).subscribe((event) => {
|
|
13040
|
+
event.originalEvent.preventDefault();
|
|
13041
|
+
this.focus();
|
|
13042
|
+
this.togglePopup(false);
|
|
13043
|
+
}), this.navigationService.tab.subscribe(this.handleTabKey.bind(this)), this.navigationService.up.subscribe(this.handleUpKey.bind(this)), this.navigationService.down.subscribe(this.handleDownKey.bind(this)), this.navigationService.left
|
|
13044
|
+
.pipe(filter(() => !this.isTreeViewActive))
|
|
13045
|
+
.subscribe(this.direction === 'rtl' ? this.handleRightKey.bind(this) : this.handleLeftKey.bind(this)), this.navigationService.right
|
|
13046
|
+
.pipe(filter(() => !this.isTreeViewActive))
|
|
13047
|
+
.subscribe(this.direction === 'rtl' ? this.handleLeftKey.bind(this) : this.handleRightKey.bind(this)), this.navigationService.home.pipe(filter(() => !this.isOpen)).subscribe(this.handleHome.bind(this)), this.navigationService.end.pipe(filter(() => !this.isOpen)).subscribe(this.handleEnd.bind(this)), this.navigationService.backspace.pipe(filter(() => this.isTagFocused)).subscribe(this.handleBackspace.bind(this)), this.navigationService.delete.pipe(filter(() => this.isTagFocused)).subscribe(this.handleDelete.bind(this)));
|
|
13084
13048
|
}
|
|
13085
13049
|
subscribeFocusEvents() {
|
|
13086
13050
|
if (isDocumentAvailable()) {
|
|
@@ -13211,7 +13175,7 @@ class MultiSelectTreeComponent {
|
|
|
13211
13175
|
}
|
|
13212
13176
|
}
|
|
13213
13177
|
unsubscribeEvents() {
|
|
13214
|
-
this.
|
|
13178
|
+
this.subscriptions.forEach(sub => sub.unsubscribe());
|
|
13215
13179
|
this.unSubscribeFocusEvents();
|
|
13216
13180
|
}
|
|
13217
13181
|
/**
|
|
@@ -13309,8 +13273,8 @@ class MultiSelectTreeComponent {
|
|
|
13309
13273
|
}
|
|
13310
13274
|
}
|
|
13311
13275
|
}
|
|
13312
|
-
MultiSelectTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13313
|
-
MultiSelectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
13276
|
+
MultiSelectTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeComponent, deps: [{ token: i0.Injector }, { token: i0.ElementRef }, { token: i2.PopupService }, { token: i0.Renderer2 }, { token: NavigationService }, { token: i0.NgZone }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: MultiSelectTreeLookupService }, { token: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
13277
|
+
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: [
|
|
13314
13278
|
LocalizationService,
|
|
13315
13279
|
NavigationService,
|
|
13316
13280
|
DataService,
|
|
@@ -13509,7 +13473,7 @@ MultiSelectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
13509
13473
|
</ng-template>
|
|
13510
13474
|
<ng-container #container></ng-container>
|
|
13511
13475
|
`, isInline: true, components: [{ type: TagListComponent, selector: "kendo-taglist", inputs: ["tags", "textField", "valueField", "valueDepth", "focused", "template", "groupTemplate", "disabled", "tagPrefix", "id", "size", "rounded", "fillMode", "disabledIndices"], outputs: ["removeTag"] }, { type: i1$1.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: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i12.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: FilterInputDirective, selector: "[filterInput]", inputs: ["filterInput"] }, { type: i12.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i12.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i9.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: CheckAllDirective, selector: "[checkAll]", inputs: ["lastAction", "treeview", "checkedItems", "valueField", "checkAll"], outputs: ["checkedItemsChange"] }, { type: CheckDirective, selector: "[kendoMultiSelectTreeCheckable]", inputs: ["checkable", "valueField", "checkedItems"], outputs: ["checkedItemsChange"] }] });
|
|
13512
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13476
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeComponent, decorators: [{
|
|
13513
13477
|
type: Component,
|
|
13514
13478
|
args: [{
|
|
13515
13479
|
exportAs: 'kendoMultiSelectTree',
|
|
@@ -13774,6 +13738,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
13774
13738
|
}], ariaActiveDescendant: [{
|
|
13775
13739
|
type: HostBinding,
|
|
13776
13740
|
args: ['attr.aria-activedescendant']
|
|
13741
|
+
}], handleClick: [{
|
|
13742
|
+
type: HostListener,
|
|
13743
|
+
args: ['click']
|
|
13744
|
+
}], handleKeydown: [{
|
|
13745
|
+
type: HostListener,
|
|
13746
|
+
args: ['keydown', ['$event']]
|
|
13777
13747
|
}], headerTemplate: [{
|
|
13778
13748
|
type: ContentChild,
|
|
13779
13749
|
args: [HeaderTemplateDirective, { static: false }]
|
|
@@ -13907,15 +13877,15 @@ class DropDownTreeFlatBindingDirective extends FlatDataBindingDirective {
|
|
|
13907
13877
|
}
|
|
13908
13878
|
ngOnChanges(changes) {
|
|
13909
13879
|
if (isChanged('nodes', changes, false)) {
|
|
13910
|
-
this.dropDownTree.nodes = changes
|
|
13911
|
-
super.nodes = changes
|
|
13880
|
+
this.dropDownTree.nodes = changes['nodes'].currentValue;
|
|
13881
|
+
super.nodes = changes['nodes'].currentValue;
|
|
13912
13882
|
}
|
|
13913
13883
|
super.ngOnChanges(changes);
|
|
13914
13884
|
}
|
|
13915
13885
|
}
|
|
13916
|
-
DropDownTreeFlatBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13917
|
-
DropDownTreeFlatBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
13918
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13886
|
+
DropDownTreeFlatBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreeFlatBindingDirective, deps: [{ token: i1$1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
13887
|
+
DropDownTreeFlatBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DropDownTreeFlatBindingDirective, selector: "[kendoDropDownTreeFlatBinding]", inputs: { nodes: ["kendoDropDownTreeFlatBinding", "nodes"], idField: ["valueField", "idField"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
13888
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreeFlatBindingDirective, decorators: [{
|
|
13919
13889
|
type: Directive,
|
|
13920
13890
|
args: [{
|
|
13921
13891
|
selector: '[kendoDropDownTreeFlatBinding]'
|
|
@@ -13965,15 +13935,15 @@ class DropDownTreeHierarchyBindingDirective extends HierarchyBindingDirective {
|
|
|
13965
13935
|
}
|
|
13966
13936
|
ngOnChanges(changes) {
|
|
13967
13937
|
if (isChanged('nodes', changes, false)) {
|
|
13968
|
-
this.dropDownTree.nodes = changes
|
|
13969
|
-
super.nodes = changes
|
|
13938
|
+
this.dropDownTree.nodes = changes['nodes'].currentValue;
|
|
13939
|
+
super.nodes = changes['nodes'].currentValue;
|
|
13970
13940
|
}
|
|
13971
13941
|
super.ngOnChanges(changes);
|
|
13972
13942
|
}
|
|
13973
13943
|
}
|
|
13974
|
-
DropDownTreeHierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13975
|
-
DropDownTreeHierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
13976
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13944
|
+
DropDownTreeHierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreeHierarchyBindingDirective, deps: [{ token: i1$1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
13945
|
+
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 });
|
|
13946
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreeHierarchyBindingDirective, decorators: [{
|
|
13977
13947
|
type: Directive,
|
|
13978
13948
|
args: [{
|
|
13979
13949
|
selector: '[kendoDropDownTreeHierarchyBinding]'
|
|
@@ -13999,15 +13969,15 @@ class MultiSelectTreeFlatBindingDirective extends FlatDataBindingDirective {
|
|
|
13999
13969
|
}
|
|
14000
13970
|
ngOnChanges(changes) {
|
|
14001
13971
|
if (isChanged('nodes', changes, false)) {
|
|
14002
|
-
this.multiSelectTree.nodes = changes
|
|
14003
|
-
super.nodes = changes
|
|
13972
|
+
this.multiSelectTree.nodes = changes['nodes'].currentValue;
|
|
13973
|
+
super.nodes = changes['nodes'].currentValue;
|
|
14004
13974
|
}
|
|
14005
13975
|
super.ngOnChanges(changes);
|
|
14006
13976
|
}
|
|
14007
13977
|
}
|
|
14008
|
-
MultiSelectTreeFlatBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14009
|
-
MultiSelectTreeFlatBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
14010
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13978
|
+
MultiSelectTreeFlatBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeFlatBindingDirective, deps: [{ token: i1$1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
13979
|
+
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 });
|
|
13980
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeFlatBindingDirective, decorators: [{
|
|
14011
13981
|
type: Directive,
|
|
14012
13982
|
args: [{
|
|
14013
13983
|
selector: '[kendoMultiSelectTreeFlatBinding]'
|
|
@@ -14036,15 +14006,15 @@ class MultiSelectTreeHierarchyBindingDirective extends HierarchyBindingDirective
|
|
|
14036
14006
|
}
|
|
14037
14007
|
ngOnChanges(changes) {
|
|
14038
14008
|
if (isChanged('nodes', changes, false)) {
|
|
14039
|
-
this.multiSelectTree.nodes = changes
|
|
14040
|
-
super.nodes = changes
|
|
14009
|
+
this.multiSelectTree.nodes = changes['nodes'].currentValue;
|
|
14010
|
+
super.nodes = changes['nodes'].currentValue;
|
|
14041
14011
|
}
|
|
14042
14012
|
super.ngOnChanges(changes);
|
|
14043
14013
|
}
|
|
14044
14014
|
}
|
|
14045
|
-
MultiSelectTreeHierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14046
|
-
MultiSelectTreeHierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
14047
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14015
|
+
MultiSelectTreeHierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeHierarchyBindingDirective, deps: [{ token: i1$1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14016
|
+
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 });
|
|
14017
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeHierarchyBindingDirective, decorators: [{
|
|
14048
14018
|
type: Directive,
|
|
14049
14019
|
args: [{
|
|
14050
14020
|
selector: '[kendoMultiSelectTreeHierarchyBinding]'
|
|
@@ -14073,9 +14043,9 @@ class DropDownTreesExpandDirective extends ExpandDirective {
|
|
|
14073
14043
|
}
|
|
14074
14044
|
;
|
|
14075
14045
|
}
|
|
14076
|
-
DropDownTreesExpandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14077
|
-
DropDownTreesExpandDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
14078
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14046
|
+
DropDownTreesExpandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreesExpandDirective, deps: [{ token: i1$1.ExpandableComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14047
|
+
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 });
|
|
14048
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreesExpandDirective, decorators: [{
|
|
14079
14049
|
type: Directive,
|
|
14080
14050
|
args: [{
|
|
14081
14051
|
selector: '[kendoDropDownTreeExpandable], [kendoMultiSelectTreeExpandable]'
|
|
@@ -14098,14 +14068,14 @@ class CustomMessagesComponent extends Messages {
|
|
|
14098
14068
|
return true;
|
|
14099
14069
|
}
|
|
14100
14070
|
}
|
|
14101
|
-
CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14102
|
-
CustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
14071
|
+
CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14072
|
+
CustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: CustomMessagesComponent, selector: "kendo-dropdownlist-messages,kendo-combobox-messages,kendo-multicolumncombobox-messages,kendo-autocomplete-messages,kendo-multiselect-messages,kendo-dropdowntree-messages,kendo-multiselecttree-messages", providers: [
|
|
14103
14073
|
{
|
|
14104
14074
|
provide: Messages,
|
|
14105
14075
|
useExisting: forwardRef(() => CustomMessagesComponent)
|
|
14106
14076
|
}
|
|
14107
14077
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
14108
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14078
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CustomMessagesComponent, decorators: [{
|
|
14109
14079
|
type: Component,
|
|
14110
14080
|
args: [{
|
|
14111
14081
|
providers: [
|
|
@@ -14221,9 +14191,9 @@ class FilterDirective {
|
|
|
14221
14191
|
return Object.assign({}, DEFAULT_FILTER_SETTINGS, settings, { fields: this.getFilterFields(providedFields) });
|
|
14222
14192
|
}
|
|
14223
14193
|
}
|
|
14224
|
-
FilterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14225
|
-
FilterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
14226
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14194
|
+
FilterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterDirective, deps: [{ token: FilterableComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14195
|
+
FilterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: FilterDirective, selector: "[kendoDropDownFilter]", inputs: { data: "data", rawSettings: ["kendoDropDownFilter", "rawSettings"], filterable: "filterable" }, ngImport: i0 });
|
|
14196
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterDirective, decorators: [{
|
|
14227
14197
|
type: Directive,
|
|
14228
14198
|
args: [{
|
|
14229
14199
|
selector: '[kendoDropDownFilter]'
|
|
@@ -14268,8 +14238,8 @@ const SHARED_DIRECTIVES = [
|
|
|
14268
14238
|
*/
|
|
14269
14239
|
class SharedDirectivesModule {
|
|
14270
14240
|
}
|
|
14271
|
-
SharedDirectivesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14272
|
-
SharedDirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
14241
|
+
SharedDirectivesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedDirectivesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14242
|
+
SharedDirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedDirectivesModule, declarations: [HeaderTemplateDirective,
|
|
14273
14243
|
FooterTemplateDirective,
|
|
14274
14244
|
ItemTemplateDirective,
|
|
14275
14245
|
GroupTemplateDirective,
|
|
@@ -14294,8 +14264,8 @@ SharedDirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0",
|
|
|
14294
14264
|
CustomMessagesComponent,
|
|
14295
14265
|
FilterDirective,
|
|
14296
14266
|
FilterInputDirective] });
|
|
14297
|
-
SharedDirectivesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
14298
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14267
|
+
SharedDirectivesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedDirectivesModule });
|
|
14268
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedDirectivesModule, decorators: [{
|
|
14299
14269
|
type: NgModule,
|
|
14300
14270
|
args: [{
|
|
14301
14271
|
declarations: [SHARED_DIRECTIVES],
|
|
@@ -14318,8 +14288,8 @@ const INTERNAL_DIRECTIVES = [
|
|
|
14318
14288
|
*/
|
|
14319
14289
|
class SharedModule {
|
|
14320
14290
|
}
|
|
14321
|
-
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14322
|
-
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
14291
|
+
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14292
|
+
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, declarations: [ListComponent,
|
|
14323
14293
|
ListItemDirective,
|
|
14324
14294
|
SelectableDirective,
|
|
14325
14295
|
SearchBarComponent,
|
|
@@ -14334,8 +14304,8 @@ SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
|
14334
14304
|
TagListComponent,
|
|
14335
14305
|
CheckDirective,
|
|
14336
14306
|
CheckAllDirective, CommonModule, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule] });
|
|
14337
|
-
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
14338
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14307
|
+
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, imports: [[CommonModule, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule], CommonModule, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule] });
|
|
14308
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, decorators: [{
|
|
14339
14309
|
type: NgModule,
|
|
14340
14310
|
args: [{
|
|
14341
14311
|
declarations: [INTERNAL_DIRECTIVES],
|
|
@@ -14387,9 +14357,9 @@ class MultiSelectTreeSummaryTagDirective {
|
|
|
14387
14357
|
};
|
|
14388
14358
|
}
|
|
14389
14359
|
}
|
|
14390
|
-
MultiSelectTreeSummaryTagDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14391
|
-
MultiSelectTreeSummaryTagDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
14392
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14360
|
+
MultiSelectTreeSummaryTagDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeSummaryTagDirective, deps: [{ token: MultiSelectTreeComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14361
|
+
MultiSelectTreeSummaryTagDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: MultiSelectTreeSummaryTagDirective, selector: "[kendoMultiSelectTreeSummaryTag]", inputs: { showAfter: ["kendoMultiSelectTreeSummaryTag", "showAfter"] }, usesOnChanges: true, ngImport: i0 });
|
|
14362
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeSummaryTagDirective, decorators: [{
|
|
14393
14363
|
type: Directive,
|
|
14394
14364
|
args: [{
|
|
14395
14365
|
selector: '[kendoMultiSelectTreeSummaryTag]'
|
|
@@ -14415,8 +14385,8 @@ const DROPDOWNTREE_DIRECTIVES = [
|
|
|
14415
14385
|
*/
|
|
14416
14386
|
class DropDownTreesModule {
|
|
14417
14387
|
}
|
|
14418
|
-
DropDownTreesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14419
|
-
DropDownTreesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
14388
|
+
DropDownTreesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14389
|
+
DropDownTreesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreesModule, declarations: [DropDownTreeComponent,
|
|
14420
14390
|
MultiSelectTreeComponent,
|
|
14421
14391
|
DropDownTreeFlatBindingDirective,
|
|
14422
14392
|
DropDownTreeHierarchyBindingDirective,
|
|
@@ -14433,8 +14403,8 @@ DropDownTreesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", ver
|
|
|
14433
14403
|
DropDownTreesExpandDirective,
|
|
14434
14404
|
NodeTemplateDirective,
|
|
14435
14405
|
MultiSelectTreeSummaryTagDirective, SharedDirectivesModule] });
|
|
14436
|
-
DropDownTreesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
14437
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14406
|
+
DropDownTreesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreesModule, imports: [[SharedModule, TreeViewModule], SharedDirectivesModule] });
|
|
14407
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreesModule, decorators: [{
|
|
14438
14408
|
type: NgModule,
|
|
14439
14409
|
args: [{
|
|
14440
14410
|
declarations: [DROPDOWNTREE_DIRECTIVES],
|
|
@@ -14477,8 +14447,7 @@ class SummaryTagDirective {
|
|
|
14477
14447
|
const showAfter = parseNumber(this.showAfter);
|
|
14478
14448
|
this.multiSelectComponent.tagMapper = (tags) => {
|
|
14479
14449
|
if (tags.length > showAfter) {
|
|
14480
|
-
|
|
14481
|
-
result = tags.slice(0, showAfter);
|
|
14450
|
+
const result = tags.slice(0, showAfter);
|
|
14482
14451
|
result.push(tags.slice(showAfter, tags.length));
|
|
14483
14452
|
return result;
|
|
14484
14453
|
}
|
|
@@ -14488,9 +14457,9 @@ class SummaryTagDirective {
|
|
|
14488
14457
|
};
|
|
14489
14458
|
}
|
|
14490
14459
|
}
|
|
14491
|
-
SummaryTagDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14492
|
-
SummaryTagDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
14493
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14460
|
+
SummaryTagDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SummaryTagDirective, deps: [{ token: MultiSelectComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14461
|
+
SummaryTagDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: SummaryTagDirective, selector: "[kendoMultiSelectSummaryTag]", inputs: { showAfter: ["kendoMultiSelectSummaryTag", "showAfter"] }, usesOnChanges: true, ngImport: i0 });
|
|
14462
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SummaryTagDirective, decorators: [{
|
|
14494
14463
|
type: Directive,
|
|
14495
14464
|
args: [{
|
|
14496
14465
|
selector: '[kendoMultiSelectSummaryTag]'
|
|
@@ -14516,10 +14485,10 @@ const AUTOCOMPLETE_DIRECTIVES = [
|
|
|
14516
14485
|
*/
|
|
14517
14486
|
class AutoCompleteModule {
|
|
14518
14487
|
}
|
|
14519
|
-
AutoCompleteModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14520
|
-
AutoCompleteModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
14521
|
-
AutoCompleteModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
14522
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14488
|
+
AutoCompleteModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AutoCompleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14489
|
+
AutoCompleteModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AutoCompleteModule, declarations: [AutoCompleteComponent], imports: [SharedModule], exports: [AutoCompleteComponent, SharedDirectivesModule] });
|
|
14490
|
+
AutoCompleteModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AutoCompleteModule, imports: [[SharedModule], SharedDirectivesModule] });
|
|
14491
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AutoCompleteModule, decorators: [{
|
|
14523
14492
|
type: NgModule,
|
|
14524
14493
|
args: [{
|
|
14525
14494
|
declarations: [AUTOCOMPLETE_DIRECTIVES],
|
|
@@ -14551,8 +14520,8 @@ const COMBOBOX_DIRECTIVES = [
|
|
|
14551
14520
|
*/
|
|
14552
14521
|
class ComboBoxModule {
|
|
14553
14522
|
}
|
|
14554
|
-
ComboBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14555
|
-
ComboBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
14523
|
+
ComboBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14524
|
+
ComboBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboBoxModule, declarations: [ComboBoxComponent,
|
|
14556
14525
|
MultiColumnComboBoxComponent,
|
|
14557
14526
|
ComboBoxColumnComponent,
|
|
14558
14527
|
ColumnHeaderTemplateDirective,
|
|
@@ -14561,8 +14530,8 @@ ComboBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
14561
14530
|
ComboBoxColumnComponent,
|
|
14562
14531
|
ColumnHeaderTemplateDirective,
|
|
14563
14532
|
ColumnCellTemplateDirective, SharedDirectivesModule] });
|
|
14564
|
-
ComboBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
14565
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14533
|
+
ComboBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboBoxModule, providers: [{ provide: TOUCH_ENABLED, useValue: touchEnabled }], imports: [[SharedModule], SharedDirectivesModule] });
|
|
14534
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboBoxModule, decorators: [{
|
|
14566
14535
|
type: NgModule,
|
|
14567
14536
|
args: [{
|
|
14568
14537
|
declarations: [COMBOBOX_DIRECTIVES],
|
|
@@ -14589,10 +14558,10 @@ const DROPDOWNLIST_DIRECTIVES = [
|
|
|
14589
14558
|
*/
|
|
14590
14559
|
class DropDownListModule {
|
|
14591
14560
|
}
|
|
14592
|
-
DropDownListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14593
|
-
DropDownListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
14594
|
-
DropDownListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
14595
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14561
|
+
DropDownListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14562
|
+
DropDownListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownListModule, declarations: [DropDownListComponent], imports: [SharedModule], exports: [DropDownListComponent, SharedDirectivesModule] });
|
|
14563
|
+
DropDownListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownListModule, imports: [[SharedModule], SharedDirectivesModule] });
|
|
14564
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownListModule, decorators: [{
|
|
14596
14565
|
type: NgModule,
|
|
14597
14566
|
args: [{
|
|
14598
14567
|
declarations: [DROPDOWNLIST_DIRECTIVES],
|
|
@@ -14624,14 +14593,14 @@ const MULTISELECT_DIRECTIVES = [
|
|
|
14624
14593
|
*/
|
|
14625
14594
|
class MultiSelectModule {
|
|
14626
14595
|
}
|
|
14627
|
-
MultiSelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14628
|
-
MultiSelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
14596
|
+
MultiSelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14597
|
+
MultiSelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectModule, declarations: [MultiSelectComponent,
|
|
14629
14598
|
SummaryTagDirective,
|
|
14630
14599
|
CustomItemTemplateDirective], imports: [SharedModule], exports: [MultiSelectComponent,
|
|
14631
14600
|
SummaryTagDirective,
|
|
14632
14601
|
CustomItemTemplateDirective, SharedDirectivesModule] });
|
|
14633
|
-
MultiSelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
14634
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14602
|
+
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] });
|
|
14603
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectModule, decorators: [{
|
|
14635
14604
|
type: NgModule,
|
|
14636
14605
|
args: [{
|
|
14637
14606
|
declarations: [MULTISELECT_DIRECTIVES],
|
|
@@ -14674,10 +14643,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
14674
14643
|
*/
|
|
14675
14644
|
class DropDownsModule {
|
|
14676
14645
|
}
|
|
14677
|
-
DropDownsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14678
|
-
DropDownsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
14679
|
-
DropDownsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
14680
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14646
|
+
DropDownsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14647
|
+
DropDownsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownsModule, exports: [AutoCompleteModule, ComboBoxModule, DropDownListModule, MultiSelectModule, DropDownTreesModule] });
|
|
14648
|
+
DropDownsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownsModule, imports: [AutoCompleteModule, ComboBoxModule, DropDownListModule, MultiSelectModule, DropDownTreesModule] });
|
|
14649
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownsModule, decorators: [{
|
|
14681
14650
|
type: NgModule,
|
|
14682
14651
|
args: [{
|
|
14683
14652
|
exports: [AutoCompleteModule, ComboBoxModule, DropDownListModule, MultiSelectModule, DropDownTreesModule]
|