@progress/kendo-angular-dropdowns 25.0.0-develop.8 → 25.0.0
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 +33 -34
- package/codemods/libs/common/src/codemods/utils.js +15 -0
- package/codemods/libs/dropdowns/codemods/v25/dropdowns-rendering-changes.js +41 -0
- package/codemods/libs/dropdowns/codemods/v25/multiselect-summaryTag.js +34 -0
- package/fesm2022/progress-kendo-angular-dropdowns.mjs +550 -293
- package/index.d.ts +78 -50
- package/package-metadata.mjs +2 -2
- package/package.json +22 -10
- package/schematics/ngAdd/index.js +2 -2
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
6
|
import { EventEmitter, Output, HostBinding, Input, Component, Directive, Injectable, HostListener, afterNextRender, ViewChild, ViewChildren, forwardRef, isDevMode, ViewContainerRef, ContentChild, ContentChildren, signal, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
7
7
|
import * as i10 from '@progress/kendo-angular-common';
|
|
8
|
-
import { isDocumentAvailable, isObjectPresent, removeHTMLAttributes, parseAttributes, isSafari, normalizeKeys, Keys, setHTMLAttributes, replaceMessagePlaceholder, isChanged, TemplateContextDirective, ResizeSensorComponent, closest as closest$1, hasFocusableParent, parseCSSClassNames, isControlRequired, guid, hasObservers, SeparatorComponent, SuffixTemplateDirective, PrefixTemplateDirective, KendoInput, KENDO_WEBMCP_HOST, MultiTabStop, anyChanged, EventsOutsideAngularDirective, scrollbarWidth, ToggleButtonTabStopDirective, ResizeBatchService, KENDO_ADORNMENTS, KENDO_TOGGLEBUTTONTABSTOP } from '@progress/kendo-angular-common';
|
|
8
|
+
import { isDocumentAvailable, isObjectPresent, removeHTMLAttributes, parseAttributes, isSafari, normalizeKeys, Keys, setHTMLAttributes, replaceMessagePlaceholder, isChanged, TemplateContextDirective, ResizeSensorComponent, closest as closest$1, hasFocusableParent, parseCSSClassNames, isControlRequired, guid, hasObservers, SeparatorComponent, SuffixTemplateDirective, PrefixTemplateDirective, KendoInput, KENDO_WEBMCP_HOST, provideComponentName, MultiTabStop, anyChanged, EventsOutsideAngularDirective, scrollbarWidth, ToggleButtonTabStopDirective, ResizeBatchService, KENDO_ADORNMENTS, KENDO_TOGGLEBUTTONTABSTOP } from '@progress/kendo-angular-common';
|
|
9
9
|
export { PrefixTemplateDirective, SeparatorComponent, SuffixTemplateDirective, ToggleButtonTabStopDirective } from '@progress/kendo-angular-common';
|
|
10
10
|
import * as i7 from '@progress/kendo-angular-utils';
|
|
11
11
|
import { AdaptiveService } from '@progress/kendo-angular-utils';
|
|
@@ -20,10 +20,10 @@ import { map, switchMap, take, auditTime, tap, filter, partition, throttleTime,
|
|
|
20
20
|
import * as i2 from '@progress/kendo-angular-popup';
|
|
21
21
|
import { PopupService } from '@progress/kendo-angular-popup';
|
|
22
22
|
import { NgStyle, NgClass, NgTemplateOutlet } from '@angular/common';
|
|
23
|
+
import { CheckBoxComponent, TextBoxComponent, TextBoxPrefixTemplateDirective } from '@progress/kendo-angular-inputs';
|
|
23
24
|
import { checkIcon, searchIcon, xIcon, chevronDownIcon, xCircleIcon } from '@progress/kendo-svg-icons';
|
|
24
25
|
import { IconWrapperComponent, IconsService } from '@progress/kendo-angular-icons';
|
|
25
26
|
import { ActionSheetComponent, ActionSheetTemplateDirective } from '@progress/kendo-angular-navigation';
|
|
26
|
-
import { TextBoxComponent, TextBoxPrefixTemplateDirective } from '@progress/kendo-angular-inputs';
|
|
27
27
|
import { ButtonComponent } from '@progress/kendo-angular-buttons';
|
|
28
28
|
import * as i1$1 from '@progress/kendo-angular-treeview';
|
|
29
29
|
import { TreeViewComponent, SelectDirective, DataBoundComponent, ExpandableComponent, FlatDataBindingDirective, HierarchyBindingDirective, ExpandDirective } from '@progress/kendo-angular-treeview';
|
|
@@ -37,8 +37,8 @@ const packageMetadata = {
|
|
|
37
37
|
productName: 'Kendo UI for Angular',
|
|
38
38
|
productCode: 'KENDOUIANGULAR',
|
|
39
39
|
productCodes: ['KENDOUIANGULAR'],
|
|
40
|
-
publishDate:
|
|
41
|
-
version: '25.0.0
|
|
40
|
+
publishDate: 1786525923,
|
|
41
|
+
version: '25.0.0',
|
|
42
42
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
43
43
|
};
|
|
44
44
|
|
|
@@ -618,7 +618,7 @@ class SearchBarComponent {
|
|
|
618
618
|
this.setInputSelection(this.userInput.length, this.suggestedText.length);
|
|
619
619
|
}
|
|
620
620
|
else if (isSafari(navigator.userAgent) && !caretAtEnd) {
|
|
621
|
-
this.setInputSelection(caretStart,
|
|
621
|
+
this.setInputSelection(caretStart, caretStart);
|
|
622
622
|
}
|
|
623
623
|
else if (caretAtEnd) {
|
|
624
624
|
this.setInputSelection(this.userInput.length, this.userInput.length);
|
|
@@ -715,10 +715,10 @@ class SearchBarComponent {
|
|
|
715
715
|
const attributesToRender = Object.assign({}, this.mutableAttributes, this.parsedAttributes);
|
|
716
716
|
setHTMLAttributes(attributesToRender, this.renderer, this.input.nativeElement, this.injector);
|
|
717
717
|
}
|
|
718
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
719
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
718
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SearchBarComponent, deps: [{ token: i1.LocalizationService }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
719
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", type: SearchBarComponent, isStandalone: true, selector: "input[kendoSearchbar]", inputs: { tagListId: "tagListId", readonly: "readonly", disabled: "disabled", isRequired: "isRequired", isSuggestable: "isSuggestable", hasListAutocomplete: "hasListAutocomplete", userInput: "userInput", suggestedText: "suggestedText", inputAttributes: "inputAttributes", id: "id", activeDescendant: "activeDescendant", tabIndex: "tabIndex", isLoading: "isLoading", ariaControls: "ariaControls", ariaExpanded: "ariaExpanded", placeholder: "placeholder" }, outputs: { valueChange: "valueChange", onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", onNavigate: "onNavigate" }, host: { properties: { "attr.id": "this.id", "attr.aria-activedescendant": "this.activeDescendant", "attr.tabindex": "this.tabIndex", "attr.aria-busy": "this.isLoading", "attr.aria-controls": "this.ariaControls", "attr.aria-expanded": "this.ariaExpanded", "attr.aria-invalid": "this.attrAriaInvalid", "attr.placeholder": "this.placeholder", "attr.role": "this.role", "attr.dir": "this.dir" } }, usesOnChanges: true, ngImport: i0, template: ``, isInline: true });
|
|
720
720
|
}
|
|
721
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
721
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SearchBarComponent, decorators: [{
|
|
722
722
|
type: Component,
|
|
723
723
|
args: [{
|
|
724
724
|
selector: 'input[kendoSearchbar]',
|
|
@@ -831,10 +831,10 @@ class ItemTemplateDirective {
|
|
|
831
831
|
constructor(templateRef) {
|
|
832
832
|
this.templateRef = templateRef;
|
|
833
833
|
}
|
|
834
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
835
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
834
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
835
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: ItemTemplateDirective, isStandalone: true, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]", ngImport: i0 });
|
|
836
836
|
}
|
|
837
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
837
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ItemTemplateDirective, decorators: [{
|
|
838
838
|
type: Directive,
|
|
839
839
|
args: [{
|
|
840
840
|
selector: '[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]',
|
|
@@ -875,10 +875,10 @@ class HeaderTemplateDirective {
|
|
|
875
875
|
constructor(templateRef) {
|
|
876
876
|
this.templateRef = templateRef;
|
|
877
877
|
}
|
|
878
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
879
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
878
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: HeaderTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
879
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: HeaderTemplateDirective, isStandalone: true, selector: "[kendoDropDownListHeaderTemplate],[kendoComboBoxHeaderTemplate],[kendoDropDownTreeHeaderTemplate],[kendoMultiColumnComboBoxHeaderTemplate],[kendoAutoCompleteHeaderTemplate],[kendoMultiSelectHeaderTemplate],[kendoMultiSelectTreeHeaderTemplate]", ngImport: i0 });
|
|
880
880
|
}
|
|
881
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
881
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: HeaderTemplateDirective, decorators: [{
|
|
882
882
|
type: Directive,
|
|
883
883
|
args: [{
|
|
884
884
|
selector: '[kendoDropDownListHeaderTemplate],[kendoComboBoxHeaderTemplate],[kendoDropDownTreeHeaderTemplate],[kendoMultiColumnComboBoxHeaderTemplate],[kendoAutoCompleteHeaderTemplate],[kendoMultiSelectHeaderTemplate],[kendoMultiSelectTreeHeaderTemplate]',
|
|
@@ -919,10 +919,10 @@ class FooterTemplateDirective {
|
|
|
919
919
|
constructor(templateRef) {
|
|
920
920
|
this.templateRef = templateRef;
|
|
921
921
|
}
|
|
922
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
923
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
922
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: FooterTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
923
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: FooterTemplateDirective, isStandalone: true, selector: "[kendoDropDownListFooterTemplate],[kendoComboBoxFooterTemplate],[kendoDropDownTreeFooterTemplate],[kendoMultiColumnComboBoxFooterTemplate],[kendoAutoCompleteFooterTemplate],[kendoMultiSelectFooterTemplate],[kendoMultiSelectTreeFooterTemplate]", ngImport: i0 });
|
|
924
924
|
}
|
|
925
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
925
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: FooterTemplateDirective, decorators: [{
|
|
926
926
|
type: Directive,
|
|
927
927
|
args: [{
|
|
928
928
|
selector: '[kendoDropDownListFooterTemplate],[kendoComboBoxFooterTemplate],[kendoDropDownTreeFooterTemplate],[kendoMultiColumnComboBoxFooterTemplate],[kendoAutoCompleteFooterTemplate],[kendoMultiSelectFooterTemplate],[kendoMultiSelectTreeFooterTemplate]',
|
|
@@ -969,10 +969,10 @@ class GroupTemplateDirective {
|
|
|
969
969
|
constructor(templateRef) {
|
|
970
970
|
this.templateRef = templateRef;
|
|
971
971
|
}
|
|
972
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
973
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
972
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: GroupTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
973
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: GroupTemplateDirective, isStandalone: true, selector: "[kendoDropDownListGroupTemplate],[kendoComboBoxGroupTemplate],[kendoMultiColumnComboBoxGroupTemplate],[kendoAutoCompleteGroupTemplate],[kendoMultiSelectGroupTemplate]", ngImport: i0 });
|
|
974
974
|
}
|
|
975
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
975
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: GroupTemplateDirective, decorators: [{
|
|
976
976
|
type: Directive,
|
|
977
977
|
args: [{
|
|
978
978
|
selector: '[kendoDropDownListGroupTemplate],[kendoComboBoxGroupTemplate],[kendoMultiColumnComboBoxGroupTemplate],[kendoAutoCompleteGroupTemplate],[kendoMultiSelectGroupTemplate]',
|
|
@@ -1019,10 +1019,10 @@ class FixedGroupTemplateDirective {
|
|
|
1019
1019
|
constructor(templateRef) {
|
|
1020
1020
|
this.templateRef = templateRef;
|
|
1021
1021
|
}
|
|
1022
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1023
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
1022
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: FixedGroupTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1023
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: FixedGroupTemplateDirective, isStandalone: true, selector: "[kendoDropDownListFixedGroupTemplate],[kendoComboBoxFixedGroupTemplate],[kendoMultiColumnComboBoxFixedGroupTemplate],[kendoAutoCompleteFixedGroupTemplate],[kendoMultiSelectFixedGroupTemplate]", ngImport: i0 });
|
|
1024
1024
|
}
|
|
1025
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1025
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: FixedGroupTemplateDirective, decorators: [{
|
|
1026
1026
|
type: Directive,
|
|
1027
1027
|
args: [{
|
|
1028
1028
|
selector: '[kendoDropDownListFixedGroupTemplate],[kendoComboBoxFixedGroupTemplate],[kendoMultiColumnComboBoxFixedGroupTemplate],[kendoAutoCompleteFixedGroupTemplate],[kendoMultiSelectFixedGroupTemplate]',
|
|
@@ -1265,10 +1265,10 @@ class DataService {
|
|
|
1265
1265
|
}
|
|
1266
1266
|
return flat;
|
|
1267
1267
|
}
|
|
1268
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1269
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1268
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1269
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DataService });
|
|
1270
1270
|
}
|
|
1271
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1271
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DataService, decorators: [{
|
|
1272
1272
|
type: Injectable
|
|
1273
1273
|
}] });
|
|
1274
1274
|
|
|
@@ -1304,10 +1304,10 @@ class DisabledItemsService {
|
|
|
1304
1304
|
}
|
|
1305
1305
|
}
|
|
1306
1306
|
}
|
|
1307
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1308
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1307
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DisabledItemsService, deps: [{ token: DataService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1308
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DisabledItemsService });
|
|
1309
1309
|
}
|
|
1310
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1310
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DisabledItemsService, decorators: [{
|
|
1311
1311
|
type: Injectable
|
|
1312
1312
|
}], ctorParameters: () => [{ type: DataService }] });
|
|
1313
1313
|
|
|
@@ -1462,10 +1462,10 @@ class SelectionService {
|
|
|
1462
1462
|
}
|
|
1463
1463
|
this.unselectMultiple(indicesToBeUnselected);
|
|
1464
1464
|
}
|
|
1465
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1466
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1465
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SelectionService, deps: [{ token: DisabledItemsService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1466
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SelectionService });
|
|
1467
1467
|
}
|
|
1468
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1468
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SelectionService, decorators: [{
|
|
1469
1469
|
type: Injectable
|
|
1470
1470
|
}], ctorParameters: () => [{ type: DisabledItemsService }] });
|
|
1471
1471
|
|
|
@@ -1666,10 +1666,10 @@ class NavigationService {
|
|
|
1666
1666
|
return this.disabledItemsService.isIndexDisabled(index);
|
|
1667
1667
|
}
|
|
1668
1668
|
}
|
|
1669
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1670
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1669
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: NavigationService, deps: [{ token: DisabledItemsService }, { token: SelectionService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1670
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: NavigationService });
|
|
1671
1671
|
}
|
|
1672
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1672
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: NavigationService, decorators: [{
|
|
1673
1673
|
type: Injectable
|
|
1674
1674
|
}], ctorParameters: () => [{ type: DisabledItemsService }, { type: SelectionService }] });
|
|
1675
1675
|
|
|
@@ -1706,10 +1706,10 @@ class NoDataTemplateDirective {
|
|
|
1706
1706
|
constructor(templateRef) {
|
|
1707
1707
|
this.templateRef = templateRef;
|
|
1708
1708
|
}
|
|
1709
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1710
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
1709
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: NoDataTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1710
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: NoDataTemplateDirective, isStandalone: true, selector: "[kendoDropDownListNoDataTemplate],[kendoDropDownTreeNoDataTemplate],[kendoComboBoxNoDataTemplate],[kendoMultiColumnComboBoxNoDataTemplate],[kendoAutoCompleteNoDataTemplate],[kendoMultiSelectNoDataTemplate],[kendoMultiSelectTreeNoDataTemplate]", ngImport: i0 });
|
|
1711
1711
|
}
|
|
1712
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1712
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: NoDataTemplateDirective, decorators: [{
|
|
1713
1713
|
type: Directive,
|
|
1714
1714
|
args: [{
|
|
1715
1715
|
selector: '[kendoDropDownListNoDataTemplate],[kendoDropDownTreeNoDataTemplate],[kendoComboBoxNoDataTemplate],[kendoMultiColumnComboBoxNoDataTemplate],[kendoAutoCompleteNoDataTemplate],[kendoMultiSelectNoDataTemplate],[kendoMultiSelectTreeNoDataTemplate]',
|
|
@@ -1778,10 +1778,10 @@ class ListItemDirective {
|
|
|
1778
1778
|
constructor(element) {
|
|
1779
1779
|
this.element = element;
|
|
1780
1780
|
}
|
|
1781
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1782
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
1781
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ListItemDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1782
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: ListItemDirective, isStandalone: true, selector: "\"li[role=option], li[role=group], li[role=presentation]\"", ngImport: i0 });
|
|
1783
1783
|
}
|
|
1784
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1784
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ListItemDirective, decorators: [{
|
|
1785
1785
|
type: Directive,
|
|
1786
1786
|
args: [{
|
|
1787
1787
|
selector: '"li[role=option], li[role=group], li[role=presentation]"',
|
|
@@ -1814,6 +1814,9 @@ class SelectableDirective {
|
|
|
1814
1814
|
if (this.checkboxes.enabled && !this.checkboxes.checkOnClick) {
|
|
1815
1815
|
return;
|
|
1816
1816
|
}
|
|
1817
|
+
if (this.index === -2) {
|
|
1818
|
+
return;
|
|
1819
|
+
}
|
|
1817
1820
|
if (this.multipleSelection) {
|
|
1818
1821
|
if (this.selectionService.isSelected(this.index)) {
|
|
1819
1822
|
this.selectionService.deselect(this.index);
|
|
@@ -1826,10 +1829,10 @@ class SelectableDirective {
|
|
|
1826
1829
|
this.selectionService.change(this.index);
|
|
1827
1830
|
}
|
|
1828
1831
|
}
|
|
1829
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1830
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
1832
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SelectableDirective, deps: [{ token: SelectionService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1833
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: SelectableDirective, isStandalone: true, selector: "[kendoDropDownsSelectable]", inputs: { index: "index", checkboxes: "checkboxes", height: "height", isMultiselect: "isMultiselect", 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 });
|
|
1831
1834
|
}
|
|
1832
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1835
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SelectableDirective, decorators: [{
|
|
1833
1836
|
type: Directive,
|
|
1834
1837
|
args: [{
|
|
1835
1838
|
selector: '[kendoDropDownsSelectable]',
|
|
@@ -1897,10 +1900,10 @@ class CustomItemTemplateDirective {
|
|
|
1897
1900
|
constructor(templateRef) {
|
|
1898
1901
|
this.templateRef = templateRef;
|
|
1899
1902
|
}
|
|
1900
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1901
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
1903
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CustomItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1904
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: CustomItemTemplateDirective, isStandalone: true, selector: "[kendoMultiSelectCustomItemTemplate]", ngImport: i0 });
|
|
1902
1905
|
}
|
|
1903
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1906
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CustomItemTemplateDirective, decorators: [{
|
|
1904
1907
|
type: Directive,
|
|
1905
1908
|
args: [{
|
|
1906
1909
|
selector: '[kendoMultiSelectCustomItemTemplate]',
|
|
@@ -1947,6 +1950,11 @@ class ListComponent {
|
|
|
1947
1950
|
text;
|
|
1948
1951
|
allowCustom;
|
|
1949
1952
|
defaultItem;
|
|
1953
|
+
selectAll = false;
|
|
1954
|
+
selectAllText;
|
|
1955
|
+
isAllSelected = false;
|
|
1956
|
+
isPartiallySelected = false;
|
|
1957
|
+
selectAllClick = new EventEmitter();
|
|
1950
1958
|
set data(data) {
|
|
1951
1959
|
this._data = data[0]?.header ? data.slice(0) : data;
|
|
1952
1960
|
if (this.dataService.grouped) {
|
|
@@ -2004,6 +2012,7 @@ class ListComponent {
|
|
|
2004
2012
|
scrollSubscription;
|
|
2005
2013
|
selectSubscription;
|
|
2006
2014
|
_size;
|
|
2015
|
+
selectAllCheckboxState = false;
|
|
2007
2016
|
get pageSize() {
|
|
2008
2017
|
if (this.virtual.pageSize) {
|
|
2009
2018
|
return this.virtual.pageSize;
|
|
@@ -2033,6 +2042,12 @@ class ListComponent {
|
|
|
2033
2042
|
get checkboxClasses() {
|
|
2034
2043
|
return `${this.size ? getSizeClass('checkbox', this.size) : ''} ${this.rounded ? getRoundedClass(this.rounded) : ''}`;
|
|
2035
2044
|
}
|
|
2045
|
+
/**
|
|
2046
|
+
* @hidden
|
|
2047
|
+
*/
|
|
2048
|
+
isSelectAllFocused() {
|
|
2049
|
+
return this.selectionService.isFocused(-2);
|
|
2050
|
+
}
|
|
2036
2051
|
/* tslint:disable:member-ordering */
|
|
2037
2052
|
constructor(dataService, wrapper, selectionService, disabledItemsService, cdr, zone, renderer, localization, injector) {
|
|
2038
2053
|
this.dataService = dataService;
|
|
@@ -2050,6 +2065,7 @@ class ListComponent {
|
|
|
2050
2065
|
switchMap(event => this.zone.onStable.pipe(take(1), map(() => event))))
|
|
2051
2066
|
.subscribe(this.scrollToItem.bind(this));
|
|
2052
2067
|
this.prepareClasses();
|
|
2068
|
+
this.initSelectAllCheckboxState();
|
|
2053
2069
|
}
|
|
2054
2070
|
ngOnChanges(changes) {
|
|
2055
2071
|
if (isChanged('data', changes, false)) {
|
|
@@ -2065,6 +2081,9 @@ class ListComponent {
|
|
|
2065
2081
|
if (isChanged('type', changes, false)) {
|
|
2066
2082
|
this.prepareClasses();
|
|
2067
2083
|
}
|
|
2084
|
+
if (isChanged('isAllSelected', changes, false) || isChanged('isPartiallySelected', changes, false)) {
|
|
2085
|
+
this.updateSelectAllCheckboxState();
|
|
2086
|
+
}
|
|
2068
2087
|
}
|
|
2069
2088
|
ngAfterViewInit() {
|
|
2070
2089
|
this.setComponentClasses();
|
|
@@ -2094,8 +2113,8 @@ class ListComponent {
|
|
|
2094
2113
|
this.scrollSubscription.unsubscribe();
|
|
2095
2114
|
}
|
|
2096
2115
|
}
|
|
2097
|
-
|
|
2098
|
-
const isChecked =
|
|
2116
|
+
onCheckboxStateChange(state, index) {
|
|
2117
|
+
const isChecked = state === true;
|
|
2099
2118
|
if (isChecked && !this.selectionService.isSelected(index)) {
|
|
2100
2119
|
this.selectionService.add(index);
|
|
2101
2120
|
}
|
|
@@ -2103,6 +2122,13 @@ class ListComponent {
|
|
|
2103
2122
|
this.selectionService.deselect(index);
|
|
2104
2123
|
}
|
|
2105
2124
|
}
|
|
2125
|
+
handleSelectAllClick() {
|
|
2126
|
+
const newState = !this.isAllSelected;
|
|
2127
|
+
this.selectAllClick.emit(newState);
|
|
2128
|
+
}
|
|
2129
|
+
handleSelectAllStateChange(state) {
|
|
2130
|
+
this.selectAllClick.emit(state);
|
|
2131
|
+
}
|
|
2106
2132
|
prepareClasses() {
|
|
2107
2133
|
if (this.type === 'list') {
|
|
2108
2134
|
this.listContentClass = 'k-list-content';
|
|
@@ -2338,8 +2364,49 @@ class ListComponent {
|
|
|
2338
2364
|
this.renderer.addClass(this.wrapper.nativeElement, this.listVirtualClass);
|
|
2339
2365
|
}
|
|
2340
2366
|
}
|
|
2341
|
-
|
|
2342
|
-
|
|
2367
|
+
updateSelectAllCheckboxState() {
|
|
2368
|
+
if (this.isAllSelected) {
|
|
2369
|
+
this.selectAllCheckboxState = true;
|
|
2370
|
+
}
|
|
2371
|
+
else if (this.isPartiallySelected) {
|
|
2372
|
+
this.selectAllCheckboxState = 'indeterminate';
|
|
2373
|
+
}
|
|
2374
|
+
else {
|
|
2375
|
+
this.selectAllCheckboxState = false;
|
|
2376
|
+
}
|
|
2377
|
+
}
|
|
2378
|
+
initSelectAllCheckboxState() {
|
|
2379
|
+
this.updateSelectAllCheckboxState();
|
|
2380
|
+
}
|
|
2381
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ListComponent, deps: [{ token: DataService }, { token: i0.ElementRef }, { token: SelectionService }, { token: DisabledItemsService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i1.LocalizationService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
2382
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: ListComponent, isStandalone: true, 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", ariaLabel: "ariaLabel", isMultiselect: "isMultiselect", isActionSheetExpanded: "isActionSheetExpanded", showStickyHeader: "showStickyHeader", rowWidth: "rowWidth", columnsWidths: "columnsWidths", customItemTemplate: "customItemTemplate", text: "text", allowCustom: "allowCustom", defaultItem: "defaultItem", selectAll: "selectAll", selectAllText: "selectAllText", isAllSelected: "isAllSelected", isPartiallySelected: "isPartiallySelected", data: "data", size: "size", rounded: "rounded" }, outputs: { selectAllClick: "selectAllClick", onClick: "onClick", pageChange: "pageChange", listResize: "listResize", popupListScroll: "popupListScroll" }, viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true, static: true }, { propertyName: "list", first: true, predicate: ["list"], descendants: true }, { propertyName: "virtualContainer", first: true, predicate: ["virtualContainer"], descendants: true }, { propertyName: "items", predicate: ListItemDirective, descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
2383
|
+
@if (selectAll) {
|
|
2384
|
+
<div class="k-list-sticky-header">
|
|
2385
|
+
<div
|
|
2386
|
+
class="k-list-sticky-header-item"
|
|
2387
|
+
[class.k-selected]="!checkboxes.enabled && isAllSelected"
|
|
2388
|
+
[class.k-focus]="isSelectAllFocused()"
|
|
2389
|
+
kendoDropDownsSelectable
|
|
2390
|
+
[checkboxes]="checkboxes"
|
|
2391
|
+
[index]="-2"
|
|
2392
|
+
tabindex="0"
|
|
2393
|
+
[attr.aria-selected]="isAllSelected"
|
|
2394
|
+
[attr.aria-label]="selectAllText"
|
|
2395
|
+
(click)="handleSelectAllClick()">
|
|
2396
|
+
@if (checkboxes.enabled) {
|
|
2397
|
+
<kendo-checkbox
|
|
2398
|
+
[checkedState]="selectAllCheckboxState"
|
|
2399
|
+
[ngClass]="checkboxClasses"
|
|
2400
|
+
[inputAttributes]="{ 'aria-label': selectAllText }"
|
|
2401
|
+
(click)="$event.stopPropagation()"
|
|
2402
|
+
(checkedStateChange)="handleSelectAllStateChange($event)"
|
|
2403
|
+
>
|
|
2404
|
+
</kendo-checkbox>
|
|
2405
|
+
}
|
|
2406
|
+
<span class="k-list-item-text">{{ selectAllText }}</span>
|
|
2407
|
+
</div>
|
|
2408
|
+
</div>
|
|
2409
|
+
}
|
|
2343
2410
|
@if (defaultItem && !template) {
|
|
2344
2411
|
<div
|
|
2345
2412
|
class="k-list-optionlabel"
|
|
@@ -2444,15 +2511,14 @@ class ListComponent {
|
|
|
2444
2511
|
[style.width.px]="rowWidth ?? null"
|
|
2445
2512
|
>
|
|
2446
2513
|
@if (checkboxes.enabled) {
|
|
2447
|
-
<
|
|
2448
|
-
|
|
2449
|
-
class="k-checkbox"
|
|
2514
|
+
<kendo-checkbox
|
|
2515
|
+
[checkedState]="isChecked(itemIndex)"
|
|
2450
2516
|
role="presentation"
|
|
2451
|
-
tabindex="-1"
|
|
2517
|
+
[tabindex]="-1"
|
|
2452
2518
|
[ngClass]="checkboxClasses"
|
|
2453
|
-
(
|
|
2454
|
-
|
|
2455
|
-
|
|
2519
|
+
(checkedStateChange)="onCheckboxStateChange($event, itemIndex + startFrom)"
|
|
2520
|
+
>
|
|
2521
|
+
</kendo-checkbox>
|
|
2456
2522
|
}
|
|
2457
2523
|
@if (template) {
|
|
2458
2524
|
<ng-template
|
|
@@ -2643,13 +2709,40 @@ class ListComponent {
|
|
|
2643
2709
|
}
|
|
2644
2710
|
</div>
|
|
2645
2711
|
<ng-content select=".k-no-data"></ng-content>
|
|
2646
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "directive", type: ListItemDirective, selector: "\"li[role=option], li[role=group], li[role=presentation]\"" }, { kind: "directive", type: SelectableDirective, selector: "[kendoDropDownsSelectable]", inputs: ["index", "checkboxes", "height", "isMultiselect", "multipleSelection"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }] });
|
|
2712
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "directive", type: ListItemDirective, selector: "\"li[role=option], li[role=group], li[role=presentation]\"" }, { kind: "directive", type: SelectableDirective, selector: "[kendoDropDownsSelectable]", inputs: ["index", "checkboxes", "height", "isMultiselect", "multipleSelection"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: CheckBoxComponent, selector: "kendo-checkbox", inputs: ["checkedState", "rounded"], outputs: ["checkedStateChange"], exportAs: ["kendoCheckBox"] }] });
|
|
2647
2713
|
}
|
|
2648
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2714
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ListComponent, decorators: [{
|
|
2649
2715
|
type: Component,
|
|
2650
2716
|
args: [{
|
|
2651
2717
|
selector: 'kendo-list',
|
|
2652
2718
|
template: `
|
|
2719
|
+
@if (selectAll) {
|
|
2720
|
+
<div class="k-list-sticky-header">
|
|
2721
|
+
<div
|
|
2722
|
+
class="k-list-sticky-header-item"
|
|
2723
|
+
[class.k-selected]="!checkboxes.enabled && isAllSelected"
|
|
2724
|
+
[class.k-focus]="isSelectAllFocused()"
|
|
2725
|
+
kendoDropDownsSelectable
|
|
2726
|
+
[checkboxes]="checkboxes"
|
|
2727
|
+
[index]="-2"
|
|
2728
|
+
tabindex="0"
|
|
2729
|
+
[attr.aria-selected]="isAllSelected"
|
|
2730
|
+
[attr.aria-label]="selectAllText"
|
|
2731
|
+
(click)="handleSelectAllClick()">
|
|
2732
|
+
@if (checkboxes.enabled) {
|
|
2733
|
+
<kendo-checkbox
|
|
2734
|
+
[checkedState]="selectAllCheckboxState"
|
|
2735
|
+
[ngClass]="checkboxClasses"
|
|
2736
|
+
[inputAttributes]="{ 'aria-label': selectAllText }"
|
|
2737
|
+
(click)="$event.stopPropagation()"
|
|
2738
|
+
(checkedStateChange)="handleSelectAllStateChange($event)"
|
|
2739
|
+
>
|
|
2740
|
+
</kendo-checkbox>
|
|
2741
|
+
}
|
|
2742
|
+
<span class="k-list-item-text">{{ selectAllText }}</span>
|
|
2743
|
+
</div>
|
|
2744
|
+
</div>
|
|
2745
|
+
}
|
|
2653
2746
|
@if (defaultItem && !template) {
|
|
2654
2747
|
<div
|
|
2655
2748
|
class="k-list-optionlabel"
|
|
@@ -2754,15 +2847,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
2754
2847
|
[style.width.px]="rowWidth ?? null"
|
|
2755
2848
|
>
|
|
2756
2849
|
@if (checkboxes.enabled) {
|
|
2757
|
-
<
|
|
2758
|
-
|
|
2759
|
-
class="k-checkbox"
|
|
2850
|
+
<kendo-checkbox
|
|
2851
|
+
[checkedState]="isChecked(itemIndex)"
|
|
2760
2852
|
role="presentation"
|
|
2761
|
-
tabindex="-1"
|
|
2853
|
+
[tabindex]="-1"
|
|
2762
2854
|
[ngClass]="checkboxClasses"
|
|
2763
|
-
(
|
|
2764
|
-
|
|
2765
|
-
|
|
2855
|
+
(checkedStateChange)="onCheckboxStateChange($event, itemIndex + startFrom)"
|
|
2856
|
+
>
|
|
2857
|
+
</kendo-checkbox>
|
|
2766
2858
|
}
|
|
2767
2859
|
@if (template) {
|
|
2768
2860
|
<ng-template
|
|
@@ -2955,7 +3047,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
2955
3047
|
<ng-content select=".k-no-data"></ng-content>
|
|
2956
3048
|
`,
|
|
2957
3049
|
standalone: true,
|
|
2958
|
-
imports: [NgStyle, TemplateContextDirective, ListItemDirective, SelectableDirective, NgClass, ResizeSensorComponent]
|
|
3050
|
+
imports: [NgStyle, TemplateContextDirective, ListItemDirective, SelectableDirective, NgClass, ResizeSensorComponent, CheckBoxComponent]
|
|
2959
3051
|
}]
|
|
2960
3052
|
}], ctorParameters: () => [{ type: DataService }, { type: i0.ElementRef }, { type: SelectionService }, { type: DisabledItemsService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i1.LocalizationService }, { type: i0.Injector }], propDecorators: { selected: [{
|
|
2961
3053
|
type: Input
|
|
@@ -3009,6 +3101,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
3009
3101
|
type: Input
|
|
3010
3102
|
}], defaultItem: [{
|
|
3011
3103
|
type: Input
|
|
3104
|
+
}], selectAll: [{
|
|
3105
|
+
type: Input
|
|
3106
|
+
}], selectAllText: [{
|
|
3107
|
+
type: Input
|
|
3108
|
+
}], isAllSelected: [{
|
|
3109
|
+
type: Input
|
|
3110
|
+
}], isPartiallySelected: [{
|
|
3111
|
+
type: Input
|
|
3112
|
+
}], selectAllClick: [{
|
|
3113
|
+
type: Output
|
|
3012
3114
|
}], data: [{
|
|
3013
3115
|
type: Input
|
|
3014
3116
|
}], size: [{
|
|
@@ -3110,8 +3212,8 @@ class AdaptiveRendererComponent {
|
|
|
3110
3212
|
get windowSize() {
|
|
3111
3213
|
return this.adaptiveService.size;
|
|
3112
3214
|
}
|
|
3113
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3114
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
3215
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: AdaptiveRendererComponent, deps: [{ token: i1.LocalizationService }, { token: i7.AdaptiveService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3216
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: AdaptiveRendererComponent, isStandalone: true, selector: "kendo-adaptive-renderer", inputs: { title: "title", subtitle: "subtitle", showTextInput: "showTextInput", sharedPopupActionSheetTemplate: "sharedPopupActionSheetTemplate", text: "text", placeholder: "placeholder", searchBarValue: "searchBarValue", filterable: "filterable", showListContainer: "showListContainer" }, outputs: { closePopup: "closePopup", textInputChange: "textInputChange", navigate: "navigate", onExpand: "onExpand" }, viewQueries: [{ propertyName: "actionSheet", first: true, predicate: ActionSheetComponent, descendants: true }, { propertyName: "actionSheetSearchBar", first: true, predicate: ["actionSheetSearchBar"], descendants: true }], ngImport: i0, template: `
|
|
3115
3217
|
<kendo-actionsheet
|
|
3116
3218
|
#actionSheet
|
|
3117
3219
|
[animation]="{ duration: animationDuration }"
|
|
@@ -3190,7 +3292,7 @@ class AdaptiveRendererComponent {
|
|
|
3190
3292
|
</kendo-actionsheet>
|
|
3191
3293
|
`, isInline: true, dependencies: [{ kind: "component", type: ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["actions", "actionsLayout", "overlayClickClose", "title", "subtitle", "items", "cssClass", "cssStyle", "animation", "expanded", "titleId", "initialFocus"], outputs: ["expandedChange", "action", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "directive", type: ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "type", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "successSvgIcon", "errorIcon", "errorSvgIcon", "clearButtonIcon", "clearButtonSvgIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength", "inputAttributes"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { kind: "directive", type: TextBoxPrefixTemplateDirective, selector: "[kendoTextBoxPrefixTemplate]", inputs: ["showSeparator"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
3192
3294
|
}
|
|
3193
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3295
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: AdaptiveRendererComponent, decorators: [{
|
|
3194
3296
|
type: Component,
|
|
3195
3297
|
args: [{
|
|
3196
3298
|
selector: 'kendo-adaptive-renderer',
|
|
@@ -3391,10 +3493,10 @@ class SharedDropDownEventsDirective {
|
|
|
3391
3493
|
ngOnDestroy() {
|
|
3392
3494
|
this.subscriptions.unsubscribe();
|
|
3393
3495
|
}
|
|
3394
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3395
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
3496
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SharedDropDownEventsDirective, deps: [{ token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3497
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: SharedDropDownEventsDirective, isStandalone: true, selector: "[kendoDropDownSharedEvents]", inputs: { hostElement: "hostElement", clearButtonClicked: "clearButtonClicked", isFocused: "isFocused" }, outputs: { isFocusedChange: "isFocusedChange", onFocus: "onFocus", handleBlur: "handleBlur" }, ngImport: i0 });
|
|
3396
3498
|
}
|
|
3397
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3499
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SharedDropDownEventsDirective, decorators: [{
|
|
3398
3500
|
type: Directive,
|
|
3399
3501
|
args: [{
|
|
3400
3502
|
selector: '[kendoDropDownSharedEvents]',
|
|
@@ -3427,7 +3529,11 @@ class Messages extends ComponentMessages {
|
|
|
3427
3529
|
*/
|
|
3428
3530
|
clearTitle;
|
|
3429
3531
|
/**
|
|
3430
|
-
|
|
3532
|
+
* The text of the Select All item in the popup.
|
|
3533
|
+
*/
|
|
3534
|
+
selectAllText;
|
|
3535
|
+
/**
|
|
3536
|
+
* The text of the Check All checkbox label in the tree popup.
|
|
3431
3537
|
*/
|
|
3432
3538
|
checkAllText;
|
|
3433
3539
|
/**
|
|
@@ -3472,15 +3578,17 @@ class Messages extends ComponentMessages {
|
|
|
3472
3578
|
* The accessible label of the input element. Available for MultiSelectTree.
|
|
3473
3579
|
*/
|
|
3474
3580
|
inputLabel;
|
|
3475
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3476
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
3581
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
3582
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: Messages, isStandalone: true, inputs: { noDataText: "noDataText", clearTitle: "clearTitle", selectAllText: "selectAllText", checkAllText: "checkAllText", selectButtonText: "selectButtonText", filterInputLabel: "filterInputLabel", popupLabel: "popupLabel", adaptiveCloseButtonTitle: "adaptiveCloseButtonTitle", filterInputPlaceholder: "filterInputPlaceholder", chipListLabel: "chipListLabel", useCustomValueText: "useCustomValueText", listboxLabel: "listboxLabel", inputLabel: "inputLabel" }, usesInheritance: true, ngImport: i0 });
|
|
3477
3583
|
}
|
|
3478
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3584
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: Messages, decorators: [{
|
|
3479
3585
|
type: Directive
|
|
3480
3586
|
}], propDecorators: { noDataText: [{
|
|
3481
3587
|
type: Input
|
|
3482
3588
|
}], clearTitle: [{
|
|
3483
3589
|
type: Input
|
|
3590
|
+
}], selectAllText: [{
|
|
3591
|
+
type: Input
|
|
3484
3592
|
}], checkAllText: [{
|
|
3485
3593
|
type: Input
|
|
3486
3594
|
}], selectButtonText: [{
|
|
@@ -3512,15 +3620,15 @@ class LocalizedMessagesDirective extends Messages {
|
|
|
3512
3620
|
super();
|
|
3513
3621
|
this.service = service;
|
|
3514
3622
|
}
|
|
3515
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3516
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
3623
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3624
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: LocalizedMessagesDirective, isStandalone: true, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n ", providers: [
|
|
3517
3625
|
{
|
|
3518
3626
|
provide: Messages,
|
|
3519
3627
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
3520
3628
|
}
|
|
3521
3629
|
], usesInheritance: true, ngImport: i0 });
|
|
3522
3630
|
}
|
|
3523
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3631
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
3524
3632
|
type: Directive,
|
|
3525
3633
|
args: [{
|
|
3526
3634
|
providers: [
|
|
@@ -4677,8 +4785,8 @@ class AutoCompleteComponent {
|
|
|
4677
4785
|
this.togglePopup(false);
|
|
4678
4786
|
}
|
|
4679
4787
|
}
|
|
4680
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4681
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
4788
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", 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: i0.Injector }, { token: i7.AdaptiveService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4789
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: AutoCompleteComponent, isStandalone: true, selector: "kendo-autocomplete", inputs: { highlightFirst: "highlightFirst", showStickyHeader: "showStickyHeader", focusableId: "focusableId", data: "data", value: "value", valueField: "valueField", placeholder: "placeholder", adaptiveMode: "adaptiveMode", adaptiveTitle: "adaptiveTitle", adaptiveSubtitle: "adaptiveSubtitle", 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", inputAttributes: "inputAttributes" }, outputs: { valueChange: "valueChange", filterChange: "filterChange", open: "open", opened: "opened", close: "close", closed: "closed", onFocus: "focus", onBlur: "blur", inputFocus: "inputFocus", inputBlur: "inputBlur" }, host: { properties: { "class.k-readonly": "this.readonly", "class.k-disabled": "this.isDisabled", "class.k-loading": "this.isLoading", "attr.dir": "this.dir" } }, providers: [
|
|
4682
4790
|
AUTOCOMPLETE_VALUE_ACCESSOR,
|
|
4683
4791
|
DataService,
|
|
4684
4792
|
SelectionService,
|
|
@@ -4697,7 +4805,8 @@ class AutoCompleteComponent {
|
|
|
4697
4805
|
provide: KendoInput,
|
|
4698
4806
|
useExisting: forwardRef(() => AutoCompleteComponent)
|
|
4699
4807
|
},
|
|
4700
|
-
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => AutoCompleteComponent) }
|
|
4808
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => AutoCompleteComponent) },
|
|
4809
|
+
provideComponentName('autocomplete')
|
|
4701
4810
|
], queries: [{ propertyName: "template", first: true, predicate: ItemTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "noDataTemplate", first: true, predicate: NoDataTemplateDirective, descendants: true }, { propertyName: "groupTemplate", first: true, predicate: GroupTemplateDirective, descendants: true }, { propertyName: "fixedGroupTemplate", first: true, predicate: FixedGroupTemplateDirective, descendants: true }, { propertyName: "suffixTemplate", first: true, predicate: SuffixTemplateDirective, descendants: true }, { propertyName: "prefixTemplate", first: true, predicate: PrefixTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "adaptiveRendererComponent", first: true, predicate: AdaptiveRendererComponent, descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "searchbar", first: true, predicate: SearchBarComponent, descendants: true, static: true }, { propertyName: "optionsList", first: true, predicate: ["optionsList"], descendants: true }], exportAs: ["kendoAutoComplete"], usesOnChanges: true, ngImport: i0, template: `
|
|
4702
4811
|
<ng-container kendoAutoCompleteLocalizedMessages
|
|
4703
4812
|
i18n-noDataText="kendo.autocomplete.noDataText|The text displayed in the popup when there are no items"
|
|
@@ -4861,9 +4970,9 @@ class AutoCompleteComponent {
|
|
|
4861
4970
|
</ng-template>
|
|
4862
4971
|
}
|
|
4863
4972
|
</ng-template>
|
|
4864
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { kind: "directive", type: SharedDropDownEventsDirective, selector: "[kendoDropDownSharedEvents]", inputs: ["hostElement", "clearButtonClicked", "isFocused"], outputs: ["isFocusedChange", "onFocus", "handleBlur"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: SeparatorComponent, selector: "kendo-separator", inputs: ["orientation"] }, { kind: "component", type: SearchBarComponent, selector: "input[kendoSearchbar]", inputs: ["tagListId", "readonly", "disabled", "isRequired", "isSuggestable", "hasListAutocomplete", "userInput", "suggestedText", "inputAttributes", "id", "activeDescendant", "tabIndex", "isLoading", "ariaControls", "ariaExpanded", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: AdaptiveRendererComponent, selector: "kendo-adaptive-renderer", inputs: ["title", "subtitle", "showTextInput", "sharedPopupActionSheetTemplate", "text", "placeholder", "searchBarValue", "filterable", "showListContainer"], outputs: ["closePopup", "textInputChange", "navigate", "onExpand"] }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "component", type: ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "ariaLabel", "isMultiselect", "isActionSheetExpanded", "showStickyHeader", "rowWidth", "columnsWidths", "customItemTemplate", "text", "allowCustom", "defaultItem", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize", "popupListScroll"] }] });
|
|
4973
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { kind: "directive", type: SharedDropDownEventsDirective, selector: "[kendoDropDownSharedEvents]", inputs: ["hostElement", "clearButtonClicked", "isFocused"], outputs: ["isFocusedChange", "onFocus", "handleBlur"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: SeparatorComponent, selector: "kendo-separator", inputs: ["orientation"] }, { kind: "component", type: SearchBarComponent, selector: "input[kendoSearchbar]", inputs: ["tagListId", "readonly", "disabled", "isRequired", "isSuggestable", "hasListAutocomplete", "userInput", "suggestedText", "inputAttributes", "id", "activeDescendant", "tabIndex", "isLoading", "ariaControls", "ariaExpanded", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: AdaptiveRendererComponent, selector: "kendo-adaptive-renderer", inputs: ["title", "subtitle", "showTextInput", "sharedPopupActionSheetTemplate", "text", "placeholder", "searchBarValue", "filterable", "showListContainer"], outputs: ["closePopup", "textInputChange", "navigate", "onExpand"] }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "component", type: ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "ariaLabel", "isMultiselect", "isActionSheetExpanded", "showStickyHeader", "rowWidth", "columnsWidths", "customItemTemplate", "text", "allowCustom", "defaultItem", "selectAll", "selectAllText", "isAllSelected", "isPartiallySelected", "data", "size", "rounded"], outputs: ["selectAllClick", "onClick", "pageChange", "listResize", "popupListScroll"] }] });
|
|
4865
4974
|
}
|
|
4866
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4975
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: AutoCompleteComponent, decorators: [{
|
|
4867
4976
|
type: Component,
|
|
4868
4977
|
args: [{
|
|
4869
4978
|
exportAs: 'kendoAutoComplete',
|
|
@@ -4886,7 +4995,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
4886
4995
|
provide: KendoInput,
|
|
4887
4996
|
useExisting: forwardRef(() => AutoCompleteComponent)
|
|
4888
4997
|
},
|
|
4889
|
-
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => AutoCompleteComponent) }
|
|
4998
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => AutoCompleteComponent) },
|
|
4999
|
+
provideComponentName('autocomplete')
|
|
4890
5000
|
],
|
|
4891
5001
|
selector: 'kendo-autocomplete',
|
|
4892
5002
|
template: `
|
|
@@ -6756,8 +6866,8 @@ class ComboBoxComponent extends MultiTabStop {
|
|
|
6756
6866
|
this.togglePopup(false);
|
|
6757
6867
|
}
|
|
6758
6868
|
}
|
|
6759
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
6760
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
6869
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", 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: i0.Injector }, { token: i0.ElementRef }, { token: i7.AdaptiveService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6870
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: ComboBoxComponent, isStandalone: true, selector: "kendo-combobox", inputs: { icon: "icon", svgIcon: "svgIcon", inputAttributes: "inputAttributes", showStickyHeader: "showStickyHeader", focusableId: "focusableId", allowCustom: "allowCustom", data: "data", value: "value", textField: "textField", valueField: "valueField", valuePrimitive: "valuePrimitive", valueNormalizer: "valueNormalizer", placeholder: "placeholder", adaptiveMode: "adaptiveMode", adaptiveTitle: "adaptiveTitle", adaptiveSubtitle: "adaptiveSubtitle", popupSettings: "popupSettings", listHeight: "listHeight", 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", inputFocus: "inputFocus", inputBlur: "inputBlur", escape: "escape" }, host: { properties: { "class.k-readonly": "this.readonly", "class.k-disabled": "this.isDisabled", "class.k-loading": "this.isLoading", "attr.dir": "this.dir" } }, providers: [
|
|
6761
6871
|
COMBOBOX_VALUE_ACCESSOR,
|
|
6762
6872
|
DataService,
|
|
6763
6873
|
SelectionService,
|
|
@@ -6777,7 +6887,8 @@ class ComboBoxComponent extends MultiTabStop {
|
|
|
6777
6887
|
{
|
|
6778
6888
|
provide: MultiTabStop, useExisting: forwardRef(() => ComboBoxComponent)
|
|
6779
6889
|
},
|
|
6780
|
-
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => ComboBoxComponent) }
|
|
6890
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => ComboBoxComponent) },
|
|
6891
|
+
provideComponentName('combobox')
|
|
6781
6892
|
], queries: [{ propertyName: "template", first: true, predicate: ItemTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "noDataTemplate", first: true, predicate: NoDataTemplateDirective, descendants: true }, { propertyName: "groupTemplate", first: true, predicate: GroupTemplateDirective, descendants: true }, { propertyName: "fixedGroupTemplate", first: true, predicate: FixedGroupTemplateDirective, descendants: true }, { propertyName: "suffixTemplate", first: true, predicate: SuffixTemplateDirective, descendants: true }, { propertyName: "prefixTemplate", first: true, predicate: PrefixTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "adaptiveRendererComponent", first: true, predicate: AdaptiveRendererComponent, descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "searchbar", first: true, predicate: SearchBarComponent, descendants: true, static: true }, { propertyName: "optionsList", first: true, predicate: ["optionsList"], descendants: true }, { propertyName: "select", first: true, predicate: ["select"], descendants: true, static: true }], exportAs: ["kendoComboBox"], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
6782
6893
|
<ng-container kendoComboBoxLocalizedMessages
|
|
6783
6894
|
i18n-noDataText="kendo.combobox.noDataText|The text displayed in the popup when there are no items"
|
|
@@ -6970,9 +7081,9 @@ class ComboBoxComponent extends MultiTabStop {
|
|
|
6970
7081
|
</ng-template>
|
|
6971
7082
|
}
|
|
6972
7083
|
</ng-template>
|
|
6973
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { kind: "directive", type: SharedDropDownEventsDirective, selector: "[kendoDropDownSharedEvents]", inputs: ["hostElement", "clearButtonClicked", "isFocused"], outputs: ["isFocusedChange", "onFocus", "handleBlur"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: SeparatorComponent, selector: "kendo-separator", inputs: ["orientation"] }, { kind: "component", type: SearchBarComponent, selector: "input[kendoSearchbar]", inputs: ["tagListId", "readonly", "disabled", "isRequired", "isSuggestable", "hasListAutocomplete", "userInput", "suggestedText", "inputAttributes", "id", "activeDescendant", "tabIndex", "isLoading", "ariaControls", "ariaExpanded", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: AdaptiveRendererComponent, selector: "kendo-adaptive-renderer", inputs: ["title", "subtitle", "showTextInput", "sharedPopupActionSheetTemplate", "text", "placeholder", "searchBarValue", "filterable", "showListContainer"], outputs: ["closePopup", "textInputChange", "navigate", "onExpand"] }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "component", type: ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "ariaLabel", "isMultiselect", "isActionSheetExpanded", "showStickyHeader", "rowWidth", "columnsWidths", "customItemTemplate", "text", "allowCustom", "defaultItem", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize", "popupListScroll"] }] });
|
|
7084
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { kind: "directive", type: SharedDropDownEventsDirective, selector: "[kendoDropDownSharedEvents]", inputs: ["hostElement", "clearButtonClicked", "isFocused"], outputs: ["isFocusedChange", "onFocus", "handleBlur"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: SeparatorComponent, selector: "kendo-separator", inputs: ["orientation"] }, { kind: "component", type: SearchBarComponent, selector: "input[kendoSearchbar]", inputs: ["tagListId", "readonly", "disabled", "isRequired", "isSuggestable", "hasListAutocomplete", "userInput", "suggestedText", "inputAttributes", "id", "activeDescendant", "tabIndex", "isLoading", "ariaControls", "ariaExpanded", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: AdaptiveRendererComponent, selector: "kendo-adaptive-renderer", inputs: ["title", "subtitle", "showTextInput", "sharedPopupActionSheetTemplate", "text", "placeholder", "searchBarValue", "filterable", "showListContainer"], outputs: ["closePopup", "textInputChange", "navigate", "onExpand"] }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "component", type: ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "ariaLabel", "isMultiselect", "isActionSheetExpanded", "showStickyHeader", "rowWidth", "columnsWidths", "customItemTemplate", "text", "allowCustom", "defaultItem", "selectAll", "selectAllText", "isAllSelected", "isPartiallySelected", "data", "size", "rounded"], outputs: ["selectAllClick", "onClick", "pageChange", "listResize", "popupListScroll"] }] });
|
|
6974
7085
|
}
|
|
6975
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7086
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ComboBoxComponent, decorators: [{
|
|
6976
7087
|
type: Component,
|
|
6977
7088
|
args: [{
|
|
6978
7089
|
exportAs: 'kendoComboBox',
|
|
@@ -6996,7 +7107,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
6996
7107
|
{
|
|
6997
7108
|
provide: MultiTabStop, useExisting: forwardRef(() => ComboBoxComponent)
|
|
6998
7109
|
},
|
|
6999
|
-
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => ComboBoxComponent) }
|
|
7110
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => ComboBoxComponent) },
|
|
7111
|
+
provideComponentName('combobox')
|
|
7000
7112
|
],
|
|
7001
7113
|
selector: 'kendo-combobox',
|
|
7002
7114
|
template: `
|
|
@@ -7374,10 +7486,10 @@ class ValueTemplateDirective {
|
|
|
7374
7486
|
constructor(templateRef) {
|
|
7375
7487
|
this.templateRef = templateRef;
|
|
7376
7488
|
}
|
|
7377
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7378
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
7489
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ValueTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7490
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: ValueTemplateDirective, isStandalone: true, selector: "[kendoDropDownListValueTemplate],[kendoDropDownTreeValueTemplate]", ngImport: i0 });
|
|
7379
7491
|
}
|
|
7380
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7492
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ValueTemplateDirective, decorators: [{
|
|
7381
7493
|
type: Directive,
|
|
7382
7494
|
args: [{
|
|
7383
7495
|
selector: '[kendoDropDownListValueTemplate],[kendoDropDownTreeValueTemplate]',
|
|
@@ -7404,10 +7516,10 @@ class FilterInputDirective {
|
|
|
7404
7516
|
nextTick(fn) {
|
|
7405
7517
|
this.zone.runOutsideAngular(() => setTimeout(fn));
|
|
7406
7518
|
}
|
|
7407
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7408
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
7519
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: FilterInputDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7520
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: FilterInputDirective, isStandalone: true, selector: "[filterInput]", inputs: { focused: ["filterInput", "focused"] }, usesOnChanges: true, ngImport: i0 });
|
|
7409
7521
|
}
|
|
7410
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7522
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: FilterInputDirective, decorators: [{
|
|
7411
7523
|
type: Directive,
|
|
7412
7524
|
args: [{
|
|
7413
7525
|
selector: '[filterInput]',
|
|
@@ -8800,8 +8912,8 @@ class DropDownListComponent {
|
|
|
8800
8912
|
this.selectionService.focus(this.selectionService.focused);
|
|
8801
8913
|
this.opened.emit();
|
|
8802
8914
|
}
|
|
8803
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
8804
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
8915
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", 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: i0.Injector }, { token: i7.AdaptiveService }], target: i0.ɵɵFactoryTarget.Component });
|
|
8916
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: DropDownListComponent, isStandalone: true, selector: "kendo-dropdownlist", inputs: { customIconClass: "customIconClass", showStickyHeader: "showStickyHeader", icon: "icon", svgIcon: "svgIcon", loading: "loading", data: "data", value: "value", textField: "textField", valueField: "valueField", adaptiveMode: "adaptiveMode", adaptiveTitle: "adaptiveTitle", adaptiveSubtitle: "adaptiveSubtitle", 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", leftRightArrowsNavigation: "leftRightArrowsNavigation", 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()" }, properties: { "class.k-readonly": "this.readonly", "class.k-dropdownlist": "this.hostClasses", "class.k-picker": "this.hostClasses", "class.k-disabled": "this.isDisabledClass", "attr.aria-disabled": "this.isDisabledClass", "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-invalid": "this.hostAriaInvalid" } }, providers: [
|
|
8805
8917
|
DROPDOWNLIST_VALUE_ACCESSOR,
|
|
8806
8918
|
DataService,
|
|
8807
8919
|
SelectionService,
|
|
@@ -8818,7 +8930,8 @@ class DropDownListComponent {
|
|
|
8818
8930
|
{
|
|
8819
8931
|
provide: KendoInput, useExisting: forwardRef(() => DropDownListComponent)
|
|
8820
8932
|
},
|
|
8821
|
-
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => DropDownListComponent) }
|
|
8933
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => DropDownListComponent) },
|
|
8934
|
+
provideComponentName('dropdownlist')
|
|
8822
8935
|
], queries: [{ propertyName: "itemTemplate", first: true, predicate: ItemTemplateDirective, descendants: true }, { propertyName: "groupTemplate", first: true, predicate: GroupTemplateDirective, descendants: true }, { propertyName: "fixedGroupTemplate", first: true, predicate: FixedGroupTemplateDirective, descendants: true }, { propertyName: "valueTemplate", first: true, predicate: ValueTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "noDataTemplate", first: true, predicate: NoDataTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "adaptiveRenderer", first: true, predicate: AdaptiveRendererComponent, descendants: true }, { propertyName: "searchInput", first: true, predicate: ["searchInput"], descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "optionsList", first: true, predicate: ["optionsList"], descendants: true }], exportAs: ["kendoDropDownList"], usesOnChanges: true, ngImport: i0, template: `
|
|
8823
8936
|
<ng-container kendoDropDownListLocalizedMessages
|
|
8824
8937
|
i18n-noDataText="kendo.dropdownlist.noDataText|The text displayed in the popup when there are no items"
|
|
@@ -8983,9 +9096,9 @@ class DropDownListComponent {
|
|
|
8983
9096
|
</ng-template>
|
|
8984
9097
|
}
|
|
8985
9098
|
</ng-template>
|
|
8986
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: AdaptiveRendererComponent, selector: "kendo-adaptive-renderer", inputs: ["title", "subtitle", "showTextInput", "sharedPopupActionSheetTemplate", "text", "placeholder", "searchBarValue", "filterable", "showListContainer"], outputs: ["closePopup", "textInputChange", "navigate", "onExpand"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i8.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i8.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: FilterInputDirective, selector: "[filterInput]", inputs: ["filterInput"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i8.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "ariaLabel", "isMultiselect", "isActionSheetExpanded", "showStickyHeader", "rowWidth", "columnsWidths", "customItemTemplate", "text", "allowCustom", "defaultItem", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize", "popupListScroll"] }] });
|
|
9099
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: AdaptiveRendererComponent, selector: "kendo-adaptive-renderer", inputs: ["title", "subtitle", "showTextInput", "sharedPopupActionSheetTemplate", "text", "placeholder", "searchBarValue", "filterable", "showListContainer"], outputs: ["closePopup", "textInputChange", "navigate", "onExpand"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i8.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i8.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: FilterInputDirective, selector: "[filterInput]", inputs: ["filterInput"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i8.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "ariaLabel", "isMultiselect", "isActionSheetExpanded", "showStickyHeader", "rowWidth", "columnsWidths", "customItemTemplate", "text", "allowCustom", "defaultItem", "selectAll", "selectAllText", "isAllSelected", "isPartiallySelected", "data", "size", "rounded"], outputs: ["selectAllClick", "onClick", "pageChange", "listResize", "popupListScroll"] }] });
|
|
8987
9100
|
}
|
|
8988
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
9101
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DropDownListComponent, decorators: [{
|
|
8989
9102
|
type: Component,
|
|
8990
9103
|
args: [{
|
|
8991
9104
|
exportAs: 'kendoDropDownList',
|
|
@@ -9006,7 +9119,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
9006
9119
|
{
|
|
9007
9120
|
provide: KendoInput, useExisting: forwardRef(() => DropDownListComponent)
|
|
9008
9121
|
},
|
|
9009
|
-
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => DropDownListComponent) }
|
|
9122
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => DropDownListComponent) },
|
|
9123
|
+
provideComponentName('dropdownlist')
|
|
9010
9124
|
],
|
|
9011
9125
|
selector: 'kendo-dropdownlist',
|
|
9012
9126
|
template: `
|
|
@@ -9381,10 +9495,10 @@ class TagTemplateDirective {
|
|
|
9381
9495
|
constructor(templateRef) {
|
|
9382
9496
|
this.templateRef = templateRef;
|
|
9383
9497
|
}
|
|
9384
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
9385
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
9498
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TagTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
9499
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: TagTemplateDirective, isStandalone: true, selector: "[kendoMultiSelectTagTemplate],[kendoMultiSelectTreeTagTemplate]", ngImport: i0 });
|
|
9386
9500
|
}
|
|
9387
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
9501
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TagTemplateDirective, decorators: [{
|
|
9388
9502
|
type: Directive,
|
|
9389
9503
|
args: [{
|
|
9390
9504
|
selector: '[kendoMultiSelectTagTemplate],[kendoMultiSelectTreeTagTemplate]',
|
|
@@ -9403,10 +9517,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
9403
9517
|
*
|
|
9404
9518
|
* @example
|
|
9405
9519
|
* ```ts
|
|
9406
|
-
*
|
|
9520
|
+
* @Component({
|
|
9407
9521
|
* selector: 'my-app',
|
|
9408
9522
|
* template: `
|
|
9409
|
-
* <kendo-multiselect
|
|
9523
|
+
* <kendo-multiselect [summaryTagAfter]="1" [data]="items">
|
|
9410
9524
|
* <ng-template kendoMultiSelectGroupTagTemplate let-dataItems>
|
|
9411
9525
|
* <span>{{dataItems.length}} item(s) selected</span>
|
|
9412
9526
|
* </ng-template>
|
|
@@ -9423,10 +9537,10 @@ class GroupTagTemplateDirective {
|
|
|
9423
9537
|
constructor(templateRef) {
|
|
9424
9538
|
this.templateRef = templateRef;
|
|
9425
9539
|
}
|
|
9426
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
9427
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
9540
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: GroupTagTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
9541
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: GroupTagTemplateDirective, isStandalone: true, selector: "[kendoMultiSelectGroupTagTemplate],[kendoMultiSelectTreeGroupTagTemplate]", ngImport: i0 });
|
|
9428
9542
|
}
|
|
9429
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
9543
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: GroupTagTemplateDirective, decorators: [{
|
|
9430
9544
|
type: Directive,
|
|
9431
9545
|
args: [{
|
|
9432
9546
|
selector: '[kendoMultiSelectGroupTagTemplate],[kendoMultiSelectTreeGroupTagTemplate]',
|
|
@@ -9565,8 +9679,8 @@ class TagListComponent {
|
|
|
9565
9679
|
return prop.find(item => item in tag);
|
|
9566
9680
|
}
|
|
9567
9681
|
}
|
|
9568
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
9569
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
9682
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TagListComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
9683
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: TagListComponent, isStandalone: true, selector: "kendo-taglist", inputs: { tags: "tags", textField: "textField", valueField: "valueField", valueDepth: "valueDepth", focused: "focused", template: "template", groupTemplate: "groupTemplate", disabled: "disabled", tagPrefix: "tagPrefix", id: "id", ariaLabel: "ariaLabel", size: "size", rounded: "rounded", fillMode: "fillMode", disabledIndices: "disabledIndices" }, outputs: { removeTag: "removeTag" }, host: { properties: { "class.k-chip-list": "this.hostClass", "attr.id": "this.hostId", "attr.role": "this.taglistRole", "attr.aria-label": "this.hostAriaLabel", "attr.aria-multiselectable": "this.multiselectable", "attr.aria-orientation": "this.ariaOrientation" } }, ngImport: i0, template: `
|
|
9570
9684
|
@for (tag of tags; track $index; let index = $index) {
|
|
9571
9685
|
<div
|
|
9572
9686
|
[attr.id]="itemId(tag, index)"
|
|
@@ -9638,7 +9752,7 @@ class TagListComponent {
|
|
|
9638
9752
|
<ng-content></ng-content>
|
|
9639
9753
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
|
|
9640
9754
|
}
|
|
9641
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
9755
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: TagListComponent, decorators: [{
|
|
9642
9756
|
type: Component,
|
|
9643
9757
|
args: [{
|
|
9644
9758
|
selector: 'kendo-taglist',
|
|
@@ -9832,6 +9946,8 @@ class MultiSelectComponent {
|
|
|
9832
9946
|
popupRef;
|
|
9833
9947
|
text;
|
|
9834
9948
|
tags;
|
|
9949
|
+
isAllSelected = false;
|
|
9950
|
+
isPartiallySelected = false;
|
|
9835
9951
|
focusedTagIndex = undefined;
|
|
9836
9952
|
/**
|
|
9837
9953
|
* @hidden
|
|
@@ -9870,12 +9986,12 @@ class MultiSelectComponent {
|
|
|
9870
9986
|
}
|
|
9871
9987
|
/**
|
|
9872
9988
|
* Focuses a specific item in the MultiSelect based on the provided index.
|
|
9873
|
-
* Sets the index to `-1` to focus the custom item if available.
|
|
9989
|
+
* Sets the index to `-1` to focus the custom item if available, or `-2` to focus the Select All item.
|
|
9874
9990
|
* Pass `null` or an invalid index to remove focus.
|
|
9875
9991
|
*/
|
|
9876
9992
|
focusItemAt(index) {
|
|
9877
|
-
const minIndex = this.allowCustom ? -1 : 0;
|
|
9878
|
-
const isInRange = minIndex <=
|
|
9993
|
+
const minIndex = this.selectAll ? -2 : this.allowCustom ? -1 : 0;
|
|
9994
|
+
const isInRange = minIndex <= index && index < this.data.length;
|
|
9879
9995
|
if (isPresent(index) && isInRange && !this.disabledItemsService.isIndexDisabled(index)) {
|
|
9880
9996
|
this.selectionService.focus(index);
|
|
9881
9997
|
}
|
|
@@ -9891,6 +10007,31 @@ class MultiSelectComponent {
|
|
|
9891
10007
|
this.searchbar.focus();
|
|
9892
10008
|
}
|
|
9893
10009
|
}
|
|
10010
|
+
/**
|
|
10011
|
+
* @hidden
|
|
10012
|
+
*/
|
|
10013
|
+
handleSelectAllStateChange(checkBoxState) {
|
|
10014
|
+
const availableItems = this.availableItemsForSelectAll;
|
|
10015
|
+
let newValue;
|
|
10016
|
+
if (checkBoxState === true) {
|
|
10017
|
+
const toAdd = availableItems.filter(item => !this.isItemSelected(item));
|
|
10018
|
+
newValue = [...this.value, ...toAdd];
|
|
10019
|
+
}
|
|
10020
|
+
else if (checkBoxState === false) {
|
|
10021
|
+
newValue = this.value.filter(v => !availableItems.some(item => getter(item, this.valueField) === getter(v, this.valueField)));
|
|
10022
|
+
}
|
|
10023
|
+
else {
|
|
10024
|
+
return;
|
|
10025
|
+
}
|
|
10026
|
+
this.preserveFocusIndex = -2;
|
|
10027
|
+
this.value = newValue;
|
|
10028
|
+
this.isAllSelected = this.isAllSelectedComputed;
|
|
10029
|
+
this.isPartiallySelected = this.isPartiallySelectedComputed;
|
|
10030
|
+
this.emitValueChange();
|
|
10031
|
+
this.cdr.markForCheck();
|
|
10032
|
+
const state = this.isAllSelected ? 'checked' : this.isPartiallySelected ? 'indeterminate' : 'unchecked';
|
|
10033
|
+
this.selectAllChange.emit(state);
|
|
10034
|
+
}
|
|
9894
10035
|
/**
|
|
9895
10036
|
* @hidden
|
|
9896
10037
|
*/
|
|
@@ -9943,8 +10084,9 @@ class MultiSelectComponent {
|
|
|
9943
10084
|
isUntouched(this.wrapper.nativeElement) ||
|
|
9944
10085
|
this.formControl?.updateOn === 'blur') {
|
|
9945
10086
|
this._zone.run(() => {
|
|
10087
|
+
const preserveFilter = this.allowCustom && !!this.text;
|
|
9946
10088
|
this.closePopup();
|
|
9947
|
-
if (!
|
|
10089
|
+
if (!preserveFilter) {
|
|
9948
10090
|
this.clearFilter();
|
|
9949
10091
|
}
|
|
9950
10092
|
this.inputBlur.emit();
|
|
@@ -9996,6 +10138,22 @@ class MultiSelectComponent {
|
|
|
9996
10138
|
* By default the sticky header is displayed ([see example](https://www.telerik.com/kendo-angular-ui/components/dropdowns/autocomplete/grouping#sticky-header)).
|
|
9997
10139
|
*/
|
|
9998
10140
|
showStickyHeader = true;
|
|
10141
|
+
/**
|
|
10142
|
+
* Renders a Select All sticky header item at the top of the popup list.
|
|
10143
|
+
* Clicking it selects or deselects all currently available items and triggers the `valueChange` event.
|
|
10144
|
+
*
|
|
10145
|
+
* @default false
|
|
10146
|
+
*/
|
|
10147
|
+
selectAll = false;
|
|
10148
|
+
/**
|
|
10149
|
+
* Sets the number of selected items after which a summary chip replaces the remaining individual chips.
|
|
10150
|
+
* Set to `0` to always show a single summary chip.
|
|
10151
|
+
* Pass `null` to disable summarization.
|
|
10152
|
+
* When `selectAll` is enabled and this input is not explicitly set, defaults to `10`.
|
|
10153
|
+
*
|
|
10154
|
+
* @default null
|
|
10155
|
+
*/
|
|
10156
|
+
summaryTagAfter;
|
|
9999
10157
|
/**
|
|
10000
10158
|
* @hidden
|
|
10001
10159
|
*/
|
|
@@ -10340,6 +10498,11 @@ class MultiSelectComponent {
|
|
|
10340
10498
|
* You can prevent tag removal by calling `preventDefault()` on the event.
|
|
10341
10499
|
*/
|
|
10342
10500
|
removeTag = new EventEmitter();
|
|
10501
|
+
/**
|
|
10502
|
+
* Emitted when the Select All item state changes.
|
|
10503
|
+
* Useful for virtualization scenarios where the consumer manages the full dataset.
|
|
10504
|
+
*/
|
|
10505
|
+
selectAllChange = new EventEmitter();
|
|
10343
10506
|
container;
|
|
10344
10507
|
searchbar;
|
|
10345
10508
|
tagList;
|
|
@@ -10413,6 +10576,33 @@ class MultiSelectComponent {
|
|
|
10413
10576
|
_fillMode;
|
|
10414
10577
|
_valueHolder = [];
|
|
10415
10578
|
isCustomValueSelected = false;
|
|
10579
|
+
preserveFocusIndex = null;
|
|
10580
|
+
get isAllSelectedComputed() {
|
|
10581
|
+
const availableItems = this.availableItemsForSelectAll;
|
|
10582
|
+
if (availableItems.length === 0) {
|
|
10583
|
+
return false;
|
|
10584
|
+
}
|
|
10585
|
+
const allItemsSelected = availableItems.every(item => this.isItemSelected(item));
|
|
10586
|
+
return allItemsSelected;
|
|
10587
|
+
}
|
|
10588
|
+
get isPartiallySelectedComputed() {
|
|
10589
|
+
if (this.isAllSelected) {
|
|
10590
|
+
return false;
|
|
10591
|
+
}
|
|
10592
|
+
const availableItems = this.availableItemsForSelectAll;
|
|
10593
|
+
const hasPartialSelection = availableItems.some(item => this.isItemSelected(item));
|
|
10594
|
+
return hasPartialSelection;
|
|
10595
|
+
}
|
|
10596
|
+
get hasCustomValueItem() {
|
|
10597
|
+
return this.allowCustom && !!this.text;
|
|
10598
|
+
}
|
|
10599
|
+
get availableItemsForSelectAll() {
|
|
10600
|
+
const pageData = this.data;
|
|
10601
|
+
const data = this.dataService.grouped
|
|
10602
|
+
? pageData.filter(item => !item.header).map(item => item.value)
|
|
10603
|
+
: pageData;
|
|
10604
|
+
return data;
|
|
10605
|
+
}
|
|
10416
10606
|
constructor(wrapper, localization, popupService, dataService, selectionService, navigationService, disabledItemsService, cdr, differs, renderer, _zone, injector, adaptiveService) {
|
|
10417
10607
|
this.wrapper = wrapper;
|
|
10418
10608
|
this.localization = localization;
|
|
@@ -10516,6 +10706,7 @@ class MultiSelectComponent {
|
|
|
10516
10706
|
* @hidden
|
|
10517
10707
|
*/
|
|
10518
10708
|
change(event) {
|
|
10709
|
+
this.preserveFocusIndex = null;
|
|
10519
10710
|
if (event.isMultipleSelection) {
|
|
10520
10711
|
// Existing items.
|
|
10521
10712
|
if (isPresent(event.added) && event.added.length > 0) {
|
|
@@ -10587,14 +10778,17 @@ class MultiSelectComponent {
|
|
|
10587
10778
|
const data = this.getDataItems();
|
|
10588
10779
|
const selection = selectedIndices(this.value, data, this.valueField);
|
|
10589
10780
|
this.selectionService.resetSelection(selection);
|
|
10590
|
-
if (this.
|
|
10781
|
+
if (this.preserveFocusIndex !== null) {
|
|
10782
|
+
this.selectionService.focused = this.preserveFocusIndex;
|
|
10783
|
+
}
|
|
10784
|
+
else if (this.disabledItemsService.isIndexDisabled(this.selectionService.focused)) {
|
|
10591
10785
|
this.selectionService.focused = this.firstFocusableIndex(0);
|
|
10592
10786
|
}
|
|
10593
10787
|
if (this.isOpen && this.selectionService.focused === undefined) {
|
|
10594
10788
|
if (this.dataService.itemsCount > 0) {
|
|
10595
10789
|
this.selectionService.focused = this.firstFocusableIndex(0);
|
|
10596
|
-
if (this.
|
|
10597
|
-
this.selectionService.focused =
|
|
10790
|
+
if (this.hasCustomValueItem) {
|
|
10791
|
+
this.selectionService.focused = -1;
|
|
10598
10792
|
}
|
|
10599
10793
|
}
|
|
10600
10794
|
else if (this.allowCustom) {
|
|
@@ -10615,8 +10809,9 @@ class MultiSelectComponent {
|
|
|
10615
10809
|
})
|
|
10616
10810
|
.filter(dataItem => isPresent(dataItem));
|
|
10617
10811
|
}
|
|
10618
|
-
this.tags = this.
|
|
10812
|
+
this.tags = this.buildTags(this.selectedDataItems.slice(0));
|
|
10619
10813
|
this.disabledIndices = this.disabledItemsMapper();
|
|
10814
|
+
this.updateSelectAllState();
|
|
10620
10815
|
this.cdr.markForCheck();
|
|
10621
10816
|
}
|
|
10622
10817
|
/**
|
|
@@ -10637,6 +10832,9 @@ class MultiSelectComponent {
|
|
|
10637
10832
|
else {
|
|
10638
10833
|
this.searchTextAndFocus(text);
|
|
10639
10834
|
}
|
|
10835
|
+
if (this.selectAll && this.allowCustom && text) {
|
|
10836
|
+
this.selectionService.focused = -1;
|
|
10837
|
+
}
|
|
10640
10838
|
this.searchbar.setInputSize();
|
|
10641
10839
|
}
|
|
10642
10840
|
/**
|
|
@@ -10645,6 +10843,7 @@ class MultiSelectComponent {
|
|
|
10645
10843
|
pageChange(event) {
|
|
10646
10844
|
const virtual = this.virtual;
|
|
10647
10845
|
virtual.skip = event.skip;
|
|
10846
|
+
this.updateSelectAllState();
|
|
10648
10847
|
}
|
|
10649
10848
|
/**
|
|
10650
10849
|
* @hidden
|
|
@@ -10683,7 +10882,7 @@ class MultiSelectComponent {
|
|
|
10683
10882
|
const action = this.navigationService.process({
|
|
10684
10883
|
current: focused,
|
|
10685
10884
|
max: this.dataService.itemsCount - 1,
|
|
10686
|
-
min: this.
|
|
10885
|
+
min: this.selectAll ? -2 : (this.hasCustomValueItem ? -1 : 0),
|
|
10687
10886
|
open: this.isOpen,
|
|
10688
10887
|
originalEvent: eventData
|
|
10689
10888
|
});
|
|
@@ -10771,7 +10970,10 @@ class MultiSelectComponent {
|
|
|
10771
10970
|
if (isChanged('valueNormalizer', changes)) {
|
|
10772
10971
|
this.createCustomValueStream();
|
|
10773
10972
|
}
|
|
10774
|
-
if (anyChanged(['
|
|
10973
|
+
if (anyChanged(['selectAll', 'summaryTagAfter'], changes, false)) {
|
|
10974
|
+
this.refreshSummaryTagMapper();
|
|
10975
|
+
}
|
|
10976
|
+
if (anyChanged(['textField', 'valueField', 'valuePrimitive', 'selectAll', 'summaryTagAfter'], changes)) {
|
|
10775
10977
|
this.setState(this.value);
|
|
10776
10978
|
}
|
|
10777
10979
|
}
|
|
@@ -10855,13 +11057,6 @@ class MultiSelectComponent {
|
|
|
10855
11057
|
this.cdr.markForCheck();
|
|
10856
11058
|
this.disabled = isDisabled;
|
|
10857
11059
|
}
|
|
10858
|
-
/**
|
|
10859
|
-
* @hidden
|
|
10860
|
-
*/
|
|
10861
|
-
onTagMapperChange() {
|
|
10862
|
-
this.tags = this.tagMapper(this.selectedDataItems.slice(0));
|
|
10863
|
-
this.cdr.markForCheck();
|
|
10864
|
-
}
|
|
10865
11060
|
/**
|
|
10866
11061
|
* @hidden
|
|
10867
11062
|
*/
|
|
@@ -11048,7 +11243,7 @@ class MultiSelectComponent {
|
|
|
11048
11243
|
const itemIndex = this.dataService.indexOf(newValue);
|
|
11049
11244
|
const customItem = itemIndex === -1;
|
|
11050
11245
|
if (this.value.indexOf(newValue) === -1) {
|
|
11051
|
-
!this.isActionSheetExpanded && (this.tags = this.
|
|
11246
|
+
!this.isActionSheetExpanded && (this.tags = this.buildTags([...this.selectedDataItems, normalizedValue]));
|
|
11052
11247
|
if (!customItem) {
|
|
11053
11248
|
this.selectionService.add(itemIndex);
|
|
11054
11249
|
}
|
|
@@ -11139,6 +11334,13 @@ class MultiSelectComponent {
|
|
|
11139
11334
|
if (this.isOpen) {
|
|
11140
11335
|
event.originalEvent.preventDefault();
|
|
11141
11336
|
}
|
|
11337
|
+
if (focusedIndex === -2) {
|
|
11338
|
+
if (this.selectAll && this.data.length > 0) {
|
|
11339
|
+
const newState = !this.isAllSelected;
|
|
11340
|
+
this.handleSelectAllStateChange(newState);
|
|
11341
|
+
}
|
|
11342
|
+
return;
|
|
11343
|
+
}
|
|
11142
11344
|
if (focusedIndex === -1) {
|
|
11143
11345
|
if (this.allowCustom && this.text) {
|
|
11144
11346
|
this.addCustomValue(this.text);
|
|
@@ -11249,7 +11451,8 @@ class MultiSelectComponent {
|
|
|
11249
11451
|
this.nextTick(() => this.selectionService.focus(indexToSelect));
|
|
11250
11452
|
}
|
|
11251
11453
|
handleUp(index) {
|
|
11252
|
-
this.
|
|
11454
|
+
this.preserveFocusIndex = null;
|
|
11455
|
+
this.selectionService.focused = this.calculateNavigationIndex(index);
|
|
11253
11456
|
}
|
|
11254
11457
|
handleBackspace() {
|
|
11255
11458
|
if (this.focusedTagIndex !== undefined) {
|
|
@@ -11275,13 +11478,24 @@ class MultiSelectComponent {
|
|
|
11275
11478
|
}
|
|
11276
11479
|
}
|
|
11277
11480
|
handleDownKey(index) {
|
|
11481
|
+
this.preserveFocusIndex = null;
|
|
11278
11482
|
if (this.isOpen) {
|
|
11483
|
+
index = this.calculateNavigationIndex(index);
|
|
11279
11484
|
this.selectionService.focused = index || this.firstFocusableIndex(0);
|
|
11280
11485
|
}
|
|
11281
11486
|
else {
|
|
11282
11487
|
this.openPopup();
|
|
11283
11488
|
}
|
|
11284
11489
|
}
|
|
11490
|
+
calculateNavigationIndex(index) {
|
|
11491
|
+
if (index === 0 && !isPresent(this.selectionService.focused)) {
|
|
11492
|
+
return this.hasCustomValueItem ? -1 : (this.selectAll ? -2 : 0);
|
|
11493
|
+
}
|
|
11494
|
+
if (index === -1 && !this.hasCustomValueItem) {
|
|
11495
|
+
return this.selectionService.focused < index ? 0 : (this.selectAll ? -2 : 0);
|
|
11496
|
+
}
|
|
11497
|
+
return index;
|
|
11498
|
+
}
|
|
11285
11499
|
handleRightKey() {
|
|
11286
11500
|
const last = this.tags.length - 1;
|
|
11287
11501
|
if (this.focusedTagIndex === last) {
|
|
@@ -11421,6 +11635,71 @@ class MultiSelectComponent {
|
|
|
11421
11635
|
this.togglePopup(false);
|
|
11422
11636
|
});
|
|
11423
11637
|
}
|
|
11638
|
+
buildTags(items) {
|
|
11639
|
+
if (this.allowCustom && this.selectAll && this.valueField) {
|
|
11640
|
+
const data = this.getDataItems();
|
|
11641
|
+
const dataItemValues = new Set(data.map(item => getter(item, this.valueField)));
|
|
11642
|
+
const listItems = [];
|
|
11643
|
+
const customItems = [];
|
|
11644
|
+
items.forEach(item => {
|
|
11645
|
+
const itemValue = getter(item, this.valueField);
|
|
11646
|
+
if (dataItemValues.has(itemValue)) {
|
|
11647
|
+
listItems.push(item);
|
|
11648
|
+
}
|
|
11649
|
+
else {
|
|
11650
|
+
customItems.push(item);
|
|
11651
|
+
}
|
|
11652
|
+
});
|
|
11653
|
+
const hasExplicitSummaryTagAfter = this.summaryTagAfter !== undefined;
|
|
11654
|
+
const totalItems = listItems.length + customItems.length;
|
|
11655
|
+
const result = [];
|
|
11656
|
+
const effectiveSummaryAfter = hasExplicitSummaryTagAfter ? this.summaryTagAfter : (this.selectAll ? 10 : null);
|
|
11657
|
+
const shouldCreateSummaryTag = listItems.length > 0 &&
|
|
11658
|
+
(effectiveSummaryAfter !== null && totalItems > effectiveSummaryAfter);
|
|
11659
|
+
if (shouldCreateSummaryTag) {
|
|
11660
|
+
result.push(listItems);
|
|
11661
|
+
customItems.forEach(item => {
|
|
11662
|
+
result.push(item);
|
|
11663
|
+
});
|
|
11664
|
+
}
|
|
11665
|
+
else {
|
|
11666
|
+
if (listItems.length > 0) {
|
|
11667
|
+
listItems.forEach(item => {
|
|
11668
|
+
result.push(item);
|
|
11669
|
+
});
|
|
11670
|
+
}
|
|
11671
|
+
customItems.forEach(item => {
|
|
11672
|
+
result.push(item);
|
|
11673
|
+
});
|
|
11674
|
+
if (effectiveSummaryAfter !== null && result.length > effectiveSummaryAfter) {
|
|
11675
|
+
const summarized = result.slice(0, effectiveSummaryAfter);
|
|
11676
|
+
summarized.push(result.slice(effectiveSummaryAfter));
|
|
11677
|
+
return summarized;
|
|
11678
|
+
}
|
|
11679
|
+
}
|
|
11680
|
+
return result;
|
|
11681
|
+
}
|
|
11682
|
+
return this.tagMapper(items);
|
|
11683
|
+
}
|
|
11684
|
+
refreshSummaryTagMapper() {
|
|
11685
|
+
const effectiveSummaryAfter = this.summaryTagAfter !== undefined
|
|
11686
|
+
? this.summaryTagAfter
|
|
11687
|
+
: (this.selectAll ? 10 : null);
|
|
11688
|
+
if (effectiveSummaryAfter !== null) {
|
|
11689
|
+
const showAfter = effectiveSummaryAfter;
|
|
11690
|
+
this.tagMapper = (tags) => {
|
|
11691
|
+
if (tags.length > showAfter) {
|
|
11692
|
+
const result = tags.slice(0, showAfter);
|
|
11693
|
+
result.push(tags.slice(showAfter, tags.length));
|
|
11694
|
+
return result;
|
|
11695
|
+
}
|
|
11696
|
+
return tags.slice ? tags.slice() : tags;
|
|
11697
|
+
};
|
|
11698
|
+
}
|
|
11699
|
+
else {
|
|
11700
|
+
this.tagMapper = (tags) => tags || [];
|
|
11701
|
+
}
|
|
11702
|
+
}
|
|
11424
11703
|
emitValueChange() {
|
|
11425
11704
|
this.onChangeCallback(this.value);
|
|
11426
11705
|
this.valueChange.emit(this.value);
|
|
@@ -11493,8 +11772,9 @@ class MultiSelectComponent {
|
|
|
11493
11772
|
hasObservers(this.close) ||
|
|
11494
11773
|
isUntouched(this.wrapper.nativeElement)) {
|
|
11495
11774
|
this._zone.run(() => {
|
|
11775
|
+
const preserveFilter = this.allowCustom && !!this.text;
|
|
11496
11776
|
this.closePopup();
|
|
11497
|
-
if (!
|
|
11777
|
+
if (!preserveFilter) {
|
|
11498
11778
|
this.clearFilter();
|
|
11499
11779
|
}
|
|
11500
11780
|
this.onBlur.emit();
|
|
@@ -11508,8 +11788,17 @@ class MultiSelectComponent {
|
|
|
11508
11788
|
this.closePopup();
|
|
11509
11789
|
}
|
|
11510
11790
|
}
|
|
11511
|
-
|
|
11512
|
-
|
|
11791
|
+
isItemSelected(item) {
|
|
11792
|
+
return this.value.some(v => getter(v, this.valueField) === getter(item, this.valueField));
|
|
11793
|
+
}
|
|
11794
|
+
updateSelectAllState() {
|
|
11795
|
+
if (this.selectAll) {
|
|
11796
|
+
this.isAllSelected = this.isAllSelectedComputed;
|
|
11797
|
+
this.isPartiallySelected = this.isPartiallySelectedComputed;
|
|
11798
|
+
}
|
|
11799
|
+
}
|
|
11800
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", 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: i0.Injector }, { token: i7.AdaptiveService }], target: i0.ɵɵFactoryTarget.Component });
|
|
11801
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: MultiSelectComponent, isStandalone: true, selector: "kendo-multiselect", inputs: { showStickyHeader: "showStickyHeader", selectAll: "selectAll", summaryTagAfter: "summaryTagAfter", 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", adaptiveMode: "adaptiveMode", adaptiveTitle: "adaptiveTitle", adaptiveSubtitle: "adaptiveSubtitle", 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", inputAttributes: "inputAttributes" }, outputs: { filterChange: "filterChange", valueChange: "valueChange", open: "open", opened: "opened", close: "close", closed: "closed", onFocus: "focus", onBlur: "blur", inputFocus: "inputFocus", inputBlur: "inputBlur", removeTag: "removeTag", selectAllChange: "selectAllChange" }, host: { properties: { "class.k-readonly": "this.readonly", "attr.dir": "this.dir", "class.k-disabled": "this.disabledClass", "class.k-loading": "this.isLoading" } }, providers: [
|
|
11513
11802
|
MULTISELECT_VALUE_ACCESSOR,
|
|
11514
11803
|
DataService,
|
|
11515
11804
|
SelectionService,
|
|
@@ -11528,7 +11817,8 @@ class MultiSelectComponent {
|
|
|
11528
11817
|
},
|
|
11529
11818
|
{
|
|
11530
11819
|
provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => MultiSelectComponent)
|
|
11531
|
-
}
|
|
11820
|
+
},
|
|
11821
|
+
provideComponentName('multiselect')
|
|
11532
11822
|
], queries: [{ propertyName: "template", first: true, predicate: ItemTemplateDirective, descendants: true }, { propertyName: "customItemTemplate", first: true, predicate: CustomItemTemplateDirective, descendants: true }, { propertyName: "groupTemplate", first: true, predicate: GroupTemplateDirective, descendants: true }, { propertyName: "fixedGroupTemplate", first: true, predicate: FixedGroupTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "tagTemplate", first: true, predicate: TagTemplateDirective, descendants: true }, { propertyName: "groupTagTemplate", first: true, predicate: GroupTagTemplateDirective, descendants: true }, { propertyName: "noDataTemplate", first: true, predicate: NoDataTemplateDirective, descendants: true }, { propertyName: "suffixTemplate", first: true, predicate: SuffixTemplateDirective, descendants: true }, { propertyName: "prefixTemplate", first: true, predicate: PrefixTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "adaptiveRendererComponent", first: true, predicate: AdaptiveRendererComponent, descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "searchbar", first: true, predicate: SearchBarComponent, descendants: true, static: true }, { propertyName: "tagList", first: true, predicate: TagListComponent, descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "optionsList", first: true, predicate: ["optionsList"], descendants: true }], exportAs: ["kendoMultiSelect"], usesOnChanges: true, ngImport: i0, template: `
|
|
11533
11823
|
<ng-container kendoMultiSelectLocalizedMessages
|
|
11534
11824
|
i18n-noDataText="kendo.multiselect.noDataText|The text displayed in the popup when there are no items"
|
|
@@ -11551,6 +11841,9 @@ class MultiSelectComponent {
|
|
|
11551
11841
|
|
|
11552
11842
|
i18n-listboxLabel="kendo.multiselect.listboxLabel|The accessible label of the listbox that contains the list of options"
|
|
11553
11843
|
listboxLabel="Options"
|
|
11844
|
+
|
|
11845
|
+
i18n-selectAllText="kendo.multiselect.selectAllText|The text of the Select All item in the popup"
|
|
11846
|
+
selectAllText="Select All"
|
|
11554
11847
|
>
|
|
11555
11848
|
</ng-container>
|
|
11556
11849
|
|
|
@@ -11697,6 +11990,11 @@ class MultiSelectComponent {
|
|
|
11697
11990
|
[isMultiselect]="true"
|
|
11698
11991
|
[isActionSheetExpanded]="isActionSheetExpanded"
|
|
11699
11992
|
[showStickyHeader]="showStickyHeader"
|
|
11993
|
+
[selectAll]="selectAll && data.length > 0"
|
|
11994
|
+
[selectAllText]="messageFor('selectAllText')"
|
|
11995
|
+
[isAllSelected]="isAllSelected"
|
|
11996
|
+
[isPartiallySelected]="isPartiallySelected"
|
|
11997
|
+
(selectAllClick)="handleSelectAllStateChange($event)"
|
|
11700
11998
|
[customItemTemplate]="customItemTemplate"
|
|
11701
11999
|
[text]="text"
|
|
11702
12000
|
[allowCustom]="allowCustom"
|
|
@@ -11727,9 +12025,9 @@ class MultiSelectComponent {
|
|
|
11727
12025
|
</ng-template>
|
|
11728
12026
|
}
|
|
11729
12027
|
</ng-template>
|
|
11730
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { kind: "directive", type: SharedDropDownEventsDirective, selector: "[kendoDropDownSharedEvents]", inputs: ["hostElement", "clearButtonClicked", "isFocused"], outputs: ["isFocusedChange", "onFocus", "handleBlur"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: SeparatorComponent, selector: "kendo-separator", inputs: ["orientation"] }, { kind: "component", type: TagListComponent, selector: "kendo-taglist", inputs: ["tags", "textField", "valueField", "valueDepth", "focused", "template", "groupTemplate", "disabled", "tagPrefix", "id", "ariaLabel", "size", "rounded", "fillMode", "disabledIndices"], outputs: ["removeTag"] }, { kind: "component", type: SearchBarComponent, selector: "input[kendoSearchbar]", inputs: ["tagListId", "readonly", "disabled", "isRequired", "isSuggestable", "hasListAutocomplete", "userInput", "suggestedText", "inputAttributes", "id", "activeDescendant", "tabIndex", "isLoading", "ariaControls", "ariaExpanded", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: AdaptiveRendererComponent, selector: "kendo-adaptive-renderer", inputs: ["title", "subtitle", "showTextInput", "sharedPopupActionSheetTemplate", "text", "placeholder", "searchBarValue", "filterable", "showListContainer"], outputs: ["closePopup", "textInputChange", "navigate", "onExpand"] }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "component", type: ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "ariaLabel", "isMultiselect", "isActionSheetExpanded", "showStickyHeader", "rowWidth", "columnsWidths", "customItemTemplate", "text", "allowCustom", "defaultItem", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize", "popupListScroll"] }] });
|
|
12028
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { kind: "directive", type: SharedDropDownEventsDirective, selector: "[kendoDropDownSharedEvents]", inputs: ["hostElement", "clearButtonClicked", "isFocused"], outputs: ["isFocusedChange", "onFocus", "handleBlur"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: SeparatorComponent, selector: "kendo-separator", inputs: ["orientation"] }, { kind: "component", type: TagListComponent, selector: "kendo-taglist", inputs: ["tags", "textField", "valueField", "valueDepth", "focused", "template", "groupTemplate", "disabled", "tagPrefix", "id", "ariaLabel", "size", "rounded", "fillMode", "disabledIndices"], outputs: ["removeTag"] }, { kind: "component", type: SearchBarComponent, selector: "input[kendoSearchbar]", inputs: ["tagListId", "readonly", "disabled", "isRequired", "isSuggestable", "hasListAutocomplete", "userInput", "suggestedText", "inputAttributes", "id", "activeDescendant", "tabIndex", "isLoading", "ariaControls", "ariaExpanded", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: AdaptiveRendererComponent, selector: "kendo-adaptive-renderer", inputs: ["title", "subtitle", "showTextInput", "sharedPopupActionSheetTemplate", "text", "placeholder", "searchBarValue", "filterable", "showListContainer"], outputs: ["closePopup", "textInputChange", "navigate", "onExpand"] }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "component", type: ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "ariaLabel", "isMultiselect", "isActionSheetExpanded", "showStickyHeader", "rowWidth", "columnsWidths", "customItemTemplate", "text", "allowCustom", "defaultItem", "selectAll", "selectAllText", "isAllSelected", "isPartiallySelected", "data", "size", "rounded"], outputs: ["selectAllClick", "onClick", "pageChange", "listResize", "popupListScroll"] }] });
|
|
11731
12029
|
}
|
|
11732
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
12030
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MultiSelectComponent, decorators: [{
|
|
11733
12031
|
type: Component,
|
|
11734
12032
|
args: [{
|
|
11735
12033
|
exportAs: 'kendoMultiSelect',
|
|
@@ -11752,7 +12050,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
11752
12050
|
},
|
|
11753
12051
|
{
|
|
11754
12052
|
provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => MultiSelectComponent)
|
|
11755
|
-
}
|
|
12053
|
+
},
|
|
12054
|
+
provideComponentName('multiselect')
|
|
11756
12055
|
],
|
|
11757
12056
|
selector: 'kendo-multiselect',
|
|
11758
12057
|
template: `
|
|
@@ -11777,6 +12076,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
11777
12076
|
|
|
11778
12077
|
i18n-listboxLabel="kendo.multiselect.listboxLabel|The accessible label of the listbox that contains the list of options"
|
|
11779
12078
|
listboxLabel="Options"
|
|
12079
|
+
|
|
12080
|
+
i18n-selectAllText="kendo.multiselect.selectAllText|The text of the Select All item in the popup"
|
|
12081
|
+
selectAllText="Select All"
|
|
11780
12082
|
>
|
|
11781
12083
|
</ng-container>
|
|
11782
12084
|
|
|
@@ -11923,6 +12225,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
11923
12225
|
[isMultiselect]="true"
|
|
11924
12226
|
[isActionSheetExpanded]="isActionSheetExpanded"
|
|
11925
12227
|
[showStickyHeader]="showStickyHeader"
|
|
12228
|
+
[selectAll]="selectAll && data.length > 0"
|
|
12229
|
+
[selectAllText]="messageFor('selectAllText')"
|
|
12230
|
+
[isAllSelected]="isAllSelected"
|
|
12231
|
+
[isPartiallySelected]="isPartiallySelected"
|
|
12232
|
+
(selectAllClick)="handleSelectAllStateChange($event)"
|
|
11926
12233
|
[customItemTemplate]="customItemTemplate"
|
|
11927
12234
|
[text]="text"
|
|
11928
12235
|
[allowCustom]="allowCustom"
|
|
@@ -11962,6 +12269,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
11962
12269
|
args: [AdaptiveRendererComponent]
|
|
11963
12270
|
}], showStickyHeader: [{
|
|
11964
12271
|
type: Input
|
|
12272
|
+
}], selectAll: [{
|
|
12273
|
+
type: Input
|
|
12274
|
+
}], summaryTagAfter: [{
|
|
12275
|
+
type: Input
|
|
11965
12276
|
}], focusableId: [{
|
|
11966
12277
|
type: Input
|
|
11967
12278
|
}], autoClose: [{
|
|
@@ -12050,6 +12361,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
12050
12361
|
type: Output
|
|
12051
12362
|
}], removeTag: [{
|
|
12052
12363
|
type: Output
|
|
12364
|
+
}], selectAllChange: [{
|
|
12365
|
+
type: Output
|
|
12053
12366
|
}], container: [{
|
|
12054
12367
|
type: ViewChild,
|
|
12055
12368
|
args: ['container', { read: ViewContainerRef, static: true }]
|
|
@@ -12135,10 +12448,10 @@ class ColumnCellTemplateDirective {
|
|
|
12135
12448
|
constructor(templateRef) {
|
|
12136
12449
|
this.templateRef = templateRef;
|
|
12137
12450
|
}
|
|
12138
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
12139
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
12451
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ColumnCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
12452
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: ColumnCellTemplateDirective, isStandalone: true, selector: "[kendoMultiColumnComboBoxColumnCellTemplate]", ngImport: i0 });
|
|
12140
12453
|
}
|
|
12141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
12454
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ColumnCellTemplateDirective, decorators: [{
|
|
12142
12455
|
type: Directive,
|
|
12143
12456
|
args: [{
|
|
12144
12457
|
selector: '[kendoMultiColumnComboBoxColumnCellTemplate]',
|
|
@@ -12170,10 +12483,10 @@ class ColumnHeaderTemplateDirective {
|
|
|
12170
12483
|
constructor(templateRef) {
|
|
12171
12484
|
this.templateRef = templateRef;
|
|
12172
12485
|
}
|
|
12173
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
12174
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
12486
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ColumnHeaderTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
12487
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: ColumnHeaderTemplateDirective, isStandalone: true, selector: "[kendoMultiColumnComboBoxColumnHeaderTemplate]", ngImport: i0 });
|
|
12175
12488
|
}
|
|
12176
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
12489
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ColumnHeaderTemplateDirective, decorators: [{
|
|
12177
12490
|
type: Directive,
|
|
12178
12491
|
args: [{
|
|
12179
12492
|
selector: '[kendoMultiColumnComboBoxColumnHeaderTemplate]',
|
|
@@ -12254,10 +12567,10 @@ class ComboBoxColumnComponent {
|
|
|
12254
12567
|
* @hidden
|
|
12255
12568
|
*/
|
|
12256
12569
|
matchesMedia = true;
|
|
12257
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
12258
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
12570
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ComboBoxColumnComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
12571
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", type: ComboBoxColumnComponent, isStandalone: true, 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 });
|
|
12259
12572
|
}
|
|
12260
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
12573
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ComboBoxColumnComponent, decorators: [{
|
|
12261
12574
|
type: Component,
|
|
12262
12575
|
args: [{
|
|
12263
12576
|
selector: 'kendo-combobox-column',
|
|
@@ -12544,8 +12857,8 @@ class MultiColumnComboBoxComponent extends ComboBoxComponent {
|
|
|
12544
12857
|
}
|
|
12545
12858
|
return this.headerTable?.nativeElement.offsetWidth;
|
|
12546
12859
|
}
|
|
12547
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
12548
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
12860
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", 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: i0.Injector }, { token: i0.ElementRef }, { token: i7.AdaptiveService }], target: i0.ɵɵFactoryTarget.Component });
|
|
12861
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: MultiColumnComboBoxComponent, isStandalone: true, selector: "kendo-multicolumncombobox", host: { properties: { "class.k-dropdowngrid": "this.hostClasses", "class.k-disabled": "this.isDisabled" } }, providers: [
|
|
12549
12862
|
SelectionService,
|
|
12550
12863
|
DataService,
|
|
12551
12864
|
NavigationService,
|
|
@@ -12575,7 +12888,8 @@ class MultiColumnComboBoxComponent extends ComboBoxComponent {
|
|
|
12575
12888
|
{
|
|
12576
12889
|
provide: KENDO_WEBMCP_HOST,
|
|
12577
12890
|
useExisting: forwardRef(() => MultiColumnComboBoxComponent)
|
|
12578
|
-
}
|
|
12891
|
+
},
|
|
12892
|
+
provideComponentName('multicolumncombobox')
|
|
12579
12893
|
], queries: [{ propertyName: "columns", predicate: ComboBoxColumnComponent }], viewQueries: [{ propertyName: "header", first: true, predicate: ["header"], descendants: true }, { propertyName: "headerTable", first: true, predicate: ["headerTable"], descendants: true }, { propertyName: "headerColumns", predicate: ["columnHeader"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
12580
12894
|
<ng-container
|
|
12581
12895
|
kendoMultiColumnComboBoxLocalizedMessages
|
|
@@ -12850,9 +13164,9 @@ class MultiColumnComboBoxComponent extends ComboBoxComponent {
|
|
|
12850
13164
|
}
|
|
12851
13165
|
</div>
|
|
12852
13166
|
</ng-template>
|
|
12853
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { kind: "directive", type: SharedDropDownEventsDirective, selector: "[kendoDropDownSharedEvents]", inputs: ["hostElement", "clearButtonClicked", "isFocused"], outputs: ["isFocusedChange", "onFocus", "handleBlur"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: SeparatorComponent, selector: "kendo-separator", inputs: ["orientation"] }, { kind: "component", type: SearchBarComponent, selector: "input[kendoSearchbar]", inputs: ["tagListId", "readonly", "disabled", "isRequired", "isSuggestable", "hasListAutocomplete", "userInput", "suggestedText", "inputAttributes", "id", "activeDescendant", "tabIndex", "isLoading", "ariaControls", "ariaExpanded", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: AdaptiveRendererComponent, selector: "kendo-adaptive-renderer", inputs: ["title", "subtitle", "showTextInput", "sharedPopupActionSheetTemplate", "text", "placeholder", "searchBarValue", "filterable", "showListContainer"], outputs: ["closePopup", "textInputChange", "navigate", "onExpand"] }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "ariaLabel", "isMultiselect", "isActionSheetExpanded", "showStickyHeader", "rowWidth", "columnsWidths", "customItemTemplate", "text", "allowCustom", "defaultItem", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize", "popupListScroll"] }] });
|
|
13167
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { kind: "directive", type: SharedDropDownEventsDirective, selector: "[kendoDropDownSharedEvents]", inputs: ["hostElement", "clearButtonClicked", "isFocused"], outputs: ["isFocusedChange", "onFocus", "handleBlur"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: SeparatorComponent, selector: "kendo-separator", inputs: ["orientation"] }, { kind: "component", type: SearchBarComponent, selector: "input[kendoSearchbar]", inputs: ["tagListId", "readonly", "disabled", "isRequired", "isSuggestable", "hasListAutocomplete", "userInput", "suggestedText", "inputAttributes", "id", "activeDescendant", "tabIndex", "isLoading", "ariaControls", "ariaExpanded", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: AdaptiveRendererComponent, selector: "kendo-adaptive-renderer", inputs: ["title", "subtitle", "showTextInput", "sharedPopupActionSheetTemplate", "text", "placeholder", "searchBarValue", "filterable", "showListContainer"], outputs: ["closePopup", "textInputChange", "navigate", "onExpand"] }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "ariaLabel", "isMultiselect", "isActionSheetExpanded", "showStickyHeader", "rowWidth", "columnsWidths", "customItemTemplate", "text", "allowCustom", "defaultItem", "selectAll", "selectAllText", "isAllSelected", "isPartiallySelected", "data", "size", "rounded"], outputs: ["selectAllClick", "onClick", "pageChange", "listResize", "popupListScroll"] }] });
|
|
12854
13168
|
}
|
|
12855
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
13169
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MultiColumnComboBoxComponent, decorators: [{
|
|
12856
13170
|
type: Component,
|
|
12857
13171
|
args: [{
|
|
12858
13172
|
providers: [
|
|
@@ -12885,7 +13199,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
12885
13199
|
{
|
|
12886
13200
|
provide: KENDO_WEBMCP_HOST,
|
|
12887
13201
|
useExisting: forwardRef(() => MultiColumnComboBoxComponent)
|
|
12888
|
-
}
|
|
13202
|
+
},
|
|
13203
|
+
provideComponentName('multicolumncombobox')
|
|
12889
13204
|
],
|
|
12890
13205
|
selector: 'kendo-multicolumncombobox',
|
|
12891
13206
|
template: `
|
|
@@ -13201,10 +13516,10 @@ class NodeTemplateDirective {
|
|
|
13201
13516
|
constructor(templateRef) {
|
|
13202
13517
|
this.templateRef = templateRef;
|
|
13203
13518
|
}
|
|
13204
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
13205
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
13519
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: NodeTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
13520
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: NodeTemplateDirective, isStandalone: true, selector: "[kendoDropDownTreeNodeTemplate], [kendoMultiSelectTreeNodeTemplate]", ngImport: i0 });
|
|
13206
13521
|
}
|
|
13207
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
13522
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: NodeTemplateDirective, decorators: [{
|
|
13208
13523
|
type: Directive,
|
|
13209
13524
|
args: [{
|
|
13210
13525
|
selector: '[kendoDropDownTreeNodeTemplate], [kendoMultiSelectTreeNodeTemplate]',
|
|
@@ -14495,8 +14810,8 @@ class DropDownTreeComponent {
|
|
|
14495
14810
|
this.opened.emit();
|
|
14496
14811
|
this.removeTreeViewFromTabOrder();
|
|
14497
14812
|
}
|
|
14498
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
14499
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
14813
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", 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: i7.AdaptiveService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14814
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: DropDownTreeComponent, isStandalone: true, selector: "kendo-dropdowntree", inputs: { icon: "icon", svgIcon: "svgIcon", 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", adaptiveMode: "adaptiveMode", adaptiveTitle: "adaptiveTitle", adaptiveSubtitle: "adaptiveSubtitle" }, outputs: { open: "open", opened: "opened", close: "close", closed: "closed", nodeExpand: "nodeExpand", nodeCollapse: "nodeCollapse", onFocus: "focus", onBlur: "blur", valueChange: "valueChange", filterChange: "filterChange" }, host: { properties: { "class.k-dropdowntree": "this.hostClasses", "class.k-picker": "this.hostClasses", "attr.readonly": "this.isReadonly", "attr.aria-invalid": "this.hostAriaInvalid", "class.k-disabled": "this.isDisabled", "attr.aria-disabled": "this.isDisabled", "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", "class.k-readonly": "this.readonly" } }, providers: [
|
|
14500
14815
|
DataService,
|
|
14501
14816
|
SelectionService,
|
|
14502
14817
|
NavigationService,
|
|
@@ -14526,7 +14841,8 @@ class DropDownTreeComponent {
|
|
|
14526
14841
|
{
|
|
14527
14842
|
provide: KENDO_WEBMCP_HOST,
|
|
14528
14843
|
useExisting: forwardRef(() => DropDownTreeComponent)
|
|
14529
|
-
}
|
|
14844
|
+
},
|
|
14845
|
+
provideComponentName('dropdowntree')
|
|
14530
14846
|
], queries: [{ propertyName: "noDataTemplate", first: true, predicate: NoDataTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "nodeTemplate", first: true, predicate: NodeTemplateDirective, descendants: true }, { propertyName: "valueTemplate", first: true, predicate: ValueTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "adaptiveRendererComponent", first: true, predicate: AdaptiveRendererComponent, descendants: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "treeview", first: true, predicate: ["treeview"], descendants: true }, { propertyName: "filterInput", first: true, predicate: ["filterInput"], descendants: true }], exportAs: ["kendoDropDownTree"], usesOnChanges: true, ngImport: i0, template: `
|
|
14531
14847
|
<ng-container kendoDropDownTreeLocalizedMessages
|
|
14532
14848
|
i18n-noDataText="kendo.dropdowntree.noDataText|The text displayed in the popup when there are no items"
|
|
@@ -14726,7 +15042,7 @@ class DropDownTreeComponent {
|
|
|
14726
15042
|
}
|
|
14727
15043
|
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: AdaptiveRendererComponent, selector: "kendo-adaptive-renderer", inputs: ["title", "subtitle", "showTextInput", "sharedPopupActionSheetTemplate", "text", "placeholder", "searchBarValue", "filterable", "showListContainer"], outputs: ["closePopup", "textInputChange", "navigate", "onExpand"] }, { kind: "directive", type: FilterInputDirective, selector: "[filterInput]", inputs: ["filterInput"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: TreeViewComponent, selector: "kendo-treeview", inputs: ["filterInputPlaceholder", "expandDisabledNodes", "animate", "nodeTemplate", "loadMoreButtonTemplate", "loadMoreButtonRole", "trackBy", "nodes", "textField", "hasChildren", "isChecked", "isDisabled", "hasCheckbox", "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"] }, { kind: "directive", type: SelectDirective, selector: "[kendoTreeViewSelectable]", inputs: ["isSelected", "selectBy", "kendoTreeViewSelectable", "selectedKeys"], outputs: ["selectedKeysChange"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: SeparatorComponent, selector: "kendo-separator", inputs: ["orientation"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14728
15044
|
}
|
|
14729
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
15045
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DropDownTreeComponent, decorators: [{
|
|
14730
15046
|
type: Component,
|
|
14731
15047
|
args: [{
|
|
14732
15048
|
exportAs: 'kendoDropDownTree',
|
|
@@ -14760,7 +15076,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
14760
15076
|
{
|
|
14761
15077
|
provide: KENDO_WEBMCP_HOST,
|
|
14762
15078
|
useExisting: forwardRef(() => DropDownTreeComponent)
|
|
14763
|
-
}
|
|
15079
|
+
},
|
|
15080
|
+
provideComponentName('dropdowntree')
|
|
14764
15081
|
],
|
|
14765
15082
|
selector: 'kendo-dropdowntree',
|
|
14766
15083
|
template: `
|
|
@@ -15203,10 +15520,10 @@ class MultiSelectTreeLookupService {
|
|
|
15203
15520
|
};
|
|
15204
15521
|
});
|
|
15205
15522
|
}
|
|
15206
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
15207
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
15523
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MultiSelectTreeLookupService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
15524
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MultiSelectTreeLookupService });
|
|
15208
15525
|
}
|
|
15209
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
15526
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MultiSelectTreeLookupService, decorators: [{
|
|
15210
15527
|
type: Injectable
|
|
15211
15528
|
}] });
|
|
15212
15529
|
|
|
@@ -15267,10 +15584,10 @@ class BaseCheckDirective {
|
|
|
15267
15584
|
getKey(item, level) {
|
|
15268
15585
|
return valueFrom(item, this.valueField) + '_' + (this.isHeterogeneous ? level : 0);
|
|
15269
15586
|
}
|
|
15270
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
15271
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
15587
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: BaseCheckDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
15588
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: BaseCheckDirective, isStandalone: true, inputs: { valueField: "valueField", checkedItems: "checkedItems", isHeterogeneous: "isHeterogeneous" }, ngImport: i0 });
|
|
15272
15589
|
}
|
|
15273
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
15590
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: BaseCheckDirective, decorators: [{
|
|
15274
15591
|
type: Directive
|
|
15275
15592
|
}], propDecorators: { valueField: [{
|
|
15276
15593
|
type: Input
|
|
@@ -15418,10 +15735,10 @@ class CheckDirective extends BaseCheckDirective {
|
|
|
15418
15735
|
}
|
|
15419
15736
|
return false;
|
|
15420
15737
|
}
|
|
15421
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
15422
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
15738
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CheckDirective, deps: [{ token: i1$1.TreeViewComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
15739
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: CheckDirective, isStandalone: true, selector: "[kendoMultiSelectTreeCheckable]", inputs: { checkable: "checkable", valueField: "valueField", checkedItems: "checkedItems" }, outputs: { checkedItemsChange: "checkedItemsChange" }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
15423
15740
|
}
|
|
15424
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
15741
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CheckDirective, decorators: [{
|
|
15425
15742
|
type: Directive,
|
|
15426
15743
|
args: [{
|
|
15427
15744
|
selector: '[kendoMultiSelectTreeCheckable]',
|
|
@@ -15571,10 +15888,10 @@ class CheckAllDirective extends BaseCheckDirective {
|
|
|
15571
15888
|
});
|
|
15572
15889
|
return childrenChecked || this.isItemChecked(lookup.item);
|
|
15573
15890
|
}
|
|
15574
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
15575
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
15891
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CheckAllDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
15892
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: CheckAllDirective, isStandalone: true, 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 });
|
|
15576
15893
|
}
|
|
15577
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
15894
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CheckAllDirective, decorators: [{
|
|
15578
15895
|
type: Directive,
|
|
15579
15896
|
args: [{
|
|
15580
15897
|
selector: '[checkAll]',
|
|
@@ -17177,8 +17494,8 @@ class MultiSelectTreeComponent {
|
|
|
17177
17494
|
this.cdr.detectChanges();
|
|
17178
17495
|
this.opened.emit();
|
|
17179
17496
|
}
|
|
17180
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
17181
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
17497
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", 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: i7.AdaptiveService }], target: i0.ɵɵFactoryTarget.Component });
|
|
17498
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: MultiSelectTreeComponent, isStandalone: true, selector: "kendo-multiselecttree", inputs: { adaptiveMode: "adaptiveMode", adaptiveTitle: "adaptiveTitle", adaptiveSubtitle: "adaptiveSubtitle", 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: { properties: { "class.k-disabled": "this.isDisabled", "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.readonly": "this.isReadonly", "attr.aria-activedescendant": "this.ariaActiveDescendant", "class.k-readonly": "this.readonly" } }, providers: [
|
|
17182
17499
|
LocalizationService,
|
|
17183
17500
|
NavigationService,
|
|
17184
17501
|
DataService,
|
|
@@ -17205,7 +17522,8 @@ class MultiSelectTreeComponent {
|
|
|
17205
17522
|
{
|
|
17206
17523
|
provide: KendoInput,
|
|
17207
17524
|
useExisting: forwardRef(() => MultiSelectTreeComponent)
|
|
17208
|
-
}
|
|
17525
|
+
},
|
|
17526
|
+
provideComponentName('multiselecttree')
|
|
17209
17527
|
], queries: [{ propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "nodeTemplate", first: true, predicate: NodeTemplateDirective, descendants: true }, { propertyName: "noDataTemplate", first: true, predicate: NoDataTemplateDirective, descendants: true }, { propertyName: "tagTemplate", first: true, predicate: TagTemplateDirective, descendants: true }, { propertyName: "groupTagTemplate", first: true, predicate: GroupTagTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "adaptiveRendererComponent", first: true, predicate: AdaptiveRendererComponent, descendants: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "treeview", first: true, predicate: ["treeview"], descendants: true }, { propertyName: "filterInput", first: true, predicate: ["filterInput"], descendants: true }, { propertyName: "checkAllInput", first: true, predicate: ["checkAllInput"], descendants: true }], exportAs: ["kendoMultiSelectTree"], usesOnChanges: true, ngImport: i0, template: `
|
|
17210
17528
|
<ng-container kendoMultiSelectTreeLocalizedMessages
|
|
17211
17529
|
i18n-noDataText="kendo.multiselecttree.noDataText|The text displayed in the popup when there are no items"
|
|
@@ -17455,7 +17773,7 @@ class MultiSelectTreeComponent {
|
|
|
17455
17773
|
}
|
|
17456
17774
|
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { kind: "component", type: TagListComponent, selector: "kendo-taglist", inputs: ["tags", "textField", "valueField", "valueDepth", "focused", "template", "groupTemplate", "disabled", "tagPrefix", "id", "ariaLabel", "size", "rounded", "fillMode", "disabledIndices"], outputs: ["removeTag"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: AdaptiveRendererComponent, selector: "kendo-adaptive-renderer", inputs: ["title", "subtitle", "showTextInput", "sharedPopupActionSheetTemplate", "text", "placeholder", "searchBarValue", "filterable", "showListContainer"], outputs: ["closePopup", "textInputChange", "navigate", "onExpand"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: FilterInputDirective, selector: "[filterInput]", inputs: ["filterInput"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "directive", type: CheckAllDirective, selector: "[checkAll]", inputs: ["lastAction", "treeview", "checkedItems", "valueField", "checkAll"], outputs: ["checkedItemsChange"] }, { kind: "component", type: TreeViewComponent, selector: "kendo-treeview", inputs: ["filterInputPlaceholder", "expandDisabledNodes", "animate", "nodeTemplate", "loadMoreButtonTemplate", "loadMoreButtonRole", "trackBy", "nodes", "textField", "hasChildren", "isChecked", "isDisabled", "hasCheckbox", "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"] }, { kind: "directive", type: CheckDirective, selector: "[kendoMultiSelectTreeCheckable]", inputs: ["checkable", "valueField", "checkedItems"], outputs: ["checkedItemsChange"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: SeparatorComponent, selector: "kendo-separator", inputs: ["orientation"] }] });
|
|
17457
17775
|
}
|
|
17458
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
17776
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MultiSelectTreeComponent, decorators: [{
|
|
17459
17777
|
type: Component,
|
|
17460
17778
|
args: [{
|
|
17461
17779
|
exportAs: 'kendoMultiSelectTree',
|
|
@@ -17486,7 +17804,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
17486
17804
|
{
|
|
17487
17805
|
provide: KendoInput,
|
|
17488
17806
|
useExisting: forwardRef(() => MultiSelectTreeComponent)
|
|
17489
|
-
}
|
|
17807
|
+
},
|
|
17808
|
+
provideComponentName('multiselecttree')
|
|
17490
17809
|
],
|
|
17491
17810
|
selector: 'kendo-multiselecttree',
|
|
17492
17811
|
template: `
|
|
@@ -17940,10 +18259,10 @@ class DropDownTreeFlatBindingDirective extends FlatDataBindingDirective {
|
|
|
17940
18259
|
}
|
|
17941
18260
|
super.ngOnChanges(changes);
|
|
17942
18261
|
}
|
|
17943
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
17944
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
18262
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DropDownTreeFlatBindingDirective, deps: [{ token: i1$1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
18263
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: DropDownTreeFlatBindingDirective, isStandalone: true, selector: "[kendoDropDownTreeFlatBinding]", inputs: { nodes: ["kendoDropDownTreeFlatBinding", "nodes"], idField: ["valueField", "idField"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
17945
18264
|
}
|
|
17946
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
18265
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DropDownTreeFlatBindingDirective, decorators: [{
|
|
17947
18266
|
type: Directive,
|
|
17948
18267
|
args: [{
|
|
17949
18268
|
selector: '[kendoDropDownTreeFlatBinding]',
|
|
@@ -17997,10 +18316,10 @@ class DropDownTreeHierarchyBindingDirective extends HierarchyBindingDirective {
|
|
|
17997
18316
|
}
|
|
17998
18317
|
super.ngOnChanges(changes);
|
|
17999
18318
|
}
|
|
18000
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
18001
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
18319
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DropDownTreeHierarchyBindingDirective, deps: [{ token: i1$1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
18320
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: DropDownTreeHierarchyBindingDirective, isStandalone: true, selector: "[kendoDropDownTreeHierarchyBinding]", inputs: { nodes: ["kendoDropDownTreeHierarchyBinding", "nodes"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
18002
18321
|
}
|
|
18003
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
18322
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DropDownTreeHierarchyBindingDirective, decorators: [{
|
|
18004
18323
|
type: Directive,
|
|
18005
18324
|
args: [{
|
|
18006
18325
|
selector: '[kendoDropDownTreeHierarchyBinding]',
|
|
@@ -18055,10 +18374,10 @@ class MultiSelectTreeFlatBindingDirective extends FlatDataBindingDirective {
|
|
|
18055
18374
|
}
|
|
18056
18375
|
super.ngOnChanges(changes);
|
|
18057
18376
|
}
|
|
18058
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
18059
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
18377
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MultiSelectTreeFlatBindingDirective, deps: [{ token: i1$1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
18378
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: MultiSelectTreeFlatBindingDirective, isStandalone: true, selector: "[kendoMultiSelectTreeFlatBinding]", inputs: { nodes: ["kendoMultiSelectTreeFlatBinding", "nodes"], idField: ["valueField", "idField"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
18060
18379
|
}
|
|
18061
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
18380
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MultiSelectTreeFlatBindingDirective, decorators: [{
|
|
18062
18381
|
type: Directive,
|
|
18063
18382
|
args: [{
|
|
18064
18383
|
selector: '[kendoMultiSelectTreeFlatBinding]',
|
|
@@ -18112,10 +18431,10 @@ class MultiSelectTreeHierarchyBindingDirective extends HierarchyBindingDirective
|
|
|
18112
18431
|
}
|
|
18113
18432
|
super.ngOnChanges(changes);
|
|
18114
18433
|
}
|
|
18115
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
18116
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
18434
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MultiSelectTreeHierarchyBindingDirective, deps: [{ token: i1$1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
18435
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: MultiSelectTreeHierarchyBindingDirective, isStandalone: true, selector: "[kendoMultiSelectTreeHierarchyBinding]", inputs: { nodes: ["kendoMultiSelectTreeHierarchyBinding", "nodes"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
18117
18436
|
}
|
|
18118
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
18437
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MultiSelectTreeHierarchyBindingDirective, decorators: [{
|
|
18119
18438
|
type: Directive,
|
|
18120
18439
|
args: [{
|
|
18121
18440
|
selector: '[kendoMultiSelectTreeHierarchyBinding]',
|
|
@@ -18163,10 +18482,10 @@ class DropDownTreesExpandDirective extends ExpandDirective {
|
|
|
18163
18482
|
super(dropDownTree);
|
|
18164
18483
|
this.dropDownTree = dropDownTree;
|
|
18165
18484
|
}
|
|
18166
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
18167
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
18485
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DropDownTreesExpandDirective, deps: [{ token: i1$1.ExpandableComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
18486
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: DropDownTreesExpandDirective, isStandalone: true, selector: "[kendoDropDownTreeExpandable], [kendoMultiSelectTreeExpandable]", inputs: { isExpanded: ["isNodeExpanded", "isExpanded"] }, usesInheritance: true, ngImport: i0 });
|
|
18168
18487
|
}
|
|
18169
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
18488
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DropDownTreesExpandDirective, decorators: [{
|
|
18170
18489
|
type: Directive,
|
|
18171
18490
|
args: [{
|
|
18172
18491
|
selector: '[kendoDropDownTreeExpandable], [kendoMultiSelectTreeExpandable]',
|
|
@@ -18293,10 +18612,10 @@ class FilterDirective {
|
|
|
18293
18612
|
const providedFields = isPresent(settings) && typeof settings === 'object' ? settings.fields : [];
|
|
18294
18613
|
return Object.assign({}, DEFAULT_FILTER_SETTINGS, settings, { fields: this.getFilterFields(providedFields) });
|
|
18295
18614
|
}
|
|
18296
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
18297
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
18615
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: FilterDirective, deps: [{ token: FilterableComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
18616
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: FilterDirective, isStandalone: true, selector: "[kendoDropDownFilter]", inputs: { data: "data", rawSettings: ["kendoDropDownFilter", "rawSettings"], filterable: "filterable" }, ngImport: i0 });
|
|
18298
18617
|
}
|
|
18299
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
18618
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: FilterDirective, decorators: [{
|
|
18300
18619
|
type: Directive,
|
|
18301
18620
|
args: [{
|
|
18302
18621
|
selector: '[kendoDropDownFilter]',
|
|
@@ -18378,15 +18697,15 @@ class CustomMessagesComponent extends Messages {
|
|
|
18378
18697
|
get override() {
|
|
18379
18698
|
return true;
|
|
18380
18699
|
}
|
|
18381
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
18382
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
18700
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
18701
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-dropdownlist-messages,kendo-combobox-messages,kendo-multicolumncombobox-messages,kendo-autocomplete-messages,kendo-multiselect-messages,kendo-dropdowntree-messages,kendo-multiselecttree-messages", providers: [
|
|
18383
18702
|
{
|
|
18384
18703
|
provide: Messages,
|
|
18385
18704
|
useExisting: forwardRef(() => CustomMessagesComponent)
|
|
18386
18705
|
}
|
|
18387
18706
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
18388
18707
|
}
|
|
18389
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
18708
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CustomMessagesComponent, decorators: [{
|
|
18390
18709
|
type: Component,
|
|
18391
18710
|
args: [{
|
|
18392
18711
|
providers: [
|
|
@@ -18401,66 +18720,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
18401
18720
|
}]
|
|
18402
18721
|
}], ctorParameters: () => [{ type: i1.LocalizationService }] });
|
|
18403
18722
|
|
|
18404
|
-
/**
|
|
18405
|
-
* Configures the MultiSelect to show one summary tag for all selected items.
|
|
18406
|
-
* Set a number to display the summary tag after the respective number of items are selected.
|
|
18407
|
-
* [See example](https://www.telerik.com/kendo-angular-ui/components/dropdowns/multiselect/summary-tag-mode).
|
|
18408
|
-
*
|
|
18409
|
-
* @example
|
|
18410
|
-
* ```ts-no-run
|
|
18411
|
-
* <kendo-multiselect kendoMultiSelectSummaryTag [data]="data"></kendo-multiselect>
|
|
18412
|
-
* ```
|
|
18413
|
-
*
|
|
18414
|
-
* @example
|
|
18415
|
-
* ```ts-no-run
|
|
18416
|
-
* <kendo-multiselect [kendoMultiSelectSummaryTag]="2" [data]="data"></kendo-multiselect>
|
|
18417
|
-
* ```
|
|
18418
|
-
*/
|
|
18419
|
-
class SummaryTagDirective {
|
|
18420
|
-
multiSelectComponent;
|
|
18421
|
-
/**
|
|
18422
|
-
* Sets the number of selected items after which the summary tag appears.
|
|
18423
|
-
*
|
|
18424
|
-
* @default 0
|
|
18425
|
-
*/
|
|
18426
|
-
showAfter = 0;
|
|
18427
|
-
constructor(multiSelectComponent) {
|
|
18428
|
-
this.multiSelectComponent = multiSelectComponent;
|
|
18429
|
-
this.createTagMapper();
|
|
18430
|
-
}
|
|
18431
|
-
ngOnChanges(changes) {
|
|
18432
|
-
if (isPresent(changes.showAfter)) {
|
|
18433
|
-
this.createTagMapper();
|
|
18434
|
-
this.multiSelectComponent.onTagMapperChange();
|
|
18435
|
-
}
|
|
18436
|
-
}
|
|
18437
|
-
createTagMapper() {
|
|
18438
|
-
const showAfter = parseNumber(this.showAfter);
|
|
18439
|
-
this.multiSelectComponent.tagMapper = (tags) => {
|
|
18440
|
-
if (tags.length > showAfter) {
|
|
18441
|
-
const result = tags.slice(0, showAfter);
|
|
18442
|
-
result.push(tags.slice(showAfter, tags.length));
|
|
18443
|
-
return result;
|
|
18444
|
-
}
|
|
18445
|
-
else {
|
|
18446
|
-
return tags;
|
|
18447
|
-
}
|
|
18448
|
-
};
|
|
18449
|
-
}
|
|
18450
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: SummaryTagDirective, deps: [{ token: MultiSelectComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
18451
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.25", type: SummaryTagDirective, isStandalone: true, selector: "[kendoMultiSelectSummaryTag]", inputs: { showAfter: ["kendoMultiSelectSummaryTag", "showAfter"] }, usesOnChanges: true, ngImport: i0 });
|
|
18452
|
-
}
|
|
18453
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: SummaryTagDirective, decorators: [{
|
|
18454
|
-
type: Directive,
|
|
18455
|
-
args: [{
|
|
18456
|
-
selector: '[kendoMultiSelectSummaryTag]',
|
|
18457
|
-
standalone: true
|
|
18458
|
-
}]
|
|
18459
|
-
}], ctorParameters: () => [{ type: MultiSelectComponent }], propDecorators: { showAfter: [{
|
|
18460
|
-
type: Input,
|
|
18461
|
-
args: ['kendoMultiSelectSummaryTag']
|
|
18462
|
-
}] } });
|
|
18463
|
-
|
|
18464
18723
|
/**
|
|
18465
18724
|
* Configures the MultiSelectTree to show one single summary tag for all selected data items.
|
|
18466
18725
|
* When a number is set, the summary tag is shown after the corresponding number of data items are selected (see examples).
|
|
@@ -18509,10 +18768,10 @@ class MultiSelectTreeSummaryTagDirective {
|
|
|
18509
18768
|
}
|
|
18510
18769
|
};
|
|
18511
18770
|
}
|
|
18512
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
18513
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
18771
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MultiSelectTreeSummaryTagDirective, deps: [{ token: MultiSelectTreeComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
18772
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: MultiSelectTreeSummaryTagDirective, isStandalone: true, selector: "[kendoMultiSelectTreeSummaryTag]", inputs: { showAfter: ["kendoMultiSelectTreeSummaryTag", "showAfter"] }, usesOnChanges: true, ngImport: i0 });
|
|
18514
18773
|
}
|
|
18515
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
18774
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MultiSelectTreeSummaryTagDirective, decorators: [{
|
|
18516
18775
|
type: Directive,
|
|
18517
18776
|
args: [{
|
|
18518
18777
|
selector: '[kendoMultiSelectTreeSummaryTag]',
|
|
@@ -18599,7 +18858,6 @@ const KENDO_DROPDOWNLIST = [
|
|
|
18599
18858
|
*/
|
|
18600
18859
|
const KENDO_MULTISELECT = [
|
|
18601
18860
|
MultiSelectComponent,
|
|
18602
|
-
SummaryTagDirective,
|
|
18603
18861
|
CustomItemTemplateDirective,
|
|
18604
18862
|
FixedGroupTemplateDirective,
|
|
18605
18863
|
FooterTemplateDirective,
|
|
@@ -18682,9 +18940,9 @@ const KENDO_DROPDOWNS = [
|
|
|
18682
18940
|
* - `CustomMessagesComponent`—The custom messages component.
|
|
18683
18941
|
*/
|
|
18684
18942
|
class DropDownTreesModule {
|
|
18685
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
18686
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
18687
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
18943
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DropDownTreesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
18944
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.27", ngImport: i0, type: DropDownTreesModule, imports: [DropDownTreeComponent, DropDownTreeFlatBindingDirective, DropDownTreeHierarchyBindingDirective, DropDownTreesExpandDirective, NodeTemplateDirective, HeaderTemplateDirective, FooterTemplateDirective, ValueTemplateDirective, NoDataTemplateDirective, CustomMessagesComponent, MultiSelectTreeComponent, MultiSelectTreeFlatBindingDirective, MultiSelectTreeHierarchyBindingDirective, DropDownTreesExpandDirective, NodeTemplateDirective, MultiSelectTreeSummaryTagDirective, GroupTagTemplateDirective, TagTemplateDirective, HeaderTemplateDirective, FooterTemplateDirective, ValueTemplateDirective, NoDataTemplateDirective, CustomMessagesComponent], exports: [DropDownTreeComponent, DropDownTreeFlatBindingDirective, DropDownTreeHierarchyBindingDirective, DropDownTreesExpandDirective, NodeTemplateDirective, HeaderTemplateDirective, FooterTemplateDirective, ValueTemplateDirective, NoDataTemplateDirective, CustomMessagesComponent, MultiSelectTreeComponent, MultiSelectTreeFlatBindingDirective, MultiSelectTreeHierarchyBindingDirective, DropDownTreesExpandDirective, NodeTemplateDirective, MultiSelectTreeSummaryTagDirective, GroupTagTemplateDirective, TagTemplateDirective, HeaderTemplateDirective, FooterTemplateDirective, ValueTemplateDirective, NoDataTemplateDirective, CustomMessagesComponent] });
|
|
18945
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DropDownTreesModule, providers: [
|
|
18688
18946
|
IconsService,
|
|
18689
18947
|
PopupService,
|
|
18690
18948
|
ResizeBatchService,
|
|
@@ -18695,7 +18953,7 @@ class DropDownTreesModule {
|
|
|
18695
18953
|
AdaptiveService
|
|
18696
18954
|
], imports: [DropDownTreeComponent, MultiSelectTreeComponent] });
|
|
18697
18955
|
}
|
|
18698
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
18956
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DropDownTreesModule, decorators: [{
|
|
18699
18957
|
type: NgModule,
|
|
18700
18958
|
args: [{
|
|
18701
18959
|
imports: [...KENDO_DROPDOWNTREE, ...KENDO_MULTISELECTTREE],
|
|
@@ -18734,11 +18992,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
18734
18992
|
* ```
|
|
18735
18993
|
*/
|
|
18736
18994
|
class DropDownsModule {
|
|
18737
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
18738
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
18739
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
18995
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DropDownsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
18996
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.27", ngImport: i0, type: DropDownsModule, imports: [AutoCompleteComponent, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, i10.SeparatorComponent, ComboBoxComponent, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, i10.SeparatorComponent, i10.ToggleButtonTabStopDirective, MultiColumnComboBoxComponent, ComboBoxColumnComponent, ColumnHeaderTemplateDirective, ColumnCellTemplateDirective, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, i10.SeparatorComponent, i10.ToggleButtonTabStopDirective, DropDownListComponent, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, ValueTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, MultiSelectComponent, CustomItemTemplateDirective, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, GroupTagTemplateDirective, TagTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, i10.SeparatorComponent, DropDownTreeComponent, DropDownTreeFlatBindingDirective, DropDownTreeHierarchyBindingDirective, DropDownTreesExpandDirective, NodeTemplateDirective, HeaderTemplateDirective, FooterTemplateDirective, ValueTemplateDirective, NoDataTemplateDirective, CustomMessagesComponent, MultiSelectTreeComponent, MultiSelectTreeFlatBindingDirective, MultiSelectTreeHierarchyBindingDirective, DropDownTreesExpandDirective, NodeTemplateDirective, MultiSelectTreeSummaryTagDirective, GroupTagTemplateDirective, TagTemplateDirective, HeaderTemplateDirective, FooterTemplateDirective, ValueTemplateDirective, NoDataTemplateDirective, CustomMessagesComponent, i10.PrefixTemplateDirective, i10.SuffixTemplateDirective, i10.SeparatorComponent, i10.ToggleButtonTabStopDirective], exports: [AutoCompleteComponent, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, i10.SeparatorComponent, ComboBoxComponent, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, i10.SeparatorComponent, i10.ToggleButtonTabStopDirective, MultiColumnComboBoxComponent, ComboBoxColumnComponent, ColumnHeaderTemplateDirective, ColumnCellTemplateDirective, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, i10.SeparatorComponent, i10.ToggleButtonTabStopDirective, DropDownListComponent, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, ValueTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, MultiSelectComponent, CustomItemTemplateDirective, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, GroupTagTemplateDirective, TagTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, i10.SeparatorComponent, DropDownTreeComponent, DropDownTreeFlatBindingDirective, DropDownTreeHierarchyBindingDirective, DropDownTreesExpandDirective, NodeTemplateDirective, HeaderTemplateDirective, FooterTemplateDirective, ValueTemplateDirective, NoDataTemplateDirective, CustomMessagesComponent, MultiSelectTreeComponent, MultiSelectTreeFlatBindingDirective, MultiSelectTreeHierarchyBindingDirective, DropDownTreesExpandDirective, NodeTemplateDirective, MultiSelectTreeSummaryTagDirective, GroupTagTemplateDirective, TagTemplateDirective, HeaderTemplateDirective, FooterTemplateDirective, ValueTemplateDirective, NoDataTemplateDirective, CustomMessagesComponent, i10.PrefixTemplateDirective, i10.SuffixTemplateDirective, i10.SeparatorComponent, i10.ToggleButtonTabStopDirective] });
|
|
18997
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DropDownsModule, providers: [PopupService, ResizeBatchService, IconsService, DialogContainerService, DialogService, WindowService, WindowContainerService, AdaptiveService], imports: [AutoCompleteComponent, i10.SeparatorComponent, ComboBoxComponent, i10.SeparatorComponent, MultiColumnComboBoxComponent, i10.SeparatorComponent, DropDownListComponent, MultiSelectComponent, i10.SeparatorComponent, DropDownTreeComponent, MultiSelectTreeComponent, i10.SeparatorComponent] });
|
|
18740
18998
|
}
|
|
18741
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
18999
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DropDownsModule, decorators: [{
|
|
18742
19000
|
type: NgModule,
|
|
18743
19001
|
args: [{
|
|
18744
19002
|
exports: [...KENDO_DROPDOWNS, ...KENDO_ADORNMENTS, ...KENDO_TOGGLEBUTTONTABSTOP],
|
|
@@ -18753,7 +19011,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
18753
19011
|
*
|
|
18754
19012
|
* This module exports all MultiSelect-related components and directives:
|
|
18755
19013
|
* - `MultiSelectComponent`—The main MultiSelect component class.
|
|
18756
|
-
* - `SummaryTagDirective`—The summary tag directive for MultiSelect.
|
|
18757
19014
|
* - `ItemTemplateDirective`—The item template directive.
|
|
18758
19015
|
* - `CustomItemTemplateDirective`—The custom item template directive.
|
|
18759
19016
|
* - `TagTemplateDirective`—The tag template directive.
|
|
@@ -18779,16 +19036,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
18779
19036
|
* ```
|
|
18780
19037
|
*/
|
|
18781
19038
|
class MultiSelectModule {
|
|
18782
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
18783
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
18784
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
19039
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MultiSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
19040
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.27", ngImport: i0, type: MultiSelectModule, imports: [MultiSelectComponent, CustomItemTemplateDirective, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, GroupTagTemplateDirective, TagTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, i10.SeparatorComponent, i10.PrefixTemplateDirective, i10.SuffixTemplateDirective, i10.SeparatorComponent], exports: [MultiSelectComponent, CustomItemTemplateDirective, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, GroupTagTemplateDirective, TagTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, i10.SeparatorComponent, i10.PrefixTemplateDirective, i10.SuffixTemplateDirective, i10.SeparatorComponent] });
|
|
19041
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MultiSelectModule, providers: [
|
|
18785
19042
|
PopupService,
|
|
18786
19043
|
ResizeBatchService,
|
|
18787
19044
|
IconsService,
|
|
18788
19045
|
AdaptiveService
|
|
18789
19046
|
], imports: [MultiSelectComponent, i10.SeparatorComponent, i10.SeparatorComponent] });
|
|
18790
19047
|
}
|
|
18791
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
19048
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: MultiSelectModule, decorators: [{
|
|
18792
19049
|
type: NgModule,
|
|
18793
19050
|
args: [{
|
|
18794
19051
|
imports: [...KENDO_MULTISELECT, ...KENDO_ADORNMENTS],
|
|
@@ -18829,16 +19086,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
18829
19086
|
* - `PrefixTemplateDirective`—The prefix template directive.
|
|
18830
19087
|
*/
|
|
18831
19088
|
class AutoCompleteModule {
|
|
18832
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
18833
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
18834
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
19089
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: AutoCompleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
19090
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.27", ngImport: i0, type: AutoCompleteModule, imports: [AutoCompleteComponent, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, i10.SeparatorComponent, i10.PrefixTemplateDirective, i10.SuffixTemplateDirective, i10.SeparatorComponent], exports: [AutoCompleteComponent, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, i10.SeparatorComponent, i10.PrefixTemplateDirective, i10.SuffixTemplateDirective, i10.SeparatorComponent] });
|
|
19091
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: AutoCompleteModule, providers: [
|
|
18835
19092
|
PopupService,
|
|
18836
19093
|
ResizeBatchService,
|
|
18837
19094
|
IconsService,
|
|
18838
19095
|
AdaptiveService
|
|
18839
19096
|
], imports: [AutoCompleteComponent, i10.SeparatorComponent, i10.SeparatorComponent] });
|
|
18840
19097
|
}
|
|
18841
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
19098
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: AutoCompleteModule, decorators: [{
|
|
18842
19099
|
type: NgModule,
|
|
18843
19100
|
args: [{
|
|
18844
19101
|
imports: [...KENDO_AUTOCOMPLETE, ...KENDO_ADORNMENTS],
|
|
@@ -18882,16 +19139,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
18882
19139
|
* ```
|
|
18883
19140
|
*/
|
|
18884
19141
|
class ComboBoxModule {
|
|
18885
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
18886
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
18887
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
19142
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ComboBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
19143
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.27", ngImport: i0, type: ComboBoxModule, imports: [ComboBoxComponent, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, i10.SeparatorComponent, i10.ToggleButtonTabStopDirective, MultiColumnComboBoxComponent, ComboBoxColumnComponent, ColumnHeaderTemplateDirective, ColumnCellTemplateDirective, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, i10.SeparatorComponent, i10.ToggleButtonTabStopDirective, i10.PrefixTemplateDirective, i10.SuffixTemplateDirective, i10.SeparatorComponent, i10.ToggleButtonTabStopDirective], exports: [ComboBoxComponent, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, i10.SeparatorComponent, i10.ToggleButtonTabStopDirective, MultiColumnComboBoxComponent, ComboBoxColumnComponent, ColumnHeaderTemplateDirective, ColumnCellTemplateDirective, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, i10.SeparatorComponent, i10.ToggleButtonTabStopDirective, i10.PrefixTemplateDirective, i10.SuffixTemplateDirective, i10.SeparatorComponent, i10.ToggleButtonTabStopDirective] });
|
|
19144
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ComboBoxModule, providers: [
|
|
18888
19145
|
PopupService,
|
|
18889
19146
|
ResizeBatchService,
|
|
18890
19147
|
IconsService,
|
|
18891
19148
|
AdaptiveService
|
|
18892
19149
|
], imports: [ComboBoxComponent, i10.SeparatorComponent, MultiColumnComboBoxComponent, i10.SeparatorComponent, i10.SeparatorComponent] });
|
|
18893
19150
|
}
|
|
18894
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
19151
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ComboBoxModule, decorators: [{
|
|
18895
19152
|
type: NgModule,
|
|
18896
19153
|
args: [{
|
|
18897
19154
|
imports: [...KENDO_COMBOBOX, ...KENDO_MULTICOLUMNCOMBOBOX, ...KENDO_ADORNMENTS, ...KENDO_TOGGLEBUTTONTABSTOP],
|
|
@@ -18941,16 +19198,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
18941
19198
|
* ```
|
|
18942
19199
|
*/
|
|
18943
19200
|
class DropDownListModule {
|
|
18944
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
18945
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
18946
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
19201
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DropDownListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
19202
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.27", ngImport: i0, type: DropDownListModule, imports: [DropDownListComponent, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, ValueTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent], exports: [DropDownListComponent, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, ValueTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent] });
|
|
19203
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DropDownListModule, providers: [
|
|
18947
19204
|
PopupService,
|
|
18948
19205
|
ResizeBatchService,
|
|
18949
19206
|
IconsService,
|
|
18950
19207
|
AdaptiveService
|
|
18951
19208
|
], imports: [DropDownListComponent] });
|
|
18952
19209
|
}
|
|
18953
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
19210
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DropDownListModule, decorators: [{
|
|
18954
19211
|
type: NgModule,
|
|
18955
19212
|
args: [{
|
|
18956
19213
|
imports: [...KENDO_DROPDOWNLIST],
|
|
@@ -18968,5 +19225,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
18968
19225
|
* Generated bundle index. Do not edit.
|
|
18969
19226
|
*/
|
|
18970
19227
|
|
|
18971
|
-
export { AdaptiveRendererComponent, AutoCompleteComponent, AutoCompleteModule, CheckAllDirective, CheckDirective, ColumnCellTemplateDirective, ColumnHeaderTemplateDirective, ComboBoxColumnComponent, ComboBoxComponent, ComboBoxModule, CustomItemTemplateDirective, CustomMessagesComponent, DataService, DisabledItemsService, DropDownListComponent, DropDownListModule, DropDownTreeComponent, DropDownTreeFlatBindingDirective, DropDownTreeHierarchyBindingDirective, DropDownTreesExpandDirective, DropDownTreesModule, DropDownsModule, FilterDirective, FilterInputDirective, FilterableComponent, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTagTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, KENDO_AUTOCOMPLETE, KENDO_COMBOBOX, KENDO_DROPDOWNLIST, KENDO_DROPDOWNS, KENDO_DROPDOWNTREE, KENDO_MULTICOLUMNCOMBOBOX, KENDO_MULTISELECT, KENDO_MULTISELECTTREE, ListComponent, ListItemDirective, LocalizedMessagesDirective, MultiColumnComboBoxComponent, MultiSelectComponent, MultiSelectModule, MultiSelectTreeComponent, MultiSelectTreeFlatBindingDirective, MultiSelectTreeHierarchyBindingDirective, MultiSelectTreeSummaryTagDirective, NavigationService, NoDataTemplateDirective, NodeTemplateDirective, PreventableEvent, RemoveTagEvent, SearchBarComponent, SelectableDirective, SelectionService,
|
|
19228
|
+
export { AdaptiveRendererComponent, AutoCompleteComponent, AutoCompleteModule, CheckAllDirective, CheckDirective, ColumnCellTemplateDirective, ColumnHeaderTemplateDirective, ComboBoxColumnComponent, ComboBoxComponent, ComboBoxModule, CustomItemTemplateDirective, CustomMessagesComponent, DataService, DisabledItemsService, DropDownListComponent, DropDownListModule, DropDownTreeComponent, DropDownTreeFlatBindingDirective, DropDownTreeHierarchyBindingDirective, DropDownTreesExpandDirective, DropDownTreesModule, DropDownsModule, FilterDirective, FilterInputDirective, FilterableComponent, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTagTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, KENDO_AUTOCOMPLETE, KENDO_COMBOBOX, KENDO_DROPDOWNLIST, KENDO_DROPDOWNS, KENDO_DROPDOWNTREE, KENDO_MULTICOLUMNCOMBOBOX, KENDO_MULTISELECT, KENDO_MULTISELECTTREE, ListComponent, ListItemDirective, LocalizedMessagesDirective, MultiColumnComboBoxComponent, MultiSelectComponent, MultiSelectModule, MultiSelectTreeComponent, MultiSelectTreeFlatBindingDirective, MultiSelectTreeHierarchyBindingDirective, MultiSelectTreeSummaryTagDirective, NavigationService, NoDataTemplateDirective, NodeTemplateDirective, PreventableEvent, RemoveTagEvent, SearchBarComponent, SelectableDirective, SelectionService, TagListComponent, TagTemplateDirective, ValueTemplateDirective };
|
|
18972
19229
|
|