@progress/kendo-angular-dropdowns 14.4.0-develop.8 → 15.0.0-develop.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE.txt +146 -593
- package/autocomplete/autocomplete.component.d.ts +27 -2
- package/autocomplete/autocomplete.module.d.ts +4 -2
- package/comboboxes/combobox.component.d.ts +30 -4
- package/comboboxes/combobox.module.d.ts +4 -2
- package/comboboxes/multicolumncombobox.component.d.ts +2 -1
- package/common/shared-events.directive.d.ts +27 -0
- package/common/shared-events.module.d.ts +14 -0
- package/esm2020/autocomplete/autocomplete.component.mjs +181 -86
- package/esm2020/autocomplete/autocomplete.module.mjs +6 -4
- package/esm2020/comboboxes/combobox.component.mjs +233 -125
- package/esm2020/comboboxes/combobox.module.mjs +7 -5
- package/esm2020/comboboxes/multicolumncombobox.component.mjs +158 -118
- package/esm2020/common/action-sheet.component.mjs +1 -1
- package/esm2020/common/shared-events.directive.mjs +94 -0
- package/esm2020/common/shared-events.module.mjs +22 -0
- package/esm2020/dropdowntrees/multiselecttree.component.mjs +50 -48
- package/esm2020/index.mjs +3 -0
- package/esm2020/multiselect/multiselect.component.mjs +243 -145
- package/esm2020/multiselect/multiselect.module.mjs +7 -5
- package/esm2020/package-metadata.mjs +2 -2
- package/fesm2015/progress-kendo-angular-dropdowns.mjs +970 -527
- package/fesm2020/progress-kendo-angular-dropdowns.mjs +969 -526
- package/index.d.ts +3 -0
- package/multiselect/multiselect.component.d.ts +31 -5
- package/multiselect/multiselect.module.d.ts +4 -2
- package/package.json +9 -9
- package/schematics/ngAdd/index.js +2 -2
|
@@ -4,9 +4,10 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
6
|
import { EventEmitter, Component, Input, Output, ViewChild, HostBinding, Directive, Injectable, InjectionToken, HostListener, ViewChildren, forwardRef, isDevMode, ViewContainerRef, Optional, Inject, ContentChild, ContentChildren, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
7
|
-
import * as
|
|
8
|
-
import { isDocumentAvailable, isSafari, Keys, isChanged, hasObservers, KendoInput, anyChanged, guid as guid$1, ResizeSensorModule, EventsModule } from '@progress/kendo-angular-common';
|
|
9
|
-
|
|
7
|
+
import * as i7 from '@progress/kendo-angular-common';
|
|
8
|
+
import { isDocumentAvailable, isSafari, Keys, isChanged, closest as closest$1, hasObservers, KendoInput, SuffixTemplateDirective, PrefixTemplateDirective, anyChanged, guid as guid$1, ResizeSensorModule, EventsModule, AdornmentsModule } from '@progress/kendo-angular-common';
|
|
9
|
+
export { PrefixTemplateDirective, SeparatorComponent, SuffixTemplateDirective } from '@progress/kendo-angular-common';
|
|
10
|
+
import * as i14$1 from '@angular/forms';
|
|
10
11
|
import { NgControl, NG_VALUE_ACCESSOR, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
11
12
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
12
13
|
import { getter as getter$1, pointers, touchEnabled } from '@progress/kendo-common';
|
|
@@ -20,9 +21,9 @@ import * as i3 from '@progress/kendo-angular-buttons';
|
|
|
20
21
|
import { ButtonModule } from '@progress/kendo-angular-buttons';
|
|
21
22
|
import * as i4 from '@progress/kendo-angular-inputs';
|
|
22
23
|
import { TextBoxModule } from '@progress/kendo-angular-inputs';
|
|
23
|
-
import * as
|
|
24
|
+
import * as i9 from '@progress/kendo-angular-icons';
|
|
24
25
|
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
25
|
-
import * as
|
|
26
|
+
import * as i14 from '@angular/common';
|
|
26
27
|
import { CommonModule } from '@angular/common';
|
|
27
28
|
import * as i2$1 from '@progress/kendo-angular-popup';
|
|
28
29
|
import { PopupModule } from '@progress/kendo-angular-popup';
|
|
@@ -37,8 +38,8 @@ const packageMetadata = {
|
|
|
37
38
|
name: '@progress/kendo-angular-dropdowns',
|
|
38
39
|
productName: 'Kendo UI for Angular',
|
|
39
40
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
40
|
-
publishDate:
|
|
41
|
-
version: '
|
|
41
|
+
publishDate: 1706543975,
|
|
42
|
+
version: '15.0.0-develop.1',
|
|
42
43
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
43
44
|
};
|
|
44
45
|
|
|
@@ -672,7 +673,7 @@ SearchBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
672
673
|
[attr.aria-busy]="isLoading"
|
|
673
674
|
[attr.aria-invalid]="formControl?.invalid"
|
|
674
675
|
/>
|
|
675
|
-
`, isInline: true, directives: [{ type:
|
|
676
|
+
`, isInline: true, directives: [{ type: i7.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
|
676
677
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SearchBarComponent, decorators: [{
|
|
677
678
|
type: Component,
|
|
678
679
|
args: [{
|
|
@@ -1807,7 +1808,7 @@ ResponsiveRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
|
|
|
1807
1808
|
</div>
|
|
1808
1809
|
</ng-template>
|
|
1809
1810
|
</kendo-actionsheet>
|
|
1810
|
-
`, isInline: true, components: [{ type: i2.ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["title", "subtitle", "items", "cssClass", "animation", "expanded", "titleId"], outputs: ["expandedChange", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { type: i3.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"] }, { type: i4.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"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { type:
|
|
1811
|
+
`, isInline: true, components: [{ type: i2.ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["title", "subtitle", "items", "cssClass", "animation", "expanded", "titleId"], outputs: ["expandedChange", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { type: i3.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"] }, { type: i4.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"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { type: i9.IconComponent, selector: "kendo-icon", inputs: ["name"], exportAs: ["kendoIcon"] }], directives: [{ type: i2.ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { type: i14.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.TextBoxPrefixTemplateDirective, selector: "[kendoTextBoxPrefixTemplate]", inputs: ["showSeparator"] }, { type: i14.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
1811
1812
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ResponsiveRendererComponent, decorators: [{
|
|
1812
1813
|
type: Component,
|
|
1813
1814
|
args: [{
|
|
@@ -2563,7 +2564,7 @@ ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
2563
2564
|
</div>
|
|
2564
2565
|
</div>
|
|
2565
2566
|
</div>
|
|
2566
|
-
`, isInline: true, components: [{ type:
|
|
2567
|
+
`, isInline: true, components: [{ type: i7.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i14.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i14.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i14.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: ListItemDirective, selector: "\"li[role=option], li[role=group]\"" }, { type: SelectableDirective, selector: "[kendoDropDownsSelectable]", inputs: ["index", "checkboxes", "height", "isMultiselect", "multipleSelection"] }, { type: i14.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
2567
2568
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ListComponent, decorators: [{
|
|
2568
2569
|
type: Component,
|
|
2569
2570
|
args: [{
|
|
@@ -2829,6 +2830,93 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
2829
2830
|
}]
|
|
2830
2831
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
2831
2832
|
|
|
2833
|
+
/**
|
|
2834
|
+
* @hidden
|
|
2835
|
+
*/
|
|
2836
|
+
class SharedDropDownEventsDirective {
|
|
2837
|
+
constructor(ngZone, renderer, cdr) {
|
|
2838
|
+
this.ngZone = ngZone;
|
|
2839
|
+
this.renderer = renderer;
|
|
2840
|
+
this.cdr = cdr;
|
|
2841
|
+
this.isFocusedChange = new EventEmitter();
|
|
2842
|
+
this.onFocus = new EventEmitter();
|
|
2843
|
+
this.handleBlur = new EventEmitter();
|
|
2844
|
+
this.subscriptions = new Subscription();
|
|
2845
|
+
}
|
|
2846
|
+
ngAfterViewInit() {
|
|
2847
|
+
const hostElement = this.hostElement.nativeElement;
|
|
2848
|
+
let cursorInsideWrapper = false;
|
|
2849
|
+
let tabbing = false;
|
|
2850
|
+
this.ngZone.runOutsideAngular(() => {
|
|
2851
|
+
// focusIn and focusOut are relative to the host element
|
|
2852
|
+
this.subscriptions.add(this.renderer.listen(hostElement, 'focusin', () => {
|
|
2853
|
+
this.cdr.detectChanges();
|
|
2854
|
+
if (!this.isFocused) {
|
|
2855
|
+
this.ngZone.run(() => {
|
|
2856
|
+
this.onFocus.emit();
|
|
2857
|
+
this.isFocused = true;
|
|
2858
|
+
this.isFocusedChange.emit(this.isFocused);
|
|
2859
|
+
});
|
|
2860
|
+
}
|
|
2861
|
+
}));
|
|
2862
|
+
this.subscriptions.add(this.renderer.listen(hostElement, 'focusout', (args) => {
|
|
2863
|
+
if (!this.isFocused) {
|
|
2864
|
+
return;
|
|
2865
|
+
}
|
|
2866
|
+
if (tabbing) {
|
|
2867
|
+
const closestTextbox = closest$1(args.relatedTarget, (element) => element === hostElement);
|
|
2868
|
+
if (!closestTextbox) {
|
|
2869
|
+
this.handleBlur.emit();
|
|
2870
|
+
}
|
|
2871
|
+
tabbing = false;
|
|
2872
|
+
}
|
|
2873
|
+
else {
|
|
2874
|
+
if (!cursorInsideWrapper) {
|
|
2875
|
+
this.handleBlur.emit();
|
|
2876
|
+
}
|
|
2877
|
+
}
|
|
2878
|
+
}));
|
|
2879
|
+
this.subscriptions.add(this.renderer.listen(hostElement, 'mouseenter', () => {
|
|
2880
|
+
cursorInsideWrapper = true;
|
|
2881
|
+
}));
|
|
2882
|
+
this.subscriptions.add(this.renderer.listen(hostElement, 'mouseleave', () => {
|
|
2883
|
+
cursorInsideWrapper = false;
|
|
2884
|
+
}));
|
|
2885
|
+
this.subscriptions.add(this.renderer.listen(hostElement, 'keydown', (args) => {
|
|
2886
|
+
if (args.keyCode === Keys.Tab) {
|
|
2887
|
+
tabbing = true;
|
|
2888
|
+
}
|
|
2889
|
+
else {
|
|
2890
|
+
tabbing = false;
|
|
2891
|
+
}
|
|
2892
|
+
}));
|
|
2893
|
+
});
|
|
2894
|
+
}
|
|
2895
|
+
ngOnDestroy() {
|
|
2896
|
+
this.subscriptions.unsubscribe();
|
|
2897
|
+
}
|
|
2898
|
+
}
|
|
2899
|
+
SharedDropDownEventsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SharedDropDownEventsDirective, deps: [{ token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2900
|
+
SharedDropDownEventsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: SharedDropDownEventsDirective, selector: "[kendoDropDownSharedEvents]", inputs: { hostElement: "hostElement", clearButtonClicked: "clearButtonClicked", isFocused: "isFocused" }, outputs: { isFocusedChange: "isFocusedChange", onFocus: "onFocus", handleBlur: "handleBlur" }, ngImport: i0 });
|
|
2901
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SharedDropDownEventsDirective, decorators: [{
|
|
2902
|
+
type: Directive,
|
|
2903
|
+
args: [{
|
|
2904
|
+
selector: '[kendoDropDownSharedEvents]'
|
|
2905
|
+
}]
|
|
2906
|
+
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { hostElement: [{
|
|
2907
|
+
type: Input
|
|
2908
|
+
}], clearButtonClicked: [{
|
|
2909
|
+
type: Input
|
|
2910
|
+
}], isFocused: [{
|
|
2911
|
+
type: Input
|
|
2912
|
+
}], isFocusedChange: [{
|
|
2913
|
+
type: Output
|
|
2914
|
+
}], onFocus: [{
|
|
2915
|
+
type: Output
|
|
2916
|
+
}], handleBlur: [{
|
|
2917
|
+
type: Output
|
|
2918
|
+
}] } });
|
|
2919
|
+
|
|
2832
2920
|
const NO_VALUE = "";
|
|
2833
2921
|
const DEFAULT_SIZE$5 = 'medium';
|
|
2834
2922
|
const DEFAULT_ROUNDED$5 = 'medium';
|
|
@@ -2976,6 +3064,14 @@ class AutoCompleteComponent {
|
|
|
2976
3064
|
* Fires each time the AutoComplete gets blurred.
|
|
2977
3065
|
*/
|
|
2978
3066
|
this.onBlur = new EventEmitter();
|
|
3067
|
+
/**
|
|
3068
|
+
* Fires each time the user focuses the `input` element.
|
|
3069
|
+
*/
|
|
3070
|
+
this.inputFocus = new EventEmitter();
|
|
3071
|
+
/**
|
|
3072
|
+
* Fires each time the `input` element gets blurred.
|
|
3073
|
+
*/
|
|
3074
|
+
this.inputBlur = new EventEmitter();
|
|
2979
3075
|
this.widgetClasses = true;
|
|
2980
3076
|
this.listBoxId = `k-${guid()}`;
|
|
2981
3077
|
this.optionPrefix = `k-${guid()}`;
|
|
@@ -3601,18 +3697,55 @@ class AutoCompleteComponent {
|
|
|
3601
3697
|
/**
|
|
3602
3698
|
* @hidden
|
|
3603
3699
|
*/
|
|
3604
|
-
|
|
3605
|
-
this.
|
|
3606
|
-
if (hasObservers(this.
|
|
3700
|
+
handleInputFocus() {
|
|
3701
|
+
this.handleFocus();
|
|
3702
|
+
if (hasObservers(this.inputFocus)) {
|
|
3607
3703
|
this._zone.run(() => {
|
|
3608
|
-
this.
|
|
3704
|
+
this.inputFocus.emit();
|
|
3609
3705
|
});
|
|
3610
3706
|
}
|
|
3611
3707
|
}
|
|
3708
|
+
/**
|
|
3709
|
+
* @hidden
|
|
3710
|
+
*/
|
|
3711
|
+
handleFocus() {
|
|
3712
|
+
this._zone.run(() => {
|
|
3713
|
+
if (!this.isFocused && hasObservers(this.onFocus)) {
|
|
3714
|
+
this.onFocus.emit();
|
|
3715
|
+
}
|
|
3716
|
+
this.isFocused = true;
|
|
3717
|
+
});
|
|
3718
|
+
}
|
|
3612
3719
|
/**
|
|
3613
3720
|
* @hidden
|
|
3614
3721
|
*/
|
|
3615
3722
|
handleBlur() {
|
|
3723
|
+
if (!this.isActionSheetExpanded) {
|
|
3724
|
+
this.isFocused = false;
|
|
3725
|
+
const valueHasChanged = this.value !== this.text;
|
|
3726
|
+
const runInZone = hasObservers(this.onBlur) ||
|
|
3727
|
+
hasObservers(this.close) ||
|
|
3728
|
+
isUntouched(this.wrapper) ||
|
|
3729
|
+
valueHasChanged;
|
|
3730
|
+
if (runInZone) {
|
|
3731
|
+
this._zone.run(() => {
|
|
3732
|
+
if (valueHasChanged) {
|
|
3733
|
+
this.change(this.searchbar.value);
|
|
3734
|
+
}
|
|
3735
|
+
this.onBlur.emit();
|
|
3736
|
+
this.onTouchedCallback();
|
|
3737
|
+
this.togglePopup(false);
|
|
3738
|
+
});
|
|
3739
|
+
}
|
|
3740
|
+
else {
|
|
3741
|
+
this.togglePopup(false);
|
|
3742
|
+
}
|
|
3743
|
+
}
|
|
3744
|
+
}
|
|
3745
|
+
/**
|
|
3746
|
+
* @hidden
|
|
3747
|
+
*/
|
|
3748
|
+
handleInputBlur() {
|
|
3616
3749
|
var _a;
|
|
3617
3750
|
if (!this.isActionSheetExpanded) {
|
|
3618
3751
|
const focused = this.filterable ? this.selectionService.focused : -1;
|
|
@@ -3631,9 +3764,8 @@ class AutoCompleteComponent {
|
|
|
3631
3764
|
if (!exactMatch && insensitiveMatch) {
|
|
3632
3765
|
this.selectionService.resetSelection([]);
|
|
3633
3766
|
}
|
|
3634
|
-
this.isFocused = false;
|
|
3635
3767
|
const valueHasChanged = this.value !== this.text;
|
|
3636
|
-
const runInZone = hasObservers(this.
|
|
3768
|
+
const runInZone = hasObservers(this.inputBlur) ||
|
|
3637
3769
|
hasObservers(this.close) ||
|
|
3638
3770
|
isUntouched(this.wrapper) ||
|
|
3639
3771
|
valueHasChanged ||
|
|
@@ -3643,7 +3775,7 @@ class AutoCompleteComponent {
|
|
|
3643
3775
|
if (valueHasChanged) {
|
|
3644
3776
|
this.change(this.searchbar.value);
|
|
3645
3777
|
}
|
|
3646
|
-
this.
|
|
3778
|
+
this.inputBlur.emit();
|
|
3647
3779
|
this.onTouchedCallback();
|
|
3648
3780
|
this.togglePopup(false);
|
|
3649
3781
|
});
|
|
@@ -3867,7 +3999,7 @@ class AutoCompleteComponent {
|
|
|
3867
3999
|
}
|
|
3868
4000
|
}
|
|
3869
4001
|
AutoCompleteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AutoCompleteComponent, deps: [{ token: i1.LocalizationService }, { token: DataService }, { token: i2$1.PopupService }, { token: SelectionService }, { token: NavigationService }, { token: DisabledItemsService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: TOUCH_ENABLED, optional: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
3870
|
-
AutoCompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", 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" }, outputs: { valueChange: "valueChange", filterChange: "filterChange", open: "open", opened: "opened", close: "close", closed: "closed", onFocus: "focus", onBlur: "blur" }, host: { properties: { "class.k-autocomplete": "this.widgetClasses", "class.k-input": "this.widgetClasses", "class.k-disabled": "this.isDisabled", "class.k-loading": "this.isLoading", "attr.dir": "this.dir" } }, providers: [
|
|
4002
|
+
AutoCompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", 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" }, 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-autocomplete": "this.widgetClasses", "class.k-input": "this.widgetClasses", "class.k-disabled": "this.isDisabled", "class.k-loading": "this.isLoading", "attr.dir": "this.dir" } }, providers: [
|
|
3871
4003
|
AUTOCOMPLETE_VALUE_ACCESSOR,
|
|
3872
4004
|
DataService,
|
|
3873
4005
|
SelectionService,
|
|
@@ -3886,7 +4018,7 @@ AutoCompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
3886
4018
|
provide: KendoInput,
|
|
3887
4019
|
useExisting: forwardRef(() => AutoCompleteComponent)
|
|
3888
4020
|
}
|
|
3889
|
-
], queries: [{ propertyName: "template", first: true, predicate: ItemTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "noDataTemplate", first: true, predicate: NoDataTemplateDirective, descendants: true }, { propertyName: "groupTemplate", first: true, predicate: GroupTemplateDirective, descendants: true }, { propertyName: "fixedGroupTemplate", first: true, predicate: FixedGroupTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "responsiveRendererComponent", first: true, predicate: ResponsiveRendererComponent, descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "searchbar", first: true, predicate: SearchBarComponent, descendants: true, static: true }, { propertyName: "optionsList", first: true, predicate: ["optionsList"], descendants: true }], exportAs: ["kendoAutoComplete"], usesOnChanges: true, ngImport: i0, template: `
|
|
4021
|
+
], queries: [{ propertyName: "template", first: true, predicate: ItemTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "noDataTemplate", first: true, predicate: NoDataTemplateDirective, descendants: true }, { propertyName: "groupTemplate", first: true, predicate: GroupTemplateDirective, descendants: true }, { propertyName: "fixedGroupTemplate", first: true, predicate: FixedGroupTemplateDirective, descendants: true }, { propertyName: "suffixTemplate", first: true, predicate: SuffixTemplateDirective, descendants: true }, { propertyName: "prefixTemplate", first: true, predicate: PrefixTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "responsiveRendererComponent", first: true, predicate: ResponsiveRendererComponent, descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "searchbar", first: true, predicate: SearchBarComponent, descendants: true, static: true }, { propertyName: "optionsList", first: true, predicate: ["optionsList"], descendants: true }], exportAs: ["kendoAutoComplete"], usesOnChanges: true, ngImport: i0, template: `
|
|
3890
4022
|
<ng-container kendoAutoCompleteLocalizedMessages
|
|
3891
4023
|
i18n-noDataText="kendo.autocomplete.noDataText|The text displayed in the popup when there are no items"
|
|
3892
4024
|
noDataText="NO DATA FOUND"
|
|
@@ -3898,44 +4030,64 @@ AutoCompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
3898
4030
|
popupLabel="Options list"
|
|
3899
4031
|
>
|
|
3900
4032
|
</ng-container>
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
[
|
|
3905
|
-
[
|
|
3906
|
-
|
|
3907
|
-
[ariaControls]="ariaControls"
|
|
3908
|
-
[id]="focusableId"
|
|
3909
|
-
[activeDescendant]="activeDescendant"
|
|
3910
|
-
[userInput]="text"
|
|
3911
|
-
[suggestedText]="suggestion"
|
|
3912
|
-
[disabled]="disabled"
|
|
3913
|
-
[readonly]="readonly || this.isAdaptive"
|
|
3914
|
-
[tabIndex]="tabIndex"
|
|
3915
|
-
[placeholder]="placeholder"
|
|
3916
|
-
(onNavigate)="handleNavigate($event)"
|
|
3917
|
-
(valueChange)="searchBarChange($event)"
|
|
3918
|
-
(onBlur)="handleBlur()"
|
|
4033
|
+
|
|
4034
|
+
<ng-container
|
|
4035
|
+
kendoDropDownSharedEvents
|
|
4036
|
+
[hostElement]="hostElement"
|
|
4037
|
+
[(isFocused)]="isFocused"
|
|
4038
|
+
(handleBlur)="handleBlur()"
|
|
3919
4039
|
(onFocus)="handleFocus()"
|
|
3920
|
-
(click)="handleClick()"
|
|
3921
|
-
></kendo-searchbar>
|
|
3922
|
-
<span
|
|
3923
|
-
*ngIf="!loading && !readonly && (clearButton && text?.length)"
|
|
3924
|
-
class="k-clear-value"
|
|
3925
|
-
[style.visibility]="clearButtonVisiblity"
|
|
3926
|
-
[attr.title]="messageFor('clearTitle')"
|
|
3927
|
-
role="button"
|
|
3928
|
-
tabindex="-1"
|
|
3929
|
-
(click)="clearValue($event)"
|
|
3930
|
-
(mousedown)="$event.preventDefault()"
|
|
3931
4040
|
>
|
|
3932
|
-
<
|
|
3933
|
-
|
|
3934
|
-
|
|
4041
|
+
<span *ngIf="prefixTemplate" class="k-input-prefix k-input-prefix-horizontal">
|
|
4042
|
+
<ng-template [ngTemplateOutlet]="prefixTemplate?.templateRef">
|
|
4043
|
+
</ng-template>
|
|
4044
|
+
</span>
|
|
4045
|
+
<kendo-separator *ngIf="prefixTemplate && prefixTemplate.showSeparator"></kendo-separator>
|
|
4046
|
+
<kendo-searchbar #searchbar
|
|
4047
|
+
[role]="'combobox'"
|
|
4048
|
+
[ariaExpanded]="isOpen"
|
|
4049
|
+
[isSuggestable]="suggest"
|
|
4050
|
+
[isFilterable]="filterable"
|
|
4051
|
+
[isLoading]="isLoading"
|
|
4052
|
+
[ariaControls]="ariaControls"
|
|
4053
|
+
[id]="focusableId"
|
|
4054
|
+
[activeDescendant]="activeDescendant"
|
|
4055
|
+
[userInput]="text"
|
|
4056
|
+
[suggestedText]="suggestion"
|
|
4057
|
+
[disabled]="disabled"
|
|
4058
|
+
[readonly]="readonly || this.isAdaptive"
|
|
4059
|
+
[tabIndex]="tabIndex"
|
|
4060
|
+
[placeholder]="placeholder"
|
|
4061
|
+
(onNavigate)="handleNavigate($event)"
|
|
4062
|
+
(valueChange)="searchBarChange($event)"
|
|
4063
|
+
(onBlur)="handleInputBlur()"
|
|
4064
|
+
(onFocus)="handleInputFocus()"
|
|
4065
|
+
(click)="handleClick()"
|
|
4066
|
+
></kendo-searchbar>
|
|
4067
|
+
<span
|
|
4068
|
+
*ngIf="!loading && !readonly && (clearButton && text?.length)"
|
|
4069
|
+
class="k-clear-value"
|
|
4070
|
+
[style.visibility]="clearButtonVisiblity"
|
|
4071
|
+
[attr.title]="messageFor('clearTitle')"
|
|
4072
|
+
role="button"
|
|
4073
|
+
tabindex="-1"
|
|
4074
|
+
(click)="clearValue($event)"
|
|
4075
|
+
(mousedown)="$event.preventDefault()"
|
|
3935
4076
|
>
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
4077
|
+
<kendo-icon-wrapper
|
|
4078
|
+
name="x"
|
|
4079
|
+
[svgIcon]="xIcon"
|
|
4080
|
+
>
|
|
4081
|
+
</kendo-icon-wrapper>
|
|
4082
|
+
</span>
|
|
4083
|
+
<span *ngIf="loading" class="k-icon k-i-loading k-input-loading-icon"></span>
|
|
4084
|
+
<kendo-separator *ngIf="suffixTemplate && suffixTemplate.showSeparator"></kendo-separator>
|
|
4085
|
+
<span *ngIf="suffixTemplate" class="k-input-suffix k-input-suffix-horizontal">
|
|
4086
|
+
<ng-template [ngTemplateOutlet]="suffixTemplate?.templateRef">
|
|
4087
|
+
</ng-template>
|
|
4088
|
+
</span>
|
|
4089
|
+
</ng-container>
|
|
4090
|
+
|
|
3939
4091
|
<ng-template #popupTemplate>
|
|
3940
4092
|
<ng-container *ngTemplateOutlet="sharedPopupActionSheetTemplate"></ng-container>
|
|
3941
4093
|
</ng-template>
|
|
@@ -4001,7 +4153,7 @@ AutoCompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
4001
4153
|
}">
|
|
4002
4154
|
</ng-template>
|
|
4003
4155
|
</ng-template>
|
|
4004
|
-
`, isInline: true, components: [{ type: SearchBarComponent, selector: "kendo-searchbar", inputs: ["id", "tagListId", "activeDescendant", "disabled", "readonly", "tabIndex", "role", "isLoading", "ariaControls", "ariaExpanded", "isSuggestable", "isFilterable", "userInput", "suggestedText", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { type:
|
|
4156
|
+
`, isInline: true, components: [{ type: i7.SeparatorComponent, selector: "kendo-separator", inputs: ["orientation"] }, { type: SearchBarComponent, selector: "kendo-searchbar", inputs: ["id", "tagListId", "activeDescendant", "disabled", "readonly", "tabIndex", "role", "isLoading", "ariaControls", "ariaExpanded", "isSuggestable", "isFilterable", "userInput", "suggestedText", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { type: i9.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { type: i7.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: ResponsiveRendererComponent, selector: "responsive-renderer", inputs: ["title", "showActionButtons", "subtitle", "size", "showTextInput", "sharedPopupActionSheetTemplate", "isActionSheetExpanded", "text", "placeholder"], outputs: ["closePopup", "textInputChange", "navigate", "onExpand", "onCollapse", "onApply", "onCancel"] }, { 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"] }], directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: SharedDropDownEventsDirective, selector: "[kendoDropDownSharedEvents]", inputs: ["hostElement", "clearButtonClicked", "isFocused"], outputs: ["isFocusedChange", "onFocus", "handleBlur"] }, { type: i14.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i14.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }] });
|
|
4005
4157
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AutoCompleteComponent, decorators: [{
|
|
4006
4158
|
type: Component,
|
|
4007
4159
|
args: [{
|
|
@@ -4039,44 +4191,64 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
4039
4191
|
popupLabel="Options list"
|
|
4040
4192
|
>
|
|
4041
4193
|
</ng-container>
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
[
|
|
4046
|
-
[
|
|
4047
|
-
|
|
4048
|
-
[ariaControls]="ariaControls"
|
|
4049
|
-
[id]="focusableId"
|
|
4050
|
-
[activeDescendant]="activeDescendant"
|
|
4051
|
-
[userInput]="text"
|
|
4052
|
-
[suggestedText]="suggestion"
|
|
4053
|
-
[disabled]="disabled"
|
|
4054
|
-
[readonly]="readonly || this.isAdaptive"
|
|
4055
|
-
[tabIndex]="tabIndex"
|
|
4056
|
-
[placeholder]="placeholder"
|
|
4057
|
-
(onNavigate)="handleNavigate($event)"
|
|
4058
|
-
(valueChange)="searchBarChange($event)"
|
|
4059
|
-
(onBlur)="handleBlur()"
|
|
4194
|
+
|
|
4195
|
+
<ng-container
|
|
4196
|
+
kendoDropDownSharedEvents
|
|
4197
|
+
[hostElement]="hostElement"
|
|
4198
|
+
[(isFocused)]="isFocused"
|
|
4199
|
+
(handleBlur)="handleBlur()"
|
|
4060
4200
|
(onFocus)="handleFocus()"
|
|
4061
|
-
(click)="handleClick()"
|
|
4062
|
-
></kendo-searchbar>
|
|
4063
|
-
<span
|
|
4064
|
-
*ngIf="!loading && !readonly && (clearButton && text?.length)"
|
|
4065
|
-
class="k-clear-value"
|
|
4066
|
-
[style.visibility]="clearButtonVisiblity"
|
|
4067
|
-
[attr.title]="messageFor('clearTitle')"
|
|
4068
|
-
role="button"
|
|
4069
|
-
tabindex="-1"
|
|
4070
|
-
(click)="clearValue($event)"
|
|
4071
|
-
(mousedown)="$event.preventDefault()"
|
|
4072
4201
|
>
|
|
4073
|
-
<
|
|
4074
|
-
|
|
4075
|
-
|
|
4202
|
+
<span *ngIf="prefixTemplate" class="k-input-prefix k-input-prefix-horizontal">
|
|
4203
|
+
<ng-template [ngTemplateOutlet]="prefixTemplate?.templateRef">
|
|
4204
|
+
</ng-template>
|
|
4205
|
+
</span>
|
|
4206
|
+
<kendo-separator *ngIf="prefixTemplate && prefixTemplate.showSeparator"></kendo-separator>
|
|
4207
|
+
<kendo-searchbar #searchbar
|
|
4208
|
+
[role]="'combobox'"
|
|
4209
|
+
[ariaExpanded]="isOpen"
|
|
4210
|
+
[isSuggestable]="suggest"
|
|
4211
|
+
[isFilterable]="filterable"
|
|
4212
|
+
[isLoading]="isLoading"
|
|
4213
|
+
[ariaControls]="ariaControls"
|
|
4214
|
+
[id]="focusableId"
|
|
4215
|
+
[activeDescendant]="activeDescendant"
|
|
4216
|
+
[userInput]="text"
|
|
4217
|
+
[suggestedText]="suggestion"
|
|
4218
|
+
[disabled]="disabled"
|
|
4219
|
+
[readonly]="readonly || this.isAdaptive"
|
|
4220
|
+
[tabIndex]="tabIndex"
|
|
4221
|
+
[placeholder]="placeholder"
|
|
4222
|
+
(onNavigate)="handleNavigate($event)"
|
|
4223
|
+
(valueChange)="searchBarChange($event)"
|
|
4224
|
+
(onBlur)="handleInputBlur()"
|
|
4225
|
+
(onFocus)="handleInputFocus()"
|
|
4226
|
+
(click)="handleClick()"
|
|
4227
|
+
></kendo-searchbar>
|
|
4228
|
+
<span
|
|
4229
|
+
*ngIf="!loading && !readonly && (clearButton && text?.length)"
|
|
4230
|
+
class="k-clear-value"
|
|
4231
|
+
[style.visibility]="clearButtonVisiblity"
|
|
4232
|
+
[attr.title]="messageFor('clearTitle')"
|
|
4233
|
+
role="button"
|
|
4234
|
+
tabindex="-1"
|
|
4235
|
+
(click)="clearValue($event)"
|
|
4236
|
+
(mousedown)="$event.preventDefault()"
|
|
4076
4237
|
>
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
|
|
4238
|
+
<kendo-icon-wrapper
|
|
4239
|
+
name="x"
|
|
4240
|
+
[svgIcon]="xIcon"
|
|
4241
|
+
>
|
|
4242
|
+
</kendo-icon-wrapper>
|
|
4243
|
+
</span>
|
|
4244
|
+
<span *ngIf="loading" class="k-icon k-i-loading k-input-loading-icon"></span>
|
|
4245
|
+
<kendo-separator *ngIf="suffixTemplate && suffixTemplate.showSeparator"></kendo-separator>
|
|
4246
|
+
<span *ngIf="suffixTemplate" class="k-input-suffix k-input-suffix-horizontal">
|
|
4247
|
+
<ng-template [ngTemplateOutlet]="suffixTemplate?.templateRef">
|
|
4248
|
+
</ng-template>
|
|
4249
|
+
</span>
|
|
4250
|
+
</ng-container>
|
|
4251
|
+
|
|
4080
4252
|
<ng-template #popupTemplate>
|
|
4081
4253
|
<ng-container *ngTemplateOutlet="sharedPopupActionSheetTemplate"></ng-container>
|
|
4082
4254
|
</ng-template>
|
|
@@ -4223,6 +4395,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
4223
4395
|
}], onBlur: [{
|
|
4224
4396
|
type: Output,
|
|
4225
4397
|
args: ['blur']
|
|
4398
|
+
}], inputFocus: [{
|
|
4399
|
+
type: Output
|
|
4400
|
+
}], inputBlur: [{
|
|
4401
|
+
type: Output
|
|
4226
4402
|
}], template: [{
|
|
4227
4403
|
type: ContentChild,
|
|
4228
4404
|
args: [ItemTemplateDirective, { static: false }]
|
|
@@ -4241,6 +4417,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
4241
4417
|
}], fixedGroupTemplate: [{
|
|
4242
4418
|
type: ContentChild,
|
|
4243
4419
|
args: [FixedGroupTemplateDirective, { static: false }]
|
|
4420
|
+
}], suffixTemplate: [{
|
|
4421
|
+
type: ContentChild,
|
|
4422
|
+
args: [SuffixTemplateDirective]
|
|
4423
|
+
}], prefixTemplate: [{
|
|
4424
|
+
type: ContentChild,
|
|
4425
|
+
args: [PrefixTemplateDirective]
|
|
4244
4426
|
}], container: [{
|
|
4245
4427
|
type: ViewChild,
|
|
4246
4428
|
args: ['container', { read: ViewContainerRef, static: true }]
|
|
@@ -4357,7 +4539,7 @@ const DEFAULT_FILL_MODE$4 = 'solid';
|
|
|
4357
4539
|
* ```
|
|
4358
4540
|
*/
|
|
4359
4541
|
class ComboBoxComponent {
|
|
4360
|
-
constructor(wrapper, localization, popupService, selectionService, navigationService, disabledItemsService, dataService, zone, cdr, renderer, touchEnabled, injector) {
|
|
4542
|
+
constructor(wrapper, localization, popupService, selectionService, navigationService, disabledItemsService, dataService, zone, cdr, renderer, touchEnabled, injector, hostElement) {
|
|
4361
4543
|
this.wrapper = wrapper;
|
|
4362
4544
|
this.localization = localization;
|
|
4363
4545
|
this.popupService = popupService;
|
|
@@ -4370,6 +4552,7 @@ class ComboBoxComponent {
|
|
|
4370
4552
|
this.renderer = renderer;
|
|
4371
4553
|
this.touchEnabled = touchEnabled;
|
|
4372
4554
|
this.injector = injector;
|
|
4555
|
+
this.hostElement = hostElement;
|
|
4373
4556
|
/**
|
|
4374
4557
|
* @hidden
|
|
4375
4558
|
*/
|
|
@@ -4531,6 +4714,14 @@ class ComboBoxComponent {
|
|
|
4531
4714
|
* Fires each time the ComboBox gets blurred.
|
|
4532
4715
|
*/
|
|
4533
4716
|
this.onBlur = new EventEmitter();
|
|
4717
|
+
/**
|
|
4718
|
+
* Fires each time the user focuses the `input` element.
|
|
4719
|
+
*/
|
|
4720
|
+
this.inputFocus = new EventEmitter();
|
|
4721
|
+
/**
|
|
4722
|
+
* Fires each time the `input` element gets blurred.
|
|
4723
|
+
*/
|
|
4724
|
+
this.inputBlur = new EventEmitter();
|
|
4534
4725
|
this.widgetClasses = true;
|
|
4535
4726
|
this._isFocused = false;
|
|
4536
4727
|
/**
|
|
@@ -5431,11 +5622,21 @@ class ComboBoxComponent {
|
|
|
5431
5622
|
}
|
|
5432
5623
|
}
|
|
5433
5624
|
}
|
|
5625
|
+
/**
|
|
5626
|
+
* @hidden
|
|
5627
|
+
*/
|
|
5628
|
+
handleFocus() {
|
|
5629
|
+
this.zone.run(() => {
|
|
5630
|
+
if (!this.isFocused && hasObservers(this.onFocus)) {
|
|
5631
|
+
this.onFocus.emit();
|
|
5632
|
+
}
|
|
5633
|
+
this.isFocused = true;
|
|
5634
|
+
});
|
|
5635
|
+
}
|
|
5434
5636
|
/**
|
|
5435
5637
|
* @hidden
|
|
5436
5638
|
*/
|
|
5437
5639
|
handleBlur() {
|
|
5438
|
-
var _a;
|
|
5439
5640
|
if (!this.isActionSheetExpanded) {
|
|
5440
5641
|
this._filtering = false;
|
|
5441
5642
|
this.searchbar.input.nativeElement.scrollLeft = 0; // Firefox doesn't auto-scroll to the left on blur like other browsers
|
|
@@ -5444,6 +5645,43 @@ class ComboBoxComponent {
|
|
|
5444
5645
|
const currentText = this.searchbar.value;
|
|
5445
5646
|
const textHasChanged = currentText !== (getter(this.dataItem, this.textField) || '');
|
|
5446
5647
|
const valueHasChanged = unresolvedSelection || textHasChanged;
|
|
5648
|
+
const runInZone = valueHasChanged ||
|
|
5649
|
+
hasObservers(this.onBlur) ||
|
|
5650
|
+
hasObservers(this.close) ||
|
|
5651
|
+
isUntouched(this.wrapper.nativeElement);
|
|
5652
|
+
if (runInZone) {
|
|
5653
|
+
this.zone.run(() => {
|
|
5654
|
+
if (valueHasChanged) {
|
|
5655
|
+
const lowerCaseMatch = isPresent(this.focusedItemText) && this.focusedItemText.toLowerCase() === currentText.toLowerCase();
|
|
5656
|
+
if (lowerCaseMatch || unresolvedSelection) {
|
|
5657
|
+
this.selectionService.change(this.selectionService.focused);
|
|
5658
|
+
}
|
|
5659
|
+
else {
|
|
5660
|
+
this.change(currentText, true);
|
|
5661
|
+
}
|
|
5662
|
+
}
|
|
5663
|
+
this.onBlur.emit();
|
|
5664
|
+
this.onTouchedCallback();
|
|
5665
|
+
this.togglePopup(false);
|
|
5666
|
+
});
|
|
5667
|
+
}
|
|
5668
|
+
else {
|
|
5669
|
+
this.togglePopup(false);
|
|
5670
|
+
}
|
|
5671
|
+
}
|
|
5672
|
+
}
|
|
5673
|
+
/**
|
|
5674
|
+
* @hidden
|
|
5675
|
+
*/
|
|
5676
|
+
handleInputBlur() {
|
|
5677
|
+
var _a;
|
|
5678
|
+
if (!this.isActionSheetExpanded) {
|
|
5679
|
+
this._filtering = false;
|
|
5680
|
+
this.searchbar.input.nativeElement.scrollLeft = 0; // Firefox doesn't auto-scroll to the left on blur like other browsers
|
|
5681
|
+
const unresolvedSelection = getter(this.dataItem, this.valueField) !== getter(this.value, this.valueField);
|
|
5682
|
+
const currentText = this.searchbar.value;
|
|
5683
|
+
const textHasChanged = currentText !== (getter(this.dataItem, this.textField) || '');
|
|
5684
|
+
const valueHasChanged = unresolvedSelection || textHasChanged;
|
|
5447
5685
|
const runInZone = valueHasChanged ||
|
|
5448
5686
|
hasObservers(this.onBlur) ||
|
|
5449
5687
|
hasObservers(this.close) ||
|
|
@@ -5460,7 +5698,7 @@ class ComboBoxComponent {
|
|
|
5460
5698
|
this.change(currentText, true);
|
|
5461
5699
|
}
|
|
5462
5700
|
}
|
|
5463
|
-
this.
|
|
5701
|
+
this.inputBlur.emit();
|
|
5464
5702
|
this.onTouchedCallback();
|
|
5465
5703
|
this.togglePopup(false);
|
|
5466
5704
|
});
|
|
@@ -5511,10 +5749,10 @@ class ComboBoxComponent {
|
|
|
5511
5749
|
/**
|
|
5512
5750
|
* @hidden
|
|
5513
5751
|
*/
|
|
5514
|
-
|
|
5515
|
-
this.
|
|
5516
|
-
if (hasObservers(this.
|
|
5517
|
-
this.zone.run(() => this.
|
|
5752
|
+
handleInputFocus() {
|
|
5753
|
+
this.handleFocus();
|
|
5754
|
+
if (hasObservers(this.inputFocus)) {
|
|
5755
|
+
this.zone.run(() => this.inputFocus.emit());
|
|
5518
5756
|
}
|
|
5519
5757
|
}
|
|
5520
5758
|
/**
|
|
@@ -5546,6 +5784,7 @@ class ComboBoxComponent {
|
|
|
5546
5784
|
selectClick() {
|
|
5547
5785
|
if (!this.touchEnabled) {
|
|
5548
5786
|
this.searchbar.focus();
|
|
5787
|
+
this.isFocused = true;
|
|
5549
5788
|
}
|
|
5550
5789
|
if (!this.isOpen) {
|
|
5551
5790
|
this.restoreItemFocus();
|
|
@@ -5747,8 +5986,8 @@ class ComboBoxComponent {
|
|
|
5747
5986
|
this.actionSheetSearchBar.focus();
|
|
5748
5987
|
}
|
|
5749
5988
|
}
|
|
5750
|
-
ComboBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ComboBoxComponent, deps: [{ token: i0.ElementRef }, { token: i1.LocalizationService }, { token: i2$1.PopupService }, { token: SelectionService }, { token: NavigationService }, { token: DisabledItemsService }, { token: DataService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: TOUCH_ENABLED, optional: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
5751
|
-
ComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: ComboBoxComponent, selector: "kendo-combobox", inputs: { icon: "icon", svgIcon: "svgIcon", 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" }, host: { properties: { "class.k-combobox": "this.widgetClasses", "class.k-input": "this.widgetClasses", "class.k-disabled": "this.isDisabled", "class.k-loading": "this.isLoading", "attr.dir": "this.dir" } }, providers: [
|
|
5989
|
+
ComboBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ComboBoxComponent, deps: [{ token: i0.ElementRef }, { token: i1.LocalizationService }, { token: i2$1.PopupService }, { token: SelectionService }, { token: NavigationService }, { token: DisabledItemsService }, { token: DataService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: TOUCH_ENABLED, optional: true }, { token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5990
|
+
ComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: ComboBoxComponent, selector: "kendo-combobox", inputs: { icon: "icon", svgIcon: "svgIcon", 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" }, host: { properties: { "class.k-combobox": "this.widgetClasses", "class.k-input": "this.widgetClasses", "class.k-disabled": "this.isDisabled", "class.k-loading": "this.isLoading", "attr.dir": "this.dir" } }, providers: [
|
|
5752
5991
|
COMBOBOX_VALUE_ACCESSOR,
|
|
5753
5992
|
DataService,
|
|
5754
5993
|
SelectionService,
|
|
@@ -5765,7 +6004,7 @@ ComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
5765
6004
|
{
|
|
5766
6005
|
provide: KendoInput, useExisting: forwardRef(() => ComboBoxComponent)
|
|
5767
6006
|
}
|
|
5768
|
-
], queries: [{ propertyName: "template", first: true, predicate: ItemTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "noDataTemplate", first: true, predicate: NoDataTemplateDirective, descendants: true }, { propertyName: "groupTemplate", first: true, predicate: GroupTemplateDirective, descendants: true }, { propertyName: "fixedGroupTemplate", first: true, predicate: FixedGroupTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "responsiveRendererComponent", first: true, predicate: ResponsiveRendererComponent, descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "searchbar", first: true, predicate: SearchBarComponent, descendants: true, static: true }, { propertyName: "optionsList", first: true, predicate: ["optionsList"], descendants: true }, { propertyName: "select", first: true, predicate: ["select"], descendants: true, static: true }], exportAs: ["kendoComboBox"], usesOnChanges: true, ngImport: i0, template: `
|
|
6007
|
+
], queries: [{ propertyName: "template", first: true, predicate: ItemTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "noDataTemplate", first: true, predicate: NoDataTemplateDirective, descendants: true }, { propertyName: "groupTemplate", first: true, predicate: GroupTemplateDirective, descendants: true }, { propertyName: "fixedGroupTemplate", first: true, predicate: FixedGroupTemplateDirective, descendants: true }, { propertyName: "suffixTemplate", first: true, predicate: SuffixTemplateDirective, descendants: true }, { propertyName: "prefixTemplate", first: true, predicate: PrefixTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "responsiveRendererComponent", first: true, predicate: ResponsiveRendererComponent, descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "searchbar", first: true, predicate: SearchBarComponent, descendants: true, static: true }, { propertyName: "optionsList", first: true, predicate: ["optionsList"], descendants: true }, { propertyName: "select", first: true, predicate: ["select"], descendants: true, static: true }], exportAs: ["kendoComboBox"], usesOnChanges: true, ngImport: i0, template: `
|
|
5769
6008
|
<ng-container kendoComboBoxLocalizedMessages
|
|
5770
6009
|
i18n-noDataText="kendo.combobox.noDataText|The text displayed in the popup when there are no items"
|
|
5771
6010
|
noDataText="NO DATA FOUND"
|
|
@@ -5780,64 +6019,84 @@ ComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
5780
6019
|
popupLabel="Options list"
|
|
5781
6020
|
>
|
|
5782
6021
|
</ng-container>
|
|
5783
|
-
|
|
5784
|
-
|
|
5785
|
-
|
|
5786
|
-
[
|
|
5787
|
-
[
|
|
5788
|
-
|
|
5789
|
-
[isSuggestable]="suggest"
|
|
5790
|
-
[isFilterable]="filterable"
|
|
5791
|
-
[activeDescendant]="activeDescendant"
|
|
5792
|
-
[userInput]="text"
|
|
5793
|
-
[suggestedText]="getSuggestion()"
|
|
5794
|
-
[disabled]="disabled"
|
|
5795
|
-
[readonly]="readonly || isAdaptive"
|
|
5796
|
-
[tabIndex]="tabIndex"
|
|
5797
|
-
[placeholder]="placeholder"
|
|
5798
|
-
(onNavigate)="handleNavigate($event)"
|
|
5799
|
-
(valueChange)="searchBarChange($event)"
|
|
5800
|
-
(onBlur)="handleBlur()"
|
|
6022
|
+
|
|
6023
|
+
<ng-container
|
|
6024
|
+
kendoDropDownSharedEvents
|
|
6025
|
+
[hostElement]="hostElement"
|
|
6026
|
+
[(isFocused)]="isFocused"
|
|
6027
|
+
(handleBlur)="handleBlur()"
|
|
5801
6028
|
(onFocus)="handleFocus()"
|
|
5802
|
-
(click)="handleClick()"
|
|
5803
|
-
></kendo-searchbar>
|
|
5804
|
-
<span
|
|
5805
|
-
*ngIf="clearButton && !loading && !disabled && !readonly && text?.length"
|
|
5806
|
-
class="k-clear-value"
|
|
5807
|
-
[style.visibility]="clearButtonVisiblity"
|
|
5808
|
-
aria-hidden="true"
|
|
5809
|
-
[attr.title]="messageFor('clearTitle')"
|
|
5810
|
-
(click)="clearValue($event)"
|
|
5811
|
-
[kendoEventsOutsideAngular]="{
|
|
5812
|
-
mousedown: preventEventDefault
|
|
5813
|
-
}"
|
|
5814
6029
|
>
|
|
5815
|
-
<
|
|
5816
|
-
|
|
5817
|
-
|
|
6030
|
+
<span *ngIf="prefixTemplate" class="k-input-prefix k-input-prefix-horizontal">
|
|
6031
|
+
<ng-template [ngTemplateOutlet]="prefixTemplate?.templateRef">
|
|
6032
|
+
</ng-template>
|
|
6033
|
+
</span>
|
|
6034
|
+
<kendo-separator *ngIf="prefixTemplate && prefixTemplate.showSeparator"></kendo-separator>
|
|
6035
|
+
<kendo-searchbar #searchbar
|
|
6036
|
+
[role]="'combobox'"
|
|
6037
|
+
[ariaExpanded]="isOpen"
|
|
6038
|
+
[ariaControls]="ariaControls"
|
|
6039
|
+
[id]="focusableId"
|
|
6040
|
+
[isLoading]="loading"
|
|
6041
|
+
[isSuggestable]="suggest"
|
|
6042
|
+
[isFilterable]="filterable"
|
|
6043
|
+
[activeDescendant]="activeDescendant"
|
|
6044
|
+
[userInput]="text"
|
|
6045
|
+
[suggestedText]="getSuggestion()"
|
|
6046
|
+
[disabled]="disabled"
|
|
6047
|
+
[readonly]="readonly || isAdaptive"
|
|
6048
|
+
[tabIndex]="tabIndex"
|
|
6049
|
+
[placeholder]="placeholder"
|
|
6050
|
+
(onNavigate)="handleNavigate($event)"
|
|
6051
|
+
(valueChange)="searchBarChange($event)"
|
|
6052
|
+
(onBlur)="handleInputBlur()"
|
|
6053
|
+
(onFocus)="handleInputFocus()"
|
|
6054
|
+
(click)="handleClick()"
|
|
6055
|
+
></kendo-searchbar>
|
|
6056
|
+
<span
|
|
6057
|
+
*ngIf="clearButton && !loading && !disabled && !readonly && text?.length"
|
|
6058
|
+
class="k-clear-value"
|
|
6059
|
+
[style.visibility]="clearButtonVisiblity"
|
|
6060
|
+
aria-hidden="true"
|
|
6061
|
+
[attr.title]="messageFor('clearTitle')"
|
|
6062
|
+
(click)="clearValue($event)"
|
|
6063
|
+
[kendoEventsOutsideAngular]="{
|
|
6064
|
+
mousedown: preventEventDefault
|
|
6065
|
+
}"
|
|
5818
6066
|
>
|
|
5819
|
-
|
|
5820
|
-
|
|
5821
|
-
|
|
5822
|
-
|
|
5823
|
-
|
|
5824
|
-
|
|
5825
|
-
|
|
5826
|
-
|
|
5827
|
-
class="k-input-
|
|
5828
|
-
|
|
5829
|
-
|
|
5830
|
-
|
|
5831
|
-
|
|
5832
|
-
|
|
5833
|
-
|
|
5834
|
-
|
|
5835
|
-
|
|
5836
|
-
|
|
5837
|
-
[
|
|
6067
|
+
<kendo-icon-wrapper
|
|
6068
|
+
name="x"
|
|
6069
|
+
[svgIcon]="xIcon"
|
|
6070
|
+
>
|
|
6071
|
+
</kendo-icon-wrapper>
|
|
6072
|
+
</span>
|
|
6073
|
+
<span *ngIf="loading" class="k-i-loading k-input-loading-icon k-icon"></span>
|
|
6074
|
+
<kendo-separator *ngIf="suffixTemplate && suffixTemplate.showSeparator"></kendo-separator>
|
|
6075
|
+
<span *ngIf="suffixTemplate" class="k-input-suffix k-input-suffix-horizontal">
|
|
6076
|
+
<ng-template [ngTemplateOutlet]="suffixTemplate?.templateRef">
|
|
6077
|
+
</ng-template>
|
|
6078
|
+
</span>
|
|
6079
|
+
<button
|
|
6080
|
+
#select
|
|
6081
|
+
tabindex="-1"
|
|
6082
|
+
unselectable="on"
|
|
6083
|
+
type="button"
|
|
6084
|
+
class="k-input-button k-button k-icon-button"
|
|
6085
|
+
[ngClass]="selectButtonClasses"
|
|
6086
|
+
[attr.aria-label]="messageFor('selectButtonText')"
|
|
6087
|
+
[kendoEventsOutsideAngular]="{
|
|
6088
|
+
mousedown: preventEventDefault
|
|
6089
|
+
}"
|
|
5838
6090
|
>
|
|
5839
|
-
|
|
5840
|
-
|
|
6091
|
+
<kendo-icon-wrapper
|
|
6092
|
+
[name]="icon || 'caret-alt-down'"
|
|
6093
|
+
innerCssClass="k-button-icon"
|
|
6094
|
+
[svgIcon]="svgIcon || caretAltDownIcon"
|
|
6095
|
+
>
|
|
6096
|
+
</kendo-icon-wrapper>
|
|
6097
|
+
</button>
|
|
6098
|
+
</ng-container>
|
|
6099
|
+
|
|
5841
6100
|
<ng-template #popupTemplate>
|
|
5842
6101
|
<ng-container *ngTemplateOutlet="sharedPopupActionSheetTemplate"></ng-container>
|
|
5843
6102
|
</ng-template>
|
|
@@ -5902,7 +6161,7 @@ ComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
5902
6161
|
}">
|
|
5903
6162
|
</ng-template>
|
|
5904
6163
|
</ng-template>
|
|
5905
|
-
`, isInline: true, components: [{ type: SearchBarComponent, selector: "kendo-searchbar", inputs: ["id", "tagListId", "activeDescendant", "disabled", "readonly", "tabIndex", "role", "isLoading", "ariaControls", "ariaExpanded", "isSuggestable", "isFilterable", "userInput", "suggestedText", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { type:
|
|
6164
|
+
`, isInline: true, components: [{ type: i7.SeparatorComponent, selector: "kendo-separator", inputs: ["orientation"] }, { type: SearchBarComponent, selector: "kendo-searchbar", inputs: ["id", "tagListId", "activeDescendant", "disabled", "readonly", "tabIndex", "role", "isLoading", "ariaControls", "ariaExpanded", "isSuggestable", "isFilterable", "userInput", "suggestedText", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { type: i9.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { type: i7.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: ResponsiveRendererComponent, selector: "responsive-renderer", inputs: ["title", "showActionButtons", "subtitle", "size", "showTextInput", "sharedPopupActionSheetTemplate", "isActionSheetExpanded", "text", "placeholder"], outputs: ["closePopup", "textInputChange", "navigate", "onExpand", "onCollapse", "onApply", "onCancel"] }, { 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"] }], directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: SharedDropDownEventsDirective, selector: "[kendoDropDownSharedEvents]", inputs: ["hostElement", "clearButtonClicked", "isFocused"], outputs: ["isFocusedChange", "onFocus", "handleBlur"] }, { type: i14.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i14.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i7.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i14.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }] });
|
|
5906
6165
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ComboBoxComponent, decorators: [{
|
|
5907
6166
|
type: Component,
|
|
5908
6167
|
args: [{
|
|
@@ -5941,64 +6200,84 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
5941
6200
|
popupLabel="Options list"
|
|
5942
6201
|
>
|
|
5943
6202
|
</ng-container>
|
|
5944
|
-
|
|
5945
|
-
|
|
5946
|
-
|
|
5947
|
-
[
|
|
5948
|
-
[
|
|
5949
|
-
|
|
5950
|
-
[isSuggestable]="suggest"
|
|
5951
|
-
[isFilterable]="filterable"
|
|
5952
|
-
[activeDescendant]="activeDescendant"
|
|
5953
|
-
[userInput]="text"
|
|
5954
|
-
[suggestedText]="getSuggestion()"
|
|
5955
|
-
[disabled]="disabled"
|
|
5956
|
-
[readonly]="readonly || isAdaptive"
|
|
5957
|
-
[tabIndex]="tabIndex"
|
|
5958
|
-
[placeholder]="placeholder"
|
|
5959
|
-
(onNavigate)="handleNavigate($event)"
|
|
5960
|
-
(valueChange)="searchBarChange($event)"
|
|
5961
|
-
(onBlur)="handleBlur()"
|
|
6203
|
+
|
|
6204
|
+
<ng-container
|
|
6205
|
+
kendoDropDownSharedEvents
|
|
6206
|
+
[hostElement]="hostElement"
|
|
6207
|
+
[(isFocused)]="isFocused"
|
|
6208
|
+
(handleBlur)="handleBlur()"
|
|
5962
6209
|
(onFocus)="handleFocus()"
|
|
5963
|
-
(click)="handleClick()"
|
|
5964
|
-
></kendo-searchbar>
|
|
5965
|
-
<span
|
|
5966
|
-
*ngIf="clearButton && !loading && !disabled && !readonly && text?.length"
|
|
5967
|
-
class="k-clear-value"
|
|
5968
|
-
[style.visibility]="clearButtonVisiblity"
|
|
5969
|
-
aria-hidden="true"
|
|
5970
|
-
[attr.title]="messageFor('clearTitle')"
|
|
5971
|
-
(click)="clearValue($event)"
|
|
5972
|
-
[kendoEventsOutsideAngular]="{
|
|
5973
|
-
mousedown: preventEventDefault
|
|
5974
|
-
}"
|
|
5975
6210
|
>
|
|
5976
|
-
<
|
|
5977
|
-
|
|
5978
|
-
|
|
6211
|
+
<span *ngIf="prefixTemplate" class="k-input-prefix k-input-prefix-horizontal">
|
|
6212
|
+
<ng-template [ngTemplateOutlet]="prefixTemplate?.templateRef">
|
|
6213
|
+
</ng-template>
|
|
6214
|
+
</span>
|
|
6215
|
+
<kendo-separator *ngIf="prefixTemplate && prefixTemplate.showSeparator"></kendo-separator>
|
|
6216
|
+
<kendo-searchbar #searchbar
|
|
6217
|
+
[role]="'combobox'"
|
|
6218
|
+
[ariaExpanded]="isOpen"
|
|
6219
|
+
[ariaControls]="ariaControls"
|
|
6220
|
+
[id]="focusableId"
|
|
6221
|
+
[isLoading]="loading"
|
|
6222
|
+
[isSuggestable]="suggest"
|
|
6223
|
+
[isFilterable]="filterable"
|
|
6224
|
+
[activeDescendant]="activeDescendant"
|
|
6225
|
+
[userInput]="text"
|
|
6226
|
+
[suggestedText]="getSuggestion()"
|
|
6227
|
+
[disabled]="disabled"
|
|
6228
|
+
[readonly]="readonly || isAdaptive"
|
|
6229
|
+
[tabIndex]="tabIndex"
|
|
6230
|
+
[placeholder]="placeholder"
|
|
6231
|
+
(onNavigate)="handleNavigate($event)"
|
|
6232
|
+
(valueChange)="searchBarChange($event)"
|
|
6233
|
+
(onBlur)="handleInputBlur()"
|
|
6234
|
+
(onFocus)="handleInputFocus()"
|
|
6235
|
+
(click)="handleClick()"
|
|
6236
|
+
></kendo-searchbar>
|
|
6237
|
+
<span
|
|
6238
|
+
*ngIf="clearButton && !loading && !disabled && !readonly && text?.length"
|
|
6239
|
+
class="k-clear-value"
|
|
6240
|
+
[style.visibility]="clearButtonVisiblity"
|
|
6241
|
+
aria-hidden="true"
|
|
6242
|
+
[attr.title]="messageFor('clearTitle')"
|
|
6243
|
+
(click)="clearValue($event)"
|
|
6244
|
+
[kendoEventsOutsideAngular]="{
|
|
6245
|
+
mousedown: preventEventDefault
|
|
6246
|
+
}"
|
|
5979
6247
|
>
|
|
5980
|
-
|
|
5981
|
-
|
|
5982
|
-
|
|
5983
|
-
|
|
5984
|
-
|
|
5985
|
-
|
|
5986
|
-
|
|
5987
|
-
|
|
5988
|
-
class="k-input-
|
|
5989
|
-
|
|
5990
|
-
|
|
5991
|
-
|
|
5992
|
-
|
|
5993
|
-
|
|
5994
|
-
|
|
5995
|
-
|
|
5996
|
-
|
|
5997
|
-
|
|
5998
|
-
[
|
|
6248
|
+
<kendo-icon-wrapper
|
|
6249
|
+
name="x"
|
|
6250
|
+
[svgIcon]="xIcon"
|
|
6251
|
+
>
|
|
6252
|
+
</kendo-icon-wrapper>
|
|
6253
|
+
</span>
|
|
6254
|
+
<span *ngIf="loading" class="k-i-loading k-input-loading-icon k-icon"></span>
|
|
6255
|
+
<kendo-separator *ngIf="suffixTemplate && suffixTemplate.showSeparator"></kendo-separator>
|
|
6256
|
+
<span *ngIf="suffixTemplate" class="k-input-suffix k-input-suffix-horizontal">
|
|
6257
|
+
<ng-template [ngTemplateOutlet]="suffixTemplate?.templateRef">
|
|
6258
|
+
</ng-template>
|
|
6259
|
+
</span>
|
|
6260
|
+
<button
|
|
6261
|
+
#select
|
|
6262
|
+
tabindex="-1"
|
|
6263
|
+
unselectable="on"
|
|
6264
|
+
type="button"
|
|
6265
|
+
class="k-input-button k-button k-icon-button"
|
|
6266
|
+
[ngClass]="selectButtonClasses"
|
|
6267
|
+
[attr.aria-label]="messageFor('selectButtonText')"
|
|
6268
|
+
[kendoEventsOutsideAngular]="{
|
|
6269
|
+
mousedown: preventEventDefault
|
|
6270
|
+
}"
|
|
5999
6271
|
>
|
|
6000
|
-
|
|
6001
|
-
|
|
6272
|
+
<kendo-icon-wrapper
|
|
6273
|
+
[name]="icon || 'caret-alt-down'"
|
|
6274
|
+
innerCssClass="k-button-icon"
|
|
6275
|
+
[svgIcon]="svgIcon || caretAltDownIcon"
|
|
6276
|
+
>
|
|
6277
|
+
</kendo-icon-wrapper>
|
|
6278
|
+
</button>
|
|
6279
|
+
</ng-container>
|
|
6280
|
+
|
|
6002
6281
|
<ng-template #popupTemplate>
|
|
6003
6282
|
<ng-container *ngTemplateOutlet="sharedPopupActionSheetTemplate"></ng-container>
|
|
6004
6283
|
</ng-template>
|
|
@@ -6071,7 +6350,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
6071
6350
|
}, {
|
|
6072
6351
|
type: Inject,
|
|
6073
6352
|
args: [TOUCH_ENABLED]
|
|
6074
|
-
}] }, { type: i0.Injector }];
|
|
6353
|
+
}] }, { type: i0.Injector }, { type: i0.ElementRef }];
|
|
6075
6354
|
}, propDecorators: { icon: [{
|
|
6076
6355
|
type: Input
|
|
6077
6356
|
}], svgIcon: [{
|
|
@@ -6156,6 +6435,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
6156
6435
|
}], onBlur: [{
|
|
6157
6436
|
type: Output,
|
|
6158
6437
|
args: ['blur']
|
|
6438
|
+
}], inputFocus: [{
|
|
6439
|
+
type: Output
|
|
6440
|
+
}], inputBlur: [{
|
|
6441
|
+
type: Output
|
|
6159
6442
|
}], template: [{
|
|
6160
6443
|
type: ContentChild,
|
|
6161
6444
|
args: [ItemTemplateDirective, { static: false }]
|
|
@@ -6174,6 +6457,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
6174
6457
|
}], fixedGroupTemplate: [{
|
|
6175
6458
|
type: ContentChild,
|
|
6176
6459
|
args: [FixedGroupTemplateDirective, { static: false }]
|
|
6460
|
+
}], suffixTemplate: [{
|
|
6461
|
+
type: ContentChild,
|
|
6462
|
+
args: [SuffixTemplateDirective]
|
|
6463
|
+
}], prefixTemplate: [{
|
|
6464
|
+
type: ContentChild,
|
|
6465
|
+
args: [PrefixTemplateDirective]
|
|
6177
6466
|
}], container: [{
|
|
6178
6467
|
type: ViewChild,
|
|
6179
6468
|
args: ['container', { read: ViewContainerRef, static: true }]
|
|
@@ -7811,7 +8100,7 @@ DropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
7811
8100
|
}">
|
|
7812
8101
|
</ng-template>
|
|
7813
8102
|
</ng-template>
|
|
7814
|
-
`, isInline: true, components: [{ type:
|
|
8103
|
+
`, isInline: true, components: [{ type: i9.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { type: i7.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: ResponsiveRendererComponent, selector: "responsive-renderer", inputs: ["title", "showActionButtons", "subtitle", "size", "showTextInput", "sharedPopupActionSheetTemplate", "isActionSheetExpanded", "text", "placeholder"], outputs: ["closePopup", "textInputChange", "navigate", "onExpand", "onCollapse", "onApply", "onCancel"] }, { 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"] }], directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i14.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i14.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i7.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i14.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i14$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: FilterInputDirective, selector: "[filterInput]", inputs: ["filterInput"] }, { type: i14$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i14$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: SelectableDirective, selector: "[kendoDropDownsSelectable]", inputs: ["index", "checkboxes", "height", "isMultiselect", "multipleSelection"] }] });
|
|
7815
8104
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DropDownListComponent, decorators: [{
|
|
7816
8105
|
type: Component,
|
|
7817
8106
|
args: [{
|
|
@@ -8479,7 +8768,7 @@ TagListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
8479
8768
|
</span>
|
|
8480
8769
|
</div>
|
|
8481
8770
|
<ng-content></ng-content>
|
|
8482
|
-
`, isInline: true, components: [{ type:
|
|
8771
|
+
`, isInline: true, components: [{ type: i9.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i14.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i14.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i14.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }] });
|
|
8483
8772
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TagListComponent, decorators: [{
|
|
8484
8773
|
type: Component,
|
|
8485
8774
|
args: [{
|
|
@@ -8611,7 +8900,7 @@ const DEFAULT_FILL_MODE$2 = 'solid';
|
|
|
8611
8900
|
* ```
|
|
8612
8901
|
*/
|
|
8613
8902
|
class MultiSelectComponent {
|
|
8614
|
-
constructor(wrapper, localization, popupService, dataService, selectionService, navigationService, disabledItemsService, cdr, differs, renderer, _zone, touchEnabled, injector) {
|
|
8903
|
+
constructor(wrapper, localization, popupService, dataService, selectionService, navigationService, disabledItemsService, cdr, differs, renderer, _zone, touchEnabled, injector, hostElement) {
|
|
8615
8904
|
this.wrapper = wrapper;
|
|
8616
8905
|
this.localization = localization;
|
|
8617
8906
|
this.popupService = popupService;
|
|
@@ -8625,6 +8914,7 @@ class MultiSelectComponent {
|
|
|
8625
8914
|
this._zone = _zone;
|
|
8626
8915
|
this.touchEnabled = touchEnabled;
|
|
8627
8916
|
this.injector = injector;
|
|
8917
|
+
this.hostElement = hostElement;
|
|
8628
8918
|
/**
|
|
8629
8919
|
* @hidden
|
|
8630
8920
|
*/
|
|
@@ -8801,6 +9091,14 @@ class MultiSelectComponent {
|
|
|
8801
9091
|
* Fires each time the MultiSelect gets blurred.
|
|
8802
9092
|
*/
|
|
8803
9093
|
this.onBlur = new EventEmitter();
|
|
9094
|
+
/**
|
|
9095
|
+
* Fires each time the user focuses the `input` element.
|
|
9096
|
+
*/
|
|
9097
|
+
this.inputFocus = new EventEmitter();
|
|
9098
|
+
/**
|
|
9099
|
+
* Fires each time the `input` element gets blurred.
|
|
9100
|
+
*/
|
|
9101
|
+
this.inputBlur = new EventEmitter();
|
|
8804
9102
|
/**
|
|
8805
9103
|
* Fires each time a tag is about to be removed([see examples]({% slug summarytagmode_multiselecttree %}#toc-notifying-on-removing-group-tags)).
|
|
8806
9104
|
* This event is preventable. If you cancel it, the tag will not be removed.
|
|
@@ -8887,14 +9185,12 @@ class MultiSelectComponent {
|
|
|
8887
9185
|
/**
|
|
8888
9186
|
* @hidden
|
|
8889
9187
|
*/
|
|
8890
|
-
|
|
8891
|
-
|
|
8892
|
-
|
|
8893
|
-
|
|
8894
|
-
this.
|
|
8895
|
-
|
|
8896
|
-
});
|
|
8897
|
-
}
|
|
9188
|
+
handleInputFocus() {
|
|
9189
|
+
this.handleFocus();
|
|
9190
|
+
if (hasObservers(this.inputFocus)) {
|
|
9191
|
+
this._zone.run(() => {
|
|
9192
|
+
this.inputFocus.emit();
|
|
9193
|
+
});
|
|
8898
9194
|
}
|
|
8899
9195
|
}
|
|
8900
9196
|
/**
|
|
@@ -8918,14 +9214,54 @@ class MultiSelectComponent {
|
|
|
8918
9214
|
/**
|
|
8919
9215
|
* @hidden
|
|
8920
9216
|
*/
|
|
8921
|
-
|
|
8922
|
-
|
|
9217
|
+
handleFocus() {
|
|
9218
|
+
this._zone.run(() => {
|
|
9219
|
+
if (!this.isFocused && hasObservers(this.onFocus)) {
|
|
9220
|
+
this.onFocus.emit();
|
|
9221
|
+
}
|
|
9222
|
+
this.isFocused = true;
|
|
9223
|
+
});
|
|
9224
|
+
}
|
|
9225
|
+
/**
|
|
9226
|
+
* @hidden
|
|
9227
|
+
*/
|
|
9228
|
+
handleBlur() {
|
|
8923
9229
|
if (!this.isActionSheetExpanded) {
|
|
8924
9230
|
if (!this.isFocused) {
|
|
8925
9231
|
return;
|
|
8926
9232
|
}
|
|
8927
9233
|
this.isFocused = false;
|
|
8928
9234
|
if (hasObservers(this.onBlur) ||
|
|
9235
|
+
hasObservers(this.filterChange) ||
|
|
9236
|
+
hasObservers(this.close) ||
|
|
9237
|
+
isUntouched(this.wrapper.nativeElement)) {
|
|
9238
|
+
this._zone.run(() => {
|
|
9239
|
+
this.closePopup();
|
|
9240
|
+
if (!(this.isOpen && this.allowCustom)) {
|
|
9241
|
+
this.clearFilter();
|
|
9242
|
+
}
|
|
9243
|
+
this.onBlur.emit();
|
|
9244
|
+
this.onTouchedCallback();
|
|
9245
|
+
});
|
|
9246
|
+
}
|
|
9247
|
+
else {
|
|
9248
|
+
if (!this.allowCustom) {
|
|
9249
|
+
this.clearFilter();
|
|
9250
|
+
}
|
|
9251
|
+
this.closePopup();
|
|
9252
|
+
}
|
|
9253
|
+
}
|
|
9254
|
+
}
|
|
9255
|
+
/**
|
|
9256
|
+
* @hidden
|
|
9257
|
+
*/
|
|
9258
|
+
handleInputBlur() {
|
|
9259
|
+
var _a;
|
|
9260
|
+
if (!this.isActionSheetExpanded) {
|
|
9261
|
+
if (!this.isFocused) {
|
|
9262
|
+
return;
|
|
9263
|
+
}
|
|
9264
|
+
if (hasObservers(this.inputBlur) ||
|
|
8929
9265
|
hasObservers(this.filterChange) ||
|
|
8930
9266
|
hasObservers(this.close) ||
|
|
8931
9267
|
isUntouched(this.wrapper.nativeElement) ||
|
|
@@ -8935,7 +9271,7 @@ class MultiSelectComponent {
|
|
|
8935
9271
|
if (!(this.isOpen && this.allowCustom)) {
|
|
8936
9272
|
this.clearFilter();
|
|
8937
9273
|
}
|
|
8938
|
-
this.
|
|
9274
|
+
this.inputBlur.emit();
|
|
8939
9275
|
this.onTouchedCallback();
|
|
8940
9276
|
});
|
|
8941
9277
|
}
|
|
@@ -9562,7 +9898,7 @@ class MultiSelectComponent {
|
|
|
9562
9898
|
this.windowSize = windowSize();
|
|
9563
9899
|
this.cdr.detectChanges();
|
|
9564
9900
|
this.searchbar.setInputSize();
|
|
9565
|
-
this.subs.add(this.renderer.listen(this.
|
|
9901
|
+
this.subs.add(this.renderer.listen(this.searchbar.input.nativeElement, 'mousedown', this.handleMousedown.bind(this)));
|
|
9566
9902
|
this.subs.add(this.renderer.listen(this.wrapper.nativeElement, 'keydown', this.handleKeydown.bind(this)));
|
|
9567
9903
|
if (this.actionSheet && isDocumentAvailable()) {
|
|
9568
9904
|
// The following syntax is used as it does not violate CSP compliance
|
|
@@ -10218,8 +10554,8 @@ class MultiSelectComponent {
|
|
|
10218
10554
|
this.actionSheetSearchBar.focus();
|
|
10219
10555
|
}
|
|
10220
10556
|
}
|
|
10221
|
-
MultiSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MultiSelectComponent, deps: [{ token: i0.ElementRef }, { token: i1.LocalizationService }, { token: i2$1.PopupService }, { token: DataService }, { token: SelectionService }, { token: NavigationService }, { token: DisabledItemsService }, { token: i0.ChangeDetectorRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: TOUCH_ENABLED, optional: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
10222
|
-
MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", 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" }, outputs: { filterChange: "filterChange", valueChange: "valueChange", open: "open", opened: "opened", close: "close", closed: "closed", onFocus: "focus", onBlur: "blur", removeTag: "removeTag" }, host: { properties: { "class.k-multiselect": "this.hostClasses", "class.k-input": "this.hostClasses", "attr.dir": "this.dir", "class.k-disabled": "this.disabledClass", "class.k-loading": "this.isLoading" } }, providers: [
|
|
10557
|
+
MultiSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MultiSelectComponent, deps: [{ token: i0.ElementRef }, { token: i1.LocalizationService }, { token: i2$1.PopupService }, { token: DataService }, { token: SelectionService }, { token: NavigationService }, { token: DisabledItemsService }, { token: i0.ChangeDetectorRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: TOUCH_ENABLED, optional: true }, { token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
10558
|
+
MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", 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" }, 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-multiselect": "this.hostClasses", "class.k-input": "this.hostClasses", "attr.dir": "this.dir", "class.k-disabled": "this.disabledClass", "class.k-loading": "this.isLoading" } }, providers: [
|
|
10223
10559
|
MULTISELECT_VALUE_ACCESSOR,
|
|
10224
10560
|
DataService,
|
|
10225
10561
|
SelectionService,
|
|
@@ -10236,7 +10572,7 @@ MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
10236
10572
|
{
|
|
10237
10573
|
provide: KendoInput, useExisting: forwardRef(() => MultiSelectComponent)
|
|
10238
10574
|
}
|
|
10239
|
-
], queries: [{ propertyName: "template", first: true, predicate: ItemTemplateDirective, descendants: true }, { propertyName: "customItemTemplate", first: true, predicate: CustomItemTemplateDirective, descendants: true }, { propertyName: "groupTemplate", first: true, predicate: GroupTemplateDirective, descendants: true }, { propertyName: "fixedGroupTemplate", first: true, predicate: FixedGroupTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "tagTemplate", first: true, predicate: TagTemplateDirective, descendants: true }, { propertyName: "groupTagTemplate", first: true, predicate: GroupTagTemplateDirective, descendants: true }, { propertyName: "noDataTemplate", first: true, predicate: NoDataTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "responsiveRendererComponent", first: true, predicate: ResponsiveRendererComponent, descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "searchbar", first: true, predicate: SearchBarComponent, descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "optionsList", first: true, predicate: ["optionsList"], descendants: true }], exportAs: ["kendoMultiSelect"], usesOnChanges: true, ngImport: i0, template: `
|
|
10575
|
+
], queries: [{ propertyName: "template", first: true, predicate: ItemTemplateDirective, descendants: true }, { propertyName: "customItemTemplate", first: true, predicate: CustomItemTemplateDirective, descendants: true }, { propertyName: "groupTemplate", first: true, predicate: GroupTemplateDirective, descendants: true }, { propertyName: "fixedGroupTemplate", first: true, predicate: FixedGroupTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "tagTemplate", first: true, predicate: TagTemplateDirective, descendants: true }, { propertyName: "groupTagTemplate", first: true, predicate: GroupTagTemplateDirective, descendants: true }, { propertyName: "noDataTemplate", first: true, predicate: NoDataTemplateDirective, descendants: true }, { propertyName: "suffixTemplate", first: true, predicate: SuffixTemplateDirective, descendants: true }, { propertyName: "prefixTemplate", first: true, predicate: PrefixTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "responsiveRendererComponent", first: true, predicate: ResponsiveRendererComponent, descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "searchbar", first: true, predicate: SearchBarComponent, descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "optionsList", first: true, predicate: ["optionsList"], descendants: true }], exportAs: ["kendoMultiSelect"], usesOnChanges: true, ngImport: i0, template: `
|
|
10240
10576
|
<ng-container kendoMultiSelectLocalizedMessages
|
|
10241
10577
|
i18n-noDataText="kendo.multiselect.noDataText|The text displayed in the popup when there are no items"
|
|
10242
10578
|
noDataText="NO DATA FOUND"
|
|
@@ -10254,69 +10590,89 @@ MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
10254
10590
|
cancelButton="Cancel"
|
|
10255
10591
|
>
|
|
10256
10592
|
</ng-container>
|
|
10257
|
-
|
|
10258
|
-
|
|
10259
|
-
|
|
10260
|
-
|
|
10261
|
-
|
|
10262
|
-
|
|
10263
|
-
|
|
10264
|
-
|
|
10265
|
-
|
|
10266
|
-
[
|
|
10267
|
-
|
|
10268
|
-
|
|
10269
|
-
|
|
10270
|
-
|
|
10271
|
-
|
|
10272
|
-
|
|
10593
|
+
|
|
10594
|
+
<ng-container
|
|
10595
|
+
kendoDropDownSharedEvents
|
|
10596
|
+
[hostElement]="hostElement"
|
|
10597
|
+
[(isFocused)]="isFocused"
|
|
10598
|
+
(handleBlur)="handleBlur()"
|
|
10599
|
+
(onFocus)="handleFocus()"
|
|
10600
|
+
>
|
|
10601
|
+
<span *ngIf="prefixTemplate" class="k-input-prefix k-input-prefix-horizontal">
|
|
10602
|
+
<ng-template [ngTemplateOutlet]="prefixTemplate?.templateRef">
|
|
10603
|
+
</ng-template>
|
|
10604
|
+
</span>
|
|
10605
|
+
<kendo-separator *ngIf="prefixTemplate && prefixTemplate.showSeparator"></kendo-separator>
|
|
10606
|
+
<div class="k-input-values">
|
|
10607
|
+
<kendo-taglist
|
|
10608
|
+
[size]="size"
|
|
10609
|
+
[rounded]="rounded"
|
|
10610
|
+
[fillMode]="fillMode"
|
|
10611
|
+
[id]="tagListId"
|
|
10612
|
+
[tags]="tags"
|
|
10613
|
+
[textField]="textField"
|
|
10614
|
+
[valueField]="valueField"
|
|
10615
|
+
[focused]="focusedTagIndex"
|
|
10616
|
+
[disabled]="disabled"
|
|
10617
|
+
[template]="tagTemplate"
|
|
10618
|
+
[groupTemplate]="groupTagTemplate"
|
|
10619
|
+
[tagPrefix]="tagPrefix"
|
|
10620
|
+
[disabledIndices]="disabledIndices"
|
|
10621
|
+
(removeTag)="handleRemoveTag($event)"
|
|
10622
|
+
>
|
|
10623
|
+
</kendo-taglist>
|
|
10624
|
+
<kendo-searchbar
|
|
10625
|
+
#searchbar
|
|
10626
|
+
[ariaExpanded]="isOpen"
|
|
10627
|
+
[ariaControls]="ariaControls"
|
|
10628
|
+
[id]="focusableId"
|
|
10629
|
+
[role]="'combobox'"
|
|
10630
|
+
[tagListId]="tagListId"
|
|
10631
|
+
[isLoading]="loading"
|
|
10632
|
+
[isFilterable]="filterable"
|
|
10633
|
+
[activeDescendant]="activeDescendant"
|
|
10634
|
+
[userInput]="text"
|
|
10635
|
+
[disabled]="disabled"
|
|
10636
|
+
[readonly]="readonly || this.isAdaptive"
|
|
10637
|
+
[tabIndex]="tabIndex"
|
|
10638
|
+
[placeholder]="placeholder"
|
|
10639
|
+
(onNavigate)="handleNavigate($event)"
|
|
10640
|
+
(valueChange)="handleFilter($event)"
|
|
10641
|
+
(onBlur)="handleInputBlur()"
|
|
10642
|
+
(onFocus)="handleInputFocus()"
|
|
10643
|
+
(click)="handleClick()"
|
|
10644
|
+
>
|
|
10645
|
+
</kendo-searchbar>
|
|
10646
|
+
</div>
|
|
10647
|
+
|
|
10648
|
+
<span
|
|
10649
|
+
*ngIf="!loading && !readonly && clearButton && (tags?.length || text?.length)"
|
|
10650
|
+
class="k-clear-value"
|
|
10651
|
+
[style.visibility]="clearButtonVisiblity"
|
|
10652
|
+
[attr.title]="messageFor('clearTitle')"
|
|
10653
|
+
role="button"
|
|
10654
|
+
tabindex="-1"
|
|
10655
|
+
(mousedown)="clearAll($event)"
|
|
10273
10656
|
>
|
|
10274
|
-
|
|
10275
|
-
|
|
10276
|
-
|
|
10277
|
-
|
|
10278
|
-
|
|
10279
|
-
|
|
10280
|
-
|
|
10281
|
-
|
|
10282
|
-
|
|
10283
|
-
|
|
10284
|
-
[activeDescendant]="activeDescendant"
|
|
10285
|
-
[userInput]="text"
|
|
10286
|
-
[disabled]="disabled"
|
|
10287
|
-
[readonly]="readonly || this.isAdaptive"
|
|
10288
|
-
[tabIndex]="tabIndex"
|
|
10289
|
-
[placeholder]="placeholder"
|
|
10290
|
-
(onNavigate)="handleNavigate($event)"
|
|
10291
|
-
(valueChange)="handleFilter($event)"
|
|
10292
|
-
(onBlur)="onSearchBarBlur()"
|
|
10293
|
-
(onFocus)="onSearchBarFocus()"
|
|
10294
|
-
(click)="handleClick()"
|
|
10657
|
+
<kendo-icon-wrapper
|
|
10658
|
+
class="k-icon"
|
|
10659
|
+
name="x"
|
|
10660
|
+
[svgIcon]="xIcon"
|
|
10661
|
+
>
|
|
10662
|
+
</kendo-icon-wrapper>
|
|
10663
|
+
</span>
|
|
10664
|
+
<span
|
|
10665
|
+
*ngIf="loading"
|
|
10666
|
+
class="k-icon k-i-loading k-input-loading-icon"
|
|
10295
10667
|
>
|
|
10296
|
-
</
|
|
10297
|
-
|
|
10668
|
+
</span>
|
|
10669
|
+
<kendo-separator *ngIf="suffixTemplate && suffixTemplate.showSeparator"></kendo-separator>
|
|
10670
|
+
<span *ngIf="suffixTemplate" class="k-input-suffix k-input-suffix-horizontal">
|
|
10671
|
+
<ng-template [ngTemplateOutlet]="suffixTemplate?.templateRef">
|
|
10672
|
+
</ng-template>
|
|
10673
|
+
</span>
|
|
10674
|
+
</ng-container>
|
|
10298
10675
|
|
|
10299
|
-
<span
|
|
10300
|
-
*ngIf="!loading && !readonly && clearButton && (tags?.length || text?.length)"
|
|
10301
|
-
class="k-clear-value"
|
|
10302
|
-
[style.visibility]="clearButtonVisiblity"
|
|
10303
|
-
[attr.title]="messageFor('clearTitle')"
|
|
10304
|
-
role="button"
|
|
10305
|
-
tabindex="-1"
|
|
10306
|
-
(mousedown)="clearAll($event)"
|
|
10307
|
-
>
|
|
10308
|
-
<kendo-icon-wrapper
|
|
10309
|
-
class="k-icon"
|
|
10310
|
-
name="x"
|
|
10311
|
-
[svgIcon]="xIcon"
|
|
10312
|
-
>
|
|
10313
|
-
</kendo-icon-wrapper>
|
|
10314
|
-
</span>
|
|
10315
|
-
<span
|
|
10316
|
-
*ngIf="loading"
|
|
10317
|
-
class="k-icon k-i-loading k-input-loading-icon"
|
|
10318
|
-
>
|
|
10319
|
-
</span>
|
|
10320
10676
|
<ng-template #popupTemplate>
|
|
10321
10677
|
<ng-container *ngTemplateOutlet="sharedPopupActionSheetTemplate"></ng-container>
|
|
10322
10678
|
</ng-template>
|
|
@@ -10411,7 +10767,7 @@ MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
10411
10767
|
}">
|
|
10412
10768
|
</ng-template>
|
|
10413
10769
|
</ng-template>
|
|
10414
|
-
`, isInline: true, components: [{ type: TagListComponent, selector: "kendo-taglist", inputs: ["tags", "textField", "valueField", "valueDepth", "focused", "template", "groupTemplate", "disabled", "tagPrefix", "id", "size", "rounded", "fillMode", "disabledIndices"], outputs: ["removeTag"] }, { type: SearchBarComponent, selector: "kendo-searchbar", inputs: ["id", "tagListId", "activeDescendant", "disabled", "readonly", "tabIndex", "role", "isLoading", "ariaControls", "ariaExpanded", "isSuggestable", "isFilterable", "userInput", "suggestedText", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { type:
|
|
10770
|
+
`, isInline: true, components: [{ type: i7.SeparatorComponent, selector: "kendo-separator", inputs: ["orientation"] }, { type: TagListComponent, selector: "kendo-taglist", inputs: ["tags", "textField", "valueField", "valueDepth", "focused", "template", "groupTemplate", "disabled", "tagPrefix", "id", "size", "rounded", "fillMode", "disabledIndices"], outputs: ["removeTag"] }, { type: SearchBarComponent, selector: "kendo-searchbar", inputs: ["id", "tagListId", "activeDescendant", "disabled", "readonly", "tabIndex", "role", "isLoading", "ariaControls", "ariaExpanded", "isSuggestable", "isFilterable", "userInput", "suggestedText", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { type: i9.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { type: i7.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: ResponsiveRendererComponent, selector: "responsive-renderer", inputs: ["title", "showActionButtons", "subtitle", "size", "showTextInput", "sharedPopupActionSheetTemplate", "isActionSheetExpanded", "text", "placeholder"], outputs: ["closePopup", "textInputChange", "navigate", "onExpand", "onCollapse", "onApply", "onCancel"] }, { 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"] }], directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: SharedDropDownEventsDirective, selector: "[kendoDropDownSharedEvents]", inputs: ["hostElement", "clearButtonClicked", "isFocused"], outputs: ["isFocusedChange", "onFocus", "handleBlur"] }, { type: i14.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i14.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i14.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: SelectableDirective, selector: "[kendoDropDownsSelectable]", inputs: ["index", "checkboxes", "height", "isMultiselect", "multipleSelection"] }] });
|
|
10415
10771
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MultiSelectComponent, decorators: [{
|
|
10416
10772
|
type: Component,
|
|
10417
10773
|
args: [{
|
|
@@ -10453,69 +10809,89 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
10453
10809
|
cancelButton="Cancel"
|
|
10454
10810
|
>
|
|
10455
10811
|
</ng-container>
|
|
10456
|
-
<div class="k-input-values">
|
|
10457
|
-
<kendo-taglist
|
|
10458
|
-
[size]="size"
|
|
10459
|
-
[rounded]="rounded"
|
|
10460
|
-
[fillMode]="fillMode"
|
|
10461
|
-
[id]="tagListId"
|
|
10462
|
-
[tags]="tags"
|
|
10463
|
-
[textField]="textField"
|
|
10464
|
-
[valueField]="valueField"
|
|
10465
|
-
[focused]="focusedTagIndex"
|
|
10466
|
-
[disabled]="disabled"
|
|
10467
|
-
[template]="tagTemplate"
|
|
10468
|
-
[groupTemplate]="groupTagTemplate"
|
|
10469
|
-
[tagPrefix]="tagPrefix"
|
|
10470
|
-
[disabledIndices]="disabledIndices"
|
|
10471
|
-
(removeTag)="handleRemoveTag($event)"
|
|
10472
|
-
>
|
|
10473
|
-
</kendo-taglist>
|
|
10474
|
-
<kendo-searchbar
|
|
10475
|
-
#searchbar
|
|
10476
|
-
[ariaExpanded]="isOpen"
|
|
10477
|
-
[ariaControls]="ariaControls"
|
|
10478
|
-
[id]="focusableId"
|
|
10479
|
-
[role]="'combobox'"
|
|
10480
|
-
[tagListId]="tagListId"
|
|
10481
|
-
[isLoading]="loading"
|
|
10482
|
-
[isFilterable]="filterable"
|
|
10483
|
-
[activeDescendant]="activeDescendant"
|
|
10484
|
-
[userInput]="text"
|
|
10485
|
-
[disabled]="disabled"
|
|
10486
|
-
[readonly]="readonly || this.isAdaptive"
|
|
10487
|
-
[tabIndex]="tabIndex"
|
|
10488
|
-
[placeholder]="placeholder"
|
|
10489
|
-
(onNavigate)="handleNavigate($event)"
|
|
10490
|
-
(valueChange)="handleFilter($event)"
|
|
10491
|
-
(onBlur)="onSearchBarBlur()"
|
|
10492
|
-
(onFocus)="onSearchBarFocus()"
|
|
10493
|
-
(click)="handleClick()"
|
|
10494
|
-
>
|
|
10495
|
-
</kendo-searchbar>
|
|
10496
|
-
</div>
|
|
10497
10812
|
|
|
10498
|
-
<
|
|
10499
|
-
|
|
10500
|
-
|
|
10501
|
-
[
|
|
10502
|
-
|
|
10503
|
-
|
|
10504
|
-
tabindex="-1"
|
|
10505
|
-
(mousedown)="clearAll($event)"
|
|
10813
|
+
<ng-container
|
|
10814
|
+
kendoDropDownSharedEvents
|
|
10815
|
+
[hostElement]="hostElement"
|
|
10816
|
+
[(isFocused)]="isFocused"
|
|
10817
|
+
(handleBlur)="handleBlur()"
|
|
10818
|
+
(onFocus)="handleFocus()"
|
|
10506
10819
|
>
|
|
10507
|
-
<
|
|
10508
|
-
|
|
10509
|
-
|
|
10510
|
-
|
|
10820
|
+
<span *ngIf="prefixTemplate" class="k-input-prefix k-input-prefix-horizontal">
|
|
10821
|
+
<ng-template [ngTemplateOutlet]="prefixTemplate?.templateRef">
|
|
10822
|
+
</ng-template>
|
|
10823
|
+
</span>
|
|
10824
|
+
<kendo-separator *ngIf="prefixTemplate && prefixTemplate.showSeparator"></kendo-separator>
|
|
10825
|
+
<div class="k-input-values">
|
|
10826
|
+
<kendo-taglist
|
|
10827
|
+
[size]="size"
|
|
10828
|
+
[rounded]="rounded"
|
|
10829
|
+
[fillMode]="fillMode"
|
|
10830
|
+
[id]="tagListId"
|
|
10831
|
+
[tags]="tags"
|
|
10832
|
+
[textField]="textField"
|
|
10833
|
+
[valueField]="valueField"
|
|
10834
|
+
[focused]="focusedTagIndex"
|
|
10835
|
+
[disabled]="disabled"
|
|
10836
|
+
[template]="tagTemplate"
|
|
10837
|
+
[groupTemplate]="groupTagTemplate"
|
|
10838
|
+
[tagPrefix]="tagPrefix"
|
|
10839
|
+
[disabledIndices]="disabledIndices"
|
|
10840
|
+
(removeTag)="handleRemoveTag($event)"
|
|
10841
|
+
>
|
|
10842
|
+
</kendo-taglist>
|
|
10843
|
+
<kendo-searchbar
|
|
10844
|
+
#searchbar
|
|
10845
|
+
[ariaExpanded]="isOpen"
|
|
10846
|
+
[ariaControls]="ariaControls"
|
|
10847
|
+
[id]="focusableId"
|
|
10848
|
+
[role]="'combobox'"
|
|
10849
|
+
[tagListId]="tagListId"
|
|
10850
|
+
[isLoading]="loading"
|
|
10851
|
+
[isFilterable]="filterable"
|
|
10852
|
+
[activeDescendant]="activeDescendant"
|
|
10853
|
+
[userInput]="text"
|
|
10854
|
+
[disabled]="disabled"
|
|
10855
|
+
[readonly]="readonly || this.isAdaptive"
|
|
10856
|
+
[tabIndex]="tabIndex"
|
|
10857
|
+
[placeholder]="placeholder"
|
|
10858
|
+
(onNavigate)="handleNavigate($event)"
|
|
10859
|
+
(valueChange)="handleFilter($event)"
|
|
10860
|
+
(onBlur)="handleInputBlur()"
|
|
10861
|
+
(onFocus)="handleInputFocus()"
|
|
10862
|
+
(click)="handleClick()"
|
|
10863
|
+
>
|
|
10864
|
+
</kendo-searchbar>
|
|
10865
|
+
</div>
|
|
10866
|
+
|
|
10867
|
+
<span
|
|
10868
|
+
*ngIf="!loading && !readonly && clearButton && (tags?.length || text?.length)"
|
|
10869
|
+
class="k-clear-value"
|
|
10870
|
+
[style.visibility]="clearButtonVisiblity"
|
|
10871
|
+
[attr.title]="messageFor('clearTitle')"
|
|
10872
|
+
role="button"
|
|
10873
|
+
tabindex="-1"
|
|
10874
|
+
(mousedown)="clearAll($event)"
|
|
10511
10875
|
>
|
|
10512
|
-
|
|
10513
|
-
|
|
10514
|
-
|
|
10515
|
-
|
|
10516
|
-
|
|
10517
|
-
|
|
10518
|
-
|
|
10876
|
+
<kendo-icon-wrapper
|
|
10877
|
+
class="k-icon"
|
|
10878
|
+
name="x"
|
|
10879
|
+
[svgIcon]="xIcon"
|
|
10880
|
+
>
|
|
10881
|
+
</kendo-icon-wrapper>
|
|
10882
|
+
</span>
|
|
10883
|
+
<span
|
|
10884
|
+
*ngIf="loading"
|
|
10885
|
+
class="k-icon k-i-loading k-input-loading-icon"
|
|
10886
|
+
>
|
|
10887
|
+
</span>
|
|
10888
|
+
<kendo-separator *ngIf="suffixTemplate && suffixTemplate.showSeparator"></kendo-separator>
|
|
10889
|
+
<span *ngIf="suffixTemplate" class="k-input-suffix k-input-suffix-horizontal">
|
|
10890
|
+
<ng-template [ngTemplateOutlet]="suffixTemplate?.templateRef">
|
|
10891
|
+
</ng-template>
|
|
10892
|
+
</span>
|
|
10893
|
+
</ng-container>
|
|
10894
|
+
|
|
10519
10895
|
<ng-template #popupTemplate>
|
|
10520
10896
|
<ng-container *ngTemplateOutlet="sharedPopupActionSheetTemplate"></ng-container>
|
|
10521
10897
|
</ng-template>
|
|
@@ -10618,7 +10994,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
10618
10994
|
}, {
|
|
10619
10995
|
type: Inject,
|
|
10620
10996
|
args: [TOUCH_ENABLED]
|
|
10621
|
-
}] }, { type: i0.Injector }];
|
|
10997
|
+
}] }, { type: i0.Injector }, { type: i0.ElementRef }];
|
|
10622
10998
|
}, propDecorators: { responsiveRendererComponent: [{
|
|
10623
10999
|
type: ViewChild,
|
|
10624
11000
|
args: [ResponsiveRendererComponent]
|
|
@@ -10701,6 +11077,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
10701
11077
|
}], onBlur: [{
|
|
10702
11078
|
type: Output,
|
|
10703
11079
|
args: ['blur']
|
|
11080
|
+
}], inputFocus: [{
|
|
11081
|
+
type: Output
|
|
11082
|
+
}], inputBlur: [{
|
|
11083
|
+
type: Output
|
|
10704
11084
|
}], removeTag: [{
|
|
10705
11085
|
type: Output
|
|
10706
11086
|
}], container: [{
|
|
@@ -10742,6 +11122,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
10742
11122
|
}], noDataTemplate: [{
|
|
10743
11123
|
type: ContentChild,
|
|
10744
11124
|
args: [NoDataTemplateDirective, { static: false }]
|
|
11125
|
+
}], suffixTemplate: [{
|
|
11126
|
+
type: ContentChild,
|
|
11127
|
+
args: [SuffixTemplateDirective]
|
|
11128
|
+
}], prefixTemplate: [{
|
|
11129
|
+
type: ContentChild,
|
|
11130
|
+
args: [PrefixTemplateDirective]
|
|
10745
11131
|
}], hostClasses: [{
|
|
10746
11132
|
type: HostBinding,
|
|
10747
11133
|
args: ['class.k-multiselect']
|
|
@@ -10911,8 +11297,9 @@ const getRowWidthFromColumnsMeta = (columns) => {
|
|
|
10911
11297
|
* Represents the [Kendo UI MultiColumnComboBox component for Angular]({% slug overview_multicolumncombobox %}).
|
|
10912
11298
|
*/
|
|
10913
11299
|
class MultiColumnComboBoxComponent extends ComboBoxComponent {
|
|
10914
|
-
constructor(localization, popupService, selectionService, navigationService, disabledItemsService, dataService, zone, changeDetector, renderer, wrapper, touchEnabled, injector) {
|
|
10915
|
-
super(wrapper, localization, popupService, selectionService, navigationService, disabledItemsService, dataService, zone, changeDetector, renderer, touchEnabled, injector);
|
|
11300
|
+
constructor(localization, popupService, selectionService, navigationService, disabledItemsService, dataService, zone, changeDetector, renderer, wrapper, touchEnabled, injector, hostElement) {
|
|
11301
|
+
super(wrapper, localization, popupService, selectionService, navigationService, disabledItemsService, dataService, zone, changeDetector, renderer, touchEnabled, injector, hostElement);
|
|
11302
|
+
this.hostElement = hostElement;
|
|
10916
11303
|
/**
|
|
10917
11304
|
* @hidden
|
|
10918
11305
|
*/
|
|
@@ -11035,7 +11422,7 @@ class MultiColumnComboBoxComponent extends ComboBoxComponent {
|
|
|
11035
11422
|
});
|
|
11036
11423
|
}
|
|
11037
11424
|
}
|
|
11038
|
-
MultiColumnComboBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MultiColumnComboBoxComponent, deps: [{ token: i1.LocalizationService }, { token: i2$1.PopupService }, { token: SelectionService }, { token: NavigationService }, { token: DisabledItemsService }, { token: DataService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: TOUCH_ENABLED }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
11425
|
+
MultiColumnComboBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MultiColumnComboBoxComponent, deps: [{ token: i1.LocalizationService }, { token: i2$1.PopupService }, { token: SelectionService }, { token: NavigationService }, { token: DisabledItemsService }, { token: DataService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: TOUCH_ENABLED }, { token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
11039
11426
|
MultiColumnComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: MultiColumnComboBoxComponent, selector: "kendo-multicolumncombobox", host: { properties: { "class.k-dropdowngrid": "this.hostClasses", "class.k-disabled": "this.isDisabled" } }, providers: [
|
|
11040
11427
|
SelectionService,
|
|
11041
11428
|
DataService,
|
|
@@ -11076,65 +11463,84 @@ MultiColumnComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
11076
11463
|
"
|
|
11077
11464
|
popupLabel="Options list"
|
|
11078
11465
|
></ng-container>
|
|
11079
|
-
|
|
11080
|
-
|
|
11081
|
-
|
|
11082
|
-
[
|
|
11083
|
-
[
|
|
11084
|
-
|
|
11085
|
-
[isLoading]="loading"
|
|
11086
|
-
[isSuggestable]="suggest"
|
|
11087
|
-
[isFilterable]="filterable"
|
|
11088
|
-
[activeDescendant]="activeDescendant"
|
|
11089
|
-
[userInput]="text"
|
|
11090
|
-
[suggestedText]="getSuggestion()"
|
|
11091
|
-
[disabled]="disabled"
|
|
11092
|
-
[readonly]="readonly"
|
|
11093
|
-
[tabIndex]="tabIndex"
|
|
11094
|
-
[placeholder]="placeholder"
|
|
11095
|
-
(onNavigate)="handleNavigate($event)"
|
|
11096
|
-
(valueChange)="searchBarChange($event)"
|
|
11097
|
-
(onBlur)="handleBlur()"
|
|
11466
|
+
|
|
11467
|
+
<ng-container
|
|
11468
|
+
kendoDropDownSharedEvents
|
|
11469
|
+
[hostElement]="hostElement"
|
|
11470
|
+
[(isFocused)]="isFocused"
|
|
11471
|
+
(handleBlur)="handleBlur()"
|
|
11098
11472
|
(onFocus)="handleFocus()"
|
|
11099
|
-
(click)="handleClick()"
|
|
11100
11473
|
>
|
|
11101
|
-
|
|
11474
|
+
<span *ngIf="prefixTemplate" class="k-input-prefix k-input-prefix-horizontal">
|
|
11475
|
+
<ng-template [ngTemplateOutlet]="prefixTemplate?.templateRef">
|
|
11476
|
+
</ng-template>
|
|
11477
|
+
</span>
|
|
11478
|
+
<kendo-separator *ngIf="prefixTemplate && prefixTemplate.showSeparator"></kendo-separator>
|
|
11479
|
+
<kendo-searchbar
|
|
11480
|
+
#searchbar
|
|
11481
|
+
[role]="'combobox'"
|
|
11482
|
+
[ariaExpanded]="isOpen"
|
|
11483
|
+
[ariaControls]="ariaControls"
|
|
11484
|
+
[id]="focusableId"
|
|
11485
|
+
[isLoading]="loading"
|
|
11486
|
+
[isSuggestable]="suggest"
|
|
11487
|
+
[isFilterable]="filterable"
|
|
11488
|
+
[activeDescendant]="activeDescendant"
|
|
11489
|
+
[userInput]="text"
|
|
11490
|
+
[suggestedText]="getSuggestion()"
|
|
11491
|
+
[disabled]="disabled"
|
|
11492
|
+
[readonly]="readonly"
|
|
11493
|
+
[tabIndex]="tabIndex"
|
|
11494
|
+
[placeholder]="placeholder"
|
|
11495
|
+
(onNavigate)="handleNavigate($event)"
|
|
11496
|
+
(valueChange)="searchBarChange($event)"
|
|
11497
|
+
(onBlur)="handleInputBlur()"
|
|
11498
|
+
(onFocus)="handleInputFocus()"
|
|
11499
|
+
(click)="handleClick()"
|
|
11500
|
+
>
|
|
11501
|
+
</kendo-searchbar>
|
|
11102
11502
|
|
|
11103
|
-
|
|
11104
|
-
|
|
11105
|
-
|
|
11106
|
-
|
|
11107
|
-
|
|
11108
|
-
|
|
11109
|
-
|
|
11110
|
-
|
|
11111
|
-
|
|
11112
|
-
|
|
11113
|
-
|
|
11114
|
-
|
|
11115
|
-
|
|
11503
|
+
<span
|
|
11504
|
+
*ngIf="clearButton && !loading && !disabled && (!readonly || readonly && isAdaptiveModeEnabled && windowSize !== 'large') && text?.length"
|
|
11505
|
+
class="k-clear-value"
|
|
11506
|
+
[style.visibility]="clearButtonVisiblity"
|
|
11507
|
+
aria-hidden="true"
|
|
11508
|
+
[attr.title]="messageFor('clearTitle')"
|
|
11509
|
+
(click)="clearValue($event)"
|
|
11510
|
+
[kendoEventsOutsideAngular]="{
|
|
11511
|
+
mousedown: preventEventDefault
|
|
11512
|
+
}"
|
|
11513
|
+
>
|
|
11514
|
+
<kendo-icon-wrapper name="x" [svgIcon]="xIcon"> </kendo-icon-wrapper>
|
|
11515
|
+
</span>
|
|
11116
11516
|
|
|
11117
|
-
|
|
11118
|
-
|
|
11119
|
-
|
|
11120
|
-
|
|
11121
|
-
|
|
11122
|
-
|
|
11123
|
-
|
|
11124
|
-
|
|
11125
|
-
|
|
11126
|
-
|
|
11127
|
-
|
|
11128
|
-
|
|
11129
|
-
|
|
11130
|
-
|
|
11131
|
-
|
|
11132
|
-
[
|
|
11133
|
-
|
|
11134
|
-
|
|
11517
|
+
<span *ngIf="loading" class="k-i-loading k-input-loading-icon k-icon"></span>
|
|
11518
|
+
<kendo-separator *ngIf="suffixTemplate && suffixTemplate.showSeparator"></kendo-separator>
|
|
11519
|
+
<span *ngIf="suffixTemplate" class="k-input-suffix k-input-suffix-horizontal">
|
|
11520
|
+
<ng-template [ngTemplateOutlet]="suffixTemplate?.templateRef">
|
|
11521
|
+
</ng-template>
|
|
11522
|
+
</span>
|
|
11523
|
+
<button
|
|
11524
|
+
#select
|
|
11525
|
+
tabindex="-1"
|
|
11526
|
+
aria-hidden="true"
|
|
11527
|
+
unselectable="on"
|
|
11528
|
+
type="button"
|
|
11529
|
+
class="k-input-button k-button k-icon-button"
|
|
11530
|
+
[ngClass]="selectButtonClasses"
|
|
11531
|
+
[attr.aria-label]="messageFor('selectButtonText')"
|
|
11532
|
+
[kendoEventsOutsideAngular]="{
|
|
11533
|
+
mousedown: preventEventDefault
|
|
11534
|
+
}"
|
|
11135
11535
|
>
|
|
11136
|
-
|
|
11137
|
-
|
|
11536
|
+
<kendo-icon-wrapper
|
|
11537
|
+
[name]="icon || 'caret-alt-down'"
|
|
11538
|
+
innerCssClass="k-button-icon"
|
|
11539
|
+
[svgIcon]="svgIcon || caretAltDownIcon"
|
|
11540
|
+
>
|
|
11541
|
+
</kendo-icon-wrapper>
|
|
11542
|
+
</button>
|
|
11543
|
+
</ng-container>
|
|
11138
11544
|
|
|
11139
11545
|
<ng-template #popupTemplate>
|
|
11140
11546
|
<!--popup/actionsheet content-->
|
|
@@ -11289,7 +11695,7 @@ MultiColumnComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
11289
11695
|
</ng-container>
|
|
11290
11696
|
</div>
|
|
11291
11697
|
</ng-template>
|
|
11292
|
-
`, isInline: true, components: [{ type: SearchBarComponent, selector: "kendo-searchbar", inputs: ["id", "tagListId", "activeDescendant", "disabled", "readonly", "tabIndex", "role", "isLoading", "ariaControls", "ariaExpanded", "isSuggestable", "isFilterable", "userInput", "suggestedText", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { type:
|
|
11698
|
+
`, isInline: true, components: [{ type: i7.SeparatorComponent, selector: "kendo-separator", inputs: ["orientation"] }, { type: SearchBarComponent, selector: "kendo-searchbar", inputs: ["id", "tagListId", "activeDescendant", "disabled", "readonly", "tabIndex", "role", "isLoading", "ariaControls", "ariaExpanded", "isSuggestable", "isFilterable", "userInput", "suggestedText", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { type: i9.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { type: i7.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { type: ResponsiveRendererComponent, selector: "responsive-renderer", inputs: ["title", "showActionButtons", "subtitle", "size", "showTextInput", "sharedPopupActionSheetTemplate", "isActionSheetExpanded", "text", "placeholder"], outputs: ["closePopup", "textInputChange", "navigate", "onExpand", "onCollapse", "onApply", "onCancel"] }, { 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"] }], directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: SharedDropDownEventsDirective, selector: "[kendoDropDownSharedEvents]", inputs: ["hostElement", "clearButtonClicked", "isFocused"], outputs: ["isFocusedChange", "onFocus", "handleBlur"] }, { type: i14.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i14.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i7.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i14.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i14.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i14.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
11293
11699
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MultiColumnComboBoxComponent, decorators: [{
|
|
11294
11700
|
type: Component,
|
|
11295
11701
|
args: [{
|
|
@@ -11335,65 +11741,84 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
11335
11741
|
"
|
|
11336
11742
|
popupLabel="Options list"
|
|
11337
11743
|
></ng-container>
|
|
11338
|
-
|
|
11339
|
-
|
|
11340
|
-
|
|
11341
|
-
[
|
|
11342
|
-
[
|
|
11343
|
-
|
|
11344
|
-
[isLoading]="loading"
|
|
11345
|
-
[isSuggestable]="suggest"
|
|
11346
|
-
[isFilterable]="filterable"
|
|
11347
|
-
[activeDescendant]="activeDescendant"
|
|
11348
|
-
[userInput]="text"
|
|
11349
|
-
[suggestedText]="getSuggestion()"
|
|
11350
|
-
[disabled]="disabled"
|
|
11351
|
-
[readonly]="readonly"
|
|
11352
|
-
[tabIndex]="tabIndex"
|
|
11353
|
-
[placeholder]="placeholder"
|
|
11354
|
-
(onNavigate)="handleNavigate($event)"
|
|
11355
|
-
(valueChange)="searchBarChange($event)"
|
|
11356
|
-
(onBlur)="handleBlur()"
|
|
11744
|
+
|
|
11745
|
+
<ng-container
|
|
11746
|
+
kendoDropDownSharedEvents
|
|
11747
|
+
[hostElement]="hostElement"
|
|
11748
|
+
[(isFocused)]="isFocused"
|
|
11749
|
+
(handleBlur)="handleBlur()"
|
|
11357
11750
|
(onFocus)="handleFocus()"
|
|
11358
|
-
(click)="handleClick()"
|
|
11359
11751
|
>
|
|
11360
|
-
|
|
11752
|
+
<span *ngIf="prefixTemplate" class="k-input-prefix k-input-prefix-horizontal">
|
|
11753
|
+
<ng-template [ngTemplateOutlet]="prefixTemplate?.templateRef">
|
|
11754
|
+
</ng-template>
|
|
11755
|
+
</span>
|
|
11756
|
+
<kendo-separator *ngIf="prefixTemplate && prefixTemplate.showSeparator"></kendo-separator>
|
|
11757
|
+
<kendo-searchbar
|
|
11758
|
+
#searchbar
|
|
11759
|
+
[role]="'combobox'"
|
|
11760
|
+
[ariaExpanded]="isOpen"
|
|
11761
|
+
[ariaControls]="ariaControls"
|
|
11762
|
+
[id]="focusableId"
|
|
11763
|
+
[isLoading]="loading"
|
|
11764
|
+
[isSuggestable]="suggest"
|
|
11765
|
+
[isFilterable]="filterable"
|
|
11766
|
+
[activeDescendant]="activeDescendant"
|
|
11767
|
+
[userInput]="text"
|
|
11768
|
+
[suggestedText]="getSuggestion()"
|
|
11769
|
+
[disabled]="disabled"
|
|
11770
|
+
[readonly]="readonly"
|
|
11771
|
+
[tabIndex]="tabIndex"
|
|
11772
|
+
[placeholder]="placeholder"
|
|
11773
|
+
(onNavigate)="handleNavigate($event)"
|
|
11774
|
+
(valueChange)="searchBarChange($event)"
|
|
11775
|
+
(onBlur)="handleInputBlur()"
|
|
11776
|
+
(onFocus)="handleInputFocus()"
|
|
11777
|
+
(click)="handleClick()"
|
|
11778
|
+
>
|
|
11779
|
+
</kendo-searchbar>
|
|
11361
11780
|
|
|
11362
|
-
|
|
11363
|
-
|
|
11364
|
-
|
|
11365
|
-
|
|
11366
|
-
|
|
11367
|
-
|
|
11368
|
-
|
|
11369
|
-
|
|
11370
|
-
|
|
11371
|
-
|
|
11372
|
-
|
|
11373
|
-
|
|
11374
|
-
|
|
11781
|
+
<span
|
|
11782
|
+
*ngIf="clearButton && !loading && !disabled && (!readonly || readonly && isAdaptiveModeEnabled && windowSize !== 'large') && text?.length"
|
|
11783
|
+
class="k-clear-value"
|
|
11784
|
+
[style.visibility]="clearButtonVisiblity"
|
|
11785
|
+
aria-hidden="true"
|
|
11786
|
+
[attr.title]="messageFor('clearTitle')"
|
|
11787
|
+
(click)="clearValue($event)"
|
|
11788
|
+
[kendoEventsOutsideAngular]="{
|
|
11789
|
+
mousedown: preventEventDefault
|
|
11790
|
+
}"
|
|
11791
|
+
>
|
|
11792
|
+
<kendo-icon-wrapper name="x" [svgIcon]="xIcon"> </kendo-icon-wrapper>
|
|
11793
|
+
</span>
|
|
11375
11794
|
|
|
11376
|
-
|
|
11377
|
-
|
|
11378
|
-
|
|
11379
|
-
|
|
11380
|
-
|
|
11381
|
-
|
|
11382
|
-
|
|
11383
|
-
|
|
11384
|
-
|
|
11385
|
-
|
|
11386
|
-
|
|
11387
|
-
|
|
11388
|
-
|
|
11389
|
-
|
|
11390
|
-
|
|
11391
|
-
[
|
|
11392
|
-
|
|
11393
|
-
|
|
11795
|
+
<span *ngIf="loading" class="k-i-loading k-input-loading-icon k-icon"></span>
|
|
11796
|
+
<kendo-separator *ngIf="suffixTemplate && suffixTemplate.showSeparator"></kendo-separator>
|
|
11797
|
+
<span *ngIf="suffixTemplate" class="k-input-suffix k-input-suffix-horizontal">
|
|
11798
|
+
<ng-template [ngTemplateOutlet]="suffixTemplate?.templateRef">
|
|
11799
|
+
</ng-template>
|
|
11800
|
+
</span>
|
|
11801
|
+
<button
|
|
11802
|
+
#select
|
|
11803
|
+
tabindex="-1"
|
|
11804
|
+
aria-hidden="true"
|
|
11805
|
+
unselectable="on"
|
|
11806
|
+
type="button"
|
|
11807
|
+
class="k-input-button k-button k-icon-button"
|
|
11808
|
+
[ngClass]="selectButtonClasses"
|
|
11809
|
+
[attr.aria-label]="messageFor('selectButtonText')"
|
|
11810
|
+
[kendoEventsOutsideAngular]="{
|
|
11811
|
+
mousedown: preventEventDefault
|
|
11812
|
+
}"
|
|
11394
11813
|
>
|
|
11395
|
-
|
|
11396
|
-
|
|
11814
|
+
<kendo-icon-wrapper
|
|
11815
|
+
[name]="icon || 'caret-alt-down'"
|
|
11816
|
+
innerCssClass="k-button-icon"
|
|
11817
|
+
[svgIcon]="svgIcon || caretAltDownIcon"
|
|
11818
|
+
>
|
|
11819
|
+
</kendo-icon-wrapper>
|
|
11820
|
+
</button>
|
|
11821
|
+
</ng-container>
|
|
11397
11822
|
|
|
11398
11823
|
<ng-template #popupTemplate>
|
|
11399
11824
|
<!--popup/actionsheet content-->
|
|
@@ -11554,7 +11979,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
11554
11979
|
return [{ type: i1.LocalizationService }, { type: i2$1.PopupService }, { type: SelectionService }, { type: NavigationService }, { type: DisabledItemsService }, { type: DataService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
11555
11980
|
type: Inject,
|
|
11556
11981
|
args: [TOUCH_ENABLED]
|
|
11557
|
-
}] }, { type: i0.Injector }];
|
|
11982
|
+
}] }, { type: i0.Injector }, { type: i0.ElementRef }];
|
|
11558
11983
|
}, propDecorators: { hostClasses: [{
|
|
11559
11984
|
type: HostBinding,
|
|
11560
11985
|
args: ['class.k-dropdowngrid']
|
|
@@ -12989,7 +13414,7 @@ DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
12989
13414
|
</ng-template>
|
|
12990
13415
|
|
|
12991
13416
|
<kendo-resize-sensor *ngIf="isOpen || isAdaptiveModeEnabled" (resize)="onResize()"></kendo-resize-sensor>
|
|
12992
|
-
`, isInline: true, components: [{ type:
|
|
13417
|
+
`, isInline: true, components: [{ type: i9.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { type: ResponsiveRendererComponent, selector: "responsive-renderer", inputs: ["title", "showActionButtons", "subtitle", "size", "showTextInput", "sharedPopupActionSheetTemplate", "isActionSheetExpanded", "text", "placeholder"], outputs: ["closePopup", "textInputChange", "navigate", "onExpand", "onCollapse", "onApply", "onCancel"] }, { type: i1$1.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"] }, { type: i7.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i14.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i14.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i14.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i14$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: FilterInputDirective, selector: "[filterInput]", inputs: ["filterInput"] }, { type: i14$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i14$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i7.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i1$1.SelectDirective, selector: "[kendoTreeViewSelectable]", inputs: ["isSelected", "selectBy", "kendoTreeViewSelectable", "selectedKeys"], outputs: ["selectedKeysChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
12993
13418
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DropDownTreeComponent, decorators: [{
|
|
12994
13419
|
type: Component,
|
|
12995
13420
|
args: [{
|
|
@@ -15353,31 +15778,32 @@ MultiSelectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
15353
15778
|
cancelButton="Cancel"
|
|
15354
15779
|
>
|
|
15355
15780
|
</ng-container>
|
|
15356
|
-
<
|
|
15357
|
-
|
|
15358
|
-
|
|
15359
|
-
|
|
15360
|
-
|
|
15361
|
-
|
|
15362
|
-
|
|
15363
|
-
|
|
15364
|
-
|
|
15365
|
-
|
|
15366
|
-
|
|
15367
|
-
|
|
15368
|
-
|
|
15369
|
-
|
|
15370
|
-
|
|
15371
|
-
|
|
15372
|
-
|
|
15373
|
-
>
|
|
15374
|
-
</kendo-taglist>
|
|
15375
|
-
</div>
|
|
15376
|
-
<span
|
|
15377
|
-
*ngIf="!tags || !tags.length"
|
|
15378
|
-
class="k-input-inner k-readonly"
|
|
15781
|
+
<kendo-taglist
|
|
15782
|
+
class="k-input-values"
|
|
15783
|
+
[size]="size"
|
|
15784
|
+
[rounded]="rounded"
|
|
15785
|
+
[fillMode]="fillMode"
|
|
15786
|
+
[id]="tagListId"
|
|
15787
|
+
[tags]="tags"
|
|
15788
|
+
[focused]="focusedTagIndex"
|
|
15789
|
+
[textField]="textField"
|
|
15790
|
+
[valueField]="valueField"
|
|
15791
|
+
[valueDepth]="valueDepth"
|
|
15792
|
+
[disabled]="disabled"
|
|
15793
|
+
[tagPrefix]="tagPrefix"
|
|
15794
|
+
[template]="tagTemplate"
|
|
15795
|
+
[groupTemplate]="groupTagTemplate"
|
|
15796
|
+
[disabledIndices]="disabledIndices"
|
|
15797
|
+
(removeTag)="handleRemoveTag($event)"
|
|
15379
15798
|
>
|
|
15380
|
-
|
|
15799
|
+
</kendo-taglist>
|
|
15800
|
+
<span class="k-input-inner k-readonly">
|
|
15801
|
+
<span
|
|
15802
|
+
*ngIf="!tags || !tags.length"
|
|
15803
|
+
class="k-input-value-text"
|
|
15804
|
+
>
|
|
15805
|
+
{{ placeholder }}
|
|
15806
|
+
</span>
|
|
15381
15807
|
</span>
|
|
15382
15808
|
<span
|
|
15383
15809
|
*ngIf="!disabled && !loading && !readonly && clearButton && tags?.length"
|
|
@@ -15550,7 +15976,7 @@ MultiSelectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
15550
15976
|
</ng-template>
|
|
15551
15977
|
|
|
15552
15978
|
<kendo-resize-sensor *ngIf="isOpen || isAdaptiveModeEnabled" (resize)="onResize()"></kendo-resize-sensor>
|
|
15553
|
-
`, isInline: true, components: [{ type: TagListComponent, selector: "kendo-taglist", inputs: ["tags", "textField", "valueField", "valueDepth", "focused", "template", "groupTemplate", "disabled", "tagPrefix", "id", "size", "rounded", "fillMode", "disabledIndices"], outputs: ["removeTag"] }, { type:
|
|
15979
|
+
`, isInline: true, components: [{ type: TagListComponent, selector: "kendo-taglist", inputs: ["tags", "textField", "valueField", "valueDepth", "focused", "template", "groupTemplate", "disabled", "tagPrefix", "id", "size", "rounded", "fillMode", "disabledIndices"], outputs: ["removeTag"] }, { type: i9.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { type: ResponsiveRendererComponent, selector: "responsive-renderer", inputs: ["title", "showActionButtons", "subtitle", "size", "showTextInput", "sharedPopupActionSheetTemplate", "isActionSheetExpanded", "text", "placeholder"], outputs: ["closePopup", "textInputChange", "navigate", "onExpand", "onCollapse", "onApply", "onCancel"] }, { type: i1$1.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"] }, { type: i7.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i14.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i14.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i14.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i14$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: FilterInputDirective, selector: "[filterInput]", inputs: ["filterInput"] }, { type: i14$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i14$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i7.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: CheckAllDirective, selector: "[checkAll]", inputs: ["lastAction", "treeview", "checkedItems", "valueField", "checkAll"], outputs: ["checkedItemsChange"] }, { type: CheckDirective, selector: "[kendoMultiSelectTreeCheckable]", inputs: ["checkable", "valueField", "checkedItems"], outputs: ["checkedItemsChange"] }] });
|
|
15554
15980
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MultiSelectTreeComponent, decorators: [{
|
|
15555
15981
|
type: Component,
|
|
15556
15982
|
args: [{
|
|
@@ -15609,31 +16035,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
15609
16035
|
cancelButton="Cancel"
|
|
15610
16036
|
>
|
|
15611
16037
|
</ng-container>
|
|
15612
|
-
<
|
|
15613
|
-
|
|
15614
|
-
|
|
15615
|
-
|
|
15616
|
-
|
|
15617
|
-
|
|
15618
|
-
|
|
15619
|
-
|
|
15620
|
-
|
|
15621
|
-
|
|
15622
|
-
|
|
15623
|
-
|
|
15624
|
-
|
|
15625
|
-
|
|
15626
|
-
|
|
15627
|
-
|
|
15628
|
-
|
|
15629
|
-
>
|
|
15630
|
-
</kendo-taglist>
|
|
15631
|
-
</div>
|
|
15632
|
-
<span
|
|
15633
|
-
*ngIf="!tags || !tags.length"
|
|
15634
|
-
class="k-input-inner k-readonly"
|
|
16038
|
+
<kendo-taglist
|
|
16039
|
+
class="k-input-values"
|
|
16040
|
+
[size]="size"
|
|
16041
|
+
[rounded]="rounded"
|
|
16042
|
+
[fillMode]="fillMode"
|
|
16043
|
+
[id]="tagListId"
|
|
16044
|
+
[tags]="tags"
|
|
16045
|
+
[focused]="focusedTagIndex"
|
|
16046
|
+
[textField]="textField"
|
|
16047
|
+
[valueField]="valueField"
|
|
16048
|
+
[valueDepth]="valueDepth"
|
|
16049
|
+
[disabled]="disabled"
|
|
16050
|
+
[tagPrefix]="tagPrefix"
|
|
16051
|
+
[template]="tagTemplate"
|
|
16052
|
+
[groupTemplate]="groupTagTemplate"
|
|
16053
|
+
[disabledIndices]="disabledIndices"
|
|
16054
|
+
(removeTag)="handleRemoveTag($event)"
|
|
15635
16055
|
>
|
|
15636
|
-
|
|
16056
|
+
</kendo-taglist>
|
|
16057
|
+
<span class="k-input-inner k-readonly">
|
|
16058
|
+
<span
|
|
16059
|
+
*ngIf="!tags || !tags.length"
|
|
16060
|
+
class="k-input-value-text"
|
|
16061
|
+
>
|
|
16062
|
+
{{ placeholder }}
|
|
16063
|
+
</span>
|
|
15637
16064
|
</span>
|
|
15638
16065
|
<span
|
|
15639
16066
|
*ngIf="!disabled && !loading && !readonly && clearButton && tags?.length"
|
|
@@ -16606,6 +17033,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
16606
17033
|
args: ['kendoMultiSelectSummaryTag']
|
|
16607
17034
|
}] } });
|
|
16608
17035
|
|
|
17036
|
+
/**
|
|
17037
|
+
* @hidden
|
|
17038
|
+
*/
|
|
17039
|
+
class SharedEventsModule {
|
|
17040
|
+
}
|
|
17041
|
+
SharedEventsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SharedEventsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
17042
|
+
SharedEventsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SharedEventsModule, declarations: [SharedDropDownEventsDirective], exports: [SharedDropDownEventsDirective] });
|
|
17043
|
+
SharedEventsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SharedEventsModule });
|
|
17044
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SharedEventsModule, decorators: [{
|
|
17045
|
+
type: NgModule,
|
|
17046
|
+
args: [{
|
|
17047
|
+
declarations: [SharedDropDownEventsDirective],
|
|
17048
|
+
exports: [SharedDropDownEventsDirective],
|
|
17049
|
+
}]
|
|
17050
|
+
}] });
|
|
17051
|
+
|
|
16609
17052
|
const AUTOCOMPLETE_DIRECTIVES = [
|
|
16610
17053
|
AutoCompleteComponent
|
|
16611
17054
|
];
|
|
@@ -16623,14 +17066,14 @@ const AUTOCOMPLETE_DIRECTIVES = [
|
|
|
16623
17066
|
class AutoCompleteModule {
|
|
16624
17067
|
}
|
|
16625
17068
|
AutoCompleteModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AutoCompleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16626
|
-
AutoCompleteModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AutoCompleteModule, declarations: [AutoCompleteComponent], imports: [SharedModule], exports: [AutoCompleteComponent, SharedDirectivesModule] });
|
|
16627
|
-
AutoCompleteModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AutoCompleteModule, imports: [[SharedModule], SharedDirectivesModule] });
|
|
17069
|
+
AutoCompleteModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AutoCompleteModule, declarations: [AutoCompleteComponent], imports: [SharedModule, AdornmentsModule, SharedEventsModule], exports: [AutoCompleteComponent, SharedDirectivesModule, AdornmentsModule] });
|
|
17070
|
+
AutoCompleteModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AutoCompleteModule, imports: [[SharedModule, AdornmentsModule, SharedEventsModule], SharedDirectivesModule, AdornmentsModule] });
|
|
16628
17071
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: AutoCompleteModule, decorators: [{
|
|
16629
17072
|
type: NgModule,
|
|
16630
17073
|
args: [{
|
|
16631
17074
|
declarations: [AUTOCOMPLETE_DIRECTIVES],
|
|
16632
|
-
exports: [AUTOCOMPLETE_DIRECTIVES, SharedDirectivesModule],
|
|
16633
|
-
imports: [SharedModule]
|
|
17075
|
+
exports: [AUTOCOMPLETE_DIRECTIVES, SharedDirectivesModule, AdornmentsModule],
|
|
17076
|
+
imports: [SharedModule, AdornmentsModule, SharedEventsModule]
|
|
16634
17077
|
}]
|
|
16635
17078
|
}] });
|
|
16636
17079
|
|
|
@@ -16662,18 +17105,18 @@ ComboBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
16662
17105
|
MultiColumnComboBoxComponent,
|
|
16663
17106
|
ComboBoxColumnComponent,
|
|
16664
17107
|
ColumnHeaderTemplateDirective,
|
|
16665
|
-
ColumnCellTemplateDirective], imports: [SharedModule], exports: [ComboBoxComponent,
|
|
17108
|
+
ColumnCellTemplateDirective], imports: [SharedModule, AdornmentsModule, SharedEventsModule], exports: [ComboBoxComponent,
|
|
16666
17109
|
MultiColumnComboBoxComponent,
|
|
16667
17110
|
ComboBoxColumnComponent,
|
|
16668
17111
|
ColumnHeaderTemplateDirective,
|
|
16669
|
-
ColumnCellTemplateDirective, SharedDirectivesModule] });
|
|
16670
|
-
ComboBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ComboBoxModule, providers: [{ provide: TOUCH_ENABLED, useValue: touchEnabled }], imports: [[SharedModule], SharedDirectivesModule] });
|
|
17112
|
+
ColumnCellTemplateDirective, SharedDirectivesModule, AdornmentsModule] });
|
|
17113
|
+
ComboBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ComboBoxModule, providers: [{ provide: TOUCH_ENABLED, useValue: touchEnabled }], imports: [[SharedModule, AdornmentsModule, SharedEventsModule], SharedDirectivesModule, AdornmentsModule] });
|
|
16671
17114
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ComboBoxModule, decorators: [{
|
|
16672
17115
|
type: NgModule,
|
|
16673
17116
|
args: [{
|
|
16674
17117
|
declarations: [COMBOBOX_DIRECTIVES],
|
|
16675
|
-
exports: [COMBOBOX_DIRECTIVES, SharedDirectivesModule],
|
|
16676
|
-
imports: [SharedModule],
|
|
17118
|
+
exports: [COMBOBOX_DIRECTIVES, SharedDirectivesModule, AdornmentsModule],
|
|
17119
|
+
imports: [SharedModule, AdornmentsModule, SharedEventsModule],
|
|
16677
17120
|
providers: [{ provide: TOUCH_ENABLED, useValue: touchEnabled }]
|
|
16678
17121
|
}]
|
|
16679
17122
|
}] });
|
|
@@ -16733,16 +17176,16 @@ class MultiSelectModule {
|
|
|
16733
17176
|
MultiSelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MultiSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16734
17177
|
MultiSelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MultiSelectModule, declarations: [MultiSelectComponent,
|
|
16735
17178
|
SummaryTagDirective,
|
|
16736
|
-
CustomItemTemplateDirective], imports: [SharedModule], exports: [MultiSelectComponent,
|
|
17179
|
+
CustomItemTemplateDirective], imports: [SharedModule, AdornmentsModule, SharedEventsModule], exports: [MultiSelectComponent,
|
|
16737
17180
|
SummaryTagDirective,
|
|
16738
|
-
CustomItemTemplateDirective, SharedDirectivesModule] });
|
|
16739
|
-
MultiSelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MultiSelectModule, providers: [{ provide: TOUCH_ENABLED, useValue: touchEnabled }], imports: [[SharedModule], SharedDirectivesModule] });
|
|
17181
|
+
CustomItemTemplateDirective, SharedDirectivesModule, AdornmentsModule] });
|
|
17182
|
+
MultiSelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MultiSelectModule, providers: [{ provide: TOUCH_ENABLED, useValue: touchEnabled }], imports: [[SharedModule, AdornmentsModule, SharedEventsModule], SharedDirectivesModule, AdornmentsModule] });
|
|
16740
17183
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MultiSelectModule, decorators: [{
|
|
16741
17184
|
type: NgModule,
|
|
16742
17185
|
args: [{
|
|
16743
17186
|
declarations: [MULTISELECT_DIRECTIVES],
|
|
16744
|
-
exports: [MULTISELECT_DIRECTIVES, SharedDirectivesModule],
|
|
16745
|
-
imports: [SharedModule],
|
|
17187
|
+
exports: [MULTISELECT_DIRECTIVES, SharedDirectivesModule, AdornmentsModule],
|
|
17188
|
+
imports: [SharedModule, AdornmentsModule, SharedEventsModule],
|
|
16746
17189
|
providers: [{ provide: TOUCH_ENABLED, useValue: touchEnabled }]
|
|
16747
17190
|
}]
|
|
16748
17191
|
}] });
|