@progress/kendo-angular-dropdowns 16.5.0 → 16.6.0-develop.2
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/autocomplete/autocomplete.component.d.ts +3 -4
- package/autocomplete/autocomplete.module.d.ts +17 -6
- package/comboboxes/combobox-column/column-cell-template.directive.d.ts +1 -1
- package/comboboxes/combobox-column/column-header-template.directive.d.ts +1 -1
- package/comboboxes/combobox-column/combobox-column.component.d.ts +1 -1
- package/comboboxes/combobox.component.d.ts +3 -4
- package/comboboxes/combobox.module.d.ts +22 -12
- package/comboboxes/multicolumncombobox.component.d.ts +2 -2
- package/common/action-sheet.component.d.ts +1 -1
- package/common/filter-input.directive.d.ts +1 -1
- package/common/filtering/filter.directive.d.ts +1 -1
- package/common/list-item.directive.d.ts +1 -1
- package/common/list.component.d.ts +1 -1
- package/common/localization/custom-messages.component.d.ts +1 -1
- package/common/localization/localized-messages.directive.d.ts +1 -1
- package/common/searchbar.component.d.ts +1 -1
- package/common/selection/selectable.directive.d.ts +1 -1
- package/common/shared-directives.module.d.ts +1 -1
- package/common/shared-events.directive.d.ts +1 -1
- package/common/shared.module.d.ts +9 -11
- package/common/taglist.component.d.ts +1 -1
- package/common/templates/custom-item-template.directive.d.ts +1 -1
- package/common/templates/fixed-group-template.directive.d.ts +1 -1
- package/common/templates/footer-template.directive.d.ts +1 -1
- package/common/templates/group-tag-template.directive.d.ts +1 -1
- package/common/templates/group-template.directive.d.ts +1 -1
- package/common/templates/header-template.directive.d.ts +1 -1
- package/common/templates/item-template.directive.d.ts +1 -1
- package/common/templates/no-data-template.directive.d.ts +1 -1
- package/common/templates/tag-template.directive.d.ts +1 -1
- package/common/templates/value-template.directive.d.ts +1 -1
- package/directives.d.ts +67 -0
- package/dropdownlist/dropdownlist.component.d.ts +7 -4
- package/dropdownlist/dropdownlist.module.d.ts +15 -4
- package/dropdowns.module.d.ts +32 -6
- package/dropdowntrees/checked-state/check-all.directive.d.ts +1 -1
- package/dropdowntrees/checked-state/check.directive.d.ts +1 -1
- package/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.d.ts +1 -1
- package/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.d.ts +1 -1
- package/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.d.ts +1 -1
- package/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.d.ts +1 -1
- package/dropdowntrees/dropdowntree.component.d.ts +7 -4
- package/dropdowntrees/dropdowntrees.module.d.ts +32 -13
- package/dropdowntrees/expanded-state/expand.directive.d.ts +1 -1
- package/dropdowntrees/multiselecttree.component.d.ts +7 -4
- package/dropdowntrees/summary-tag/summary-tag.directive.d.ts +1 -1
- package/dropdowntrees/templates/node-template.directive.d.ts +1 -1
- package/esm2020/autocomplete/autocomplete.component.mjs +17 -26
- package/esm2020/autocomplete/autocomplete.module.mjs +35 -14
- package/esm2020/comboboxes/combobox-column/column-cell-template.directive.mjs +3 -2
- package/esm2020/comboboxes/combobox-column/column-header-template.directive.mjs +3 -2
- package/esm2020/comboboxes/combobox-column/combobox-column.component.mjs +3 -2
- package/esm2020/comboboxes/combobox.component.mjs +18 -29
- package/esm2020/comboboxes/combobox.module.mjs +40 -35
- package/esm2020/comboboxes/multicolumncombobox.component.mjs +17 -21
- package/esm2020/common/action-sheet.component.mjs +9 -9
- package/esm2020/common/filter-input.directive.mjs +3 -1
- package/esm2020/common/filtering/filter.directive.mjs +3 -2
- package/esm2020/common/list-item.directive.mjs +3 -1
- package/esm2020/common/list.component.mjs +8 -9
- package/esm2020/common/localization/custom-messages.component.mjs +3 -2
- package/esm2020/common/localization/localized-messages.directive.mjs +3 -2
- package/esm2020/common/searchbar.component.mjs +5 -3
- package/esm2020/common/selection/selectable.directive.mjs +3 -2
- package/esm2020/common/shared-directives.module.mjs +3 -3
- package/esm2020/common/shared-events.directive.mjs +3 -2
- package/esm2020/common/shared.module.mjs +13 -12
- package/esm2020/common/taglist.component.mjs +8 -6
- package/esm2020/common/templates/custom-item-template.directive.mjs +3 -2
- package/esm2020/common/templates/fixed-group-template.directive.mjs +3 -2
- package/esm2020/common/templates/footer-template.directive.mjs +3 -2
- package/esm2020/common/templates/group-tag-template.directive.mjs +3 -2
- package/esm2020/common/templates/group-template.directive.mjs +3 -2
- package/esm2020/common/templates/header-template.directive.mjs +3 -2
- package/esm2020/common/templates/item-template.directive.mjs +3 -2
- package/esm2020/common/templates/no-data-template.directive.mjs +3 -2
- package/esm2020/common/templates/tag-template.directive.mjs +3 -2
- package/esm2020/common/templates/value-template.directive.mjs +3 -2
- package/esm2020/directives.mjs +166 -0
- package/esm2020/dropdownlist/dropdownlist.component.mjs +22 -27
- package/esm2020/dropdownlist/dropdownlist.module.mjs +33 -12
- package/esm2020/dropdowns.module.mjs +42 -8
- package/esm2020/dropdowntrees/checked-state/check-all.directive.mjs +3 -2
- package/esm2020/dropdowntrees/checked-state/check.directive.mjs +3 -2
- package/esm2020/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.mjs +3 -2
- package/esm2020/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.mjs +3 -2
- package/esm2020/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.mjs +3 -2
- package/esm2020/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.mjs +3 -2
- package/esm2020/dropdowntrees/dropdowntree.component.mjs +19 -24
- package/esm2020/dropdowntrees/dropdowntrees.module.mjs +59 -45
- package/esm2020/dropdowntrees/expanded-state/expand.directive.mjs +3 -2
- package/esm2020/dropdowntrees/multiselecttree.component.mjs +21 -25
- package/esm2020/dropdowntrees/summary-tag/summary-tag.directive.mjs +3 -2
- package/esm2020/dropdowntrees/templates/node-template.directive.mjs +3 -2
- package/esm2020/index.mjs +1 -1
- package/esm2020/multiselect/multiselect.component.mjs +19 -30
- package/esm2020/multiselect/multiselect.module.mjs +39 -25
- package/esm2020/multiselect/summary-tag.directive.mjs +3 -2
- package/esm2020/package-metadata.mjs +2 -2
- package/fesm2015/progress-kendo-angular-dropdowns.mjs +1324 -1196
- package/fesm2020/progress-kendo-angular-dropdowns.mjs +735 -593
- package/index.d.ts +1 -1
- package/multiselect/multiselect.component.d.ts +3 -4
- package/multiselect/multiselect.module.d.ts +19 -6
- package/multiselect/summary-tag.directive.d.ts +1 -1
- package/package.json +8 -8
- package/schematics/ngAdd/index.js +2 -2
- package/common/constants/touch-enabled.d.ts +0 -9
- package/common/shared-events.module.d.ts +0 -14
- package/common/templates/template-context.directive.d.ts +0 -17
- package/esm2020/common/constants/touch-enabled.mjs +0 -9
- package/esm2020/common/shared-events.module.mjs +0 -22
- package/esm2020/common/templates/template-context.directive.mjs +0 -33
|
@@ -3,33 +3,29 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
|
-
import { EventEmitter, Component, Input, HostBinding, Output, Directive, Injectable,
|
|
7
|
-
import * as
|
|
8
|
-
import { isDocumentAvailable, isObjectPresent, removeHTMLAttributes, parseAttributes, isSafari, Keys, setHTMLAttributes, isChanged, closest as closest$1, isControlRequired, hasObservers, KendoInput, SuffixTemplateDirective, PrefixTemplateDirective, MultiTabStop, anyChanged, guid as guid$1, ResizeSensorModule, EventsModule
|
|
6
|
+
import { EventEmitter, Component, Input, HostBinding, Output, Directive, Injectable, HostListener, ViewChildren, ViewChild, forwardRef, isDevMode, ViewContainerRef, ContentChild, ContentChildren, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
7
|
+
import * as i10 from '@progress/kendo-angular-common';
|
|
8
|
+
import { isDocumentAvailable, isObjectPresent, removeHTMLAttributes, parseAttributes, isSafari, Keys, setHTMLAttributes, EventsOutsideAngularDirective, isChanged, TemplateContextDirective, ResizeSensorComponent, closest as closest$1, isControlRequired, hasObservers, KendoInput, SuffixTemplateDirective, PrefixTemplateDirective, SeparatorComponent, MultiTabStop, anyChanged, guid as guid$1, ResizeBatchService, ResizeSensorModule, EventsModule } from '@progress/kendo-angular-common';
|
|
9
9
|
export { PrefixTemplateDirective, SeparatorComponent, SuffixTemplateDirective, ToggleButtonTabStopDirective } from '@progress/kendo-angular-common';
|
|
10
|
-
import * as
|
|
11
|
-
import { NgControl, NG_VALUE_ACCESSOR,
|
|
10
|
+
import * as i7 from '@angular/forms';
|
|
11
|
+
import { NgControl, NG_VALUE_ACCESSOR, ReactiveFormsModule, FormsModule } from '@angular/forms';
|
|
12
12
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
13
|
-
import { getter as getter$1,
|
|
13
|
+
import { getter as getter$1, touchEnabled, pointers } from '@progress/kendo-common';
|
|
14
14
|
import { Subscription, merge, fromEvent, Subject, of, interval } from 'rxjs';
|
|
15
15
|
import * as i1 from '@progress/kendo-angular-l10n';
|
|
16
16
|
import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
17
|
+
import { map, switchMap, take, auditTime, tap, filter, partition, throttleTime, catchError, skipWhile, concatMap, takeUntil, debounceTime } from 'rxjs/operators';
|
|
18
|
+
import { NgIf, NgStyle, NgFor, NgClass, NgTemplateOutlet } from '@angular/common';
|
|
17
19
|
import { xIcon, caretAltDownIcon, searchIcon, xCircleIcon, plusIcon } from '@progress/kendo-svg-icons';
|
|
18
|
-
import
|
|
19
|
-
import { ActionSheetComponent, ActionSheetModule } from '@progress/kendo-angular-navigation';
|
|
20
|
-
import
|
|
21
|
-
import {
|
|
22
|
-
import * as i14 from '@progress/kendo-angular-icons';
|
|
23
|
-
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
24
|
-
import * as i5 from '@progress/kendo-angular-buttons';
|
|
25
|
-
import { ButtonModule } from '@progress/kendo-angular-buttons';
|
|
26
|
-
import * as i6 from '@progress/kendo-angular-inputs';
|
|
27
|
-
import { TextBoxModule } from '@progress/kendo-angular-inputs';
|
|
20
|
+
import { IconComponent, IconWrapperComponent, IconsService, IconsModule } from '@progress/kendo-angular-icons';
|
|
21
|
+
import { ActionSheetComponent, ActionSheetTemplateDirective, ActionSheetModule } from '@progress/kendo-angular-navigation';
|
|
22
|
+
import { TextBoxComponent, TextBoxPrefixTemplateDirective, TextBoxModule } from '@progress/kendo-angular-inputs';
|
|
23
|
+
import { ButtonComponent, ButtonModule } from '@progress/kendo-angular-buttons';
|
|
28
24
|
import * as i2 from '@progress/kendo-angular-popup';
|
|
29
|
-
import { PopupModule } from '@progress/kendo-angular-popup';
|
|
30
|
-
import { map, switchMap, take, auditTime, tap, filter, partition, throttleTime, catchError, skipWhile, concatMap, takeUntil, debounceTime } from 'rxjs/operators';
|
|
25
|
+
import { PopupService, PopupModule } from '@progress/kendo-angular-popup';
|
|
31
26
|
import * as i1$1 from '@progress/kendo-angular-treeview';
|
|
32
|
-
import { DataBoundComponent, ExpandableComponent, FlatDataBindingDirective, HierarchyBindingDirective, ExpandDirective
|
|
27
|
+
import { DataBoundComponent, ExpandableComponent, TreeViewComponent, SelectDirective, FlatDataBindingDirective, HierarchyBindingDirective, ExpandDirective } from '@progress/kendo-angular-treeview';
|
|
28
|
+
import { DialogContainerService, DialogService, WindowService, WindowContainerService } from '@progress/kendo-angular-dialog';
|
|
33
29
|
|
|
34
30
|
/**
|
|
35
31
|
* @hidden
|
|
@@ -38,8 +34,8 @@ const packageMetadata = {
|
|
|
38
34
|
name: '@progress/kendo-angular-dropdowns',
|
|
39
35
|
productName: 'Kendo UI for Angular',
|
|
40
36
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
41
|
-
publishDate:
|
|
42
|
-
version: '16.
|
|
37
|
+
publishDate: 1721847056,
|
|
38
|
+
version: '16.6.0-develop.2',
|
|
43
39
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
44
40
|
};
|
|
45
41
|
|
|
@@ -744,12 +740,14 @@ class SearchBarComponent {
|
|
|
744
740
|
}
|
|
745
741
|
}
|
|
746
742
|
SearchBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SearchBarComponent, deps: [{ token: i1.LocalizationService }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
747
|
-
SearchBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SearchBarComponent, selector: "input[kendoSearchbar]", inputs: { tagListId: "tagListId", readonly: "readonly", disabled: "disabled", isRequired: "isRequired", isSuggestable: "isSuggestable", isFilterable: "isFilterable", 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 });
|
|
743
|
+
SearchBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SearchBarComponent, isStandalone: true, selector: "input[kendoSearchbar]", inputs: { tagListId: "tagListId", readonly: "readonly", disabled: "disabled", isRequired: "isRequired", isSuggestable: "isSuggestable", isFilterable: "isFilterable", 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 });
|
|
748
744
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SearchBarComponent, decorators: [{
|
|
749
745
|
type: Component,
|
|
750
746
|
args: [{
|
|
751
747
|
selector: 'input[kendoSearchbar]',
|
|
752
|
-
template:
|
|
748
|
+
template: ``,
|
|
749
|
+
standalone: true,
|
|
750
|
+
imports: [EventsOutsideAngularDirective]
|
|
753
751
|
}]
|
|
754
752
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.Renderer2 }, { type: i0.Injector }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { tagListId: [{
|
|
755
753
|
type: Input
|
|
@@ -858,11 +856,12 @@ class ItemTemplateDirective {
|
|
|
858
856
|
}
|
|
859
857
|
}
|
|
860
858
|
ItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
861
|
-
ItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]", ngImport: i0 });
|
|
859
|
+
ItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ItemTemplateDirective, isStandalone: true, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]", ngImport: i0 });
|
|
862
860
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ItemTemplateDirective, decorators: [{
|
|
863
861
|
type: Directive,
|
|
864
862
|
args: [{
|
|
865
|
-
selector: '[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]'
|
|
863
|
+
selector: '[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]',
|
|
864
|
+
standalone: true
|
|
866
865
|
}]
|
|
867
866
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
868
867
|
|
|
@@ -900,11 +899,12 @@ class HeaderTemplateDirective {
|
|
|
900
899
|
}
|
|
901
900
|
}
|
|
902
901
|
HeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeaderTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
903
|
-
HeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: HeaderTemplateDirective, selector: "[kendoDropDownListHeaderTemplate],[kendoComboBoxHeaderTemplate],[kendoDropDownTreeHeaderTemplate],[kendoMultiColumnComboBoxHeaderTemplate],[kendoAutoCompleteHeaderTemplate],[kendoMultiSelectHeaderTemplate],[kendoMultiSelectTreeHeaderTemplate]", ngImport: i0 });
|
|
902
|
+
HeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: HeaderTemplateDirective, isStandalone: true, selector: "[kendoDropDownListHeaderTemplate],[kendoComboBoxHeaderTemplate],[kendoDropDownTreeHeaderTemplate],[kendoMultiColumnComboBoxHeaderTemplate],[kendoAutoCompleteHeaderTemplate],[kendoMultiSelectHeaderTemplate],[kendoMultiSelectTreeHeaderTemplate]", ngImport: i0 });
|
|
904
903
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeaderTemplateDirective, decorators: [{
|
|
905
904
|
type: Directive,
|
|
906
905
|
args: [{
|
|
907
|
-
selector: '[kendoDropDownListHeaderTemplate],[kendoComboBoxHeaderTemplate],[kendoDropDownTreeHeaderTemplate],[kendoMultiColumnComboBoxHeaderTemplate],[kendoAutoCompleteHeaderTemplate],[kendoMultiSelectHeaderTemplate],[kendoMultiSelectTreeHeaderTemplate]'
|
|
906
|
+
selector: '[kendoDropDownListHeaderTemplate],[kendoComboBoxHeaderTemplate],[kendoDropDownTreeHeaderTemplate],[kendoMultiColumnComboBoxHeaderTemplate],[kendoAutoCompleteHeaderTemplate],[kendoMultiSelectHeaderTemplate],[kendoMultiSelectTreeHeaderTemplate]',
|
|
907
|
+
standalone: true
|
|
908
908
|
}]
|
|
909
909
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
910
910
|
|
|
@@ -942,11 +942,12 @@ class FooterTemplateDirective {
|
|
|
942
942
|
}
|
|
943
943
|
}
|
|
944
944
|
FooterTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FooterTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
945
|
-
FooterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FooterTemplateDirective, selector: "[kendoDropDownListFooterTemplate],[kendoComboBoxFooterTemplate],[kendoDropDownTreeFooterTemplate],[kendoMultiColumnComboBoxFooterTemplate],[kendoAutoCompleteFooterTemplate],[kendoMultiSelectFooterTemplate],[kendoMultiSelectTreeFooterTemplate]", ngImport: i0 });
|
|
945
|
+
FooterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FooterTemplateDirective, isStandalone: true, selector: "[kendoDropDownListFooterTemplate],[kendoComboBoxFooterTemplate],[kendoDropDownTreeFooterTemplate],[kendoMultiColumnComboBoxFooterTemplate],[kendoAutoCompleteFooterTemplate],[kendoMultiSelectFooterTemplate],[kendoMultiSelectTreeFooterTemplate]", ngImport: i0 });
|
|
946
946
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FooterTemplateDirective, decorators: [{
|
|
947
947
|
type: Directive,
|
|
948
948
|
args: [{
|
|
949
|
-
selector: '[kendoDropDownListFooterTemplate],[kendoComboBoxFooterTemplate],[kendoDropDownTreeFooterTemplate],[kendoMultiColumnComboBoxFooterTemplate],[kendoAutoCompleteFooterTemplate],[kendoMultiSelectFooterTemplate],[kendoMultiSelectTreeFooterTemplate]'
|
|
949
|
+
selector: '[kendoDropDownListFooterTemplate],[kendoComboBoxFooterTemplate],[kendoDropDownTreeFooterTemplate],[kendoMultiColumnComboBoxFooterTemplate],[kendoAutoCompleteFooterTemplate],[kendoMultiSelectFooterTemplate],[kendoMultiSelectTreeFooterTemplate]',
|
|
950
|
+
standalone: true
|
|
950
951
|
}]
|
|
951
952
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
952
953
|
|
|
@@ -990,11 +991,12 @@ class GroupTemplateDirective {
|
|
|
990
991
|
}
|
|
991
992
|
}
|
|
992
993
|
GroupTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GroupTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
993
|
-
GroupTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: GroupTemplateDirective, selector: "[kendoDropDownListGroupTemplate],[kendoComboBoxGroupTemplate],[kendoMultiColumnComboBoxGroupTemplate],[kendoAutoCompleteGroupTemplate],[kendoMultiSelectGroupTemplate]", ngImport: i0 });
|
|
994
|
+
GroupTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: GroupTemplateDirective, isStandalone: true, selector: "[kendoDropDownListGroupTemplate],[kendoComboBoxGroupTemplate],[kendoMultiColumnComboBoxGroupTemplate],[kendoAutoCompleteGroupTemplate],[kendoMultiSelectGroupTemplate]", ngImport: i0 });
|
|
994
995
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GroupTemplateDirective, decorators: [{
|
|
995
996
|
type: Directive,
|
|
996
997
|
args: [{
|
|
997
|
-
selector: '[kendoDropDownListGroupTemplate],[kendoComboBoxGroupTemplate],[kendoMultiColumnComboBoxGroupTemplate],[kendoAutoCompleteGroupTemplate],[kendoMultiSelectGroupTemplate]'
|
|
998
|
+
selector: '[kendoDropDownListGroupTemplate],[kendoComboBoxGroupTemplate],[kendoMultiColumnComboBoxGroupTemplate],[kendoAutoCompleteGroupTemplate],[kendoMultiSelectGroupTemplate]',
|
|
999
|
+
standalone: true
|
|
998
1000
|
}]
|
|
999
1001
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
1000
1002
|
|
|
@@ -1038,11 +1040,12 @@ class FixedGroupTemplateDirective {
|
|
|
1038
1040
|
}
|
|
1039
1041
|
}
|
|
1040
1042
|
FixedGroupTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FixedGroupTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1041
|
-
FixedGroupTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FixedGroupTemplateDirective, selector: "[kendoDropDownListFixedGroupTemplate],[kendoComboBoxFixedGroupTemplate],[kendoMultiColumnComboBoxFixedGroupTemplate],[kendoAutoCompleteFixedGroupTemplate],[kendoMultiSelectFixedGroupTemplate]", ngImport: i0 });
|
|
1043
|
+
FixedGroupTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FixedGroupTemplateDirective, isStandalone: true, selector: "[kendoDropDownListFixedGroupTemplate],[kendoComboBoxFixedGroupTemplate],[kendoMultiColumnComboBoxFixedGroupTemplate],[kendoAutoCompleteFixedGroupTemplate],[kendoMultiSelectFixedGroupTemplate]", ngImport: i0 });
|
|
1042
1044
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FixedGroupTemplateDirective, decorators: [{
|
|
1043
1045
|
type: Directive,
|
|
1044
1046
|
args: [{
|
|
1045
|
-
selector: '[kendoDropDownListFixedGroupTemplate],[kendoComboBoxFixedGroupTemplate],[kendoMultiColumnComboBoxFixedGroupTemplate],[kendoAutoCompleteFixedGroupTemplate],[kendoMultiSelectFixedGroupTemplate]'
|
|
1047
|
+
selector: '[kendoDropDownListFixedGroupTemplate],[kendoComboBoxFixedGroupTemplate],[kendoMultiColumnComboBoxFixedGroupTemplate],[kendoAutoCompleteFixedGroupTemplate],[kendoMultiSelectFixedGroupTemplate]',
|
|
1048
|
+
standalone: true
|
|
1046
1049
|
}]
|
|
1047
1050
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
1048
1051
|
|
|
@@ -1713,11 +1716,12 @@ class NoDataTemplateDirective {
|
|
|
1713
1716
|
}
|
|
1714
1717
|
}
|
|
1715
1718
|
NoDataTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NoDataTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1716
|
-
NoDataTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NoDataTemplateDirective, selector: "[kendoDropDownListNoDataTemplate],[kendoDropDownTreeNoDataTemplate],[kendoComboBoxNoDataTemplate],[kendoMultiColumnComboBoxNoDataTemplate],[kendoAutoCompleteNoDataTemplate],[kendoMultiSelectNoDataTemplate],[kendoMultiSelectTreeNoDataTemplate]", ngImport: i0 });
|
|
1719
|
+
NoDataTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NoDataTemplateDirective, isStandalone: true, selector: "[kendoDropDownListNoDataTemplate],[kendoDropDownTreeNoDataTemplate],[kendoComboBoxNoDataTemplate],[kendoMultiColumnComboBoxNoDataTemplate],[kendoAutoCompleteNoDataTemplate],[kendoMultiSelectNoDataTemplate],[kendoMultiSelectTreeNoDataTemplate]", ngImport: i0 });
|
|
1717
1720
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NoDataTemplateDirective, decorators: [{
|
|
1718
1721
|
type: Directive,
|
|
1719
1722
|
args: [{
|
|
1720
|
-
selector: '[kendoDropDownListNoDataTemplate],[kendoDropDownTreeNoDataTemplate],[kendoComboBoxNoDataTemplate],[kendoMultiColumnComboBoxNoDataTemplate],[kendoAutoCompleteNoDataTemplate],[kendoMultiSelectNoDataTemplate],[kendoMultiSelectTreeNoDataTemplate]'
|
|
1723
|
+
selector: '[kendoDropDownListNoDataTemplate],[kendoDropDownTreeNoDataTemplate],[kendoComboBoxNoDataTemplate],[kendoMultiColumnComboBoxNoDataTemplate],[kendoAutoCompleteNoDataTemplate],[kendoMultiSelectNoDataTemplate],[kendoMultiSelectTreeNoDataTemplate]',
|
|
1724
|
+
standalone: true
|
|
1721
1725
|
}]
|
|
1722
1726
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
1723
1727
|
|
|
@@ -1758,326 +1762,70 @@ class FilterableComponent {
|
|
|
1758
1762
|
/**
|
|
1759
1763
|
* @hidden
|
|
1760
1764
|
*/
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
};
|
|
1765
|
-
/**
|
|
1766
|
-
* @hidden
|
|
1767
|
-
*/
|
|
1768
|
-
const normalizeVirtualizationSettings = (settings, defaultOverrides) => {
|
|
1769
|
-
const defaults = Object.assign({}, DEFAULTS, defaultOverrides);
|
|
1770
|
-
if (settings === true) {
|
|
1771
|
-
return defaults;
|
|
1772
|
-
}
|
|
1773
|
-
if (!settings) {
|
|
1774
|
-
return null;
|
|
1765
|
+
class ListItemDirective {
|
|
1766
|
+
constructor(element) {
|
|
1767
|
+
this.element = element;
|
|
1775
1768
|
}
|
|
1776
|
-
|
|
1777
|
-
};
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1769
|
+
}
|
|
1770
|
+
ListItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ListItemDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1771
|
+
ListItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ListItemDirective, isStandalone: true, selector: "\"li[role=option], li[role=group]\"", ngImport: i0 });
|
|
1772
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ListItemDirective, decorators: [{
|
|
1773
|
+
type: Directive,
|
|
1774
|
+
args: [{
|
|
1775
|
+
selector: '"li[role=option], li[role=group]"' // eslint-disable-line
|
|
1776
|
+
,
|
|
1777
|
+
standalone: true
|
|
1778
|
+
}]
|
|
1779
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
1783
1780
|
|
|
1784
1781
|
/**
|
|
1785
1782
|
* @hidden
|
|
1786
1783
|
*/
|
|
1787
|
-
class
|
|
1788
|
-
constructor(
|
|
1789
|
-
this.
|
|
1790
|
-
this.
|
|
1791
|
-
this.
|
|
1792
|
-
this.navigate = new EventEmitter();
|
|
1793
|
-
this.onExpand = new EventEmitter();
|
|
1794
|
-
this.onCollapse = new EventEmitter();
|
|
1795
|
-
this.onApply = new EventEmitter();
|
|
1796
|
-
this.onCancel = new EventEmitter();
|
|
1797
|
-
this.searchBarValue = '';
|
|
1798
|
-
this.animationDuration = animationDuration;
|
|
1799
|
-
this.xIcon = xIcon;
|
|
1784
|
+
class SelectableDirective {
|
|
1785
|
+
constructor(selectionService) {
|
|
1786
|
+
this.checkboxes = { enabled: false };
|
|
1787
|
+
this.multipleSelection = false;
|
|
1788
|
+
this.selectionService = selectionService;
|
|
1800
1789
|
}
|
|
1801
|
-
|
|
1802
|
-
return this.
|
|
1790
|
+
get focusedClassName() {
|
|
1791
|
+
return this.selectionService.isFocused(this.index);
|
|
1803
1792
|
}
|
|
1804
|
-
|
|
1805
|
-
this.
|
|
1806
|
-
|
|
1793
|
+
get selectedClassName() {
|
|
1794
|
+
return !this.checkboxes.enabled && this.selectionService.isSelected(this.index);
|
|
1795
|
+
}
|
|
1796
|
+
onClick(event) {
|
|
1797
|
+
event.stopPropagation();
|
|
1798
|
+
this.selectionService.lastClickedIndex = this.index;
|
|
1799
|
+
if (this.checkboxes.enabled && !this.checkboxes.checkOnClick) {
|
|
1800
|
+
return;
|
|
1801
|
+
}
|
|
1802
|
+
if (this.multipleSelection) {
|
|
1803
|
+
if (this.selectionService.isSelected(this.index)) {
|
|
1804
|
+
this.selectionService.deselect(this.index);
|
|
1805
|
+
}
|
|
1806
|
+
else {
|
|
1807
|
+
this.selectionService.add(this.index);
|
|
1808
|
+
}
|
|
1809
|
+
}
|
|
1810
|
+
else {
|
|
1811
|
+
this.selectionService.change(this.index);
|
|
1812
|
+
}
|
|
1807
1813
|
}
|
|
1808
1814
|
}
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
[animation]="{ duration: animationDuration }"
|
|
1814
|
-
[expanded]="isActionSheetExpanded"
|
|
1815
|
-
(overlayClick)="closePopup.emit()"
|
|
1816
|
-
(keydown)="navigate.emit($event)"
|
|
1817
|
-
(expand)="onExpand.emit()"
|
|
1818
|
-
(collapse)="onCollapse.emit()"
|
|
1819
|
-
>
|
|
1820
|
-
<ng-template kendoActionSheetTemplate>
|
|
1821
|
-
<div class="k-text-center k-actionsheet-titlebar">
|
|
1822
|
-
<div class="k-actionsheet-titlebar-group k-hbox">
|
|
1823
|
-
<div class="k-actionsheet-title">
|
|
1824
|
-
<div class="k-text-center">{{ title }}</div>
|
|
1825
|
-
<div class="k-actionsheet-subtitle k-text-center">{{ subtitle }}</div>
|
|
1826
|
-
</div>
|
|
1827
|
-
<div class="k-actionsheet-actions">
|
|
1828
|
-
<button
|
|
1829
|
-
kendoButton
|
|
1830
|
-
icon="x"
|
|
1831
|
-
type="button"
|
|
1832
|
-
[attr.title]="messageFor('clearTitle')"
|
|
1833
|
-
[svgIcon]="xIcon"
|
|
1834
|
-
fillMode="flat"
|
|
1835
|
-
[size]="size"
|
|
1836
|
-
[tabIndex]="-1"
|
|
1837
|
-
aria-hidden="true"
|
|
1838
|
-
innerCssClass="k-button-icon"
|
|
1839
|
-
(click)="closePopup.emit()"
|
|
1840
|
-
></button>
|
|
1841
|
-
</div>
|
|
1842
|
-
</div>
|
|
1843
|
-
<div class="k-actionsheet-titlebar-group k-actionsheet-filter">
|
|
1844
|
-
<kendo-textbox
|
|
1845
|
-
*ngIf="showTextInput"
|
|
1846
|
-
#actionSheetSearchBar
|
|
1847
|
-
[value]="searchBarValue"
|
|
1848
|
-
[size]="size"
|
|
1849
|
-
placeholder="Filter"
|
|
1850
|
-
class="k-searchbox"
|
|
1851
|
-
autocomplete="off"
|
|
1852
|
-
(valueChange)="onValueChange($event)"
|
|
1853
|
-
>
|
|
1854
|
-
<ng-template kendoTextBoxPrefixTemplate>
|
|
1855
|
-
<kendo-icon name="search"></kendo-icon>
|
|
1856
|
-
</ng-template>
|
|
1857
|
-
</kendo-textbox>
|
|
1858
|
-
</div>
|
|
1859
|
-
</div>
|
|
1860
|
-
<div class="k-actionsheet-content !k-overflow-hidden">
|
|
1861
|
-
<div class="k-list-container">
|
|
1862
|
-
<ng-container *ngTemplateOutlet="sharedPopupActionSheetTemplate"></ng-container>
|
|
1863
|
-
</div>
|
|
1864
|
-
</div>
|
|
1865
|
-
|
|
1866
|
-
<div *ngIf="showActionButtons" class="k-actionsheet-footer k-actions k-actions-stretched">
|
|
1867
|
-
<button kendoButton
|
|
1868
|
-
tabindex="0"
|
|
1869
|
-
aria-disabled="false"
|
|
1870
|
-
type="button"
|
|
1871
|
-
[size]="size"
|
|
1872
|
-
themeColor="base"
|
|
1873
|
-
(click)="onCancel.emit()"
|
|
1874
|
-
(keydown.enter)="$event.stopImmediatePropagation()">
|
|
1875
|
-
{{messageFor('cancelButton')}}
|
|
1876
|
-
</button>
|
|
1877
|
-
<button kendoButton
|
|
1878
|
-
tabindex="0"
|
|
1879
|
-
aria-disabled="false"
|
|
1880
|
-
type="button"
|
|
1881
|
-
[size]="size"
|
|
1882
|
-
themeColor="primary"
|
|
1883
|
-
(click)="onApply.emit()"
|
|
1884
|
-
(keydown.enter)="$event.stopImmediatePropagation()">
|
|
1885
|
-
{{messageFor('applyButton')}}
|
|
1886
|
-
</button>
|
|
1887
|
-
</div>
|
|
1888
|
-
</ng-template>
|
|
1889
|
-
</kendo-actionsheet>
|
|
1890
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i11.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i14.IconComponent, selector: "kendo-icon", inputs: ["name"], exportAs: ["kendoIcon"] }, { kind: "component", type: i4.ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["title", "subtitle", "items", "cssClass", "animation", "expanded", "titleId"], outputs: ["expandedChange", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "directive", type: i4.ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { kind: "component", type: i5.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: i6.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: i6.TextBoxPrefixTemplateDirective, selector: "[kendoTextBoxPrefixTemplate]", inputs: ["showSeparator"] }] });
|
|
1891
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResponsiveRendererComponent, decorators: [{
|
|
1892
|
-
type: Component,
|
|
1815
|
+
SelectableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SelectableDirective, deps: [{ token: SelectionService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1816
|
+
SelectableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", 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 });
|
|
1817
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SelectableDirective, decorators: [{
|
|
1818
|
+
type: Directive,
|
|
1893
1819
|
args: [{
|
|
1894
|
-
selector: '
|
|
1895
|
-
|
|
1896
|
-
<kendo-actionsheet
|
|
1897
|
-
#actionSheet
|
|
1898
|
-
[animation]="{ duration: animationDuration }"
|
|
1899
|
-
[expanded]="isActionSheetExpanded"
|
|
1900
|
-
(overlayClick)="closePopup.emit()"
|
|
1901
|
-
(keydown)="navigate.emit($event)"
|
|
1902
|
-
(expand)="onExpand.emit()"
|
|
1903
|
-
(collapse)="onCollapse.emit()"
|
|
1904
|
-
>
|
|
1905
|
-
<ng-template kendoActionSheetTemplate>
|
|
1906
|
-
<div class="k-text-center k-actionsheet-titlebar">
|
|
1907
|
-
<div class="k-actionsheet-titlebar-group k-hbox">
|
|
1908
|
-
<div class="k-actionsheet-title">
|
|
1909
|
-
<div class="k-text-center">{{ title }}</div>
|
|
1910
|
-
<div class="k-actionsheet-subtitle k-text-center">{{ subtitle }}</div>
|
|
1911
|
-
</div>
|
|
1912
|
-
<div class="k-actionsheet-actions">
|
|
1913
|
-
<button
|
|
1914
|
-
kendoButton
|
|
1915
|
-
icon="x"
|
|
1916
|
-
type="button"
|
|
1917
|
-
[attr.title]="messageFor('clearTitle')"
|
|
1918
|
-
[svgIcon]="xIcon"
|
|
1919
|
-
fillMode="flat"
|
|
1920
|
-
[size]="size"
|
|
1921
|
-
[tabIndex]="-1"
|
|
1922
|
-
aria-hidden="true"
|
|
1923
|
-
innerCssClass="k-button-icon"
|
|
1924
|
-
(click)="closePopup.emit()"
|
|
1925
|
-
></button>
|
|
1926
|
-
</div>
|
|
1927
|
-
</div>
|
|
1928
|
-
<div class="k-actionsheet-titlebar-group k-actionsheet-filter">
|
|
1929
|
-
<kendo-textbox
|
|
1930
|
-
*ngIf="showTextInput"
|
|
1931
|
-
#actionSheetSearchBar
|
|
1932
|
-
[value]="searchBarValue"
|
|
1933
|
-
[size]="size"
|
|
1934
|
-
placeholder="Filter"
|
|
1935
|
-
class="k-searchbox"
|
|
1936
|
-
autocomplete="off"
|
|
1937
|
-
(valueChange)="onValueChange($event)"
|
|
1938
|
-
>
|
|
1939
|
-
<ng-template kendoTextBoxPrefixTemplate>
|
|
1940
|
-
<kendo-icon name="search"></kendo-icon>
|
|
1941
|
-
</ng-template>
|
|
1942
|
-
</kendo-textbox>
|
|
1943
|
-
</div>
|
|
1944
|
-
</div>
|
|
1945
|
-
<div class="k-actionsheet-content !k-overflow-hidden">
|
|
1946
|
-
<div class="k-list-container">
|
|
1947
|
-
<ng-container *ngTemplateOutlet="sharedPopupActionSheetTemplate"></ng-container>
|
|
1948
|
-
</div>
|
|
1949
|
-
</div>
|
|
1950
|
-
|
|
1951
|
-
<div *ngIf="showActionButtons" class="k-actionsheet-footer k-actions k-actions-stretched">
|
|
1952
|
-
<button kendoButton
|
|
1953
|
-
tabindex="0"
|
|
1954
|
-
aria-disabled="false"
|
|
1955
|
-
type="button"
|
|
1956
|
-
[size]="size"
|
|
1957
|
-
themeColor="base"
|
|
1958
|
-
(click)="onCancel.emit()"
|
|
1959
|
-
(keydown.enter)="$event.stopImmediatePropagation()">
|
|
1960
|
-
{{messageFor('cancelButton')}}
|
|
1961
|
-
</button>
|
|
1962
|
-
<button kendoButton
|
|
1963
|
-
tabindex="0"
|
|
1964
|
-
aria-disabled="false"
|
|
1965
|
-
type="button"
|
|
1966
|
-
[size]="size"
|
|
1967
|
-
themeColor="primary"
|
|
1968
|
-
(click)="onApply.emit()"
|
|
1969
|
-
(keydown.enter)="$event.stopImmediatePropagation()">
|
|
1970
|
-
{{messageFor('applyButton')}}
|
|
1971
|
-
</button>
|
|
1972
|
-
</div>
|
|
1973
|
-
</ng-template>
|
|
1974
|
-
</kendo-actionsheet>
|
|
1975
|
-
`,
|
|
1820
|
+
selector: '[kendoDropDownsSelectable]',
|
|
1821
|
+
standalone: true
|
|
1976
1822
|
}]
|
|
1977
|
-
}], ctorParameters: function () { return [{ type:
|
|
1978
|
-
type:
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
}], subtitle: [{
|
|
1823
|
+
}], ctorParameters: function () { return [{ type: SelectionService }]; }, propDecorators: { index: [{
|
|
1824
|
+
type: HostBinding,
|
|
1825
|
+
args: ['attr.index']
|
|
1826
|
+
}, {
|
|
1982
1827
|
type: Input
|
|
1983
|
-
}],
|
|
1984
|
-
type: Input
|
|
1985
|
-
}], showTextInput: [{
|
|
1986
|
-
type: Input
|
|
1987
|
-
}], sharedPopupActionSheetTemplate: [{
|
|
1988
|
-
type: Input
|
|
1989
|
-
}], isActionSheetExpanded: [{
|
|
1990
|
-
type: Input
|
|
1991
|
-
}], text: [{
|
|
1992
|
-
type: Input
|
|
1993
|
-
}], placeholder: [{
|
|
1994
|
-
type: Input
|
|
1995
|
-
}], closePopup: [{
|
|
1996
|
-
type: Output
|
|
1997
|
-
}], textInputChange: [{
|
|
1998
|
-
type: Output
|
|
1999
|
-
}], navigate: [{
|
|
2000
|
-
type: Output
|
|
2001
|
-
}], onExpand: [{
|
|
2002
|
-
type: Output
|
|
2003
|
-
}], onCollapse: [{
|
|
2004
|
-
type: Output
|
|
2005
|
-
}], onApply: [{
|
|
2006
|
-
type: Output
|
|
2007
|
-
}], onCancel: [{
|
|
2008
|
-
type: Output
|
|
2009
|
-
}], actionSheet: [{
|
|
2010
|
-
type: ViewChild,
|
|
2011
|
-
args: [ActionSheetComponent]
|
|
2012
|
-
}], actionSheetSearchBar: [{
|
|
2013
|
-
type: ViewChild,
|
|
2014
|
-
args: ['actionSheetSearchBar']
|
|
2015
|
-
}] } });
|
|
2016
|
-
|
|
2017
|
-
/**
|
|
2018
|
-
* @hidden
|
|
2019
|
-
*/
|
|
2020
|
-
class ListItemDirective {
|
|
2021
|
-
constructor(element) {
|
|
2022
|
-
this.element = element;
|
|
2023
|
-
}
|
|
2024
|
-
}
|
|
2025
|
-
ListItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ListItemDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2026
|
-
ListItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ListItemDirective, selector: "\"li[role=option], li[role=group]\"", ngImport: i0 });
|
|
2027
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ListItemDirective, decorators: [{
|
|
2028
|
-
type: Directive,
|
|
2029
|
-
args: [{
|
|
2030
|
-
selector: '"li[role=option], li[role=group]"' // eslint-disable-line
|
|
2031
|
-
}]
|
|
2032
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
2033
|
-
|
|
2034
|
-
/**
|
|
2035
|
-
* @hidden
|
|
2036
|
-
*/
|
|
2037
|
-
class SelectableDirective {
|
|
2038
|
-
constructor(selectionService) {
|
|
2039
|
-
this.checkboxes = { enabled: false };
|
|
2040
|
-
this.multipleSelection = false;
|
|
2041
|
-
this.selectionService = selectionService;
|
|
2042
|
-
}
|
|
2043
|
-
get focusedClassName() {
|
|
2044
|
-
return this.selectionService.isFocused(this.index);
|
|
2045
|
-
}
|
|
2046
|
-
get selectedClassName() {
|
|
2047
|
-
return !this.checkboxes.enabled && this.selectionService.isSelected(this.index);
|
|
2048
|
-
}
|
|
2049
|
-
onClick(event) {
|
|
2050
|
-
event.stopPropagation();
|
|
2051
|
-
this.selectionService.lastClickedIndex = this.index;
|
|
2052
|
-
if (this.checkboxes.enabled && !this.checkboxes.checkOnClick) {
|
|
2053
|
-
return;
|
|
2054
|
-
}
|
|
2055
|
-
if (this.multipleSelection) {
|
|
2056
|
-
if (this.selectionService.isSelected(this.index)) {
|
|
2057
|
-
this.selectionService.deselect(this.index);
|
|
2058
|
-
}
|
|
2059
|
-
else {
|
|
2060
|
-
this.selectionService.add(this.index);
|
|
2061
|
-
}
|
|
2062
|
-
}
|
|
2063
|
-
else {
|
|
2064
|
-
this.selectionService.change(this.index);
|
|
2065
|
-
}
|
|
2066
|
-
}
|
|
2067
|
-
}
|
|
2068
|
-
SelectableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SelectableDirective, deps: [{ token: SelectionService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2069
|
-
SelectableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SelectableDirective, 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 });
|
|
2070
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SelectableDirective, decorators: [{
|
|
2071
|
-
type: Directive,
|
|
2072
|
-
args: [{
|
|
2073
|
-
selector: '[kendoDropDownsSelectable]'
|
|
2074
|
-
}]
|
|
2075
|
-
}], ctorParameters: function () { return [{ type: SelectionService }]; }, propDecorators: { index: [{
|
|
2076
|
-
type: HostBinding,
|
|
2077
|
-
args: ['attr.index']
|
|
2078
|
-
}, {
|
|
2079
|
-
type: Input
|
|
2080
|
-
}], checkboxes: [{
|
|
1828
|
+
}], checkboxes: [{
|
|
2081
1829
|
type: Input
|
|
2082
1830
|
}], height: [{
|
|
2083
1831
|
type: HostBinding,
|
|
@@ -2102,34 +1850,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2102
1850
|
args: ['click', ['$event']]
|
|
2103
1851
|
}] } });
|
|
2104
1852
|
|
|
2105
|
-
/**
|
|
2106
|
-
* @hidden
|
|
2107
|
-
*/
|
|
2108
|
-
class TemplateContextDirective {
|
|
2109
|
-
constructor(viewContainerRef) {
|
|
2110
|
-
this.viewContainerRef = viewContainerRef;
|
|
2111
|
-
}
|
|
2112
|
-
set templateContext(context) {
|
|
2113
|
-
if (this.insertedViewRef) {
|
|
2114
|
-
this.viewContainerRef.remove(this.viewContainerRef.indexOf(this.insertedViewRef));
|
|
2115
|
-
this.insertedViewRef = undefined;
|
|
2116
|
-
}
|
|
2117
|
-
if (context.templateRef) {
|
|
2118
|
-
this.insertedViewRef = this.viewContainerRef.createEmbeddedView(context.templateRef, context);
|
|
2119
|
-
}
|
|
2120
|
-
}
|
|
2121
|
-
}
|
|
2122
|
-
TemplateContextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TemplateContextDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2123
|
-
TemplateContextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TemplateContextDirective, selector: "[templateContext]", inputs: { templateContext: "templateContext" }, ngImport: i0 });
|
|
2124
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TemplateContextDirective, decorators: [{
|
|
2125
|
-
type: Directive,
|
|
2126
|
-
args: [{
|
|
2127
|
-
selector: '[templateContext]' // eslint-disable-line
|
|
2128
|
-
}]
|
|
2129
|
-
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { templateContext: [{
|
|
2130
|
-
type: Input
|
|
2131
|
-
}] } });
|
|
2132
|
-
|
|
2133
1853
|
/**
|
|
2134
1854
|
* @hidden
|
|
2135
1855
|
*/
|
|
@@ -2514,7 +2234,7 @@ class ListComponent {
|
|
|
2514
2234
|
}
|
|
2515
2235
|
}
|
|
2516
2236
|
ListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ListComponent, deps: [{ token: DataService }, { token: i0.ElementRef }, { token: SelectionService }, { token: DisabledItemsService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
2517
|
-
ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ListComponent, selector: "kendo-list", inputs: { selected: "selected", focused: "focused", textField: "textField", valueField: "valueField", height: "height", template: "template", groupTemplate: "groupTemplate", fixedGroupTemplate: "fixedGroupTemplate", show: "show", id: "id", optionPrefix: "optionPrefix", multipleSelection: "multipleSelection", virtual: "virtual", type: "type", checkboxes: "checkboxes", ariaLive: "ariaLive", isMultiselect: "isMultiselect", isActionSheetExpanded: "isActionSheetExpanded", showStickyHeader: "showStickyHeader", data: "data", size: "size", rounded: "rounded" }, outputs: { 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, static: true }, { propertyName: "virtualContainer", first: true, predicate: ["virtualContainer"], descendants: true }, { propertyName: "items", predicate: ListItemDirective, descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
2237
|
+
ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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", isMultiselect: "isMultiselect", isActionSheetExpanded: "isActionSheetExpanded", showStickyHeader: "showStickyHeader", data: "data", size: "size", rounded: "rounded" }, outputs: { 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, static: true }, { propertyName: "virtualContainer", first: true, predicate: ["virtualContainer"], descendants: true }, { propertyName: "items", predicate: ListItemDirective, descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
2518
2238
|
<div *ngIf="dataService.grouped && showStickyHeader"
|
|
2519
2239
|
[class]="listGroupStickyHeaderClass"
|
|
2520
2240
|
[ngStyle]="{
|
|
@@ -2643,7 +2363,7 @@ ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
|
2643
2363
|
</div>
|
|
2644
2364
|
</div>
|
|
2645
2365
|
</div>
|
|
2646
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
2366
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: ListItemDirective, selector: "\"li[role=option], li[role=group]\"" }, { 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"] }] });
|
|
2647
2367
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ListComponent, decorators: [{
|
|
2648
2368
|
type: Component,
|
|
2649
2369
|
args: [{
|
|
@@ -2777,7 +2497,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2777
2497
|
</div>
|
|
2778
2498
|
</div>
|
|
2779
2499
|
</div>
|
|
2780
|
-
|
|
2500
|
+
`,
|
|
2501
|
+
standalone: true,
|
|
2502
|
+
imports: [NgIf, NgStyle, TemplateContextDirective, NgFor, ListItemDirective, SelectableDirective, NgClass, ResizeSensorComponent]
|
|
2781
2503
|
}]
|
|
2782
2504
|
}], ctorParameters: function () { return [{ type: DataService }, { type: i0.ElementRef }, { type: SelectionService }, { type: DisabledItemsService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.Renderer2 }]; }, propDecorators: { selected: [{
|
|
2783
2505
|
type: Input
|
|
@@ -2848,139 +2570,332 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2848
2570
|
/**
|
|
2849
2571
|
* @hidden
|
|
2850
2572
|
*/
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Messages, decorators: [{
|
|
2856
|
-
type: Directive
|
|
2857
|
-
}], propDecorators: { noDataText: [{
|
|
2858
|
-
type: Input
|
|
2859
|
-
}], clearTitle: [{
|
|
2860
|
-
type: Input
|
|
2861
|
-
}], checkAllText: [{
|
|
2862
|
-
type: Input
|
|
2863
|
-
}], selectButtonText: [{
|
|
2864
|
-
type: Input
|
|
2865
|
-
}], filterInputLabel: [{
|
|
2866
|
-
type: Input
|
|
2867
|
-
}], popupLabel: [{
|
|
2868
|
-
type: Input
|
|
2869
|
-
}], applyButton: [{
|
|
2870
|
-
type: Input
|
|
2871
|
-
}], cancelButton: [{
|
|
2872
|
-
type: Input
|
|
2873
|
-
}] } });
|
|
2874
|
-
|
|
2573
|
+
const DEFAULTS = {
|
|
2574
|
+
pageSize: 50,
|
|
2575
|
+
itemHeight: 28
|
|
2576
|
+
};
|
|
2875
2577
|
/**
|
|
2876
2578
|
* @hidden
|
|
2877
2579
|
*/
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2580
|
+
const normalizeVirtualizationSettings = (settings, defaultOverrides) => {
|
|
2581
|
+
const defaults = Object.assign({}, DEFAULTS, defaultOverrides);
|
|
2582
|
+
if (settings === true) {
|
|
2583
|
+
return defaults;
|
|
2882
2584
|
}
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
2889
|
-
}
|
|
2890
|
-
], usesInheritance: true, ngImport: i0 });
|
|
2891
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
2892
|
-
type: Directive,
|
|
2893
|
-
args: [{
|
|
2894
|
-
providers: [
|
|
2895
|
-
{
|
|
2896
|
-
provide: Messages,
|
|
2897
|
-
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
2898
|
-
}
|
|
2899
|
-
],
|
|
2900
|
-
selector: `
|
|
2901
|
-
[kendoDropDownListLocalizedMessages],
|
|
2902
|
-
[kendoDropDownTreeLocalizedMessages],
|
|
2903
|
-
[kendoComboBoxLocalizedMessages],
|
|
2904
|
-
[kendoMultiColumnComboBoxLocalizedMessages],
|
|
2905
|
-
[kendoAutoCompleteLocalizedMessages],
|
|
2906
|
-
[kendoMultiSelectLocalizedMessages],
|
|
2907
|
-
[kendoMultiSelectTreeLocalizedMessages]
|
|
2908
|
-
`
|
|
2909
|
-
}]
|
|
2910
|
-
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
2585
|
+
if (!settings) {
|
|
2586
|
+
return null;
|
|
2587
|
+
}
|
|
2588
|
+
return Object.assign({ pageSize: DEFAULTS.pageSize }, settings);
|
|
2589
|
+
};
|
|
2911
2590
|
|
|
2912
2591
|
/**
|
|
2913
2592
|
* @hidden
|
|
2914
2593
|
*/
|
|
2915
|
-
class
|
|
2916
|
-
constructor(
|
|
2917
|
-
this.
|
|
2918
|
-
this.
|
|
2919
|
-
this.
|
|
2920
|
-
this.
|
|
2921
|
-
this.
|
|
2922
|
-
this.
|
|
2923
|
-
this.
|
|
2594
|
+
class ResponsiveRendererComponent {
|
|
2595
|
+
constructor(localization) {
|
|
2596
|
+
this.localization = localization;
|
|
2597
|
+
this.closePopup = new EventEmitter();
|
|
2598
|
+
this.textInputChange = new EventEmitter();
|
|
2599
|
+
this.navigate = new EventEmitter();
|
|
2600
|
+
this.onExpand = new EventEmitter();
|
|
2601
|
+
this.onCollapse = new EventEmitter();
|
|
2602
|
+
this.onApply = new EventEmitter();
|
|
2603
|
+
this.onCancel = new EventEmitter();
|
|
2604
|
+
this.searchBarValue = '';
|
|
2605
|
+
this.animationDuration = animationDuration;
|
|
2606
|
+
this.xIcon = xIcon;
|
|
2924
2607
|
}
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
let cursorInsideWrapper = false;
|
|
2928
|
-
let tabbing = false;
|
|
2929
|
-
this.ngZone.runOutsideAngular(() => {
|
|
2930
|
-
// focusIn and focusOut are relative to the host element
|
|
2931
|
-
this.subscriptions.add(this.renderer.listen(hostElement, 'focusin', () => {
|
|
2932
|
-
this.cdr.detectChanges();
|
|
2933
|
-
if (!this.isFocused) {
|
|
2934
|
-
this.ngZone.run(() => {
|
|
2935
|
-
this.onFocus.emit();
|
|
2936
|
-
this.isFocused = true;
|
|
2937
|
-
this.isFocusedChange.emit(this.isFocused);
|
|
2938
|
-
});
|
|
2939
|
-
}
|
|
2940
|
-
}));
|
|
2941
|
-
this.subscriptions.add(this.renderer.listen(hostElement, 'focusout', (args) => {
|
|
2942
|
-
if (!this.isFocused) {
|
|
2943
|
-
return;
|
|
2944
|
-
}
|
|
2945
|
-
if (tabbing) {
|
|
2946
|
-
const closestTextbox = closest$1(args.relatedTarget, (element) => element === hostElement);
|
|
2947
|
-
if (!closestTextbox) {
|
|
2948
|
-
this.handleBlur.emit();
|
|
2949
|
-
}
|
|
2950
|
-
tabbing = false;
|
|
2951
|
-
}
|
|
2952
|
-
else {
|
|
2953
|
-
if (!cursorInsideWrapper) {
|
|
2954
|
-
this.handleBlur.emit();
|
|
2955
|
-
}
|
|
2956
|
-
}
|
|
2957
|
-
}));
|
|
2958
|
-
this.subscriptions.add(this.renderer.listen(hostElement, 'mouseenter', () => {
|
|
2959
|
-
cursorInsideWrapper = true;
|
|
2960
|
-
}));
|
|
2961
|
-
this.subscriptions.add(this.renderer.listen(hostElement, 'mouseleave', () => {
|
|
2962
|
-
cursorInsideWrapper = false;
|
|
2963
|
-
}));
|
|
2964
|
-
this.subscriptions.add(this.renderer.listen(hostElement, 'keydown', (args) => {
|
|
2965
|
-
if (args.keyCode === Keys.Tab) {
|
|
2966
|
-
tabbing = true;
|
|
2967
|
-
}
|
|
2968
|
-
else {
|
|
2969
|
-
tabbing = false;
|
|
2970
|
-
}
|
|
2971
|
-
}));
|
|
2972
|
-
});
|
|
2608
|
+
messageFor(key) {
|
|
2609
|
+
return this.localization.get(key);
|
|
2973
2610
|
}
|
|
2974
|
-
|
|
2975
|
-
this.
|
|
2611
|
+
onValueChange(value) {
|
|
2612
|
+
this.searchBarValue = value;
|
|
2613
|
+
this.textInputChange.emit(value);
|
|
2976
2614
|
}
|
|
2977
2615
|
}
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2616
|
+
ResponsiveRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResponsiveRendererComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2617
|
+
ResponsiveRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ResponsiveRendererComponent, isStandalone: true, selector: "responsive-renderer", inputs: { title: "title", showActionButtons: "showActionButtons", subtitle: "subtitle", size: "size", showTextInput: "showTextInput", sharedPopupActionSheetTemplate: "sharedPopupActionSheetTemplate", isActionSheetExpanded: "isActionSheetExpanded", text: "text", placeholder: "placeholder" }, outputs: { closePopup: "closePopup", textInputChange: "textInputChange", navigate: "navigate", onExpand: "onExpand", onCollapse: "onCollapse", onApply: "onApply", onCancel: "onCancel" }, viewQueries: [{ propertyName: "actionSheet", first: true, predicate: ActionSheetComponent, descendants: true }, { propertyName: "actionSheetSearchBar", first: true, predicate: ["actionSheetSearchBar"], descendants: true }], ngImport: i0, template: `
|
|
2618
|
+
<kendo-actionsheet
|
|
2619
|
+
#actionSheet
|
|
2620
|
+
[animation]="{ duration: animationDuration }"
|
|
2621
|
+
[expanded]="isActionSheetExpanded"
|
|
2622
|
+
(overlayClick)="closePopup.emit()"
|
|
2623
|
+
(keydown)="navigate.emit($event)"
|
|
2624
|
+
(expand)="onExpand.emit()"
|
|
2625
|
+
(collapse)="onCollapse.emit()"
|
|
2626
|
+
>
|
|
2627
|
+
<ng-template kendoActionSheetTemplate>
|
|
2628
|
+
<div class="k-text-center k-actionsheet-titlebar">
|
|
2629
|
+
<div class="k-actionsheet-titlebar-group k-hbox">
|
|
2630
|
+
<div class="k-actionsheet-title">
|
|
2631
|
+
<div class="k-text-center">{{ title }}</div>
|
|
2632
|
+
<div class="k-actionsheet-subtitle k-text-center">{{ subtitle }}</div>
|
|
2633
|
+
</div>
|
|
2634
|
+
<div class="k-actionsheet-actions">
|
|
2635
|
+
<button
|
|
2636
|
+
kendoButton
|
|
2637
|
+
icon="x"
|
|
2638
|
+
type="button"
|
|
2639
|
+
[attr.title]="messageFor('clearTitle')"
|
|
2640
|
+
[svgIcon]="xIcon"
|
|
2641
|
+
fillMode="flat"
|
|
2642
|
+
[size]="size"
|
|
2643
|
+
[tabIndex]="-1"
|
|
2644
|
+
aria-hidden="true"
|
|
2645
|
+
innerCssClass="k-button-icon"
|
|
2646
|
+
(click)="closePopup.emit()"
|
|
2647
|
+
></button>
|
|
2648
|
+
</div>
|
|
2649
|
+
</div>
|
|
2650
|
+
<div class="k-actionsheet-titlebar-group k-actionsheet-filter">
|
|
2651
|
+
<kendo-textbox
|
|
2652
|
+
*ngIf="showTextInput"
|
|
2653
|
+
#actionSheetSearchBar
|
|
2654
|
+
[value]="searchBarValue"
|
|
2655
|
+
[size]="size"
|
|
2656
|
+
placeholder="Filter"
|
|
2657
|
+
class="k-searchbox"
|
|
2658
|
+
autocomplete="off"
|
|
2659
|
+
(valueChange)="onValueChange($event)"
|
|
2660
|
+
>
|
|
2661
|
+
<ng-template kendoTextBoxPrefixTemplate>
|
|
2662
|
+
<kendo-icon name="search"></kendo-icon>
|
|
2663
|
+
</ng-template>
|
|
2664
|
+
</kendo-textbox>
|
|
2665
|
+
</div>
|
|
2666
|
+
</div>
|
|
2667
|
+
<div class="k-actionsheet-content !k-overflow-hidden">
|
|
2668
|
+
<div class="k-list-container">
|
|
2669
|
+
<ng-container *ngTemplateOutlet="sharedPopupActionSheetTemplate"></ng-container>
|
|
2670
|
+
</div>
|
|
2671
|
+
</div>
|
|
2672
|
+
|
|
2673
|
+
<div *ngIf="showActionButtons" class="k-actionsheet-footer k-actions k-actions-stretched">
|
|
2674
|
+
<button kendoButton
|
|
2675
|
+
tabindex="0"
|
|
2676
|
+
aria-disabled="false"
|
|
2677
|
+
type="button"
|
|
2678
|
+
[size]="size"
|
|
2679
|
+
themeColor="base"
|
|
2680
|
+
(click)="onCancel.emit()"
|
|
2681
|
+
(keydown.enter)="$event.stopImmediatePropagation()">
|
|
2682
|
+
{{messageFor('cancelButton')}}
|
|
2683
|
+
</button>
|
|
2684
|
+
<button kendoButton
|
|
2685
|
+
tabindex="0"
|
|
2686
|
+
aria-disabled="false"
|
|
2687
|
+
type="button"
|
|
2688
|
+
[size]="size"
|
|
2689
|
+
themeColor="primary"
|
|
2690
|
+
(click)="onApply.emit()"
|
|
2691
|
+
(keydown.enter)="$event.stopImmediatePropagation()">
|
|
2692
|
+
{{messageFor('applyButton')}}
|
|
2693
|
+
</button>
|
|
2694
|
+
</div>
|
|
2695
|
+
</ng-template>
|
|
2696
|
+
</kendo-actionsheet>
|
|
2697
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["title", "subtitle", "items", "cssClass", "animation", "expanded", "titleId"], outputs: ["expandedChange", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "directive", type: ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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: IconComponent, selector: "kendo-icon", inputs: ["name"], exportAs: ["kendoIcon"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
2698
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResponsiveRendererComponent, decorators: [{
|
|
2699
|
+
type: Component,
|
|
2700
|
+
args: [{
|
|
2701
|
+
selector: 'responsive-renderer',
|
|
2702
|
+
template: `
|
|
2703
|
+
<kendo-actionsheet
|
|
2704
|
+
#actionSheet
|
|
2705
|
+
[animation]="{ duration: animationDuration }"
|
|
2706
|
+
[expanded]="isActionSheetExpanded"
|
|
2707
|
+
(overlayClick)="closePopup.emit()"
|
|
2708
|
+
(keydown)="navigate.emit($event)"
|
|
2709
|
+
(expand)="onExpand.emit()"
|
|
2710
|
+
(collapse)="onCollapse.emit()"
|
|
2711
|
+
>
|
|
2712
|
+
<ng-template kendoActionSheetTemplate>
|
|
2713
|
+
<div class="k-text-center k-actionsheet-titlebar">
|
|
2714
|
+
<div class="k-actionsheet-titlebar-group k-hbox">
|
|
2715
|
+
<div class="k-actionsheet-title">
|
|
2716
|
+
<div class="k-text-center">{{ title }}</div>
|
|
2717
|
+
<div class="k-actionsheet-subtitle k-text-center">{{ subtitle }}</div>
|
|
2718
|
+
</div>
|
|
2719
|
+
<div class="k-actionsheet-actions">
|
|
2720
|
+
<button
|
|
2721
|
+
kendoButton
|
|
2722
|
+
icon="x"
|
|
2723
|
+
type="button"
|
|
2724
|
+
[attr.title]="messageFor('clearTitle')"
|
|
2725
|
+
[svgIcon]="xIcon"
|
|
2726
|
+
fillMode="flat"
|
|
2727
|
+
[size]="size"
|
|
2728
|
+
[tabIndex]="-1"
|
|
2729
|
+
aria-hidden="true"
|
|
2730
|
+
innerCssClass="k-button-icon"
|
|
2731
|
+
(click)="closePopup.emit()"
|
|
2732
|
+
></button>
|
|
2733
|
+
</div>
|
|
2734
|
+
</div>
|
|
2735
|
+
<div class="k-actionsheet-titlebar-group k-actionsheet-filter">
|
|
2736
|
+
<kendo-textbox
|
|
2737
|
+
*ngIf="showTextInput"
|
|
2738
|
+
#actionSheetSearchBar
|
|
2739
|
+
[value]="searchBarValue"
|
|
2740
|
+
[size]="size"
|
|
2741
|
+
placeholder="Filter"
|
|
2742
|
+
class="k-searchbox"
|
|
2743
|
+
autocomplete="off"
|
|
2744
|
+
(valueChange)="onValueChange($event)"
|
|
2745
|
+
>
|
|
2746
|
+
<ng-template kendoTextBoxPrefixTemplate>
|
|
2747
|
+
<kendo-icon name="search"></kendo-icon>
|
|
2748
|
+
</ng-template>
|
|
2749
|
+
</kendo-textbox>
|
|
2750
|
+
</div>
|
|
2751
|
+
</div>
|
|
2752
|
+
<div class="k-actionsheet-content !k-overflow-hidden">
|
|
2753
|
+
<div class="k-list-container">
|
|
2754
|
+
<ng-container *ngTemplateOutlet="sharedPopupActionSheetTemplate"></ng-container>
|
|
2755
|
+
</div>
|
|
2756
|
+
</div>
|
|
2757
|
+
|
|
2758
|
+
<div *ngIf="showActionButtons" class="k-actionsheet-footer k-actions k-actions-stretched">
|
|
2759
|
+
<button kendoButton
|
|
2760
|
+
tabindex="0"
|
|
2761
|
+
aria-disabled="false"
|
|
2762
|
+
type="button"
|
|
2763
|
+
[size]="size"
|
|
2764
|
+
themeColor="base"
|
|
2765
|
+
(click)="onCancel.emit()"
|
|
2766
|
+
(keydown.enter)="$event.stopImmediatePropagation()">
|
|
2767
|
+
{{messageFor('cancelButton')}}
|
|
2768
|
+
</button>
|
|
2769
|
+
<button kendoButton
|
|
2770
|
+
tabindex="0"
|
|
2771
|
+
aria-disabled="false"
|
|
2772
|
+
type="button"
|
|
2773
|
+
[size]="size"
|
|
2774
|
+
themeColor="primary"
|
|
2775
|
+
(click)="onApply.emit()"
|
|
2776
|
+
(keydown.enter)="$event.stopImmediatePropagation()">
|
|
2777
|
+
{{messageFor('applyButton')}}
|
|
2778
|
+
</button>
|
|
2779
|
+
</div>
|
|
2780
|
+
</ng-template>
|
|
2781
|
+
</kendo-actionsheet>
|
|
2782
|
+
`,
|
|
2783
|
+
standalone: true,
|
|
2784
|
+
imports: [ActionSheetComponent, ActionSheetTemplateDirective, ButtonComponent, NgIf, TextBoxComponent, TextBoxPrefixTemplateDirective, IconComponent, NgTemplateOutlet]
|
|
2785
|
+
}]
|
|
2786
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; }, propDecorators: { title: [{
|
|
2787
|
+
type: Input
|
|
2788
|
+
}], showActionButtons: [{
|
|
2789
|
+
type: Input
|
|
2790
|
+
}], subtitle: [{
|
|
2791
|
+
type: Input
|
|
2792
|
+
}], size: [{
|
|
2793
|
+
type: Input
|
|
2794
|
+
}], showTextInput: [{
|
|
2795
|
+
type: Input
|
|
2796
|
+
}], sharedPopupActionSheetTemplate: [{
|
|
2797
|
+
type: Input
|
|
2798
|
+
}], isActionSheetExpanded: [{
|
|
2799
|
+
type: Input
|
|
2800
|
+
}], text: [{
|
|
2801
|
+
type: Input
|
|
2802
|
+
}], placeholder: [{
|
|
2803
|
+
type: Input
|
|
2804
|
+
}], closePopup: [{
|
|
2805
|
+
type: Output
|
|
2806
|
+
}], textInputChange: [{
|
|
2807
|
+
type: Output
|
|
2808
|
+
}], navigate: [{
|
|
2809
|
+
type: Output
|
|
2810
|
+
}], onExpand: [{
|
|
2811
|
+
type: Output
|
|
2812
|
+
}], onCollapse: [{
|
|
2813
|
+
type: Output
|
|
2814
|
+
}], onApply: [{
|
|
2815
|
+
type: Output
|
|
2816
|
+
}], onCancel: [{
|
|
2817
|
+
type: Output
|
|
2818
|
+
}], actionSheet: [{
|
|
2819
|
+
type: ViewChild,
|
|
2820
|
+
args: [ActionSheetComponent]
|
|
2821
|
+
}], actionSheetSearchBar: [{
|
|
2822
|
+
type: ViewChild,
|
|
2823
|
+
args: ['actionSheetSearchBar']
|
|
2824
|
+
}] } });
|
|
2825
|
+
|
|
2826
|
+
/**
|
|
2827
|
+
* @hidden
|
|
2828
|
+
*/
|
|
2829
|
+
class SharedDropDownEventsDirective {
|
|
2830
|
+
constructor(ngZone, renderer, cdr) {
|
|
2831
|
+
this.ngZone = ngZone;
|
|
2832
|
+
this.renderer = renderer;
|
|
2833
|
+
this.cdr = cdr;
|
|
2834
|
+
this.isFocusedChange = new EventEmitter();
|
|
2835
|
+
this.onFocus = new EventEmitter();
|
|
2836
|
+
this.handleBlur = new EventEmitter();
|
|
2837
|
+
this.subscriptions = new Subscription();
|
|
2838
|
+
}
|
|
2839
|
+
ngAfterViewInit() {
|
|
2840
|
+
const hostElement = this.hostElement.nativeElement;
|
|
2841
|
+
let cursorInsideWrapper = false;
|
|
2842
|
+
let tabbing = false;
|
|
2843
|
+
this.ngZone.runOutsideAngular(() => {
|
|
2844
|
+
// focusIn and focusOut are relative to the host element
|
|
2845
|
+
this.subscriptions.add(this.renderer.listen(hostElement, 'focusin', () => {
|
|
2846
|
+
this.cdr.detectChanges();
|
|
2847
|
+
if (!this.isFocused) {
|
|
2848
|
+
this.ngZone.run(() => {
|
|
2849
|
+
this.onFocus.emit();
|
|
2850
|
+
this.isFocused = true;
|
|
2851
|
+
this.isFocusedChange.emit(this.isFocused);
|
|
2852
|
+
});
|
|
2853
|
+
}
|
|
2854
|
+
}));
|
|
2855
|
+
this.subscriptions.add(this.renderer.listen(hostElement, 'focusout', (args) => {
|
|
2856
|
+
if (!this.isFocused) {
|
|
2857
|
+
return;
|
|
2858
|
+
}
|
|
2859
|
+
if (tabbing) {
|
|
2860
|
+
const closestTextbox = closest$1(args.relatedTarget, (element) => element === hostElement);
|
|
2861
|
+
if (!closestTextbox) {
|
|
2862
|
+
this.handleBlur.emit();
|
|
2863
|
+
}
|
|
2864
|
+
tabbing = false;
|
|
2865
|
+
}
|
|
2866
|
+
else {
|
|
2867
|
+
if (!cursorInsideWrapper) {
|
|
2868
|
+
this.handleBlur.emit();
|
|
2869
|
+
}
|
|
2870
|
+
}
|
|
2871
|
+
}));
|
|
2872
|
+
this.subscriptions.add(this.renderer.listen(hostElement, 'mouseenter', () => {
|
|
2873
|
+
cursorInsideWrapper = true;
|
|
2874
|
+
}));
|
|
2875
|
+
this.subscriptions.add(this.renderer.listen(hostElement, 'mouseleave', () => {
|
|
2876
|
+
cursorInsideWrapper = false;
|
|
2877
|
+
}));
|
|
2878
|
+
this.subscriptions.add(this.renderer.listen(hostElement, 'keydown', (args) => {
|
|
2879
|
+
if (args.keyCode === Keys.Tab) {
|
|
2880
|
+
tabbing = true;
|
|
2881
|
+
}
|
|
2882
|
+
else {
|
|
2883
|
+
tabbing = false;
|
|
2884
|
+
}
|
|
2885
|
+
}));
|
|
2886
|
+
});
|
|
2887
|
+
}
|
|
2888
|
+
ngOnDestroy() {
|
|
2889
|
+
this.subscriptions.unsubscribe();
|
|
2890
|
+
}
|
|
2891
|
+
}
|
|
2892
|
+
SharedDropDownEventsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedDropDownEventsDirective, deps: [{ token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2893
|
+
SharedDropDownEventsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SharedDropDownEventsDirective, isStandalone: true, selector: "[kendoDropDownSharedEvents]", inputs: { hostElement: "hostElement", clearButtonClicked: "clearButtonClicked", isFocused: "isFocused" }, outputs: { isFocusedChange: "isFocusedChange", onFocus: "onFocus", handleBlur: "handleBlur" }, ngImport: i0 });
|
|
2894
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedDropDownEventsDirective, decorators: [{
|
|
2895
|
+
type: Directive,
|
|
2896
|
+
args: [{
|
|
2897
|
+
selector: '[kendoDropDownSharedEvents]',
|
|
2898
|
+
standalone: true
|
|
2984
2899
|
}]
|
|
2985
2900
|
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { hostElement: [{
|
|
2986
2901
|
type: Input
|
|
@@ -2996,6 +2911,71 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2996
2911
|
type: Output
|
|
2997
2912
|
}] } });
|
|
2998
2913
|
|
|
2914
|
+
/**
|
|
2915
|
+
* @hidden
|
|
2916
|
+
*/
|
|
2917
|
+
class Messages extends ComponentMessages {
|
|
2918
|
+
}
|
|
2919
|
+
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2920
|
+
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: Messages, inputs: { noDataText: "noDataText", clearTitle: "clearTitle", checkAllText: "checkAllText", selectButtonText: "selectButtonText", filterInputLabel: "filterInputLabel", popupLabel: "popupLabel", applyButton: "applyButton", cancelButton: "cancelButton" }, usesInheritance: true, ngImport: i0 });
|
|
2921
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Messages, decorators: [{
|
|
2922
|
+
type: Directive
|
|
2923
|
+
}], propDecorators: { noDataText: [{
|
|
2924
|
+
type: Input
|
|
2925
|
+
}], clearTitle: [{
|
|
2926
|
+
type: Input
|
|
2927
|
+
}], checkAllText: [{
|
|
2928
|
+
type: Input
|
|
2929
|
+
}], selectButtonText: [{
|
|
2930
|
+
type: Input
|
|
2931
|
+
}], filterInputLabel: [{
|
|
2932
|
+
type: Input
|
|
2933
|
+
}], popupLabel: [{
|
|
2934
|
+
type: Input
|
|
2935
|
+
}], applyButton: [{
|
|
2936
|
+
type: Input
|
|
2937
|
+
}], cancelButton: [{
|
|
2938
|
+
type: Input
|
|
2939
|
+
}] } });
|
|
2940
|
+
|
|
2941
|
+
/**
|
|
2942
|
+
* @hidden
|
|
2943
|
+
*/
|
|
2944
|
+
class LocalizedMessagesDirective extends Messages {
|
|
2945
|
+
constructor(service) {
|
|
2946
|
+
super();
|
|
2947
|
+
this.service = service;
|
|
2948
|
+
}
|
|
2949
|
+
}
|
|
2950
|
+
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2951
|
+
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, isStandalone: true, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n ", providers: [
|
|
2952
|
+
{
|
|
2953
|
+
provide: Messages,
|
|
2954
|
+
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
2955
|
+
}
|
|
2956
|
+
], usesInheritance: true, ngImport: i0 });
|
|
2957
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
2958
|
+
type: Directive,
|
|
2959
|
+
args: [{
|
|
2960
|
+
providers: [
|
|
2961
|
+
{
|
|
2962
|
+
provide: Messages,
|
|
2963
|
+
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
2964
|
+
}
|
|
2965
|
+
],
|
|
2966
|
+
selector: `
|
|
2967
|
+
[kendoDropDownListLocalizedMessages],
|
|
2968
|
+
[kendoDropDownTreeLocalizedMessages],
|
|
2969
|
+
[kendoComboBoxLocalizedMessages],
|
|
2970
|
+
[kendoMultiColumnComboBoxLocalizedMessages],
|
|
2971
|
+
[kendoAutoCompleteLocalizedMessages],
|
|
2972
|
+
[kendoMultiSelectLocalizedMessages],
|
|
2973
|
+
[kendoMultiSelectTreeLocalizedMessages]
|
|
2974
|
+
`,
|
|
2975
|
+
standalone: true
|
|
2976
|
+
}]
|
|
2977
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
2978
|
+
|
|
2999
2979
|
const NO_VALUE = "";
|
|
3000
2980
|
const DEFAULT_SIZE$5 = 'medium';
|
|
3001
2981
|
const DEFAULT_ROUNDED$5 = 'medium';
|
|
@@ -3029,7 +3009,7 @@ const AUTOCOMPLETE_VALUE_ACCESSOR = {
|
|
|
3029
3009
|
* ```
|
|
3030
3010
|
*/
|
|
3031
3011
|
class AutoCompleteComponent {
|
|
3032
|
-
constructor(localization, dataService, popupService, selectionService, navigationService, disabledItemsService, _zone, cdr, renderer, hostElement,
|
|
3012
|
+
constructor(localization, dataService, popupService, selectionService, navigationService, disabledItemsService, _zone, cdr, renderer, hostElement, injector) {
|
|
3033
3013
|
this.localization = localization;
|
|
3034
3014
|
this.dataService = dataService;
|
|
3035
3015
|
this.popupService = popupService;
|
|
@@ -3040,7 +3020,6 @@ class AutoCompleteComponent {
|
|
|
3040
3020
|
this.cdr = cdr;
|
|
3041
3021
|
this.renderer = renderer;
|
|
3042
3022
|
this.hostElement = hostElement;
|
|
3043
|
-
this.touchEnabled = touchEnabled;
|
|
3044
3023
|
this.injector = injector;
|
|
3045
3024
|
/**
|
|
3046
3025
|
* @hidden
|
|
@@ -3234,7 +3213,7 @@ class AutoCompleteComponent {
|
|
|
3234
3213
|
return appendTo === 'component' ? this.container : appendTo;
|
|
3235
3214
|
}
|
|
3236
3215
|
get clearButtonVisiblity() {
|
|
3237
|
-
if (
|
|
3216
|
+
if (touchEnabled) {
|
|
3238
3217
|
return 'visible';
|
|
3239
3218
|
}
|
|
3240
3219
|
}
|
|
@@ -3921,7 +3900,7 @@ class AutoCompleteComponent {
|
|
|
3921
3900
|
return index;
|
|
3922
3901
|
}
|
|
3923
3902
|
subscribeTouchEvents() {
|
|
3924
|
-
if (!isDocumentAvailable() || !
|
|
3903
|
+
if (!isDocumentAvailable() || !touchEnabled) {
|
|
3925
3904
|
return;
|
|
3926
3905
|
}
|
|
3927
3906
|
this._zone.runOutsideAngular(() =>
|
|
@@ -4081,8 +4060,8 @@ class AutoCompleteComponent {
|
|
|
4081
4060
|
this.actionSheetSearchBar.focus();
|
|
4082
4061
|
}
|
|
4083
4062
|
}
|
|
4084
|
-
AutoCompleteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", 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:
|
|
4085
|
-
AutoCompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AutoCompleteComponent, selector: "kendo-autocomplete", inputs: { highlightFirst: "highlightFirst", showStickyHeader: "showStickyHeader", focusableId: "focusableId", data: "data", value: "value", valueField: "valueField", placeholder: "placeholder", adaptiveMode: "adaptiveMode", title: "title", subtitle: "subtitle", 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-autocomplete": "this.widgetClasses", "class.k-input": "this.widgetClasses", "class.k-disabled": "this.isDisabled", "class.k-loading": "this.isLoading", "attr.dir": "this.dir" } }, providers: [
|
|
4063
|
+
AutoCompleteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", 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 }], target: i0.ɵɵFactoryTarget.Component });
|
|
4064
|
+
AutoCompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AutoCompleteComponent, isStandalone: true, selector: "kendo-autocomplete", inputs: { highlightFirst: "highlightFirst", showStickyHeader: "showStickyHeader", focusableId: "focusableId", data: "data", value: "value", valueField: "valueField", placeholder: "placeholder", adaptiveMode: "adaptiveMode", title: "title", subtitle: "subtitle", 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-autocomplete": "this.widgetClasses", "class.k-input": "this.widgetClasses", "class.k-disabled": "this.isDisabled", "class.k-loading": "this.isLoading", "attr.dir": "this.dir" } }, providers: [
|
|
4086
4065
|
AUTOCOMPLETE_VALUE_ACCESSOR,
|
|
4087
4066
|
DataService,
|
|
4088
4067
|
SelectionService,
|
|
@@ -4238,7 +4217,7 @@ AutoCompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
4238
4217
|
}">
|
|
4239
4218
|
</ng-template>
|
|
4240
4219
|
</ng-template>
|
|
4241
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
4220
|
+
`, 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: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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", "isFilterable", "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: ResponsiveRendererComponent, selector: "responsive-renderer", inputs: ["title", "showActionButtons", "subtitle", "size", "showTextInput", "sharedPopupActionSheetTemplate", "isActionSheetExpanded", "text", "placeholder"], outputs: ["closePopup", "textInputChange", "navigate", "onExpand", "onCollapse", "onApply", "onCancel"] }, { 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", "isMultiselect", "isActionSheetExpanded", "showStickyHeader", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize", "popupListScroll"] }] });
|
|
4242
4221
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AutoCompleteComponent, decorators: [{
|
|
4243
4222
|
type: Component,
|
|
4244
4223
|
args: [{
|
|
@@ -4401,16 +4380,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
4401
4380
|
}">
|
|
4402
4381
|
</ng-template>
|
|
4403
4382
|
</ng-template>
|
|
4404
|
-
|
|
4383
|
+
`,
|
|
4384
|
+
standalone: true,
|
|
4385
|
+
imports: [LocalizedMessagesDirective, SharedDropDownEventsDirective, NgIf, NgTemplateOutlet, SeparatorComponent, SearchBarComponent, IconWrapperComponent, ResizeSensorComponent, ResponsiveRendererComponent, TemplateContextDirective, ListComponent]
|
|
4405
4386
|
}]
|
|
4406
|
-
}], ctorParameters: function () {
|
|
4407
|
-
return [{ type: i1.LocalizationService }, { type: DataService }, { type: i2.PopupService }, { type: SelectionService }, { type: NavigationService }, { type: DisabledItemsService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
4408
|
-
type: Optional
|
|
4409
|
-
}, {
|
|
4410
|
-
type: Inject,
|
|
4411
|
-
args: [TOUCH_ENABLED]
|
|
4412
|
-
}] }, { type: i0.Injector }];
|
|
4413
|
-
}, propDecorators: { responsiveRendererComponent: [{
|
|
4387
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: DataService }, { type: i2.PopupService }, { type: SelectionService }, { type: NavigationService }, { type: DisabledItemsService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.Injector }]; }, propDecorators: { responsiveRendererComponent: [{
|
|
4414
4388
|
type: ViewChild,
|
|
4415
4389
|
args: [ResponsiveRendererComponent]
|
|
4416
4390
|
}], highlightFirst: [{
|
|
@@ -4631,7 +4605,7 @@ const DEFAULT_FILL_MODE$4 = 'solid';
|
|
|
4631
4605
|
* ```
|
|
4632
4606
|
*/
|
|
4633
4607
|
class ComboBoxComponent extends MultiTabStop {
|
|
4634
|
-
constructor(wrapper, localization, popupService, selectionService, navigationService, disabledItemsService, dataService, zone, cdr, renderer,
|
|
4608
|
+
constructor(wrapper, localization, popupService, selectionService, navigationService, disabledItemsService, dataService, zone, cdr, renderer, injector, hostElement) {
|
|
4635
4609
|
super();
|
|
4636
4610
|
this.wrapper = wrapper;
|
|
4637
4611
|
this.localization = localization;
|
|
@@ -4643,7 +4617,6 @@ class ComboBoxComponent extends MultiTabStop {
|
|
|
4643
4617
|
this.zone = zone;
|
|
4644
4618
|
this.cdr = cdr;
|
|
4645
4619
|
this.renderer = renderer;
|
|
4646
|
-
this.touchEnabled = touchEnabled;
|
|
4647
4620
|
this.injector = injector;
|
|
4648
4621
|
this.hostElement = hostElement;
|
|
4649
4622
|
/**
|
|
@@ -5137,7 +5110,7 @@ class ComboBoxComponent extends MultiTabStop {
|
|
|
5137
5110
|
this._isFocused = value;
|
|
5138
5111
|
}
|
|
5139
5112
|
get clearButtonVisiblity() {
|
|
5140
|
-
if (
|
|
5113
|
+
if (touchEnabled) {
|
|
5141
5114
|
return 'visible';
|
|
5142
5115
|
}
|
|
5143
5116
|
}
|
|
@@ -5885,7 +5858,7 @@ class ComboBoxComponent extends MultiTabStop {
|
|
|
5885
5858
|
* @hidden
|
|
5886
5859
|
*/
|
|
5887
5860
|
selectClick() {
|
|
5888
|
-
if (!
|
|
5861
|
+
if (!touchEnabled) {
|
|
5889
5862
|
this.searchbar.focus();
|
|
5890
5863
|
this.isFocused = true;
|
|
5891
5864
|
}
|
|
@@ -6018,7 +5991,7 @@ class ComboBoxComponent extends MultiTabStop {
|
|
|
6018
5991
|
this.filterChange.emit(this.filterText);
|
|
6019
5992
|
}
|
|
6020
5993
|
subscribeTouchEvents() {
|
|
6021
|
-
if (!isDocumentAvailable() || !
|
|
5994
|
+
if (!isDocumentAvailable() || !touchEnabled) {
|
|
6022
5995
|
return;
|
|
6023
5996
|
}
|
|
6024
5997
|
this.zone.runOutsideAngular(() =>
|
|
@@ -6083,8 +6056,8 @@ class ComboBoxComponent extends MultiTabStop {
|
|
|
6083
6056
|
this.actionSheetSearchBar.focus();
|
|
6084
6057
|
}
|
|
6085
6058
|
}
|
|
6086
|
-
ComboBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", 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:
|
|
6087
|
-
ComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ComboBoxComponent, 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", title: "title", subtitle: "subtitle", 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-combobox": "this.widgetClasses", "class.k-input": "this.widgetClasses", "class.k-disabled": "this.isDisabled", "class.k-loading": "this.isLoading", "attr.dir": "this.dir" } }, providers: [
|
|
6059
|
+
ComboBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", 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 }], target: i0.ɵɵFactoryTarget.Component });
|
|
6060
|
+
ComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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", title: "title", subtitle: "subtitle", 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-combobox": "this.widgetClasses", "class.k-input": "this.widgetClasses", "class.k-disabled": "this.isDisabled", "class.k-loading": "this.isLoading", "attr.dir": "this.dir" } }, providers: [
|
|
6088
6061
|
COMBOBOX_VALUE_ACCESSOR,
|
|
6089
6062
|
DataService,
|
|
6090
6063
|
SelectionService,
|
|
@@ -6264,7 +6237,7 @@ ComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
6264
6237
|
}">
|
|
6265
6238
|
</ng-template>
|
|
6266
6239
|
</ng-template>
|
|
6267
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
6240
|
+
`, 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: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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", "isFilterable", "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: ResponsiveRendererComponent, selector: "responsive-renderer", inputs: ["title", "showActionButtons", "subtitle", "size", "showTextInput", "sharedPopupActionSheetTemplate", "isActionSheetExpanded", "text", "placeholder"], outputs: ["closePopup", "textInputChange", "navigate", "onExpand", "onCollapse", "onApply", "onCancel"] }, { 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", "isMultiselect", "isActionSheetExpanded", "showStickyHeader", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize", "popupListScroll"] }] });
|
|
6268
6241
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ComboBoxComponent, decorators: [{
|
|
6269
6242
|
type: Component,
|
|
6270
6243
|
args: [{
|
|
@@ -6451,16 +6424,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
6451
6424
|
}">
|
|
6452
6425
|
</ng-template>
|
|
6453
6426
|
</ng-template>
|
|
6454
|
-
|
|
6427
|
+
`,
|
|
6428
|
+
standalone: true,
|
|
6429
|
+
imports: [LocalizedMessagesDirective, SharedDropDownEventsDirective, NgIf, NgTemplateOutlet, SeparatorComponent, SearchBarComponent, EventsOutsideAngularDirective, IconWrapperComponent, NgClass, ResizeSensorComponent, ResponsiveRendererComponent, TemplateContextDirective, ListComponent]
|
|
6455
6430
|
}]
|
|
6456
|
-
}], ctorParameters: function () {
|
|
6457
|
-
return [{ type: i0.ElementRef }, { type: i1.LocalizationService }, { type: i2.PopupService }, { type: SelectionService }, { type: NavigationService }, { type: DisabledItemsService }, { type: DataService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: undefined, decorators: [{
|
|
6458
|
-
type: Optional
|
|
6459
|
-
}, {
|
|
6460
|
-
type: Inject,
|
|
6461
|
-
args: [TOUCH_ENABLED]
|
|
6462
|
-
}] }, { type: i0.Injector }, { type: i0.ElementRef }];
|
|
6463
|
-
}, propDecorators: { icon: [{
|
|
6431
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.LocalizationService }, { type: i2.PopupService }, { type: SelectionService }, { type: NavigationService }, { type: DisabledItemsService }, { type: DataService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { icon: [{
|
|
6464
6432
|
type: Input
|
|
6465
6433
|
}], svgIcon: [{
|
|
6466
6434
|
type: Input
|
|
@@ -6646,11 +6614,12 @@ class ValueTemplateDirective {
|
|
|
6646
6614
|
}
|
|
6647
6615
|
}
|
|
6648
6616
|
ValueTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ValueTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6649
|
-
ValueTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ValueTemplateDirective, selector: "[kendoDropDownListValueTemplate],[kendoDropDownTreeValueTemplate]", ngImport: i0 });
|
|
6617
|
+
ValueTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ValueTemplateDirective, isStandalone: true, selector: "[kendoDropDownListValueTemplate],[kendoDropDownTreeValueTemplate]", ngImport: i0 });
|
|
6650
6618
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ValueTemplateDirective, decorators: [{
|
|
6651
6619
|
type: Directive,
|
|
6652
6620
|
args: [{
|
|
6653
|
-
selector: '[kendoDropDownListValueTemplate],[kendoDropDownTreeValueTemplate]'
|
|
6621
|
+
selector: '[kendoDropDownListValueTemplate],[kendoDropDownTreeValueTemplate]',
|
|
6622
|
+
standalone: true
|
|
6654
6623
|
}]
|
|
6655
6624
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
6656
6625
|
|
|
@@ -6672,11 +6641,13 @@ class FilterInputDirective {
|
|
|
6672
6641
|
}
|
|
6673
6642
|
}
|
|
6674
6643
|
FilterInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterInputDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6675
|
-
FilterInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FilterInputDirective, selector: "[filterInput]", inputs: { focused: ["filterInput", "focused"] }, usesOnChanges: true, ngImport: i0 });
|
|
6644
|
+
FilterInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FilterInputDirective, isStandalone: true, selector: "[filterInput]", inputs: { focused: ["filterInput", "focused"] }, usesOnChanges: true, ngImport: i0 });
|
|
6676
6645
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterInputDirective, decorators: [{
|
|
6677
6646
|
type: Directive,
|
|
6678
6647
|
args: [{
|
|
6679
6648
|
selector: '[filterInput]' // eslint-disable-line
|
|
6649
|
+
,
|
|
6650
|
+
standalone: true
|
|
6680
6651
|
}]
|
|
6681
6652
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { focused: [{
|
|
6682
6653
|
type: Input,
|
|
@@ -6712,7 +6683,7 @@ const DEFAULT_FILL_MODE$3 = 'solid';
|
|
|
6712
6683
|
* ```
|
|
6713
6684
|
*/
|
|
6714
6685
|
class DropDownListComponent {
|
|
6715
|
-
constructor(wrapper, localization, popupService, selectionService, navigationService, disabledItemsService, dataService, _zone, renderer, cdr,
|
|
6686
|
+
constructor(wrapper, localization, popupService, selectionService, navigationService, disabledItemsService, dataService, _zone, renderer, cdr, injector) {
|
|
6716
6687
|
this.wrapper = wrapper;
|
|
6717
6688
|
this.localization = localization;
|
|
6718
6689
|
this.popupService = popupService;
|
|
@@ -6723,8 +6694,11 @@ class DropDownListComponent {
|
|
|
6723
6694
|
this._zone = _zone;
|
|
6724
6695
|
this.renderer = renderer;
|
|
6725
6696
|
this.cdr = cdr;
|
|
6697
|
+
this.injector = injector;
|
|
6698
|
+
/**
|
|
6699
|
+
* @hidden
|
|
6700
|
+
*/
|
|
6726
6701
|
this.touchEnabled = touchEnabled;
|
|
6727
|
-
this.injector = injector;
|
|
6728
6702
|
/**
|
|
6729
6703
|
* @hidden
|
|
6730
6704
|
*/
|
|
@@ -8030,8 +8004,8 @@ class DropDownListComponent {
|
|
|
8030
8004
|
}
|
|
8031
8005
|
}
|
|
8032
8006
|
}
|
|
8033
|
-
DropDownListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", 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:
|
|
8034
|
-
DropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: { customIconClass: "customIconClass", showStickyHeader: "showStickyHeader", icon: "icon", svgIcon: "svgIcon", loading: "loading", data: "data", value: "value", textField: "textField", valueField: "valueField", adaptiveMode: "adaptiveMode", title: "title", subtitle: "subtitle", 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: { "attr.aria-controls": "this.ariaControls", "class.k-readonly": "this.readonly", "class.k-dropdownlist": "this.hostClasses", "class.k-picker": "this.hostClasses", "class.k-disabled": "this.isDisabledClass", "attr.disabled": "this.isDisabledAttribute", "class.k-loading": "this.isLoading", "attr.id": "this.focusableId", "attr.dir": "this.dir", "attr.tabindex": "this.hostTabIndex", "attr.readonly": "this.readonlyAttr", "attr.aria-busy": "this.isBusy", "attr.role": "this.role", "attr.aria-haspopup": "this.haspopup", "attr.aria-expanded": "this.isAriaExpanded", "attr.aria-invalid": "this.hostAriaInvalid", "attr.aria-activedescendant": "this.hostAriaActivedescendant" } }, providers: [
|
|
8007
|
+
DropDownListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", 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 }], target: i0.ɵɵFactoryTarget.Component });
|
|
8008
|
+
DropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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", title: "title", subtitle: "subtitle", 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: { "attr.aria-controls": "this.ariaControls", "class.k-readonly": "this.readonly", "class.k-dropdownlist": "this.hostClasses", "class.k-picker": "this.hostClasses", "class.k-disabled": "this.isDisabledClass", "attr.disabled": "this.isDisabledAttribute", "class.k-loading": "this.isLoading", "attr.id": "this.focusableId", "attr.dir": "this.dir", "attr.tabindex": "this.hostTabIndex", "attr.readonly": "this.readonlyAttr", "attr.aria-busy": "this.isBusy", "attr.role": "this.role", "attr.aria-haspopup": "this.haspopup", "attr.aria-expanded": "this.isAriaExpanded", "attr.aria-invalid": "this.hostAriaInvalid", "attr.aria-activedescendant": "this.hostAriaActivedescendant" } }, providers: [
|
|
8035
8009
|
DROPDOWNLIST_VALUE_ACCESSOR,
|
|
8036
8010
|
DataService,
|
|
8037
8011
|
SelectionService,
|
|
@@ -8217,7 +8191,7 @@ DropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
8217
8191
|
}">
|
|
8218
8192
|
</ng-template>
|
|
8219
8193
|
</ng-template>
|
|
8220
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
8194
|
+
`, 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: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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: ResponsiveRendererComponent, selector: "responsive-renderer", inputs: ["title", "showActionButtons", "subtitle", "size", "showTextInput", "sharedPopupActionSheetTemplate", "isActionSheetExpanded", "text", "placeholder"], outputs: ["closePopup", "textInputChange", "navigate", "onExpand", "onCollapse", "onApply", "onCancel"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i7.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: i7.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: FilterInputDirective, selector: "[filterInput]", inputs: ["filterInput"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i7.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: SelectableDirective, selector: "[kendoDropDownsSelectable]", inputs: ["index", "checkboxes", "height", "isMultiselect", "multipleSelection"] }, { kind: "component", type: ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "isMultiselect", "isActionSheetExpanded", "showStickyHeader", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize", "popupListScroll"] }] });
|
|
8221
8195
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropDownListComponent, decorators: [{
|
|
8222
8196
|
type: Component,
|
|
8223
8197
|
args: [{
|
|
@@ -8410,16 +8384,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
8410
8384
|
}">
|
|
8411
8385
|
</ng-template>
|
|
8412
8386
|
</ng-template>
|
|
8413
|
-
|
|
8387
|
+
`,
|
|
8388
|
+
standalone: true,
|
|
8389
|
+
imports: [LocalizedMessagesDirective, NgIf, TemplateContextDirective, NgClass, EventsOutsideAngularDirective, IconWrapperComponent, NgTemplateOutlet, ResizeSensorComponent, ResponsiveRendererComponent, ReactiveFormsModule, FilterInputDirective, FormsModule, SelectableDirective, ListComponent]
|
|
8414
8390
|
}]
|
|
8415
|
-
}], ctorParameters: function () {
|
|
8416
|
-
return [{ type: i0.ElementRef }, { type: i1.LocalizationService }, { type: i2.PopupService }, { type: SelectionService }, { type: NavigationService }, { type: DisabledItemsService }, { type: DataService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
8417
|
-
type: Optional
|
|
8418
|
-
}, {
|
|
8419
|
-
type: Inject,
|
|
8420
|
-
args: [TOUCH_ENABLED]
|
|
8421
|
-
}] }, { type: i0.Injector }];
|
|
8422
|
-
}, propDecorators: { customIconClass: [{
|
|
8391
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.LocalizationService }, { type: i2.PopupService }, { type: SelectionService }, { type: NavigationService }, { type: DisabledItemsService }, { type: DataService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i0.Injector }]; }, propDecorators: { customIconClass: [{
|
|
8423
8392
|
type: Input
|
|
8424
8393
|
}], responsiveRendererComponent: [{
|
|
8425
8394
|
type: ViewChild,
|
|
@@ -8632,11 +8601,12 @@ class CustomItemTemplateDirective {
|
|
|
8632
8601
|
}
|
|
8633
8602
|
}
|
|
8634
8603
|
CustomItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
8635
|
-
CustomItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CustomItemTemplateDirective, selector: "[kendoMultiSelectCustomItemTemplate]", ngImport: i0 });
|
|
8604
|
+
CustomItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CustomItemTemplateDirective, isStandalone: true, selector: "[kendoMultiSelectCustomItemTemplate]", ngImport: i0 });
|
|
8636
8605
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomItemTemplateDirective, decorators: [{
|
|
8637
8606
|
type: Directive,
|
|
8638
8607
|
args: [{
|
|
8639
|
-
selector: '[kendoMultiSelectCustomItemTemplate]'
|
|
8608
|
+
selector: '[kendoMultiSelectCustomItemTemplate]',
|
|
8609
|
+
standalone: true
|
|
8640
8610
|
}]
|
|
8641
8611
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
8642
8612
|
|
|
@@ -8671,11 +8641,12 @@ class TagTemplateDirective {
|
|
|
8671
8641
|
}
|
|
8672
8642
|
}
|
|
8673
8643
|
TagTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TagTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
8674
|
-
TagTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TagTemplateDirective, selector: "[kendoMultiSelectTagTemplate],[kendoMultiSelectTreeTagTemplate]", ngImport: i0 });
|
|
8644
|
+
TagTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TagTemplateDirective, isStandalone: true, selector: "[kendoMultiSelectTagTemplate],[kendoMultiSelectTreeTagTemplate]", ngImport: i0 });
|
|
8675
8645
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TagTemplateDirective, decorators: [{
|
|
8676
8646
|
type: Directive,
|
|
8677
8647
|
args: [{
|
|
8678
|
-
selector: '[kendoMultiSelectTagTemplate],[kendoMultiSelectTreeTagTemplate]'
|
|
8648
|
+
selector: '[kendoMultiSelectTagTemplate],[kendoMultiSelectTreeTagTemplate]',
|
|
8649
|
+
standalone: true
|
|
8679
8650
|
}]
|
|
8680
8651
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
8681
8652
|
|
|
@@ -8711,11 +8682,12 @@ class GroupTagTemplateDirective {
|
|
|
8711
8682
|
}
|
|
8712
8683
|
}
|
|
8713
8684
|
GroupTagTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GroupTagTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
8714
|
-
GroupTagTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: GroupTagTemplateDirective, selector: "[kendoMultiSelectGroupTagTemplate],[kendoMultiSelectTreeGroupTagTemplate]", ngImport: i0 });
|
|
8685
|
+
GroupTagTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: GroupTagTemplateDirective, isStandalone: true, selector: "[kendoMultiSelectGroupTagTemplate],[kendoMultiSelectTreeGroupTagTemplate]", ngImport: i0 });
|
|
8715
8686
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GroupTagTemplateDirective, decorators: [{
|
|
8716
8687
|
type: Directive,
|
|
8717
8688
|
args: [{
|
|
8718
|
-
selector: '[kendoMultiSelectGroupTagTemplate],[kendoMultiSelectTreeGroupTagTemplate]'
|
|
8689
|
+
selector: '[kendoMultiSelectGroupTagTemplate],[kendoMultiSelectTreeGroupTagTemplate]',
|
|
8690
|
+
standalone: true
|
|
8719
8691
|
}]
|
|
8720
8692
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
8721
8693
|
|
|
@@ -8831,7 +8803,7 @@ class TagListComponent {
|
|
|
8831
8803
|
}
|
|
8832
8804
|
}
|
|
8833
8805
|
TagListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TagListComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
8834
|
-
TagListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TagListComponent, selector: "kendo-taglist", inputs: { tags: "tags", textField: "textField", valueField: "valueField", valueDepth: "valueDepth", focused: "focused", template: "template", groupTemplate: "groupTemplate", disabled: "disabled", tagPrefix: "tagPrefix", id: "id", size: "size", rounded: "rounded", fillMode: "fillMode", disabledIndices: "disabledIndices" }, outputs: { removeTag: "removeTag" }, host: { properties: { "class.k-chip-list": "this.hostClasses", "class.k-selection-multiple": "this.hostClasses", "attr.id": "this.hostId", "attr.role": "this.taglistRole", "attr.aria-multiselectable": "this.multiselectable" } }, ngImport: i0, template: `
|
|
8806
|
+
TagListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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", size: "size", rounded: "rounded", fillMode: "fillMode", disabledIndices: "disabledIndices" }, outputs: { removeTag: "removeTag" }, host: { properties: { "class.k-chip-list": "this.hostClasses", "class.k-selection-multiple": "this.hostClasses", "attr.id": "this.hostId", "attr.role": "this.taglistRole", "attr.aria-multiselectable": "this.multiselectable" } }, ngImport: i0, template: `
|
|
8835
8807
|
<div
|
|
8836
8808
|
*ngFor="let tag of tags; let index = index;"
|
|
8837
8809
|
[attr.id]="itemId(tag, index)"
|
|
@@ -8890,7 +8862,7 @@ TagListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versi
|
|
|
8890
8862
|
</span>
|
|
8891
8863
|
</div>
|
|
8892
8864
|
<ng-content></ng-content>
|
|
8893
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
8865
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
|
|
8894
8866
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TagListComponent, decorators: [{
|
|
8895
8867
|
type: Component,
|
|
8896
8868
|
args: [{
|
|
@@ -8954,7 +8926,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
8954
8926
|
</span>
|
|
8955
8927
|
</div>
|
|
8956
8928
|
<ng-content></ng-content>
|
|
8957
|
-
|
|
8929
|
+
`,
|
|
8930
|
+
standalone: true,
|
|
8931
|
+
imports: [NgFor, NgClass, NgIf, TemplateContextDirective, IconWrapperComponent]
|
|
8958
8932
|
}]
|
|
8959
8933
|
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { tags: [{
|
|
8960
8934
|
type: Input
|
|
@@ -9029,7 +9003,7 @@ const DEFAULT_FILL_MODE$2 = 'solid';
|
|
|
9029
9003
|
* ```
|
|
9030
9004
|
*/
|
|
9031
9005
|
class MultiSelectComponent {
|
|
9032
|
-
constructor(wrapper, localization, popupService, dataService, selectionService, navigationService, disabledItemsService, cdr, differs, renderer, _zone,
|
|
9006
|
+
constructor(wrapper, localization, popupService, dataService, selectionService, navigationService, disabledItemsService, cdr, differs, renderer, _zone, injector, hostElement) {
|
|
9033
9007
|
this.wrapper = wrapper;
|
|
9034
9008
|
this.localization = localization;
|
|
9035
9009
|
this.popupService = popupService;
|
|
@@ -9041,7 +9015,6 @@ class MultiSelectComponent {
|
|
|
9041
9015
|
this.differs = differs;
|
|
9042
9016
|
this.renderer = renderer;
|
|
9043
9017
|
this._zone = _zone;
|
|
9044
|
-
this.touchEnabled = touchEnabled;
|
|
9045
9018
|
this.injector = injector;
|
|
9046
9019
|
this.hostElement = hostElement;
|
|
9047
9020
|
/**
|
|
@@ -9737,7 +9710,7 @@ class MultiSelectComponent {
|
|
|
9737
9710
|
return prefix + "-" + focusedIndex;
|
|
9738
9711
|
}
|
|
9739
9712
|
get clearButtonVisiblity() {
|
|
9740
|
-
if (
|
|
9713
|
+
if (touchEnabled) {
|
|
9741
9714
|
return 'visible';
|
|
9742
9715
|
}
|
|
9743
9716
|
}
|
|
@@ -10173,7 +10146,7 @@ class MultiSelectComponent {
|
|
|
10173
10146
|
].forEach(s => this.subs.add(s));
|
|
10174
10147
|
}
|
|
10175
10148
|
subscribeTouchEvents() {
|
|
10176
|
-
if (!isDocumentAvailable() || !
|
|
10149
|
+
if (!isDocumentAvailable() || !touchEnabled) {
|
|
10177
10150
|
return;
|
|
10178
10151
|
}
|
|
10179
10152
|
this._zone.runOutsideAngular(() =>
|
|
@@ -10326,7 +10299,7 @@ class MultiSelectComponent {
|
|
|
10326
10299
|
if (this.isFocused && this.isOpen && event.target === inputElement) {
|
|
10327
10300
|
return;
|
|
10328
10301
|
}
|
|
10329
|
-
if (!
|
|
10302
|
+
if (!touchEnabled || (touchEnabled && event.target.tagName !== 'SPAN')) {
|
|
10330
10303
|
this.searchbar.focus();
|
|
10331
10304
|
}
|
|
10332
10305
|
// The check is needed otherwise when appended to the component, the popup reopens on click
|
|
@@ -10693,8 +10666,8 @@ class MultiSelectComponent {
|
|
|
10693
10666
|
this.actionSheetSearchBar.focus();
|
|
10694
10667
|
}
|
|
10695
10668
|
}
|
|
10696
|
-
MultiSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", 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:
|
|
10697
|
-
MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MultiSelectComponent, selector: "kendo-multiselect", inputs: { showStickyHeader: "showStickyHeader", 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", title: "title", subtitle: "subtitle", 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" }, host: { properties: { "class.k-readonly": "this.readonly", "class.k-multiselect": "this.hostClasses", "class.k-input": "this.hostClasses", "attr.dir": "this.dir", "class.k-disabled": "this.disabledClass", "class.k-loading": "this.isLoading" } }, providers: [
|
|
10669
|
+
MultiSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", 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: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
10670
|
+
MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MultiSelectComponent, isStandalone: true, selector: "kendo-multiselect", inputs: { showStickyHeader: "showStickyHeader", 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", title: "title", subtitle: "subtitle", 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" }, host: { properties: { "class.k-readonly": "this.readonly", "class.k-multiselect": "this.hostClasses", "class.k-input": "this.hostClasses", "attr.dir": "this.dir", "class.k-disabled": "this.disabledClass", "class.k-loading": "this.isLoading" } }, providers: [
|
|
10698
10671
|
MULTISELECT_VALUE_ACCESSOR,
|
|
10699
10672
|
DataService,
|
|
10700
10673
|
SelectionService,
|
|
@@ -10906,7 +10879,7 @@ MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
|
10906
10879
|
}">
|
|
10907
10880
|
</ng-template>
|
|
10908
10881
|
</ng-template>
|
|
10909
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
10882
|
+
`, 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: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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", "size", "rounded", "fillMode", "disabledIndices"], outputs: ["removeTag"] }, { kind: "component", type: SearchBarComponent, selector: "input[kendoSearchbar]", inputs: ["tagListId", "readonly", "disabled", "isRequired", "isSuggestable", "isFilterable", "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: ResponsiveRendererComponent, selector: "responsive-renderer", inputs: ["title", "showActionButtons", "subtitle", "size", "showTextInput", "sharedPopupActionSheetTemplate", "isActionSheetExpanded", "text", "placeholder"], outputs: ["closePopup", "textInputChange", "navigate", "onExpand", "onCollapse", "onApply", "onCancel"] }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: SelectableDirective, selector: "[kendoDropDownsSelectable]", inputs: ["index", "checkboxes", "height", "isMultiselect", "multipleSelection"] }, { kind: "component", type: ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "isMultiselect", "isActionSheetExpanded", "showStickyHeader", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize", "popupListScroll"] }] });
|
|
10910
10883
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiSelectComponent, decorators: [{
|
|
10911
10884
|
type: Component,
|
|
10912
10885
|
args: [{
|
|
@@ -11125,16 +11098,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
11125
11098
|
}">
|
|
11126
11099
|
</ng-template>
|
|
11127
11100
|
</ng-template>
|
|
11128
|
-
|
|
11101
|
+
`,
|
|
11102
|
+
standalone: true,
|
|
11103
|
+
imports: [LocalizedMessagesDirective, SharedDropDownEventsDirective, NgIf, NgTemplateOutlet, SeparatorComponent, TagListComponent, SearchBarComponent, IconWrapperComponent, ResizeSensorComponent, ResponsiveRendererComponent, TemplateContextDirective, NgClass, SelectableDirective, ListComponent]
|
|
11129
11104
|
}]
|
|
11130
|
-
}], ctorParameters: function () {
|
|
11131
|
-
return [{ type: i0.ElementRef }, { type: i1.LocalizationService }, { type: i2.PopupService }, { type: DataService }, { type: SelectionService }, { type: NavigationService }, { type: DisabledItemsService }, { type: i0.ChangeDetectorRef }, { type: i0.KeyValueDiffers }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: undefined, decorators: [{
|
|
11132
|
-
type: Optional
|
|
11133
|
-
}, {
|
|
11134
|
-
type: Inject,
|
|
11135
|
-
args: [TOUCH_ENABLED]
|
|
11136
|
-
}] }, { type: i0.Injector }, { type: i0.ElementRef }];
|
|
11137
|
-
}, propDecorators: { responsiveRendererComponent: [{
|
|
11105
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.LocalizationService }, { type: i2.PopupService }, { type: DataService }, { type: SelectionService }, { type: NavigationService }, { type: DisabledItemsService }, { type: i0.ChangeDetectorRef }, { type: i0.KeyValueDiffers }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { responsiveRendererComponent: [{
|
|
11138
11106
|
type: ViewChild,
|
|
11139
11107
|
args: [ResponsiveRendererComponent]
|
|
11140
11108
|
}], showStickyHeader: [{
|
|
@@ -11308,11 +11276,12 @@ class ColumnCellTemplateDirective {
|
|
|
11308
11276
|
}
|
|
11309
11277
|
}
|
|
11310
11278
|
ColumnCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
11311
|
-
ColumnCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ColumnCellTemplateDirective, selector: "[kendoMultiColumnComboBoxColumnCellTemplate]", ngImport: i0 });
|
|
11279
|
+
ColumnCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ColumnCellTemplateDirective, isStandalone: true, selector: "[kendoMultiColumnComboBoxColumnCellTemplate]", ngImport: i0 });
|
|
11312
11280
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnCellTemplateDirective, decorators: [{
|
|
11313
11281
|
type: Directive,
|
|
11314
11282
|
args: [{
|
|
11315
|
-
selector: '[kendoMultiColumnComboBoxColumnCellTemplate]'
|
|
11283
|
+
selector: '[kendoMultiColumnComboBoxColumnCellTemplate]',
|
|
11284
|
+
standalone: true
|
|
11316
11285
|
}]
|
|
11317
11286
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
11318
11287
|
|
|
@@ -11329,11 +11298,12 @@ class ColumnHeaderTemplateDirective {
|
|
|
11329
11298
|
}
|
|
11330
11299
|
}
|
|
11331
11300
|
ColumnHeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnHeaderTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
11332
|
-
ColumnHeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ColumnHeaderTemplateDirective, selector: "[kendoMultiColumnComboBoxColumnHeaderTemplate]", ngImport: i0 });
|
|
11301
|
+
ColumnHeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ColumnHeaderTemplateDirective, isStandalone: true, selector: "[kendoMultiColumnComboBoxColumnHeaderTemplate]", ngImport: i0 });
|
|
11333
11302
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnHeaderTemplateDirective, decorators: [{
|
|
11334
11303
|
type: Directive,
|
|
11335
11304
|
args: [{
|
|
11336
|
-
selector: '[kendoMultiColumnComboBoxColumnHeaderTemplate]'
|
|
11305
|
+
selector: '[kendoMultiColumnComboBoxColumnHeaderTemplate]',
|
|
11306
|
+
standalone: true
|
|
11337
11307
|
}]
|
|
11338
11308
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
11339
11309
|
|
|
@@ -11356,12 +11326,13 @@ class ComboBoxColumnComponent {
|
|
|
11356
11326
|
}
|
|
11357
11327
|
}
|
|
11358
11328
|
ComboBoxColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ComboBoxColumnComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11359
|
-
ComboBoxColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ComboBoxColumnComponent, selector: "kendo-combobox-column", inputs: { field: "field", title: "title", width: "width", hidden: "hidden", style: "style", headerStyle: "headerStyle", class: "class", headerClass: "headerClass", media: "media" }, queries: [{ propertyName: "cellTemplate", first: true, predicate: ColumnCellTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: ColumnHeaderTemplateDirective, descendants: true }], ngImport: i0, template: '', isInline: true });
|
|
11329
|
+
ComboBoxColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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 });
|
|
11360
11330
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ComboBoxColumnComponent, decorators: [{
|
|
11361
11331
|
type: Component,
|
|
11362
11332
|
args: [{
|
|
11363
11333
|
selector: 'kendo-combobox-column',
|
|
11364
|
-
template: ''
|
|
11334
|
+
template: '',
|
|
11335
|
+
standalone: true
|
|
11365
11336
|
}]
|
|
11366
11337
|
}], propDecorators: { cellTemplate: [{
|
|
11367
11338
|
type: ContentChild,
|
|
@@ -11444,8 +11415,8 @@ const getRowWidthFromColumnsMeta = (columns) => {
|
|
|
11444
11415
|
* Represents the [Kendo UI MultiColumnComboBox component for Angular]({% slug overview_multicolumncombobox %}).
|
|
11445
11416
|
*/
|
|
11446
11417
|
class MultiColumnComboBoxComponent extends ComboBoxComponent {
|
|
11447
|
-
constructor(localization, popupService, selectionService, navigationService, disabledItemsService, dataService, zone, changeDetector, renderer, wrapper,
|
|
11448
|
-
super(wrapper, localization, popupService, selectionService, navigationService, disabledItemsService, dataService, zone, changeDetector, renderer,
|
|
11418
|
+
constructor(localization, popupService, selectionService, navigationService, disabledItemsService, dataService, zone, changeDetector, renderer, wrapper, injector, hostElement) {
|
|
11419
|
+
super(wrapper, localization, popupService, selectionService, navigationService, disabledItemsService, dataService, zone, changeDetector, renderer, injector, hostElement);
|
|
11449
11420
|
this.hostElement = hostElement;
|
|
11450
11421
|
/**
|
|
11451
11422
|
* @hidden
|
|
@@ -11569,8 +11540,8 @@ class MultiColumnComboBoxComponent extends ComboBoxComponent {
|
|
|
11569
11540
|
});
|
|
11570
11541
|
}
|
|
11571
11542
|
}
|
|
11572
|
-
MultiColumnComboBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", 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:
|
|
11573
|
-
MultiColumnComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MultiColumnComboBoxComponent, selector: "kendo-multicolumncombobox", host: { properties: { "class.k-dropdowngrid": "this.hostClasses", "class.k-disabled": "this.isDisabled" } }, providers: [
|
|
11543
|
+
MultiColumnComboBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", 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 }], target: i0.ɵɵFactoryTarget.Component });
|
|
11544
|
+
MultiColumnComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MultiColumnComboBoxComponent, isStandalone: true, selector: "kendo-multicolumncombobox", host: { properties: { "class.k-dropdowngrid": "this.hostClasses", "class.k-disabled": "this.isDisabled" } }, providers: [
|
|
11574
11545
|
SelectionService,
|
|
11575
11546
|
DataService,
|
|
11576
11547
|
NavigationService,
|
|
@@ -11846,7 +11817,7 @@ MultiColumnComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14
|
|
|
11846
11817
|
</ng-container>
|
|
11847
11818
|
</div>
|
|
11848
11819
|
</ng-template>
|
|
11849
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
11820
|
+
`, 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: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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", "isFilterable", "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: ResponsiveRendererComponent, selector: "responsive-renderer", inputs: ["title", "showActionButtons", "subtitle", "size", "showTextInput", "sharedPopupActionSheetTemplate", "isActionSheetExpanded", "text", "placeholder"], outputs: ["closePopup", "textInputChange", "navigate", "onExpand", "onCollapse", "onApply", "onCancel"] }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { 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", "isMultiselect", "isActionSheetExpanded", "showStickyHeader", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize", "popupListScroll"] }] });
|
|
11850
11821
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiColumnComboBoxComponent, decorators: [{
|
|
11851
11822
|
type: Component,
|
|
11852
11823
|
args: [{
|
|
@@ -12129,13 +12100,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
12129
12100
|
</div>
|
|
12130
12101
|
</ng-template>
|
|
12131
12102
|
`,
|
|
12103
|
+
standalone: true,
|
|
12104
|
+
imports: [LocalizedMessagesDirective, SharedDropDownEventsDirective, NgIf, NgTemplateOutlet, SeparatorComponent, SearchBarComponent, EventsOutsideAngularDirective, IconWrapperComponent, NgClass, ResizeSensorComponent, ResponsiveRendererComponent, TemplateContextDirective, NgFor, NgStyle, ListComponent]
|
|
12132
12105
|
}]
|
|
12133
|
-
}], ctorParameters: function () {
|
|
12134
|
-
return [{ type: i1.LocalizationService }, { type: i2.PopupService }, { type: SelectionService }, { type: NavigationService }, { type: DisabledItemsService }, { type: DataService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
12135
|
-
type: Inject,
|
|
12136
|
-
args: [TOUCH_ENABLED]
|
|
12137
|
-
}] }, { type: i0.Injector }, { type: i0.ElementRef }];
|
|
12138
|
-
}, propDecorators: { hostClasses: [{
|
|
12106
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.PopupService }, { type: SelectionService }, { type: NavigationService }, { type: DisabledItemsService }, { type: DataService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { hostClasses: [{
|
|
12139
12107
|
type: HostBinding,
|
|
12140
12108
|
args: ['class.k-dropdowngrid']
|
|
12141
12109
|
}], isDisabled: [{
|
|
@@ -12164,11 +12132,12 @@ class NodeTemplateDirective {
|
|
|
12164
12132
|
}
|
|
12165
12133
|
}
|
|
12166
12134
|
NodeTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NodeTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
12167
|
-
NodeTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NodeTemplateDirective, selector: "[kendoDropDownTreeNodeTemplate], [kendoMultiSelectTreeNodeTemplate]", ngImport: i0 });
|
|
12135
|
+
NodeTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NodeTemplateDirective, isStandalone: true, selector: "[kendoDropDownTreeNodeTemplate], [kendoMultiSelectTreeNodeTemplate]", ngImport: i0 });
|
|
12168
12136
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NodeTemplateDirective, decorators: [{
|
|
12169
12137
|
type: Directive,
|
|
12170
12138
|
args: [{
|
|
12171
|
-
selector: '[kendoDropDownTreeNodeTemplate], [kendoMultiSelectTreeNodeTemplate]'
|
|
12139
|
+
selector: '[kendoDropDownTreeNodeTemplate], [kendoMultiSelectTreeNodeTemplate]',
|
|
12140
|
+
standalone: true
|
|
12172
12141
|
}]
|
|
12173
12142
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
12174
12143
|
|
|
@@ -12185,7 +12154,7 @@ const stopPropagation = (event) => event.stopImmediatePropagation();
|
|
|
12185
12154
|
* Represents the [Kendo UI DropDownTree component for Angular]({% slug overview_ddt %}).
|
|
12186
12155
|
*/
|
|
12187
12156
|
class DropDownTreeComponent {
|
|
12188
|
-
constructor(injector, wrapper, popupService, navigationService, renderer, _zone, cdr, localization
|
|
12157
|
+
constructor(injector, wrapper, popupService, navigationService, renderer, _zone, cdr, localization) {
|
|
12189
12158
|
this.injector = injector;
|
|
12190
12159
|
this.wrapper = wrapper;
|
|
12191
12160
|
this.popupService = popupService;
|
|
@@ -12194,6 +12163,9 @@ class DropDownTreeComponent {
|
|
|
12194
12163
|
this._zone = _zone;
|
|
12195
12164
|
this.cdr = cdr;
|
|
12196
12165
|
this.localization = localization;
|
|
12166
|
+
/**
|
|
12167
|
+
* @hidden
|
|
12168
|
+
*/
|
|
12197
12169
|
this.touchEnabled = touchEnabled;
|
|
12198
12170
|
/**
|
|
12199
12171
|
* @hidden
|
|
@@ -13395,8 +13367,8 @@ class DropDownTreeComponent {
|
|
|
13395
13367
|
this.filterable && this.actionSheetSearchBar.focus();
|
|
13396
13368
|
}
|
|
13397
13369
|
}
|
|
13398
|
-
DropDownTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", 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 }
|
|
13399
|
-
DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DropDownTreeComponent, 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", title: "title", subtitle: "subtitle" }, 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.disabled": "this.isDisabledAttribute", "class.k-loading": "this.isLoading", "attr.aria-busy": "this.isBusy", "attr.aria-controls": "this.hostAriaControls", "attr.id": "this.id", "attr.dir": "this.direction", "attr.tabindex": "this.hostTabIndex", "attr.role": "this.role", "attr.aria-haspopup": "this.ariaHasPopup", "attr.aria-expanded": "this.isAriaExpanded", "attr.aria-autocomplete": "this.hostAriaAutocomplete", "class.k-readonly": "this.readonly" } }, providers: [
|
|
13370
|
+
DropDownTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", 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 }], target: i0.ɵɵFactoryTarget.Component });
|
|
13371
|
+
DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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", title: "title", subtitle: "subtitle" }, 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.disabled": "this.isDisabledAttribute", "class.k-loading": "this.isLoading", "attr.aria-busy": "this.isBusy", "attr.aria-controls": "this.hostAriaControls", "attr.id": "this.id", "attr.dir": "this.direction", "attr.tabindex": "this.hostTabIndex", "attr.role": "this.role", "attr.aria-haspopup": "this.ariaHasPopup", "attr.aria-expanded": "this.isAriaExpanded", "attr.aria-autocomplete": "this.hostAriaAutocomplete", "class.k-readonly": "this.readonly" } }, providers: [
|
|
13400
13372
|
DataService,
|
|
13401
13373
|
SelectionService,
|
|
13402
13374
|
NavigationService,
|
|
@@ -13595,7 +13567,7 @@ DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
13595
13567
|
</ng-template>
|
|
13596
13568
|
|
|
13597
13569
|
<kendo-resize-sensor *ngIf="isOpen || isAdaptiveModeEnabled" (resize)="onResize()"></kendo-resize-sensor>
|
|
13598
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
13570
|
+
`, 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: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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: ResponsiveRendererComponent, selector: "responsive-renderer", inputs: ["title", "showActionButtons", "subtitle", "size", "showTextInput", "sharedPopupActionSheetTemplate", "isActionSheetExpanded", "text", "placeholder"], outputs: ["closePopup", "textInputChange", "navigate", "onExpand", "onCollapse", "onApply", "onCancel"] }, { 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", "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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
13599
13571
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropDownTreeComponent, decorators: [{
|
|
13600
13572
|
type: Component,
|
|
13601
13573
|
args: [{
|
|
@@ -13802,16 +13774,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
13802
13774
|
|
|
13803
13775
|
<kendo-resize-sensor *ngIf="isOpen || isAdaptiveModeEnabled" (resize)="onResize()"></kendo-resize-sensor>
|
|
13804
13776
|
`,
|
|
13805
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
13777
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
13778
|
+
standalone: true,
|
|
13779
|
+
imports: [LocalizedMessagesDirective, NgIf, TemplateContextDirective, IconWrapperComponent, NgClass, NgTemplateOutlet, ResponsiveRendererComponent, FilterInputDirective, EventsOutsideAngularDirective, TreeViewComponent, SelectDirective, ResizeSensorComponent]
|
|
13806
13780
|
}]
|
|
13807
|
-
}], ctorParameters: function () {
|
|
13808
|
-
return [{ type: i0.Injector }, { type: i0.ElementRef }, { type: i2.PopupService }, { type: NavigationService }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i1.LocalizationService }, { type: undefined, decorators: [{
|
|
13809
|
-
type: Optional
|
|
13810
|
-
}, {
|
|
13811
|
-
type: Inject,
|
|
13812
|
-
args: [TOUCH_ENABLED]
|
|
13813
|
-
}] }];
|
|
13814
|
-
}, propDecorators: { icon: [{
|
|
13781
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }, { type: i2.PopupService }, { type: NavigationService }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i1.LocalizationService }]; }, propDecorators: { icon: [{
|
|
13815
13782
|
type: Input
|
|
13816
13783
|
}], svgIcon: [{
|
|
13817
13784
|
type: Input
|
|
@@ -14245,11 +14212,12 @@ class CheckDirective extends BaseCheckDirective {
|
|
|
14245
14212
|
}
|
|
14246
14213
|
}
|
|
14247
14214
|
CheckDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CheckDirective, deps: [{ token: i1$1.TreeViewComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14248
|
-
CheckDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CheckDirective, selector: "[kendoMultiSelectTreeCheckable]", inputs: { checkable: "checkable", valueField: "valueField", checkedItems: "checkedItems" }, outputs: { checkedItemsChange: "checkedItemsChange" }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
14215
|
+
CheckDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CheckDirective, isStandalone: true, selector: "[kendoMultiSelectTreeCheckable]", inputs: { checkable: "checkable", valueField: "valueField", checkedItems: "checkedItems" }, outputs: { checkedItemsChange: "checkedItemsChange" }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
14249
14216
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CheckDirective, decorators: [{
|
|
14250
14217
|
type: Directive,
|
|
14251
14218
|
args: [{
|
|
14252
|
-
selector: '[kendoMultiSelectTreeCheckable]'
|
|
14219
|
+
selector: '[kendoMultiSelectTreeCheckable]',
|
|
14220
|
+
standalone: true
|
|
14253
14221
|
}]
|
|
14254
14222
|
}], ctorParameters: function () { return [{ type: i1$1.TreeViewComponent }]; }, propDecorators: { checkable: [{
|
|
14255
14223
|
type: Input
|
|
@@ -14383,12 +14351,13 @@ class CheckAllDirective extends BaseCheckDirective {
|
|
|
14383
14351
|
}
|
|
14384
14352
|
}
|
|
14385
14353
|
CheckAllDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CheckAllDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14386
|
-
CheckAllDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CheckAllDirective, selector: "[checkAll]", inputs: { lastAction: "lastAction", treeview: "treeview", checkedItems: "checkedItems", valueField: "valueField", focused: ["checkAll", "focused"] }, outputs: { checkedItemsChange: "checkedItemsChange" }, host: { listeners: { "change": "handleChange($event.target)" } }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
14354
|
+
CheckAllDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", 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 });
|
|
14387
14355
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CheckAllDirective, decorators: [{
|
|
14388
14356
|
type: Directive,
|
|
14389
14357
|
args: [{
|
|
14390
14358
|
// eslint-disable-next-line
|
|
14391
|
-
selector: '[checkAll]'
|
|
14359
|
+
selector: '[checkAll]',
|
|
14360
|
+
standalone: true
|
|
14392
14361
|
}]
|
|
14393
14362
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }]; }, propDecorators: { lastAction: [{
|
|
14394
14363
|
type: Input
|
|
@@ -14421,7 +14390,7 @@ const DEFAULT_FILL_MODE = 'solid';
|
|
|
14421
14390
|
* Represents the [Kendo UI MultiSelectTree component for Angular]({% slug overview_multiselecttree %}).
|
|
14422
14391
|
*/
|
|
14423
14392
|
class MultiSelectTreeComponent {
|
|
14424
|
-
constructor(injector, wrapper, popupService, renderer, navigationService, _zone, localization, cdr, lookup
|
|
14393
|
+
constructor(injector, wrapper, popupService, renderer, navigationService, _zone, localization, cdr, lookup) {
|
|
14425
14394
|
this.injector = injector;
|
|
14426
14395
|
this.wrapper = wrapper;
|
|
14427
14396
|
this.popupService = popupService;
|
|
@@ -14431,6 +14400,9 @@ class MultiSelectTreeComponent {
|
|
|
14431
14400
|
this.localization = localization;
|
|
14432
14401
|
this.cdr = cdr;
|
|
14433
14402
|
this.lookup = lookup;
|
|
14403
|
+
/**
|
|
14404
|
+
* @hidden
|
|
14405
|
+
*/
|
|
14434
14406
|
this.touchEnabled = touchEnabled;
|
|
14435
14407
|
/**
|
|
14436
14408
|
* @hidden
|
|
@@ -15935,8 +15907,8 @@ class MultiSelectTreeComponent {
|
|
|
15935
15907
|
this.filterable && this.actionSheetSearchBar.focus();
|
|
15936
15908
|
}
|
|
15937
15909
|
}
|
|
15938
|
-
MultiSelectTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", 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 }
|
|
15939
|
-
MultiSelectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MultiSelectTreeComponent, selector: "kendo-multiselecttree", inputs: { adaptiveMode: "adaptiveMode", title: "title", subtitle: "subtitle", 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-multiselecttree": "this.hostClasses", "class.k-input": "this.hostClasses", "class.k-disabled": "this.isDisabled", "attr.aria-disabled": "this.isDisabled", "attr.aria-controls": "this.hostAriaControls", "attr.aria-autocomplete": "this.hostAriaAutocomplete", "class.k-loading": "this.isLoading", "attr.aria-invalid": "this.hostAriaInvalid", "attr.aria-busy": "this.isBusy", "attr.id": "this.id", "attr.dir": "this.direction", "attr.tabindex": "this.hostTabIndex", "attr.role": "this.role", "attr.aria-expanded": "this.isAriaExpanded", "attr.aria-haspopup": "this.ariaHasPopup", "attr.readonly": "this.isReadonly", "attr.aria-describedby": "this.ariaDescribedBy", "attr.aria-activedescendant": "this.ariaActiveDescendant", "class.k-readonly": "this.readonly" } }, providers: [
|
|
15910
|
+
MultiSelectTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", 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 }], target: i0.ɵɵFactoryTarget.Component });
|
|
15911
|
+
MultiSelectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MultiSelectTreeComponent, isStandalone: true, selector: "kendo-multiselecttree", inputs: { adaptiveMode: "adaptiveMode", title: "title", subtitle: "subtitle", 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-multiselecttree": "this.hostClasses", "class.k-input": "this.hostClasses", "class.k-disabled": "this.isDisabled", "attr.aria-disabled": "this.isDisabled", "attr.aria-controls": "this.hostAriaControls", "attr.aria-autocomplete": "this.hostAriaAutocomplete", "class.k-loading": "this.isLoading", "attr.aria-invalid": "this.hostAriaInvalid", "attr.aria-busy": "this.isBusy", "attr.id": "this.id", "attr.dir": "this.direction", "attr.tabindex": "this.hostTabIndex", "attr.role": "this.role", "attr.aria-expanded": "this.isAriaExpanded", "attr.aria-haspopup": "this.ariaHasPopup", "attr.readonly": "this.isReadonly", "attr.aria-describedby": "this.ariaDescribedBy", "attr.aria-activedescendant": "this.ariaActiveDescendant", "class.k-readonly": "this.readonly" } }, providers: [
|
|
15940
15912
|
LocalizationService,
|
|
15941
15913
|
NavigationService,
|
|
15942
15914
|
DataService,
|
|
@@ -16186,7 +16158,7 @@ MultiSelectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0
|
|
|
16186
16158
|
</ng-template>
|
|
16187
16159
|
|
|
16188
16160
|
<kendo-resize-sensor *ngIf="isOpen || isAdaptiveModeEnabled" (resize)="onResize()"></kendo-resize-sensor>
|
|
16189
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
16161
|
+
`, 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", "size", "rounded", "fillMode", "disabledIndices"], outputs: ["removeTag"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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: ResponsiveRendererComponent, selector: "responsive-renderer", inputs: ["title", "showActionButtons", "subtitle", "size", "showTextInput", "sharedPopupActionSheetTemplate", "isActionSheetExpanded", "text", "placeholder"], outputs: ["closePopup", "textInputChange", "navigate", "onExpand", "onCollapse", "onApply", "onCancel"] }, { 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", "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"] }] });
|
|
16190
16162
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiSelectTreeComponent, decorators: [{
|
|
16191
16163
|
type: Component,
|
|
16192
16164
|
args: [{
|
|
@@ -16443,16 +16415,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
16443
16415
|
</ng-template>
|
|
16444
16416
|
|
|
16445
16417
|
<kendo-resize-sensor *ngIf="isOpen || isAdaptiveModeEnabled" (resize)="onResize()"></kendo-resize-sensor>
|
|
16446
|
-
|
|
16418
|
+
`,
|
|
16419
|
+
standalone: true,
|
|
16420
|
+
imports: [LocalizedMessagesDirective, TagListComponent, NgIf, IconWrapperComponent, NgTemplateOutlet, ResponsiveRendererComponent, NgClass, FilterInputDirective, EventsOutsideAngularDirective, TemplateContextDirective, CheckAllDirective, TreeViewComponent, CheckDirective, ResizeSensorComponent]
|
|
16447
16421
|
}]
|
|
16448
|
-
}], ctorParameters: function () {
|
|
16449
|
-
return [{ type: i0.Injector }, { type: i0.ElementRef }, { type: i2.PopupService }, { type: i0.Renderer2 }, { type: NavigationService }, { type: i0.NgZone }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: MultiSelectTreeLookupService }, { type: undefined, decorators: [{
|
|
16450
|
-
type: Optional
|
|
16451
|
-
}, {
|
|
16452
|
-
type: Inject,
|
|
16453
|
-
args: [TOUCH_ENABLED]
|
|
16454
|
-
}] }];
|
|
16455
|
-
}, propDecorators: { hostClasses: [{
|
|
16422
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }, { type: i2.PopupService }, { type: i0.Renderer2 }, { type: NavigationService }, { type: i0.NgZone }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: MultiSelectTreeLookupService }]; }, propDecorators: { hostClasses: [{
|
|
16456
16423
|
type: HostBinding,
|
|
16457
16424
|
args: ['class.k-multiselecttree']
|
|
16458
16425
|
}, {
|
|
@@ -16654,331 +16621,723 @@ class DropDownTreeFlatBindingDirective extends FlatDataBindingDirective {
|
|
|
16654
16621
|
this.dropDownTree.nodes = changes['nodes'].currentValue;
|
|
16655
16622
|
super.nodes = changes['nodes'].currentValue;
|
|
16656
16623
|
}
|
|
16657
|
-
super.ngOnChanges(changes);
|
|
16624
|
+
super.ngOnChanges(changes);
|
|
16625
|
+
}
|
|
16626
|
+
}
|
|
16627
|
+
DropDownTreeFlatBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropDownTreeFlatBindingDirective, deps: [{ token: i1$1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
16628
|
+
DropDownTreeFlatBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DropDownTreeFlatBindingDirective, isStandalone: true, selector: "[kendoDropDownTreeFlatBinding]", inputs: { nodes: ["kendoDropDownTreeFlatBinding", "nodes"], idField: ["valueField", "idField"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
16629
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropDownTreeFlatBindingDirective, decorators: [{
|
|
16630
|
+
type: Directive,
|
|
16631
|
+
args: [{
|
|
16632
|
+
selector: '[kendoDropDownTreeFlatBinding]',
|
|
16633
|
+
standalone: true
|
|
16634
|
+
}]
|
|
16635
|
+
}], ctorParameters: function () { return [{ type: i1$1.DataBoundComponent }]; }, propDecorators: { nodes: [{
|
|
16636
|
+
type: Input,
|
|
16637
|
+
args: ['kendoDropDownTreeFlatBinding']
|
|
16638
|
+
}], idField: [{
|
|
16639
|
+
type: Input,
|
|
16640
|
+
args: ['valueField']
|
|
16641
|
+
}] } });
|
|
16642
|
+
|
|
16643
|
+
const INDEX_SEPARATOR = '_';
|
|
16644
|
+
const nodeIndex = (index = '', parentIndex = '') => {
|
|
16645
|
+
return `${parentIndex}${parentIndex ? INDEX_SEPARATOR : ''}${index}`;
|
|
16646
|
+
};
|
|
16647
|
+
const isArrayWithAtLeastOneItem = v => v && Array.isArray(v) && v.length !== 0;
|
|
16648
|
+
const mapToWrappers = (currentLevelNodes, childrenField, parent = null, parentIndex = '') => {
|
|
16649
|
+
if (!isArrayWithAtLeastOneItem(currentLevelNodes)) {
|
|
16650
|
+
return [];
|
|
16651
|
+
}
|
|
16652
|
+
return currentLevelNodes.map((node, idx) => {
|
|
16653
|
+
const index = nodeIndex(idx.toString(), parentIndex);
|
|
16654
|
+
const wrapper = {
|
|
16655
|
+
dataItem: node,
|
|
16656
|
+
index,
|
|
16657
|
+
parent,
|
|
16658
|
+
visible: true
|
|
16659
|
+
};
|
|
16660
|
+
wrapper.children = mapToWrappers(getter$1(childrenField)(node), childrenField, wrapper, index);
|
|
16661
|
+
return wrapper;
|
|
16662
|
+
});
|
|
16663
|
+
};
|
|
16664
|
+
/**
|
|
16665
|
+
* A directive which encapsulates the retrieval of the child nodes when hierarchical data is provided.
|
|
16666
|
+
*/
|
|
16667
|
+
class DropDownTreeHierarchyBindingDirective extends HierarchyBindingDirective {
|
|
16668
|
+
constructor(dropDownTree) {
|
|
16669
|
+
super(dropDownTree);
|
|
16670
|
+
this.dropDownTree = dropDownTree;
|
|
16671
|
+
}
|
|
16672
|
+
/**
|
|
16673
|
+
* @hidden
|
|
16674
|
+
*/
|
|
16675
|
+
set filter(term) {
|
|
16676
|
+
super.filter = term;
|
|
16677
|
+
}
|
|
16678
|
+
ngOnChanges(changes) {
|
|
16679
|
+
if (isChanged('nodes', changes, false)) {
|
|
16680
|
+
this.dropDownTree.nodes = changes['nodes'].currentValue;
|
|
16681
|
+
super.nodes = changes['nodes'].currentValue;
|
|
16682
|
+
}
|
|
16683
|
+
super.ngOnChanges(changes);
|
|
16684
|
+
}
|
|
16685
|
+
}
|
|
16686
|
+
DropDownTreeHierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropDownTreeHierarchyBindingDirective, deps: [{ token: i1$1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
16687
|
+
DropDownTreeHierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DropDownTreeHierarchyBindingDirective, isStandalone: true, selector: "[kendoDropDownTreeHierarchyBinding]", inputs: { nodes: ["kendoDropDownTreeHierarchyBinding", "nodes"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
16688
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropDownTreeHierarchyBindingDirective, decorators: [{
|
|
16689
|
+
type: Directive,
|
|
16690
|
+
args: [{
|
|
16691
|
+
selector: '[kendoDropDownTreeHierarchyBinding]',
|
|
16692
|
+
standalone: true
|
|
16693
|
+
}]
|
|
16694
|
+
}], ctorParameters: function () { return [{ type: i1$1.DataBoundComponent }]; }, propDecorators: { nodes: [{
|
|
16695
|
+
type: Input,
|
|
16696
|
+
args: ['kendoDropDownTreeHierarchyBinding']
|
|
16697
|
+
}] } });
|
|
16698
|
+
|
|
16699
|
+
/**
|
|
16700
|
+
* A directive which encapsulates the retrieval of the child nodes when flat data is provided.
|
|
16701
|
+
*/
|
|
16702
|
+
class MultiSelectTreeFlatBindingDirective extends FlatDataBindingDirective {
|
|
16703
|
+
constructor(multiSelectTree) {
|
|
16704
|
+
super(multiSelectTree);
|
|
16705
|
+
this.multiSelectTree = multiSelectTree;
|
|
16706
|
+
}
|
|
16707
|
+
/**
|
|
16708
|
+
* @hidden
|
|
16709
|
+
*/
|
|
16710
|
+
set filter(term) {
|
|
16711
|
+
super.filter = term;
|
|
16712
|
+
}
|
|
16713
|
+
ngOnChanges(changes) {
|
|
16714
|
+
if (isChanged('nodes', changes, false)) {
|
|
16715
|
+
this.multiSelectTree.nodes = changes['nodes'].currentValue;
|
|
16716
|
+
super.nodes = changes['nodes'].currentValue;
|
|
16717
|
+
}
|
|
16718
|
+
super.ngOnChanges(changes);
|
|
16719
|
+
}
|
|
16720
|
+
}
|
|
16721
|
+
MultiSelectTreeFlatBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiSelectTreeFlatBindingDirective, deps: [{ token: i1$1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
16722
|
+
MultiSelectTreeFlatBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: MultiSelectTreeFlatBindingDirective, isStandalone: true, selector: "[kendoMultiSelectTreeFlatBinding]", inputs: { nodes: ["kendoMultiSelectTreeFlatBinding", "nodes"], idField: ["valueField", "idField"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
16723
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiSelectTreeFlatBindingDirective, decorators: [{
|
|
16724
|
+
type: Directive,
|
|
16725
|
+
args: [{
|
|
16726
|
+
selector: '[kendoMultiSelectTreeFlatBinding]',
|
|
16727
|
+
standalone: true
|
|
16728
|
+
}]
|
|
16729
|
+
}], ctorParameters: function () { return [{ type: i1$1.DataBoundComponent }]; }, propDecorators: { nodes: [{
|
|
16730
|
+
type: Input,
|
|
16731
|
+
args: ['kendoMultiSelectTreeFlatBinding']
|
|
16732
|
+
}], idField: [{
|
|
16733
|
+
type: Input,
|
|
16734
|
+
args: ['valueField']
|
|
16735
|
+
}] } });
|
|
16736
|
+
|
|
16737
|
+
/**
|
|
16738
|
+
* A directive which encapsulates the retrieval of the child nodes when hierarchical data is provided.
|
|
16739
|
+
*/
|
|
16740
|
+
class MultiSelectTreeHierarchyBindingDirective extends HierarchyBindingDirective {
|
|
16741
|
+
constructor(multiSelectTree) {
|
|
16742
|
+
super(multiSelectTree);
|
|
16743
|
+
this.multiSelectTree = multiSelectTree;
|
|
16744
|
+
}
|
|
16745
|
+
/**
|
|
16746
|
+
* @hidden
|
|
16747
|
+
*/
|
|
16748
|
+
set filter(term) {
|
|
16749
|
+
super.filter = term;
|
|
16750
|
+
}
|
|
16751
|
+
ngOnChanges(changes) {
|
|
16752
|
+
if (isChanged('nodes', changes, false)) {
|
|
16753
|
+
this.multiSelectTree.nodes = changes['nodes'].currentValue;
|
|
16754
|
+
super.nodes = changes['nodes'].currentValue;
|
|
16755
|
+
}
|
|
16756
|
+
super.ngOnChanges(changes);
|
|
16757
|
+
}
|
|
16758
|
+
}
|
|
16759
|
+
MultiSelectTreeHierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiSelectTreeHierarchyBindingDirective, deps: [{ token: i1$1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
16760
|
+
MultiSelectTreeHierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: MultiSelectTreeHierarchyBindingDirective, isStandalone: true, selector: "[kendoMultiSelectTreeHierarchyBinding]", inputs: { nodes: ["kendoMultiSelectTreeHierarchyBinding", "nodes"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
16761
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiSelectTreeHierarchyBindingDirective, decorators: [{
|
|
16762
|
+
type: Directive,
|
|
16763
|
+
args: [{
|
|
16764
|
+
selector: '[kendoMultiSelectTreeHierarchyBinding]',
|
|
16765
|
+
standalone: true
|
|
16766
|
+
}]
|
|
16767
|
+
}], ctorParameters: function () { return [{ type: i1$1.DataBoundComponent }]; }, propDecorators: { nodes: [{
|
|
16768
|
+
type: Input,
|
|
16769
|
+
args: ['kendoMultiSelectTreeHierarchyBinding']
|
|
16770
|
+
}] } });
|
|
16771
|
+
|
|
16772
|
+
/**
|
|
16773
|
+
* A directive which manages the expanded state of the popup TreeView.
|
|
16774
|
+
*/
|
|
16775
|
+
class DropDownTreesExpandDirective extends ExpandDirective {
|
|
16776
|
+
constructor(dropDownTree) {
|
|
16777
|
+
super(dropDownTree);
|
|
16778
|
+
this.dropDownTree = dropDownTree;
|
|
16779
|
+
}
|
|
16780
|
+
/**
|
|
16781
|
+
* @hidden
|
|
16782
|
+
*
|
|
16783
|
+
* Ensures a user-defined `isNodeExpanded` callback will not be overriden by the default directive setup.
|
|
16784
|
+
* Implemented as a value setter in the base directive, this just overrides the input name.
|
|
16785
|
+
*/
|
|
16786
|
+
set isExpanded(value) {
|
|
16787
|
+
this.dropDownTree.isExpanded = value;
|
|
16788
|
+
}
|
|
16789
|
+
}
|
|
16790
|
+
DropDownTreesExpandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropDownTreesExpandDirective, deps: [{ token: i1$1.ExpandableComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
16791
|
+
DropDownTreesExpandDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DropDownTreesExpandDirective, isStandalone: true, selector: "[kendoDropDownTreeExpandable], [kendoMultiSelectTreeExpandable]", inputs: { isExpanded: ["isNodeExpanded", "isExpanded"] }, usesInheritance: true, ngImport: i0 });
|
|
16792
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropDownTreesExpandDirective, decorators: [{
|
|
16793
|
+
type: Directive,
|
|
16794
|
+
args: [{
|
|
16795
|
+
selector: '[kendoDropDownTreeExpandable], [kendoMultiSelectTreeExpandable]',
|
|
16796
|
+
standalone: true
|
|
16797
|
+
}]
|
|
16798
|
+
}], ctorParameters: function () { return [{ type: i1$1.ExpandableComponent }]; }, propDecorators: { isExpanded: [{
|
|
16799
|
+
type: Input,
|
|
16800
|
+
args: ['isNodeExpanded']
|
|
16801
|
+
}] } });
|
|
16802
|
+
|
|
16803
|
+
const DEFAULT_FILTER_SETTINGS = {
|
|
16804
|
+
caseSensitive: false,
|
|
16805
|
+
operator: 'startsWith'
|
|
16806
|
+
};
|
|
16807
|
+
/**
|
|
16808
|
+
* Implements an event handler for the `filterChange` event of a DropDowns component
|
|
16809
|
+
* which performs simple data filtering.
|
|
16810
|
+
*
|
|
16811
|
+
* @example
|
|
16812
|
+
* ```ts
|
|
16813
|
+
* _@Component({
|
|
16814
|
+
* selector: 'my-app',
|
|
16815
|
+
* template: `
|
|
16816
|
+
* <kendo-autocomplete
|
|
16817
|
+
* [data]="data"
|
|
16818
|
+
* kendoDropDownFilter
|
|
16819
|
+
* placeholder="e.g. Andorra"
|
|
16820
|
+
* >
|
|
16821
|
+
* </kendo-autocomplete>
|
|
16822
|
+
* `
|
|
16823
|
+
* })
|
|
16824
|
+
* class AppComponent {
|
|
16825
|
+
* public data: Array<string> = ["Albania", "Andorra", "Armenia", "Austria", "Azerbaijan"];
|
|
16826
|
+
* }
|
|
16827
|
+
* ```
|
|
16828
|
+
* > Currently, the built-in filtering does not work with [grouped data]({% slug api_kendo-data-query_groupby %}).
|
|
16829
|
+
*/
|
|
16830
|
+
class FilterDirective {
|
|
16831
|
+
constructor(component) {
|
|
16832
|
+
this.component = component;
|
|
16833
|
+
/**
|
|
16834
|
+
* @hidden
|
|
16835
|
+
*
|
|
16836
|
+
* Sets whether the filtering functionality is enabled on component init.
|
|
16837
|
+
*/
|
|
16838
|
+
this.filterable = true;
|
|
16839
|
+
this._data = [];
|
|
16840
|
+
}
|
|
16841
|
+
/**
|
|
16842
|
+
* The initial data that will be used as a source array for the filtering operations.
|
|
16843
|
+
*/
|
|
16844
|
+
set data(data) {
|
|
16845
|
+
this._data = data || [];
|
|
16846
|
+
}
|
|
16847
|
+
get data() {
|
|
16848
|
+
return this._data;
|
|
16849
|
+
}
|
|
16850
|
+
ngOnInit() {
|
|
16851
|
+
this.component.filterable = this.filterable;
|
|
16852
|
+
this.filterChangeSubscription = this.component.filterChange
|
|
16853
|
+
.subscribe(this.handleFilterChange.bind(this));
|
|
16854
|
+
}
|
|
16855
|
+
ngOnDestroy() {
|
|
16856
|
+
if (isPresent(this.filterChangeSubscription)) {
|
|
16857
|
+
this.filterChangeSubscription.unsubscribe();
|
|
16858
|
+
}
|
|
16859
|
+
}
|
|
16860
|
+
handleFilterChange(query) {
|
|
16861
|
+
this.component.data = this.data.filter(item => this.matchesAnyField(item, query));
|
|
16862
|
+
}
|
|
16863
|
+
matchesAnyField(item, query) {
|
|
16864
|
+
const normalizedQuery = this.normalizeValue(query);
|
|
16865
|
+
const { fields } = this.filterSettings;
|
|
16866
|
+
// if no filter fields are present, we are dealing with primitive data
|
|
16867
|
+
if (fields.length === 0) {
|
|
16868
|
+
return this.checkItem(item, normalizedQuery);
|
|
16869
|
+
}
|
|
16870
|
+
return fields.some(field => this.checkItem(getter(item, field), normalizedQuery));
|
|
16871
|
+
}
|
|
16872
|
+
checkItem(target, query) {
|
|
16873
|
+
target = this.normalizeValue(target);
|
|
16874
|
+
if (this.filterSettings.operator === 'contains') {
|
|
16875
|
+
return target.indexOf(query) !== -1;
|
|
16876
|
+
}
|
|
16877
|
+
else {
|
|
16878
|
+
return target.indexOf(query) === 0;
|
|
16879
|
+
}
|
|
16880
|
+
}
|
|
16881
|
+
normalizeValue(value) {
|
|
16882
|
+
const normalizedValue = isPresent(value) ? value.toString() : '';
|
|
16883
|
+
return this.filterSettings.caseSensitive ? normalizedValue : normalizedValue.toLowerCase();
|
|
16884
|
+
}
|
|
16885
|
+
getFilterFields(providedFields) {
|
|
16886
|
+
// ignore provided fields if the component deals with primitive data
|
|
16887
|
+
if (!this.component.textField && !this.component.valueField) {
|
|
16888
|
+
return [];
|
|
16889
|
+
}
|
|
16890
|
+
if (isArray(providedFields) && providedFields.length > 0) {
|
|
16891
|
+
return providedFields;
|
|
16892
|
+
}
|
|
16893
|
+
else {
|
|
16894
|
+
// the autocomplete uses `valueField` for text extraction
|
|
16895
|
+
const textField = this.component.textField || this.component.valueField;
|
|
16896
|
+
return [textField];
|
|
16897
|
+
}
|
|
16898
|
+
}
|
|
16899
|
+
get filterSettings() {
|
|
16900
|
+
const settings = this.rawSettings;
|
|
16901
|
+
const providedFields = isPresent(settings) && typeof settings === 'object' ? settings.fields : [];
|
|
16902
|
+
return Object.assign({}, DEFAULT_FILTER_SETTINGS, settings, { fields: this.getFilterFields(providedFields) });
|
|
16658
16903
|
}
|
|
16659
16904
|
}
|
|
16660
|
-
|
|
16661
|
-
|
|
16662
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type:
|
|
16905
|
+
FilterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterDirective, deps: [{ token: FilterableComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
16906
|
+
FilterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FilterDirective, isStandalone: true, selector: "[kendoDropDownFilter]", inputs: { data: "data", rawSettings: ["kendoDropDownFilter", "rawSettings"], filterable: "filterable" }, ngImport: i0 });
|
|
16907
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterDirective, decorators: [{
|
|
16663
16908
|
type: Directive,
|
|
16664
16909
|
args: [{
|
|
16665
|
-
selector: '[
|
|
16910
|
+
selector: '[kendoDropDownFilter]',
|
|
16911
|
+
standalone: true
|
|
16666
16912
|
}]
|
|
16667
|
-
}], ctorParameters: function () { return [{ type:
|
|
16668
|
-
type: Input
|
|
16669
|
-
|
|
16670
|
-
}], idField: [{
|
|
16913
|
+
}], ctorParameters: function () { return [{ type: FilterableComponent }]; }, propDecorators: { data: [{
|
|
16914
|
+
type: Input
|
|
16915
|
+
}], rawSettings: [{
|
|
16671
16916
|
type: Input,
|
|
16672
|
-
args: ['
|
|
16917
|
+
args: ['kendoDropDownFilter']
|
|
16918
|
+
}], filterable: [{
|
|
16919
|
+
type: Input
|
|
16673
16920
|
}] } });
|
|
16674
16921
|
|
|
16675
|
-
const INDEX_SEPARATOR = '_';
|
|
16676
|
-
const nodeIndex = (index = '', parentIndex = '') => {
|
|
16677
|
-
return `${parentIndex}${parentIndex ? INDEX_SEPARATOR : ''}${index}`;
|
|
16678
|
-
};
|
|
16679
|
-
const isArrayWithAtLeastOneItem = v => v && Array.isArray(v) && v.length !== 0;
|
|
16680
|
-
const mapToWrappers = (currentLevelNodes, childrenField, parent = null, parentIndex = '') => {
|
|
16681
|
-
if (!isArrayWithAtLeastOneItem(currentLevelNodes)) {
|
|
16682
|
-
return [];
|
|
16683
|
-
}
|
|
16684
|
-
return currentLevelNodes.map((node, idx) => {
|
|
16685
|
-
const index = nodeIndex(idx.toString(), parentIndex);
|
|
16686
|
-
const wrapper = {
|
|
16687
|
-
dataItem: node,
|
|
16688
|
-
index,
|
|
16689
|
-
parent,
|
|
16690
|
-
visible: true
|
|
16691
|
-
};
|
|
16692
|
-
wrapper.children = mapToWrappers(getter$1(childrenField)(node), childrenField, wrapper, index);
|
|
16693
|
-
return wrapper;
|
|
16694
|
-
});
|
|
16695
|
-
};
|
|
16696
16922
|
/**
|
|
16697
|
-
*
|
|
16923
|
+
* Custom component messages override default component messages
|
|
16924
|
+
* ([see example]({% slug rtl_dropdowns %}#toc-messages)).
|
|
16698
16925
|
*/
|
|
16699
|
-
class
|
|
16700
|
-
constructor(
|
|
16701
|
-
super(
|
|
16702
|
-
this.
|
|
16926
|
+
class CustomMessagesComponent extends Messages {
|
|
16927
|
+
constructor(service) {
|
|
16928
|
+
super();
|
|
16929
|
+
this.service = service;
|
|
16703
16930
|
}
|
|
16704
|
-
|
|
16705
|
-
|
|
16706
|
-
|
|
16707
|
-
|
|
16708
|
-
|
|
16931
|
+
get override() {
|
|
16932
|
+
return true;
|
|
16933
|
+
}
|
|
16934
|
+
}
|
|
16935
|
+
CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
16936
|
+
CustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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: [
|
|
16937
|
+
{
|
|
16938
|
+
provide: Messages,
|
|
16939
|
+
useExisting: forwardRef(() => CustomMessagesComponent)
|
|
16940
|
+
}
|
|
16941
|
+
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
16942
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomMessagesComponent, decorators: [{
|
|
16943
|
+
type: Component,
|
|
16944
|
+
args: [{
|
|
16945
|
+
providers: [
|
|
16946
|
+
{
|
|
16947
|
+
provide: Messages,
|
|
16948
|
+
useExisting: forwardRef(() => CustomMessagesComponent)
|
|
16949
|
+
}
|
|
16950
|
+
],
|
|
16951
|
+
selector: 'kendo-dropdownlist-messages,kendo-combobox-messages,kendo-multicolumncombobox-messages,kendo-autocomplete-messages,kendo-multiselect-messages,kendo-dropdowntree-messages,kendo-multiselecttree-messages',
|
|
16952
|
+
template: ``,
|
|
16953
|
+
standalone: true
|
|
16954
|
+
}]
|
|
16955
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
16956
|
+
|
|
16957
|
+
/**
|
|
16958
|
+
* A directive which configures the MultiSelect to show one single summary tag for all selected data items.
|
|
16959
|
+
* When a number is provided, the summary tag is displayed after the given amount of data items are selected
|
|
16960
|
+
* ([more information and examples]({% slug summarytagmode_multiselect %})).
|
|
16961
|
+
*
|
|
16962
|
+
* @example
|
|
16963
|
+
* ```ts-no-run
|
|
16964
|
+
* <kendo-multiselect kendoMultiSelectSummaryTag [data]="data"></kendo-multiselect>
|
|
16965
|
+
* ```
|
|
16966
|
+
*
|
|
16967
|
+
* @example
|
|
16968
|
+
* ```ts-no-run
|
|
16969
|
+
* <kendo-multiselect [kendoMultiSelectSummaryTag]="2" [data]="data"></kendo-multiselect>
|
|
16970
|
+
* ```
|
|
16971
|
+
*/
|
|
16972
|
+
class SummaryTagDirective {
|
|
16973
|
+
constructor(multiSelectComponent) {
|
|
16974
|
+
this.multiSelectComponent = multiSelectComponent;
|
|
16975
|
+
/**
|
|
16976
|
+
* A numeric value that indicates the number of selected data items after which the summary tag will appear.
|
|
16977
|
+
*/
|
|
16978
|
+
this.showAfter = 0;
|
|
16979
|
+
this.createTagMapper();
|
|
16709
16980
|
}
|
|
16710
16981
|
ngOnChanges(changes) {
|
|
16711
|
-
if (
|
|
16712
|
-
this.
|
|
16713
|
-
|
|
16982
|
+
if (isPresent(changes.showAfter)) {
|
|
16983
|
+
this.createTagMapper();
|
|
16984
|
+
this.multiSelectComponent.onTagMapperChange();
|
|
16714
16985
|
}
|
|
16715
|
-
|
|
16986
|
+
}
|
|
16987
|
+
createTagMapper() {
|
|
16988
|
+
const showAfter = parseNumber(this.showAfter);
|
|
16989
|
+
this.multiSelectComponent.tagMapper = (tags) => {
|
|
16990
|
+
if (tags.length > showAfter) {
|
|
16991
|
+
const result = tags.slice(0, showAfter);
|
|
16992
|
+
result.push(tags.slice(showAfter, tags.length));
|
|
16993
|
+
return result;
|
|
16994
|
+
}
|
|
16995
|
+
else {
|
|
16996
|
+
return tags;
|
|
16997
|
+
}
|
|
16998
|
+
};
|
|
16716
16999
|
}
|
|
16717
17000
|
}
|
|
16718
|
-
|
|
16719
|
-
|
|
16720
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type:
|
|
17001
|
+
SummaryTagDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SummaryTagDirective, deps: [{ token: MultiSelectComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
17002
|
+
SummaryTagDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SummaryTagDirective, isStandalone: true, selector: "[kendoMultiSelectSummaryTag]", inputs: { showAfter: ["kendoMultiSelectSummaryTag", "showAfter"] }, usesOnChanges: true, ngImport: i0 });
|
|
17003
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SummaryTagDirective, decorators: [{
|
|
16721
17004
|
type: Directive,
|
|
16722
17005
|
args: [{
|
|
16723
|
-
selector: '[
|
|
17006
|
+
selector: '[kendoMultiSelectSummaryTag]',
|
|
17007
|
+
standalone: true
|
|
16724
17008
|
}]
|
|
16725
|
-
}], ctorParameters: function () { return [{ type:
|
|
17009
|
+
}], ctorParameters: function () { return [{ type: MultiSelectComponent }]; }, propDecorators: { showAfter: [{
|
|
16726
17010
|
type: Input,
|
|
16727
|
-
args: ['
|
|
17011
|
+
args: ['kendoMultiSelectSummaryTag']
|
|
16728
17012
|
}] } });
|
|
16729
17013
|
|
|
16730
17014
|
/**
|
|
16731
|
-
* A directive which
|
|
17015
|
+
* A directive which configures the MultiSelectTree to show one single summary tag for all selected data items.
|
|
17016
|
+
* When a number is provided, the summary tag is displayed after the given amount of data items are selected
|
|
17017
|
+
* ([more information and examples]({% slug api_dropdowns_multiselecttreesummarytagdirective %})).
|
|
17018
|
+
*
|
|
17019
|
+
* @example
|
|
17020
|
+
* ```ts-no-run
|
|
17021
|
+
* <kendo-multiselecttree kendoMultiSelectTreeSummaryTag [data]="data"></kendo-multiselecttree>
|
|
17022
|
+
* ```
|
|
17023
|
+
*
|
|
17024
|
+
* @example
|
|
17025
|
+
* ```ts-no-run
|
|
17026
|
+
* <kendo-multiselecttree [kendoMultiSelectTreeSummaryTag]="2" [data]="data"></kendo-multiselecttree>
|
|
17027
|
+
* ```
|
|
16732
17028
|
*/
|
|
16733
|
-
class
|
|
16734
|
-
constructor(
|
|
16735
|
-
|
|
16736
|
-
|
|
16737
|
-
|
|
16738
|
-
|
|
16739
|
-
|
|
16740
|
-
|
|
16741
|
-
set filter(term) {
|
|
16742
|
-
super.filter = term;
|
|
17029
|
+
class MultiSelectTreeSummaryTagDirective {
|
|
17030
|
+
constructor(multiSelectTreeComponent) {
|
|
17031
|
+
this.multiSelectTreeComponent = multiSelectTreeComponent;
|
|
17032
|
+
/**
|
|
17033
|
+
* A numeric value that indicates the number of selected data items after which the summary tag will appear.
|
|
17034
|
+
*/
|
|
17035
|
+
this.showAfter = 0;
|
|
17036
|
+
this.createTagMapper();
|
|
16743
17037
|
}
|
|
16744
17038
|
ngOnChanges(changes) {
|
|
16745
|
-
if (
|
|
16746
|
-
this.
|
|
16747
|
-
|
|
17039
|
+
if (isPresent(changes.showAfter)) {
|
|
17040
|
+
this.createTagMapper();
|
|
17041
|
+
this.multiSelectTreeComponent.handleTagMapperChange(this.showAfter);
|
|
16748
17042
|
}
|
|
16749
|
-
|
|
17043
|
+
}
|
|
17044
|
+
createTagMapper() {
|
|
17045
|
+
const showAfter = parseNumber(this.showAfter);
|
|
17046
|
+
this.multiSelectTreeComponent.tagMapper = (tags) => {
|
|
17047
|
+
if (tags.length > showAfter) {
|
|
17048
|
+
// tags provided in an array are rendered as a single group tag
|
|
17049
|
+
return [...tags.slice(0, showAfter), tags.slice(showAfter)];
|
|
17050
|
+
}
|
|
17051
|
+
else {
|
|
17052
|
+
return tags;
|
|
17053
|
+
}
|
|
17054
|
+
};
|
|
16750
17055
|
}
|
|
16751
17056
|
}
|
|
16752
|
-
|
|
16753
|
-
|
|
16754
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type:
|
|
17057
|
+
MultiSelectTreeSummaryTagDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiSelectTreeSummaryTagDirective, deps: [{ token: MultiSelectTreeComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
17058
|
+
MultiSelectTreeSummaryTagDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: MultiSelectTreeSummaryTagDirective, isStandalone: true, selector: "[kendoMultiSelectTreeSummaryTag]", inputs: { showAfter: ["kendoMultiSelectTreeSummaryTag", "showAfter"] }, usesOnChanges: true, ngImport: i0 });
|
|
17059
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiSelectTreeSummaryTagDirective, decorators: [{
|
|
16755
17060
|
type: Directive,
|
|
16756
17061
|
args: [{
|
|
16757
|
-
selector: '[
|
|
17062
|
+
selector: '[kendoMultiSelectTreeSummaryTag]',
|
|
17063
|
+
standalone: true
|
|
16758
17064
|
}]
|
|
16759
|
-
}], ctorParameters: function () { return [{ type:
|
|
16760
|
-
type: Input,
|
|
16761
|
-
args: ['kendoMultiSelectTreeFlatBinding']
|
|
16762
|
-
}], idField: [{
|
|
17065
|
+
}], ctorParameters: function () { return [{ type: MultiSelectTreeComponent }]; }, propDecorators: { showAfter: [{
|
|
16763
17066
|
type: Input,
|
|
16764
|
-
args: ['
|
|
17067
|
+
args: ['kendoMultiSelectTreeSummaryTag']
|
|
16765
17068
|
}] } });
|
|
16766
17069
|
|
|
16767
17070
|
/**
|
|
16768
|
-
*
|
|
17071
|
+
* Utility array that contains all `AutoComplete` related components and directives
|
|
17072
|
+
*/
|
|
17073
|
+
const KENDO_AUTOCOMPLETE = [
|
|
17074
|
+
AutoCompleteComponent,
|
|
17075
|
+
FixedGroupTemplateDirective,
|
|
17076
|
+
FooterTemplateDirective,
|
|
17077
|
+
GroupTemplateDirective,
|
|
17078
|
+
HeaderTemplateDirective,
|
|
17079
|
+
ItemTemplateDirective,
|
|
17080
|
+
NoDataTemplateDirective,
|
|
17081
|
+
FilterDirective,
|
|
17082
|
+
CustomMessagesComponent,
|
|
17083
|
+
SuffixTemplateDirective,
|
|
17084
|
+
PrefixTemplateDirective
|
|
17085
|
+
];
|
|
17086
|
+
/**
|
|
17087
|
+
* Utility array that contains all `ComboBox` related components and directives
|
|
17088
|
+
*/
|
|
17089
|
+
const KENDO_COMBOBOX = [
|
|
17090
|
+
ComboBoxComponent,
|
|
17091
|
+
FixedGroupTemplateDirective,
|
|
17092
|
+
FooterTemplateDirective,
|
|
17093
|
+
GroupTemplateDirective,
|
|
17094
|
+
HeaderTemplateDirective,
|
|
17095
|
+
ItemTemplateDirective,
|
|
17096
|
+
NoDataTemplateDirective,
|
|
17097
|
+
FilterDirective,
|
|
17098
|
+
CustomMessagesComponent,
|
|
17099
|
+
SuffixTemplateDirective,
|
|
17100
|
+
PrefixTemplateDirective
|
|
17101
|
+
];
|
|
17102
|
+
/**
|
|
17103
|
+
* Utility array that contains all `MultiColumnComboBox` related components and directives
|
|
17104
|
+
*/
|
|
17105
|
+
const KENDO_MULTICOLUMNCOMBOBOX = [
|
|
17106
|
+
MultiColumnComboBoxComponent,
|
|
17107
|
+
ComboBoxColumnComponent,
|
|
17108
|
+
ColumnHeaderTemplateDirective,
|
|
17109
|
+
ColumnCellTemplateDirective,
|
|
17110
|
+
FixedGroupTemplateDirective,
|
|
17111
|
+
FooterTemplateDirective,
|
|
17112
|
+
GroupTemplateDirective,
|
|
17113
|
+
HeaderTemplateDirective,
|
|
17114
|
+
ItemTemplateDirective,
|
|
17115
|
+
NoDataTemplateDirective,
|
|
17116
|
+
FilterDirective,
|
|
17117
|
+
CustomMessagesComponent,
|
|
17118
|
+
SuffixTemplateDirective,
|
|
17119
|
+
PrefixTemplateDirective
|
|
17120
|
+
];
|
|
17121
|
+
/**
|
|
17122
|
+
* Utility array that contains all `DropDownList` related components and directives
|
|
17123
|
+
*/
|
|
17124
|
+
const KENDO_DROPDOWNLIST = [
|
|
17125
|
+
DropDownListComponent,
|
|
17126
|
+
FixedGroupTemplateDirective,
|
|
17127
|
+
FooterTemplateDirective,
|
|
17128
|
+
GroupTemplateDirective,
|
|
17129
|
+
HeaderTemplateDirective,
|
|
17130
|
+
ItemTemplateDirective,
|
|
17131
|
+
ValueTemplateDirective,
|
|
17132
|
+
NoDataTemplateDirective,
|
|
17133
|
+
FilterDirective,
|
|
17134
|
+
CustomMessagesComponent
|
|
17135
|
+
];
|
|
17136
|
+
/**
|
|
17137
|
+
* Utility array that contains all `MultiSelect` related components and directives
|
|
16769
17138
|
*/
|
|
16770
|
-
|
|
16771
|
-
|
|
16772
|
-
|
|
16773
|
-
|
|
16774
|
-
|
|
16775
|
-
|
|
16776
|
-
|
|
16777
|
-
|
|
16778
|
-
|
|
16779
|
-
|
|
16780
|
-
|
|
16781
|
-
|
|
16782
|
-
|
|
16783
|
-
|
|
16784
|
-
|
|
16785
|
-
|
|
16786
|
-
|
|
16787
|
-
}
|
|
16788
|
-
}
|
|
16789
|
-
MultiSelectTreeHierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiSelectTreeHierarchyBindingDirective, deps: [{ token: i1$1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
16790
|
-
MultiSelectTreeHierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: MultiSelectTreeHierarchyBindingDirective, selector: "[kendoMultiSelectTreeHierarchyBinding]", inputs: { nodes: ["kendoMultiSelectTreeHierarchyBinding", "nodes"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
16791
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiSelectTreeHierarchyBindingDirective, decorators: [{
|
|
16792
|
-
type: Directive,
|
|
16793
|
-
args: [{
|
|
16794
|
-
selector: '[kendoMultiSelectTreeHierarchyBinding]'
|
|
16795
|
-
}]
|
|
16796
|
-
}], ctorParameters: function () { return [{ type: i1$1.DataBoundComponent }]; }, propDecorators: { nodes: [{
|
|
16797
|
-
type: Input,
|
|
16798
|
-
args: ['kendoMultiSelectTreeHierarchyBinding']
|
|
16799
|
-
}] } });
|
|
16800
|
-
|
|
17139
|
+
const KENDO_MULTISELECT = [
|
|
17140
|
+
MultiSelectComponent,
|
|
17141
|
+
SummaryTagDirective,
|
|
17142
|
+
CustomItemTemplateDirective,
|
|
17143
|
+
FixedGroupTemplateDirective,
|
|
17144
|
+
FooterTemplateDirective,
|
|
17145
|
+
GroupTemplateDirective,
|
|
17146
|
+
GroupTagTemplateDirective,
|
|
17147
|
+
TagTemplateDirective,
|
|
17148
|
+
HeaderTemplateDirective,
|
|
17149
|
+
ItemTemplateDirective,
|
|
17150
|
+
NoDataTemplateDirective,
|
|
17151
|
+
FilterDirective,
|
|
17152
|
+
CustomMessagesComponent,
|
|
17153
|
+
SuffixTemplateDirective,
|
|
17154
|
+
PrefixTemplateDirective
|
|
17155
|
+
];
|
|
16801
17156
|
/**
|
|
16802
|
-
*
|
|
17157
|
+
* Utility array that contains all `DropDownTree` related components and directives
|
|
16803
17158
|
*/
|
|
16804
|
-
|
|
16805
|
-
|
|
16806
|
-
|
|
16807
|
-
|
|
16808
|
-
|
|
16809
|
-
|
|
16810
|
-
|
|
16811
|
-
|
|
16812
|
-
|
|
16813
|
-
|
|
16814
|
-
|
|
16815
|
-
|
|
16816
|
-
|
|
16817
|
-
|
|
16818
|
-
|
|
16819
|
-
|
|
16820
|
-
|
|
16821
|
-
|
|
16822
|
-
|
|
16823
|
-
|
|
16824
|
-
|
|
16825
|
-
|
|
16826
|
-
|
|
16827
|
-
|
|
16828
|
-
|
|
16829
|
-
|
|
17159
|
+
const KENDO_DROPDOWNTREE = [
|
|
17160
|
+
DropDownTreeComponent,
|
|
17161
|
+
DropDownTreeFlatBindingDirective,
|
|
17162
|
+
DropDownTreeHierarchyBindingDirective,
|
|
17163
|
+
DropDownTreesExpandDirective,
|
|
17164
|
+
NodeTemplateDirective,
|
|
17165
|
+
HeaderTemplateDirective,
|
|
17166
|
+
FooterTemplateDirective,
|
|
17167
|
+
ValueTemplateDirective,
|
|
17168
|
+
NoDataTemplateDirective,
|
|
17169
|
+
CustomMessagesComponent
|
|
17170
|
+
];
|
|
17171
|
+
/**
|
|
17172
|
+
* Utility array that contains all `MultiSelectTree` related components and directives
|
|
17173
|
+
*/
|
|
17174
|
+
const KENDO_MULTISELECTTREE = [
|
|
17175
|
+
MultiSelectTreeComponent,
|
|
17176
|
+
MultiSelectTreeFlatBindingDirective,
|
|
17177
|
+
MultiSelectTreeHierarchyBindingDirective,
|
|
17178
|
+
DropDownTreesExpandDirective,
|
|
17179
|
+
NodeTemplateDirective,
|
|
17180
|
+
MultiSelectTreeSummaryTagDirective,
|
|
17181
|
+
GroupTagTemplateDirective,
|
|
17182
|
+
TagTemplateDirective,
|
|
17183
|
+
HeaderTemplateDirective,
|
|
17184
|
+
FooterTemplateDirective,
|
|
17185
|
+
ValueTemplateDirective,
|
|
17186
|
+
NoDataTemplateDirective,
|
|
17187
|
+
CustomMessagesComponent
|
|
17188
|
+
];
|
|
17189
|
+
/**
|
|
17190
|
+
* Utility array that contains all `@progress/kendo-angular-dropdowns` related components and directives
|
|
17191
|
+
*/
|
|
17192
|
+
const KENDO_DROPDOWNS = [
|
|
17193
|
+
...KENDO_AUTOCOMPLETE,
|
|
17194
|
+
...KENDO_COMBOBOX,
|
|
17195
|
+
...KENDO_MULTICOLUMNCOMBOBOX,
|
|
17196
|
+
...KENDO_DROPDOWNLIST,
|
|
17197
|
+
...KENDO_MULTISELECT,
|
|
17198
|
+
...KENDO_DROPDOWNTREE,
|
|
17199
|
+
...KENDO_MULTISELECTTREE
|
|
17200
|
+
];
|
|
16830
17201
|
|
|
17202
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
16831
17203
|
/**
|
|
16832
|
-
*
|
|
16833
|
-
*
|
|
17204
|
+
* - `MultiSelectTreeComponent`—The MultiSelectTree component class.
|
|
17205
|
+
* - `DropDownTreeComponent`—The DropDownTree component class.
|
|
17206
|
+
* - `MultiSelectTreeFlatBindingDirective`—The MultiSelectTree flat binding directive.
|
|
17207
|
+
* - `DropDownTreeFlatBindingDirective`—The DropDownTree flat binding directive.
|
|
17208
|
+
* - `MultiSelectTreeHierarchyBindingDirective`—The MultiSelectTree hierarchy binding directive.
|
|
17209
|
+
* - `DropDownTreeHierarchyBindingDirective`—The DropDownTree hierarchy binding directive.
|
|
17210
|
+
* - `DropDownTreesExpandDirective`—The DropDownTreesExpand directive.
|
|
17211
|
+
* - `NodeTemplateDirective`—The node template directive.
|
|
17212
|
+
* - `MultiSelectTreeSummaryTagDirective`—The MultiSelectTreeSummaryTag directive.
|
|
17213
|
+
* - `TagTemplateDirective`—The tag template directive.
|
|
17214
|
+
* - `GroupTagTemplateDirective`—The group tag template directive.
|
|
17215
|
+
* - `HeaderTemplateDirective`—The header template directive.
|
|
17216
|
+
* - `FooterTemplateDirective`—The footer template directive.
|
|
17217
|
+
* - `ValueTemplateDirective`—The value template directive.
|
|
17218
|
+
* - `NoDataTemplateDirective`—The no-data template directive.
|
|
17219
|
+
* - `CustomMessagesComponent`—The custom messages component.
|
|
16834
17220
|
*/
|
|
16835
|
-
class
|
|
16836
|
-
constructor(service) {
|
|
16837
|
-
super();
|
|
16838
|
-
this.service = service;
|
|
16839
|
-
}
|
|
16840
|
-
get override() {
|
|
16841
|
-
return true;
|
|
16842
|
-
}
|
|
17221
|
+
class DropDownTreesModule {
|
|
16843
17222
|
}
|
|
16844
|
-
|
|
16845
|
-
|
|
16846
|
-
|
|
16847
|
-
|
|
16848
|
-
|
|
16849
|
-
|
|
16850
|
-
|
|
16851
|
-
|
|
16852
|
-
|
|
17223
|
+
DropDownTreesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropDownTreesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
17224
|
+
DropDownTreesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", 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] });
|
|
17225
|
+
DropDownTreesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropDownTreesModule, providers: [
|
|
17226
|
+
IconsService,
|
|
17227
|
+
PopupService,
|
|
17228
|
+
ResizeBatchService,
|
|
17229
|
+
DialogContainerService,
|
|
17230
|
+
DialogService,
|
|
17231
|
+
WindowService,
|
|
17232
|
+
WindowContainerService
|
|
17233
|
+
], imports: [DropDownTreeComponent, CustomMessagesComponent, MultiSelectTreeComponent, CustomMessagesComponent] });
|
|
17234
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropDownTreesModule, decorators: [{
|
|
17235
|
+
type: NgModule,
|
|
16853
17236
|
args: [{
|
|
17237
|
+
imports: [...KENDO_DROPDOWNTREE, ...KENDO_MULTISELECTTREE],
|
|
17238
|
+
exports: [...KENDO_DROPDOWNTREE, ...KENDO_MULTISELECTTREE],
|
|
16854
17239
|
providers: [
|
|
16855
|
-
|
|
16856
|
-
|
|
16857
|
-
|
|
16858
|
-
|
|
16859
|
-
|
|
16860
|
-
|
|
16861
|
-
|
|
17240
|
+
IconsService,
|
|
17241
|
+
PopupService,
|
|
17242
|
+
ResizeBatchService,
|
|
17243
|
+
DialogContainerService,
|
|
17244
|
+
DialogService,
|
|
17245
|
+
WindowService,
|
|
17246
|
+
WindowContainerService
|
|
17247
|
+
]
|
|
16862
17248
|
}]
|
|
16863
|
-
}]
|
|
17249
|
+
}] });
|
|
16864
17250
|
|
|
16865
|
-
|
|
16866
|
-
caseSensitive: false,
|
|
16867
|
-
operator: 'startsWith'
|
|
16868
|
-
};
|
|
17251
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
16869
17252
|
/**
|
|
16870
|
-
*
|
|
16871
|
-
*
|
|
17253
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
17254
|
+
* definition for the Dropdowns components.
|
|
16872
17255
|
*
|
|
16873
17256
|
* @example
|
|
16874
|
-
*
|
|
16875
|
-
*
|
|
16876
|
-
*
|
|
16877
|
-
*
|
|
16878
|
-
*
|
|
16879
|
-
*
|
|
16880
|
-
*
|
|
16881
|
-
*
|
|
16882
|
-
*
|
|
16883
|
-
*
|
|
16884
|
-
*
|
|
17257
|
+
*
|
|
17258
|
+
* ```ts-no-run
|
|
17259
|
+
* // Import the Dropdowns module
|
|
17260
|
+
* import { DropDownsModule } from '@progress/kendo-angular-dropdowns';
|
|
17261
|
+
*
|
|
17262
|
+
* // The browser platform with a compiler
|
|
17263
|
+
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
17264
|
+
*
|
|
17265
|
+
* import { NgModule } from '@angular/core';
|
|
17266
|
+
*
|
|
17267
|
+
* // Import the app component
|
|
17268
|
+
* import { AppComponent } from './app.component';
|
|
17269
|
+
*
|
|
17270
|
+
* // Define the app module
|
|
17271
|
+
* _@NgModule({
|
|
17272
|
+
* declarations: [AppComponent], // declare the app component
|
|
17273
|
+
* imports: [BrowserModule, DropDownsModule], // import the Dropdowns module
|
|
17274
|
+
* bootstrap: [AppComponent]
|
|
16885
17275
|
* })
|
|
16886
|
-
* class
|
|
16887
|
-
*
|
|
16888
|
-
*
|
|
17276
|
+
* export class AppModule {}
|
|
17277
|
+
*
|
|
17278
|
+
* // Compile and launch the module
|
|
17279
|
+
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
17280
|
+
*
|
|
16889
17281
|
* ```
|
|
16890
|
-
* > Currently, the built-in filtering does not work with [grouped data]({% slug api_kendo-data-query_groupby %}).
|
|
16891
17282
|
*/
|
|
16892
|
-
class
|
|
16893
|
-
|
|
16894
|
-
|
|
16895
|
-
|
|
16896
|
-
|
|
16897
|
-
|
|
16898
|
-
|
|
16899
|
-
|
|
16900
|
-
|
|
16901
|
-
|
|
16902
|
-
|
|
16903
|
-
|
|
16904
|
-
|
|
16905
|
-
|
|
16906
|
-
|
|
16907
|
-
|
|
16908
|
-
|
|
16909
|
-
|
|
16910
|
-
|
|
16911
|
-
|
|
16912
|
-
|
|
16913
|
-
|
|
16914
|
-
|
|
16915
|
-
|
|
16916
|
-
|
|
16917
|
-
|
|
16918
|
-
|
|
16919
|
-
|
|
16920
|
-
|
|
16921
|
-
|
|
16922
|
-
|
|
16923
|
-
|
|
16924
|
-
|
|
16925
|
-
|
|
16926
|
-
|
|
16927
|
-
|
|
16928
|
-
|
|
16929
|
-
|
|
16930
|
-
return this.checkItem(item, normalizedQuery);
|
|
16931
|
-
}
|
|
16932
|
-
return fields.some(field => this.checkItem(getter(item, field), normalizedQuery));
|
|
16933
|
-
}
|
|
16934
|
-
checkItem(target, query) {
|
|
16935
|
-
target = this.normalizeValue(target);
|
|
16936
|
-
if (this.filterSettings.operator === 'contains') {
|
|
16937
|
-
return target.indexOf(query) !== -1;
|
|
16938
|
-
}
|
|
16939
|
-
else {
|
|
16940
|
-
return target.indexOf(query) === 0;
|
|
16941
|
-
}
|
|
16942
|
-
}
|
|
16943
|
-
normalizeValue(value) {
|
|
16944
|
-
const normalizedValue = isPresent(value) ? value.toString() : '';
|
|
16945
|
-
return this.filterSettings.caseSensitive ? normalizedValue : normalizedValue.toLowerCase();
|
|
16946
|
-
}
|
|
16947
|
-
getFilterFields(providedFields) {
|
|
16948
|
-
// ignore provided fields if the component deals with primitive data
|
|
16949
|
-
if (!this.component.textField && !this.component.valueField) {
|
|
16950
|
-
return [];
|
|
16951
|
-
}
|
|
16952
|
-
if (isArray(providedFields) && providedFields.length > 0) {
|
|
16953
|
-
return providedFields;
|
|
16954
|
-
}
|
|
16955
|
-
else {
|
|
16956
|
-
// the autocomplete uses `valueField` for text extraction
|
|
16957
|
-
const textField = this.component.textField || this.component.valueField;
|
|
16958
|
-
return [textField];
|
|
16959
|
-
}
|
|
16960
|
-
}
|
|
16961
|
-
get filterSettings() {
|
|
16962
|
-
const settings = this.rawSettings;
|
|
16963
|
-
const providedFields = isPresent(settings) && typeof settings === 'object' ? settings.fields : [];
|
|
16964
|
-
return Object.assign({}, DEFAULT_FILTER_SETTINGS, settings, { fields: this.getFilterFields(providedFields) });
|
|
16965
|
-
}
|
|
17283
|
+
class DropDownsModule {
|
|
17284
|
+
}
|
|
17285
|
+
DropDownsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropDownsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
17286
|
+
DropDownsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DropDownsModule, imports: [AutoCompleteComponent, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, ComboBoxComponent, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, MultiColumnComboBoxComponent, ComboBoxColumnComponent, ColumnHeaderTemplateDirective, ColumnCellTemplateDirective, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, DropDownListComponent, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, ValueTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, MultiSelectComponent, SummaryTagDirective, CustomItemTemplateDirective, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, GroupTagTemplateDirective, TagTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, DropDownTreeComponent, DropDownTreeFlatBindingDirective, DropDownTreeHierarchyBindingDirective, DropDownTreesExpandDirective, NodeTemplateDirective, HeaderTemplateDirective, FooterTemplateDirective, ValueTemplateDirective, NoDataTemplateDirective, CustomMessagesComponent, MultiSelectTreeComponent, MultiSelectTreeFlatBindingDirective, MultiSelectTreeHierarchyBindingDirective, DropDownTreesExpandDirective, NodeTemplateDirective, MultiSelectTreeSummaryTagDirective, GroupTagTemplateDirective, TagTemplateDirective, HeaderTemplateDirective, FooterTemplateDirective, ValueTemplateDirective, NoDataTemplateDirective, CustomMessagesComponent], exports: [AutoCompleteComponent, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, ComboBoxComponent, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, MultiColumnComboBoxComponent, ComboBoxColumnComponent, ColumnHeaderTemplateDirective, ColumnCellTemplateDirective, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, DropDownListComponent, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, ValueTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, MultiSelectComponent, SummaryTagDirective, CustomItemTemplateDirective, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, GroupTagTemplateDirective, TagTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, DropDownTreeComponent, DropDownTreeFlatBindingDirective, DropDownTreeHierarchyBindingDirective, DropDownTreesExpandDirective, NodeTemplateDirective, HeaderTemplateDirective, FooterTemplateDirective, ValueTemplateDirective, NoDataTemplateDirective, CustomMessagesComponent, MultiSelectTreeComponent, MultiSelectTreeFlatBindingDirective, MultiSelectTreeHierarchyBindingDirective, DropDownTreesExpandDirective, NodeTemplateDirective, MultiSelectTreeSummaryTagDirective, GroupTagTemplateDirective, TagTemplateDirective, HeaderTemplateDirective, FooterTemplateDirective, ValueTemplateDirective, NoDataTemplateDirective, CustomMessagesComponent] });
|
|
17287
|
+
DropDownsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropDownsModule, providers: [PopupService, ResizeBatchService, IconsService, DialogContainerService, DialogService, WindowService, WindowContainerService], imports: [AutoCompleteComponent, CustomMessagesComponent, ComboBoxComponent, CustomMessagesComponent, MultiColumnComboBoxComponent, ComboBoxColumnComponent, CustomMessagesComponent, DropDownListComponent, CustomMessagesComponent, MultiSelectComponent, CustomMessagesComponent, DropDownTreeComponent, CustomMessagesComponent, MultiSelectTreeComponent, CustomMessagesComponent] });
|
|
17288
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropDownsModule, decorators: [{
|
|
17289
|
+
type: NgModule,
|
|
17290
|
+
args: [{
|
|
17291
|
+
exports: [...KENDO_DROPDOWNS],
|
|
17292
|
+
imports: [...KENDO_DROPDOWNS],
|
|
17293
|
+
providers: [PopupService, ResizeBatchService, IconsService, DialogContainerService, DialogService, WindowService, WindowContainerService]
|
|
17294
|
+
}]
|
|
17295
|
+
}] });
|
|
17296
|
+
|
|
17297
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
17298
|
+
/**
|
|
17299
|
+
*
|
|
17300
|
+
* The exported package module.
|
|
17301
|
+
*
|
|
17302
|
+
* The package exports:
|
|
17303
|
+
* - `MultiSelectComponent`—The MultiSelect component class.
|
|
17304
|
+
* - `SummaryTagDirective`—The MultiSelect summary tag directive.
|
|
17305
|
+
* - `ItemTemplateDirective`—The item template directive.
|
|
17306
|
+
* - `CustomItemTemplateDirective`—The custom item template directive.
|
|
17307
|
+
* - `TagTemplateDirective`—The tag template directive.
|
|
17308
|
+
* - `GroupTagTemplateDirective`—The group tag template directive.
|
|
17309
|
+
* - `SummaryTagTemplateDirective`—The summary tag template directive.
|
|
17310
|
+
* - `HeaderTemplateDirective`—The header template directive.
|
|
17311
|
+
* - `FooterTemplateDirective`—The footer template directive.
|
|
17312
|
+
* - `NoDataTemplateDirective`—The no-data template directive.
|
|
17313
|
+
* - `FilterDirective`—The filter directive.
|
|
17314
|
+
* - `CustomMessagesComponent`—The custom messages component.
|
|
17315
|
+
* - `GroupTemplateDirective`—The group template directive.
|
|
17316
|
+
* - `FixedGroupTemplateDirective`—The fixed group template directive.
|
|
17317
|
+
* - `SuffixTemplateDirective`—The suffix template directive.
|
|
17318
|
+
* - `PrefixTemplateDirective`—The prefix template directive.
|
|
17319
|
+
*/
|
|
17320
|
+
class MultiSelectModule {
|
|
16966
17321
|
}
|
|
16967
|
-
|
|
16968
|
-
|
|
16969
|
-
i0.ɵɵ
|
|
16970
|
-
|
|
17322
|
+
MultiSelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
17323
|
+
MultiSelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MultiSelectModule, imports: [MultiSelectComponent, SummaryTagDirective, CustomItemTemplateDirective, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, GroupTagTemplateDirective, TagTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective], exports: [MultiSelectComponent, SummaryTagDirective, CustomItemTemplateDirective, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, GroupTagTemplateDirective, TagTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective] });
|
|
17324
|
+
MultiSelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiSelectModule, providers: [
|
|
17325
|
+
PopupService,
|
|
17326
|
+
ResizeBatchService,
|
|
17327
|
+
IconsService
|
|
17328
|
+
], imports: [MultiSelectComponent, CustomMessagesComponent] });
|
|
17329
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiSelectModule, decorators: [{
|
|
17330
|
+
type: NgModule,
|
|
16971
17331
|
args: [{
|
|
16972
|
-
|
|
17332
|
+
imports: [...KENDO_MULTISELECT],
|
|
17333
|
+
exports: [...KENDO_MULTISELECT],
|
|
17334
|
+
providers: [
|
|
17335
|
+
PopupService,
|
|
17336
|
+
ResizeBatchService,
|
|
17337
|
+
IconsService
|
|
17338
|
+
]
|
|
16973
17339
|
}]
|
|
16974
|
-
}]
|
|
16975
|
-
type: Input
|
|
16976
|
-
}], rawSettings: [{
|
|
16977
|
-
type: Input,
|
|
16978
|
-
args: ['kendoDropDownFilter']
|
|
16979
|
-
}], filterable: [{
|
|
16980
|
-
type: Input
|
|
16981
|
-
}] } });
|
|
17340
|
+
}] });
|
|
16982
17341
|
|
|
16983
17342
|
const SHARED_DIRECTIVES = [
|
|
16984
17343
|
HeaderTemplateDirective,
|
|
@@ -17012,7 +17371,7 @@ const SHARED_DIRECTIVES = [
|
|
|
17012
17371
|
class SharedDirectivesModule {
|
|
17013
17372
|
}
|
|
17014
17373
|
SharedDirectivesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedDirectivesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
17015
|
-
SharedDirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SharedDirectivesModule,
|
|
17374
|
+
SharedDirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SharedDirectivesModule, imports: [HeaderTemplateDirective,
|
|
17016
17375
|
FooterTemplateDirective,
|
|
17017
17376
|
ItemTemplateDirective,
|
|
17018
17377
|
GroupTemplateDirective,
|
|
@@ -17037,11 +17396,11 @@ SharedDirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0",
|
|
|
17037
17396
|
CustomMessagesComponent,
|
|
17038
17397
|
FilterDirective,
|
|
17039
17398
|
FilterInputDirective] });
|
|
17040
|
-
SharedDirectivesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedDirectivesModule });
|
|
17399
|
+
SharedDirectivesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedDirectivesModule, imports: [CustomMessagesComponent] });
|
|
17041
17400
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedDirectivesModule, decorators: [{
|
|
17042
17401
|
type: NgModule,
|
|
17043
17402
|
args: [{
|
|
17044
|
-
|
|
17403
|
+
imports: [SHARED_DIRECTIVES],
|
|
17045
17404
|
exports: [SHARED_DIRECTIVES]
|
|
17046
17405
|
}]
|
|
17047
17406
|
}] });
|
|
@@ -17063,7 +17422,7 @@ const INTERNAL_DIRECTIVES = [
|
|
|
17063
17422
|
class SharedModule {
|
|
17064
17423
|
}
|
|
17065
17424
|
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
17066
|
-
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SharedModule,
|
|
17425
|
+
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SharedModule, imports: [ListComponent,
|
|
17067
17426
|
ListItemDirective,
|
|
17068
17427
|
SelectableDirective,
|
|
17069
17428
|
SearchBarComponent,
|
|
@@ -17071,7 +17430,7 @@ SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
|
17071
17430
|
TagListComponent,
|
|
17072
17431
|
CheckDirective,
|
|
17073
17432
|
CheckAllDirective,
|
|
17074
|
-
ResponsiveRendererComponent
|
|
17433
|
+
ResponsiveRendererComponent, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule, IconsModule, ActionSheetModule, ButtonModule, TextBoxModule], exports: [ListComponent,
|
|
17075
17434
|
ListItemDirective,
|
|
17076
17435
|
SelectableDirective,
|
|
17077
17436
|
SearchBarComponent,
|
|
@@ -17079,193 +17438,22 @@ SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
|
17079
17438
|
TagListComponent,
|
|
17080
17439
|
CheckDirective,
|
|
17081
17440
|
CheckAllDirective,
|
|
17082
|
-
ResponsiveRendererComponent,
|
|
17083
|
-
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedModule,
|
|
17441
|
+
ResponsiveRendererComponent, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule, IconsModule, ActionSheetModule, ButtonModule, TextBoxModule] });
|
|
17442
|
+
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedModule, providers: [IconsService, PopupService, ResizeBatchService], imports: [ListComponent,
|
|
17443
|
+
SearchBarComponent,
|
|
17444
|
+
TagListComponent,
|
|
17445
|
+
ResponsiveRendererComponent, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule, IconsModule, ActionSheetModule, ButtonModule, TextBoxModule, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule, IconsModule, ActionSheetModule, ButtonModule, TextBoxModule] });
|
|
17084
17446
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedModule, decorators: [{
|
|
17085
17447
|
type: NgModule,
|
|
17086
17448
|
args: [{
|
|
17087
|
-
|
|
17088
|
-
exports: [INTERNAL_DIRECTIVES,
|
|
17089
|
-
|
|
17090
|
-
}]
|
|
17091
|
-
}] });
|
|
17092
|
-
|
|
17093
|
-
/**
|
|
17094
|
-
* A directive which configures the MultiSelectTree to show one single summary tag for all selected data items.
|
|
17095
|
-
* When a number is provided, the summary tag is displayed after the given amount of data items are selected
|
|
17096
|
-
* ([more information and examples]({% slug api_dropdowns_multiselecttreesummarytagdirective %})).
|
|
17097
|
-
*
|
|
17098
|
-
* @example
|
|
17099
|
-
* ```ts-no-run
|
|
17100
|
-
* <kendo-multiselecttree kendoMultiSelectTreeSummaryTag [data]="data"></kendo-multiselecttree>
|
|
17101
|
-
* ```
|
|
17102
|
-
*
|
|
17103
|
-
* @example
|
|
17104
|
-
* ```ts-no-run
|
|
17105
|
-
* <kendo-multiselecttree [kendoMultiSelectTreeSummaryTag]="2" [data]="data"></kendo-multiselecttree>
|
|
17106
|
-
* ```
|
|
17107
|
-
*/
|
|
17108
|
-
class MultiSelectTreeSummaryTagDirective {
|
|
17109
|
-
constructor(multiSelectTreeComponent) {
|
|
17110
|
-
this.multiSelectTreeComponent = multiSelectTreeComponent;
|
|
17111
|
-
/**
|
|
17112
|
-
* A numeric value that indicates the number of selected data items after which the summary tag will appear.
|
|
17113
|
-
*/
|
|
17114
|
-
this.showAfter = 0;
|
|
17115
|
-
this.createTagMapper();
|
|
17116
|
-
}
|
|
17117
|
-
ngOnChanges(changes) {
|
|
17118
|
-
if (isPresent(changes.showAfter)) {
|
|
17119
|
-
this.createTagMapper();
|
|
17120
|
-
this.multiSelectTreeComponent.handleTagMapperChange(this.showAfter);
|
|
17121
|
-
}
|
|
17122
|
-
}
|
|
17123
|
-
createTagMapper() {
|
|
17124
|
-
const showAfter = parseNumber(this.showAfter);
|
|
17125
|
-
this.multiSelectTreeComponent.tagMapper = (tags) => {
|
|
17126
|
-
if (tags.length > showAfter) {
|
|
17127
|
-
// tags provided in an array are rendered as a single group tag
|
|
17128
|
-
return [...tags.slice(0, showAfter), tags.slice(showAfter)];
|
|
17129
|
-
}
|
|
17130
|
-
else {
|
|
17131
|
-
return tags;
|
|
17132
|
-
}
|
|
17133
|
-
};
|
|
17134
|
-
}
|
|
17135
|
-
}
|
|
17136
|
-
MultiSelectTreeSummaryTagDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiSelectTreeSummaryTagDirective, deps: [{ token: MultiSelectTreeComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
17137
|
-
MultiSelectTreeSummaryTagDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: MultiSelectTreeSummaryTagDirective, selector: "[kendoMultiSelectTreeSummaryTag]", inputs: { showAfter: ["kendoMultiSelectTreeSummaryTag", "showAfter"] }, usesOnChanges: true, ngImport: i0 });
|
|
17138
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiSelectTreeSummaryTagDirective, decorators: [{
|
|
17139
|
-
type: Directive,
|
|
17140
|
-
args: [{
|
|
17141
|
-
selector: '[kendoMultiSelectTreeSummaryTag]'
|
|
17142
|
-
}]
|
|
17143
|
-
}], ctorParameters: function () { return [{ type: MultiSelectTreeComponent }]; }, propDecorators: { showAfter: [{
|
|
17144
|
-
type: Input,
|
|
17145
|
-
args: ['kendoMultiSelectTreeSummaryTag']
|
|
17146
|
-
}] } });
|
|
17147
|
-
|
|
17148
|
-
const DROPDOWNTREE_DIRECTIVES = [
|
|
17149
|
-
DropDownTreeComponent,
|
|
17150
|
-
MultiSelectTreeComponent,
|
|
17151
|
-
DropDownTreeFlatBindingDirective,
|
|
17152
|
-
DropDownTreeHierarchyBindingDirective,
|
|
17153
|
-
MultiSelectTreeFlatBindingDirective,
|
|
17154
|
-
MultiSelectTreeHierarchyBindingDirective,
|
|
17155
|
-
DropDownTreesExpandDirective,
|
|
17156
|
-
NodeTemplateDirective,
|
|
17157
|
-
MultiSelectTreeSummaryTagDirective
|
|
17158
|
-
];
|
|
17159
|
-
/**
|
|
17160
|
-
* @hidden
|
|
17161
|
-
*/
|
|
17162
|
-
class DropDownTreesModule {
|
|
17163
|
-
}
|
|
17164
|
-
DropDownTreesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropDownTreesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
17165
|
-
DropDownTreesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DropDownTreesModule, declarations: [DropDownTreeComponent,
|
|
17166
|
-
MultiSelectTreeComponent,
|
|
17167
|
-
DropDownTreeFlatBindingDirective,
|
|
17168
|
-
DropDownTreeHierarchyBindingDirective,
|
|
17169
|
-
MultiSelectTreeFlatBindingDirective,
|
|
17170
|
-
MultiSelectTreeHierarchyBindingDirective,
|
|
17171
|
-
DropDownTreesExpandDirective,
|
|
17172
|
-
NodeTemplateDirective,
|
|
17173
|
-
MultiSelectTreeSummaryTagDirective], imports: [SharedModule, TreeViewModule], exports: [DropDownTreeComponent,
|
|
17174
|
-
MultiSelectTreeComponent,
|
|
17175
|
-
DropDownTreeFlatBindingDirective,
|
|
17176
|
-
DropDownTreeHierarchyBindingDirective,
|
|
17177
|
-
MultiSelectTreeFlatBindingDirective,
|
|
17178
|
-
MultiSelectTreeHierarchyBindingDirective,
|
|
17179
|
-
DropDownTreesExpandDirective,
|
|
17180
|
-
NodeTemplateDirective,
|
|
17181
|
-
MultiSelectTreeSummaryTagDirective, SharedDirectivesModule] });
|
|
17182
|
-
DropDownTreesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropDownTreesModule, imports: [SharedModule, TreeViewModule, SharedDirectivesModule] });
|
|
17183
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropDownTreesModule, decorators: [{
|
|
17184
|
-
type: NgModule,
|
|
17185
|
-
args: [{
|
|
17186
|
-
declarations: [DROPDOWNTREE_DIRECTIVES],
|
|
17187
|
-
exports: [DROPDOWNTREE_DIRECTIVES, SharedDirectivesModule],
|
|
17188
|
-
imports: [SharedModule, TreeViewModule]
|
|
17189
|
-
}]
|
|
17190
|
-
}] });
|
|
17191
|
-
|
|
17192
|
-
/**
|
|
17193
|
-
* A directive which configures the MultiSelect to show one single summary tag for all selected data items.
|
|
17194
|
-
* When a number is provided, the summary tag is displayed after the given amount of data items are selected
|
|
17195
|
-
* ([more information and examples]({% slug summarytagmode_multiselect %})).
|
|
17196
|
-
*
|
|
17197
|
-
* @example
|
|
17198
|
-
* ```ts-no-run
|
|
17199
|
-
* <kendo-multiselect kendoMultiSelectSummaryTag [data]="data"></kendo-multiselect>
|
|
17200
|
-
* ```
|
|
17201
|
-
*
|
|
17202
|
-
* @example
|
|
17203
|
-
* ```ts-no-run
|
|
17204
|
-
* <kendo-multiselect [kendoMultiSelectSummaryTag]="2" [data]="data"></kendo-multiselect>
|
|
17205
|
-
* ```
|
|
17206
|
-
*/
|
|
17207
|
-
class SummaryTagDirective {
|
|
17208
|
-
constructor(multiSelectComponent) {
|
|
17209
|
-
this.multiSelectComponent = multiSelectComponent;
|
|
17210
|
-
/**
|
|
17211
|
-
* A numeric value that indicates the number of selected data items after which the summary tag will appear.
|
|
17212
|
-
*/
|
|
17213
|
-
this.showAfter = 0;
|
|
17214
|
-
this.createTagMapper();
|
|
17215
|
-
}
|
|
17216
|
-
ngOnChanges(changes) {
|
|
17217
|
-
if (isPresent(changes.showAfter)) {
|
|
17218
|
-
this.createTagMapper();
|
|
17219
|
-
this.multiSelectComponent.onTagMapperChange();
|
|
17220
|
-
}
|
|
17221
|
-
}
|
|
17222
|
-
createTagMapper() {
|
|
17223
|
-
const showAfter = parseNumber(this.showAfter);
|
|
17224
|
-
this.multiSelectComponent.tagMapper = (tags) => {
|
|
17225
|
-
if (tags.length > showAfter) {
|
|
17226
|
-
const result = tags.slice(0, showAfter);
|
|
17227
|
-
result.push(tags.slice(showAfter, tags.length));
|
|
17228
|
-
return result;
|
|
17229
|
-
}
|
|
17230
|
-
else {
|
|
17231
|
-
return tags;
|
|
17232
|
-
}
|
|
17233
|
-
};
|
|
17234
|
-
}
|
|
17235
|
-
}
|
|
17236
|
-
SummaryTagDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SummaryTagDirective, deps: [{ token: MultiSelectComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
17237
|
-
SummaryTagDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SummaryTagDirective, selector: "[kendoMultiSelectSummaryTag]", inputs: { showAfter: ["kendoMultiSelectSummaryTag", "showAfter"] }, usesOnChanges: true, ngImport: i0 });
|
|
17238
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SummaryTagDirective, decorators: [{
|
|
17239
|
-
type: Directive,
|
|
17240
|
-
args: [{
|
|
17241
|
-
selector: '[kendoMultiSelectSummaryTag]'
|
|
17242
|
-
}]
|
|
17243
|
-
}], ctorParameters: function () { return [{ type: MultiSelectComponent }]; }, propDecorators: { showAfter: [{
|
|
17244
|
-
type: Input,
|
|
17245
|
-
args: ['kendoMultiSelectSummaryTag']
|
|
17246
|
-
}] } });
|
|
17247
|
-
|
|
17248
|
-
/**
|
|
17249
|
-
* @hidden
|
|
17250
|
-
*/
|
|
17251
|
-
class SharedEventsModule {
|
|
17252
|
-
}
|
|
17253
|
-
SharedEventsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedEventsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
17254
|
-
SharedEventsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SharedEventsModule, declarations: [SharedDropDownEventsDirective], exports: [SharedDropDownEventsDirective] });
|
|
17255
|
-
SharedEventsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedEventsModule });
|
|
17256
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SharedEventsModule, decorators: [{
|
|
17257
|
-
type: NgModule,
|
|
17258
|
-
args: [{
|
|
17259
|
-
declarations: [SharedDropDownEventsDirective],
|
|
17260
|
-
exports: [SharedDropDownEventsDirective],
|
|
17449
|
+
imports: [INTERNAL_DIRECTIVES, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule, IconsModule, ActionSheetModule, ButtonModule, TextBoxModule],
|
|
17450
|
+
exports: [INTERNAL_DIRECTIVES, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule, IconsModule, ActionSheetModule, ButtonModule, TextBoxModule],
|
|
17451
|
+
providers: [IconsService, PopupService, ResizeBatchService]
|
|
17261
17452
|
}]
|
|
17262
17453
|
}] });
|
|
17263
17454
|
|
|
17264
|
-
|
|
17265
|
-
AutoCompleteComponent
|
|
17266
|
-
];
|
|
17455
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
17267
17456
|
/**
|
|
17268
|
-
* @hidden
|
|
17269
17457
|
*
|
|
17270
17458
|
* The exported package module.
|
|
17271
17459
|
*
|
|
@@ -17274,70 +17462,80 @@ const AUTOCOMPLETE_DIRECTIVES = [
|
|
|
17274
17462
|
* - `ItemTemplateDirective`—The item template directive.
|
|
17275
17463
|
* - `HeaderTemplateDirective`—The header template directive.
|
|
17276
17464
|
* - `FooterTemplateDirective`—The footer template directive.
|
|
17465
|
+
* - `NoDataTemplateDirective`—The no data template directive.
|
|
17466
|
+
* - `FixedGroupTemplateDirective`—The fixed group template directive.
|
|
17467
|
+
* - `GroupTemplateDirective`—The group template directive.
|
|
17468
|
+
* - `FilterDirective`—The filter directive.
|
|
17469
|
+
* - `CustomMessagesComponent`—The custom messages component.
|
|
17470
|
+
* - `SuffixTemplateDirective`—The suffix template directive.
|
|
17471
|
+
* - `PrefixTemplateDirective`—The prefix template directive.
|
|
17277
17472
|
*/
|
|
17278
17473
|
class AutoCompleteModule {
|
|
17279
17474
|
}
|
|
17280
17475
|
AutoCompleteModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AutoCompleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
17281
|
-
AutoCompleteModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AutoCompleteModule,
|
|
17282
|
-
AutoCompleteModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AutoCompleteModule,
|
|
17476
|
+
AutoCompleteModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AutoCompleteModule, imports: [AutoCompleteComponent, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective], exports: [AutoCompleteComponent, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective] });
|
|
17477
|
+
AutoCompleteModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AutoCompleteModule, providers: [
|
|
17478
|
+
PopupService,
|
|
17479
|
+
ResizeBatchService,
|
|
17480
|
+
IconsService
|
|
17481
|
+
], imports: [AutoCompleteComponent, CustomMessagesComponent] });
|
|
17283
17482
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AutoCompleteModule, decorators: [{
|
|
17284
17483
|
type: NgModule,
|
|
17285
17484
|
args: [{
|
|
17286
|
-
|
|
17287
|
-
exports: [
|
|
17288
|
-
|
|
17485
|
+
imports: [...KENDO_AUTOCOMPLETE],
|
|
17486
|
+
exports: [...KENDO_AUTOCOMPLETE],
|
|
17487
|
+
providers: [
|
|
17488
|
+
PopupService,
|
|
17489
|
+
ResizeBatchService,
|
|
17490
|
+
IconsService
|
|
17491
|
+
]
|
|
17289
17492
|
}]
|
|
17290
17493
|
}] });
|
|
17291
17494
|
|
|
17292
|
-
|
|
17293
|
-
ComboBoxComponent,
|
|
17294
|
-
MultiColumnComboBoxComponent,
|
|
17295
|
-
ComboBoxColumnComponent,
|
|
17296
|
-
ColumnHeaderTemplateDirective,
|
|
17297
|
-
ColumnCellTemplateDirective
|
|
17298
|
-
];
|
|
17495
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
17299
17496
|
/**
|
|
17300
|
-
* @hidden
|
|
17301
17497
|
*
|
|
17302
17498
|
* The exported package module.
|
|
17303
17499
|
*
|
|
17304
17500
|
* The package exports:
|
|
17305
17501
|
* - `ComboBoxComponent`—The ComboBox component class.
|
|
17502
|
+
* - `ComboBoxColumnComponent`—The ComboBoxColumn component class.
|
|
17306
17503
|
* - `MultiColumnComboBoxComponent`—The MultiColumnComboBox component class.
|
|
17307
17504
|
* - `ItemTemplateDirective`—The item template directive.
|
|
17308
17505
|
* - `HeaderTemplateDirective`—The header template directive.
|
|
17309
17506
|
* - `FooterTemplateDirective`—The footer template directive.
|
|
17310
|
-
* - `
|
|
17311
|
-
* - `
|
|
17507
|
+
* - `NoDataTemplateDirective`—The no data template directive.
|
|
17508
|
+
* - `FixedGroupTemplateDirective`—The fixed group template directive.
|
|
17509
|
+
* - `GroupTemplateDirective`—The group template directive.
|
|
17510
|
+
* - `FilterDirective`—The filter directive.
|
|
17511
|
+
* - `CustomMessagesComponent`—The custom messages component.
|
|
17512
|
+
* - `SuffixTemplateDirective`—The suffix template directive.
|
|
17513
|
+
* - `PrefixTemplateDirective`—The prefix template directive.
|
|
17312
17514
|
*/
|
|
17313
17515
|
class ComboBoxModule {
|
|
17314
17516
|
}
|
|
17315
17517
|
ComboBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ComboBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
17316
|
-
ComboBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ComboBoxModule,
|
|
17317
|
-
|
|
17318
|
-
|
|
17319
|
-
|
|
17320
|
-
|
|
17321
|
-
|
|
17322
|
-
ComboBoxColumnComponent,
|
|
17323
|
-
ColumnHeaderTemplateDirective,
|
|
17324
|
-
ColumnCellTemplateDirective, SharedDirectivesModule, AdornmentsModule, ToggleButtonTabStopModule] });
|
|
17325
|
-
ComboBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ComboBoxModule, providers: [{ provide: TOUCH_ENABLED, useValue: touchEnabled }], imports: [SharedModule, AdornmentsModule, SharedEventsModule, SharedDirectivesModule, AdornmentsModule, ToggleButtonTabStopModule] });
|
|
17518
|
+
ComboBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ComboBoxModule, imports: [ComboBoxComponent, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, MultiColumnComboBoxComponent, ComboBoxColumnComponent, ColumnHeaderTemplateDirective, ColumnCellTemplateDirective, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective], exports: [ComboBoxComponent, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, MultiColumnComboBoxComponent, ComboBoxColumnComponent, ColumnHeaderTemplateDirective, ColumnCellTemplateDirective, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective] });
|
|
17519
|
+
ComboBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ComboBoxModule, providers: [
|
|
17520
|
+
PopupService,
|
|
17521
|
+
ResizeBatchService,
|
|
17522
|
+
IconsService
|
|
17523
|
+
], imports: [ComboBoxComponent, CustomMessagesComponent, MultiColumnComboBoxComponent, ComboBoxColumnComponent, CustomMessagesComponent] });
|
|
17326
17524
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ComboBoxModule, decorators: [{
|
|
17327
17525
|
type: NgModule,
|
|
17328
17526
|
args: [{
|
|
17329
|
-
|
|
17330
|
-
exports: [
|
|
17331
|
-
|
|
17332
|
-
|
|
17527
|
+
imports: [...KENDO_COMBOBOX, ...KENDO_MULTICOLUMNCOMBOBOX],
|
|
17528
|
+
exports: [...KENDO_COMBOBOX, ...KENDO_MULTICOLUMNCOMBOBOX],
|
|
17529
|
+
providers: [
|
|
17530
|
+
PopupService,
|
|
17531
|
+
ResizeBatchService,
|
|
17532
|
+
IconsService
|
|
17533
|
+
]
|
|
17333
17534
|
}]
|
|
17334
17535
|
}] });
|
|
17335
17536
|
|
|
17336
|
-
|
|
17337
|
-
DropDownListComponent
|
|
17338
|
-
];
|
|
17537
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
17339
17538
|
/**
|
|
17340
|
-
* @hidden
|
|
17341
17539
|
*
|
|
17342
17540
|
* The exported package module.
|
|
17343
17541
|
*
|
|
@@ -17347,101 +17545,31 @@ const DROPDOWNLIST_DIRECTIVES = [
|
|
|
17347
17545
|
* - `ValueTemplateDirective`—The value template directive.
|
|
17348
17546
|
* - `HeaderTemplateDirective`—The header template directive.
|
|
17349
17547
|
* - `FooterTemplateDirective`—The footer template directive.
|
|
17548
|
+
* - `NoDataTemplateDirective`—The no data template directive.
|
|
17549
|
+
* - `GroupTemplateDirective`—The group template directive.
|
|
17550
|
+
* - `FixedGroupTemplateDirective`—The fixed group template directive.
|
|
17551
|
+
* - `FilterDirective`—The filter directive.
|
|
17552
|
+
* - `CustomMessagesComponent`—The custom messages component.
|
|
17350
17553
|
*/
|
|
17351
17554
|
class DropDownListModule {
|
|
17352
17555
|
}
|
|
17353
17556
|
DropDownListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropDownListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
17354
|
-
DropDownListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DropDownListModule,
|
|
17355
|
-
DropDownListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropDownListModule,
|
|
17557
|
+
DropDownListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", 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] });
|
|
17558
|
+
DropDownListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropDownListModule, providers: [
|
|
17559
|
+
PopupService,
|
|
17560
|
+
ResizeBatchService,
|
|
17561
|
+
IconsService
|
|
17562
|
+
], imports: [DropDownListComponent, CustomMessagesComponent] });
|
|
17356
17563
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropDownListModule, decorators: [{
|
|
17357
17564
|
type: NgModule,
|
|
17358
17565
|
args: [{
|
|
17359
|
-
|
|
17360
|
-
exports: [
|
|
17361
|
-
|
|
17362
|
-
|
|
17363
|
-
|
|
17364
|
-
|
|
17365
|
-
|
|
17366
|
-
MultiSelectComponent,
|
|
17367
|
-
SummaryTagDirective,
|
|
17368
|
-
CustomItemTemplateDirective
|
|
17369
|
-
];
|
|
17370
|
-
/**
|
|
17371
|
-
* @hidden
|
|
17372
|
-
*
|
|
17373
|
-
* The exported package module.
|
|
17374
|
-
*
|
|
17375
|
-
* The package exports:
|
|
17376
|
-
* - `MultiSelectComponent`—The MultiSelect component class.
|
|
17377
|
-
* - `SummaryTagDirective`—The MultiSelect summary tag directive.
|
|
17378
|
-
* - `ItemTemplateDirective`—The item template directive.
|
|
17379
|
-
* - `CustomItemTemplateDirective`—The custom item template directive.
|
|
17380
|
-
* - `TagTemplateDirective`—The tag template directive.
|
|
17381
|
-
* - `SummaryTagTemplateDirective`—The summary tag template directive.
|
|
17382
|
-
* - `HeaderTemplateDirective`—The header template directive.
|
|
17383
|
-
* - `FooterTemplateDirective`—The footer template directive.
|
|
17384
|
-
* - `NoDataTemplateDirective`—The no-data template directive.
|
|
17385
|
-
*/
|
|
17386
|
-
class MultiSelectModule {
|
|
17387
|
-
}
|
|
17388
|
-
MultiSelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
17389
|
-
MultiSelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MultiSelectModule, declarations: [MultiSelectComponent,
|
|
17390
|
-
SummaryTagDirective,
|
|
17391
|
-
CustomItemTemplateDirective], imports: [SharedModule, AdornmentsModule, SharedEventsModule], exports: [MultiSelectComponent,
|
|
17392
|
-
SummaryTagDirective,
|
|
17393
|
-
CustomItemTemplateDirective, SharedDirectivesModule, AdornmentsModule] });
|
|
17394
|
-
MultiSelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiSelectModule, providers: [{ provide: TOUCH_ENABLED, useValue: touchEnabled }], imports: [SharedModule, AdornmentsModule, SharedEventsModule, SharedDirectivesModule, AdornmentsModule] });
|
|
17395
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiSelectModule, decorators: [{
|
|
17396
|
-
type: NgModule,
|
|
17397
|
-
args: [{
|
|
17398
|
-
declarations: [MULTISELECT_DIRECTIVES],
|
|
17399
|
-
exports: [MULTISELECT_DIRECTIVES, SharedDirectivesModule, AdornmentsModule],
|
|
17400
|
-
imports: [SharedModule, AdornmentsModule, SharedEventsModule],
|
|
17401
|
-
providers: [{ provide: TOUCH_ENABLED, useValue: touchEnabled }]
|
|
17402
|
-
}]
|
|
17403
|
-
}] });
|
|
17404
|
-
|
|
17405
|
-
/**
|
|
17406
|
-
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
17407
|
-
* definition for the Dropdowns components.
|
|
17408
|
-
*
|
|
17409
|
-
* @example
|
|
17410
|
-
*
|
|
17411
|
-
* ```ts-no-run
|
|
17412
|
-
* // Import the Dropdowns module
|
|
17413
|
-
* import { DropDownsModule } from '@progress/kendo-angular-dropdowns';
|
|
17414
|
-
*
|
|
17415
|
-
* // The browser platform with a compiler
|
|
17416
|
-
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
17417
|
-
*
|
|
17418
|
-
* import { NgModule } from '@angular/core';
|
|
17419
|
-
*
|
|
17420
|
-
* // Import the app component
|
|
17421
|
-
* import { AppComponent } from './app.component';
|
|
17422
|
-
*
|
|
17423
|
-
* // Define the app module
|
|
17424
|
-
* _@NgModule({
|
|
17425
|
-
* declarations: [AppComponent], // declare the app component
|
|
17426
|
-
* imports: [BrowserModule, DropDownsModule], // import the Dropdowns module
|
|
17427
|
-
* bootstrap: [AppComponent]
|
|
17428
|
-
* })
|
|
17429
|
-
* export class AppModule {}
|
|
17430
|
-
*
|
|
17431
|
-
* // Compile and launch the module
|
|
17432
|
-
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
17433
|
-
*
|
|
17434
|
-
* ```
|
|
17435
|
-
*/
|
|
17436
|
-
class DropDownsModule {
|
|
17437
|
-
}
|
|
17438
|
-
DropDownsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropDownsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
17439
|
-
DropDownsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DropDownsModule, exports: [AutoCompleteModule, ComboBoxModule, DropDownListModule, MultiSelectModule, DropDownTreesModule] });
|
|
17440
|
-
DropDownsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropDownsModule, imports: [AutoCompleteModule, ComboBoxModule, DropDownListModule, MultiSelectModule, DropDownTreesModule] });
|
|
17441
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropDownsModule, decorators: [{
|
|
17442
|
-
type: NgModule,
|
|
17443
|
-
args: [{
|
|
17444
|
-
exports: [AutoCompleteModule, ComboBoxModule, DropDownListModule, MultiSelectModule, DropDownTreesModule]
|
|
17566
|
+
imports: [...KENDO_DROPDOWNLIST],
|
|
17567
|
+
exports: [...KENDO_DROPDOWNLIST],
|
|
17568
|
+
providers: [
|
|
17569
|
+
PopupService,
|
|
17570
|
+
ResizeBatchService,
|
|
17571
|
+
IconsService
|
|
17572
|
+
]
|
|
17445
17573
|
}]
|
|
17446
17574
|
}] });
|
|
17447
17575
|
|
|
@@ -17449,5 +17577,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
17449
17577
|
* Generated bundle index. Do not edit.
|
|
17450
17578
|
*/
|
|
17451
17579
|
|
|
17452
|
-
export { AutoCompleteComponent, AutoCompleteModule, CheckAllDirective, CheckDirective, ColumnCellTemplateDirective, ColumnHeaderTemplateDirective, ComboBoxColumnComponent, ComboBoxComponent, ComboBoxModule, CustomItemTemplateDirective, CustomMessagesComponent, DropDownListComponent, DropDownListModule, DropDownTreeComponent, DropDownTreeFlatBindingDirective, DropDownTreeHierarchyBindingDirective, DropDownTreesExpandDirective, DropDownTreesModule, DropDownsModule, FilterDirective, FilterInputDirective, FilterableComponent, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTagTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, ListComponent, ListItemDirective, LocalizedMessagesDirective, MultiColumnComboBoxComponent, MultiSelectComponent, MultiSelectModule, MultiSelectTreeComponent, MultiSelectTreeFlatBindingDirective, MultiSelectTreeHierarchyBindingDirective, MultiSelectTreeSummaryTagDirective, NoDataTemplateDirective, NodeTemplateDirective, PreventableEvent, RemoveTagEvent, ResponsiveRendererComponent, SearchBarComponent, SelectableDirective, SharedDirectivesModule, SharedModule, SummaryTagDirective, TagListComponent, TagTemplateDirective,
|
|
17580
|
+
export { AutoCompleteComponent, AutoCompleteModule, CheckAllDirective, CheckDirective, ColumnCellTemplateDirective, ColumnHeaderTemplateDirective, ComboBoxColumnComponent, ComboBoxComponent, ComboBoxModule, CustomItemTemplateDirective, CustomMessagesComponent, 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, NoDataTemplateDirective, NodeTemplateDirective, PreventableEvent, RemoveTagEvent, ResponsiveRendererComponent, SearchBarComponent, SelectableDirective, SharedDirectivesModule, SharedModule, SummaryTagDirective, TagListComponent, TagTemplateDirective, ValueTemplateDirective };
|
|
17453
17581
|
|