@progress/kendo-angular-dropdowns 16.3.1-develop.3 → 16.4.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/common/searchbar.component.d.ts +3 -2
- package/common/taglist.component.d.ts +1 -1
- package/esm2020/common/searchbar.component.mjs +6 -5
- package/esm2020/multiselect/multiselect.component.mjs +6 -1
- package/esm2020/package-metadata.mjs +2 -2
- package/fesm2015/progress-kendo-angular-dropdowns.mjs +12 -7
- package/fesm2020/progress-kendo-angular-dropdowns.mjs +12 -7
- package/multiselect/multiselect.component.d.ts +2 -0
- package/package.json +8 -8
- package/schematics/ngAdd/index.js +2 -2
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Renderer2, EventEmitter, ElementRef, OnChanges, OnInit, OnDestroy, Injector } from '@angular/core';
|
|
5
|
+
import { Renderer2, EventEmitter, ElementRef, OnChanges, OnInit, OnDestroy, Injector, NgZone } from '@angular/core';
|
|
6
6
|
import { Direction } from './models/direction';
|
|
7
7
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { FormControl } from '@angular/forms';
|
|
@@ -14,6 +14,7 @@ export declare class SearchBarComponent implements OnChanges, OnInit, OnDestroy
|
|
|
14
14
|
private localization;
|
|
15
15
|
private injector;
|
|
16
16
|
input: ElementRef<HTMLInputElement>;
|
|
17
|
+
private ngZone;
|
|
17
18
|
direction: Direction;
|
|
18
19
|
tagListId: string;
|
|
19
20
|
set readonly(readonly: boolean);
|
|
@@ -73,7 +74,7 @@ export declare class SearchBarComponent implements OnChanges, OnInit, OnDestroy
|
|
|
73
74
|
private parsedAttributes;
|
|
74
75
|
private get defaultAttributes();
|
|
75
76
|
private get mutableAttributes();
|
|
76
|
-
constructor(localization: LocalizationService, renderer: Renderer2, injector: Injector, input: ElementRef<HTMLInputElement
|
|
77
|
+
constructor(localization: LocalizationService, renderer: Renderer2, injector: Injector, input: ElementRef<HTMLInputElement>, ngZone: NgZone);
|
|
77
78
|
ngOnInit(): void;
|
|
78
79
|
ngOnChanges(changes: any): void;
|
|
79
80
|
ngAfterViewInit(): void;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Component, Renderer2, Input, Output, EventEmitter, ElementRef, HostBinding, Injector } from '@angular/core';
|
|
5
|
+
import { Component, Renderer2, Input, Output, EventEmitter, ElementRef, HostBinding, Injector, NgZone } from '@angular/core';
|
|
6
6
|
import { isDocumentAvailable, isObjectPresent, isSafari, removeHTMLAttributes, setHTMLAttributes, Keys, parseAttributes } from '@progress/kendo-angular-common';
|
|
7
7
|
import { combineStr, isJapanese } from './util';
|
|
8
8
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
@@ -14,10 +14,11 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
14
14
|
* @hidden
|
|
15
15
|
*/
|
|
16
16
|
export class SearchBarComponent {
|
|
17
|
-
constructor(localization, renderer, injector, input) {
|
|
17
|
+
constructor(localization, renderer, injector, input, ngZone) {
|
|
18
18
|
this.localization = localization;
|
|
19
19
|
this.injector = injector;
|
|
20
20
|
this.input = input;
|
|
21
|
+
this.ngZone = ngZone;
|
|
21
22
|
this.ariaExpanded = null;
|
|
22
23
|
this.role = 'combobox';
|
|
23
24
|
this.valueChange = new EventEmitter();
|
|
@@ -278,10 +279,10 @@ export class SearchBarComponent {
|
|
|
278
279
|
}
|
|
279
280
|
setInputAttributes() {
|
|
280
281
|
const attributesToRender = Object.assign({}, this.mutableAttributes, this.parsedAttributes);
|
|
281
|
-
setHTMLAttributes(attributesToRender, this.renderer, this.input.nativeElement);
|
|
282
|
+
setHTMLAttributes(attributesToRender, this.renderer, this.input.nativeElement, this.ngZone);
|
|
282
283
|
}
|
|
283
284
|
}
|
|
284
|
-
SearchBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SearchBarComponent, deps: [{ token: i1.LocalizationService }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
285
|
+
SearchBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SearchBarComponent, deps: [{ token: i1.LocalizationService }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
285
286
|
SearchBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SearchBarComponent, selector: "input[kendoSearchbar]", inputs: { tagListId: "tagListId", readonly: "readonly", disabled: "disabled", isRequired: "isRequired", isSuggestable: "isSuggestable", isFilterable: "isFilterable", userInput: "userInput", suggestedText: "suggestedText", inputAttributes: "inputAttributes", id: "id", activeDescendant: "activeDescendant", tabIndex: "tabIndex", isLoading: "isLoading", ariaControls: "ariaControls", ariaExpanded: "ariaExpanded", placeholder: "placeholder" }, outputs: { valueChange: "valueChange", onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", onNavigate: "onNavigate" }, host: { properties: { "attr.id": "this.id", "attr.aria-activedescendant": "this.activeDescendant", "attr.tabindex": "this.tabIndex", "attr.aria-busy": "this.isLoading", "attr.aria-controls": "this.ariaControls", "attr.aria-expanded": "this.ariaExpanded", "attr.aria-invalid": "this.attrAriaInvalid", "attr.placeholder": "this.placeholder", "attr.role": "this.role", "attr.dir": "this.dir" } }, usesOnChanges: true, ngImport: i0, template: ``, isInline: true });
|
|
286
287
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SearchBarComponent, decorators: [{
|
|
287
288
|
type: Component,
|
|
@@ -289,7 +290,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
289
290
|
selector: 'input[kendoSearchbar]',
|
|
290
291
|
template: ``
|
|
291
292
|
}]
|
|
292
|
-
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.Renderer2 }, { type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { tagListId: [{
|
|
293
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.Renderer2 }, { type: i0.Injector }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { tagListId: [{
|
|
293
294
|
type: Input
|
|
294
295
|
}], readonly: [{
|
|
295
296
|
type: Input
|
|
@@ -38,6 +38,7 @@ import { normalizeCheckboxesSettings } from '../common/models/checkboxes-setting
|
|
|
38
38
|
import { normalizeVirtualizationSettings } from '../common/models/virtualization-settings';
|
|
39
39
|
import { plusIcon, xIcon } from '@progress/kendo-svg-icons';
|
|
40
40
|
import { ResponsiveRendererComponent } from '../common/action-sheet.component';
|
|
41
|
+
import { TagListComponent } from '../common/taglist.component';
|
|
41
42
|
import * as i0 from "@angular/core";
|
|
42
43
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
43
44
|
import * as i2 from "@progress/kendo-angular-popup";
|
|
@@ -1083,6 +1084,7 @@ export class MultiSelectComponent {
|
|
|
1083
1084
|
this.cdr.detectChanges();
|
|
1084
1085
|
this.searchbar.setInputSize();
|
|
1085
1086
|
this.subs.add(this.renderer.listen(this.searchbar.input.nativeElement, 'mousedown', this.handleMousedown.bind(this)));
|
|
1087
|
+
this.subs.add(this.renderer.listen(this.tagList.hostElement.nativeElement, 'mousedown', this.handleMousedown.bind(this)));
|
|
1086
1088
|
this.subs.add(this.renderer.listen(this.wrapper.nativeElement, 'keydown', this.handleKeydown.bind(this)));
|
|
1087
1089
|
if (this.actionSheet && isDocumentAvailable()) {
|
|
1088
1090
|
// The following syntax is used as it does not violate CSP compliance
|
|
@@ -1752,7 +1754,7 @@ MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
|
1752
1754
|
{
|
|
1753
1755
|
provide: KendoInput, useExisting: forwardRef(() => MultiSelectComponent)
|
|
1754
1756
|
}
|
|
1755
|
-
], 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: `
|
|
1757
|
+
], 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: "tagList", first: true, predicate: TagListComponent, descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "optionsList", first: true, predicate: ["optionsList"], descendants: true }], exportAs: ["kendoMultiSelect"], usesOnChanges: true, ngImport: i0, template: `
|
|
1756
1758
|
<ng-container kendoMultiSelectLocalizedMessages
|
|
1757
1759
|
i18n-noDataText="kendo.multiselect.noDataText|The text displayed in the popup when there are no items"
|
|
1758
1760
|
noDataText="NO DATA FOUND"
|
|
@@ -2272,6 +2274,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2272
2274
|
}], searchbar: [{
|
|
2273
2275
|
type: ViewChild,
|
|
2274
2276
|
args: [SearchBarComponent, { static: true }]
|
|
2277
|
+
}], tagList: [{
|
|
2278
|
+
type: ViewChild,
|
|
2279
|
+
args: [TagListComponent, { static: true }]
|
|
2275
2280
|
}], popupTemplate: [{
|
|
2276
2281
|
type: ViewChild,
|
|
2277
2282
|
args: ['popupTemplate', { static: true }]
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-dropdowns',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '16.
|
|
12
|
+
publishDate: 1719846005,
|
|
13
|
+
version: '16.4.0-develop.1',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -38,8 +38,8 @@ const packageMetadata = {
|
|
|
38
38
|
name: '@progress/kendo-angular-dropdowns',
|
|
39
39
|
productName: 'Kendo UI for Angular',
|
|
40
40
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
41
|
-
publishDate:
|
|
42
|
-
version: '16.
|
|
41
|
+
publishDate: 1719846005,
|
|
42
|
+
version: '16.4.0-develop.1',
|
|
43
43
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
44
44
|
};
|
|
45
45
|
|
|
@@ -473,10 +473,11 @@ const animationDuration = 300;
|
|
|
473
473
|
* @hidden
|
|
474
474
|
*/
|
|
475
475
|
class SearchBarComponent {
|
|
476
|
-
constructor(localization, renderer, injector, input) {
|
|
476
|
+
constructor(localization, renderer, injector, input, ngZone) {
|
|
477
477
|
this.localization = localization;
|
|
478
478
|
this.injector = injector;
|
|
479
479
|
this.input = input;
|
|
480
|
+
this.ngZone = ngZone;
|
|
480
481
|
this.ariaExpanded = null;
|
|
481
482
|
this.role = 'combobox';
|
|
482
483
|
this.valueChange = new EventEmitter();
|
|
@@ -739,10 +740,10 @@ class SearchBarComponent {
|
|
|
739
740
|
}
|
|
740
741
|
setInputAttributes() {
|
|
741
742
|
const attributesToRender = Object.assign({}, this.mutableAttributes, this.parsedAttributes);
|
|
742
|
-
setHTMLAttributes(attributesToRender, this.renderer, this.input.nativeElement);
|
|
743
|
+
setHTMLAttributes(attributesToRender, this.renderer, this.input.nativeElement, this.ngZone);
|
|
743
744
|
}
|
|
744
745
|
}
|
|
745
|
-
SearchBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SearchBarComponent, deps: [{ token: i1.LocalizationService }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
746
|
+
SearchBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SearchBarComponent, deps: [{ token: i1.LocalizationService }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
746
747
|
SearchBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SearchBarComponent, selector: "input[kendoSearchbar]", inputs: { tagListId: "tagListId", readonly: "readonly", disabled: "disabled", isRequired: "isRequired", isSuggestable: "isSuggestable", isFilterable: "isFilterable", userInput: "userInput", suggestedText: "suggestedText", inputAttributes: "inputAttributes", id: "id", activeDescendant: "activeDescendant", tabIndex: "tabIndex", isLoading: "isLoading", ariaControls: "ariaControls", ariaExpanded: "ariaExpanded", placeholder: "placeholder" }, outputs: { valueChange: "valueChange", onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", onNavigate: "onNavigate" }, host: { properties: { "attr.id": "this.id", "attr.aria-activedescendant": "this.activeDescendant", "attr.tabindex": "this.tabIndex", "attr.aria-busy": "this.isLoading", "attr.aria-controls": "this.ariaControls", "attr.aria-expanded": "this.ariaExpanded", "attr.aria-invalid": "this.attrAriaInvalid", "attr.placeholder": "this.placeholder", "attr.role": "this.role", "attr.dir": "this.dir" } }, usesOnChanges: true, ngImport: i0, template: ``, isInline: true });
|
|
747
748
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SearchBarComponent, decorators: [{
|
|
748
749
|
type: Component,
|
|
@@ -750,7 +751,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
750
751
|
selector: 'input[kendoSearchbar]',
|
|
751
752
|
template: ``
|
|
752
753
|
}]
|
|
753
|
-
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.Renderer2 }, { type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { tagListId: [{
|
|
754
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.Renderer2 }, { type: i0.Injector }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { tagListId: [{
|
|
754
755
|
type: Input
|
|
755
756
|
}], readonly: [{
|
|
756
757
|
type: Input
|
|
@@ -10041,6 +10042,7 @@ class MultiSelectComponent {
|
|
|
10041
10042
|
this.cdr.detectChanges();
|
|
10042
10043
|
this.searchbar.setInputSize();
|
|
10043
10044
|
this.subs.add(this.renderer.listen(this.searchbar.input.nativeElement, 'mousedown', this.handleMousedown.bind(this)));
|
|
10045
|
+
this.subs.add(this.renderer.listen(this.tagList.hostElement.nativeElement, 'mousedown', this.handleMousedown.bind(this)));
|
|
10044
10046
|
this.subs.add(this.renderer.listen(this.wrapper.nativeElement, 'keydown', this.handleKeydown.bind(this)));
|
|
10045
10047
|
if (this.actionSheet && isDocumentAvailable()) {
|
|
10046
10048
|
// The following syntax is used as it does not violate CSP compliance
|
|
@@ -10710,7 +10712,7 @@ MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
|
10710
10712
|
{
|
|
10711
10713
|
provide: KendoInput, useExisting: forwardRef(() => MultiSelectComponent)
|
|
10712
10714
|
}
|
|
10713
|
-
], 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: `
|
|
10715
|
+
], 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: "tagList", first: true, predicate: TagListComponent, descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "optionsList", first: true, predicate: ["optionsList"], descendants: true }], exportAs: ["kendoMultiSelect"], usesOnChanges: true, ngImport: i0, template: `
|
|
10714
10716
|
<ng-container kendoMultiSelectLocalizedMessages
|
|
10715
10717
|
i18n-noDataText="kendo.multiselect.noDataText|The text displayed in the popup when there are no items"
|
|
10716
10718
|
noDataText="NO DATA FOUND"
|
|
@@ -11232,6 +11234,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
11232
11234
|
}], searchbar: [{
|
|
11233
11235
|
type: ViewChild,
|
|
11234
11236
|
args: [SearchBarComponent, { static: true }]
|
|
11237
|
+
}], tagList: [{
|
|
11238
|
+
type: ViewChild,
|
|
11239
|
+
args: [TagListComponent, { static: true }]
|
|
11235
11240
|
}], popupTemplate: [{
|
|
11236
11241
|
type: ViewChild,
|
|
11237
11242
|
args: ['popupTemplate', { static: true }]
|
|
@@ -38,8 +38,8 @@ const packageMetadata = {
|
|
|
38
38
|
name: '@progress/kendo-angular-dropdowns',
|
|
39
39
|
productName: 'Kendo UI for Angular',
|
|
40
40
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
41
|
-
publishDate:
|
|
42
|
-
version: '16.
|
|
41
|
+
publishDate: 1719846005,
|
|
42
|
+
version: '16.4.0-develop.1',
|
|
43
43
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
44
44
|
};
|
|
45
45
|
|
|
@@ -473,10 +473,11 @@ const animationDuration = 300;
|
|
|
473
473
|
* @hidden
|
|
474
474
|
*/
|
|
475
475
|
class SearchBarComponent {
|
|
476
|
-
constructor(localization, renderer, injector, input) {
|
|
476
|
+
constructor(localization, renderer, injector, input, ngZone) {
|
|
477
477
|
this.localization = localization;
|
|
478
478
|
this.injector = injector;
|
|
479
479
|
this.input = input;
|
|
480
|
+
this.ngZone = ngZone;
|
|
480
481
|
this.ariaExpanded = null;
|
|
481
482
|
this.role = 'combobox';
|
|
482
483
|
this.valueChange = new EventEmitter();
|
|
@@ -737,10 +738,10 @@ class SearchBarComponent {
|
|
|
737
738
|
}
|
|
738
739
|
setInputAttributes() {
|
|
739
740
|
const attributesToRender = Object.assign({}, this.mutableAttributes, this.parsedAttributes);
|
|
740
|
-
setHTMLAttributes(attributesToRender, this.renderer, this.input.nativeElement);
|
|
741
|
+
setHTMLAttributes(attributesToRender, this.renderer, this.input.nativeElement, this.ngZone);
|
|
741
742
|
}
|
|
742
743
|
}
|
|
743
|
-
SearchBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SearchBarComponent, deps: [{ token: i1.LocalizationService }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
744
|
+
SearchBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SearchBarComponent, deps: [{ token: i1.LocalizationService }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
744
745
|
SearchBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SearchBarComponent, selector: "input[kendoSearchbar]", inputs: { tagListId: "tagListId", readonly: "readonly", disabled: "disabled", isRequired: "isRequired", isSuggestable: "isSuggestable", isFilterable: "isFilterable", userInput: "userInput", suggestedText: "suggestedText", inputAttributes: "inputAttributes", id: "id", activeDescendant: "activeDescendant", tabIndex: "tabIndex", isLoading: "isLoading", ariaControls: "ariaControls", ariaExpanded: "ariaExpanded", placeholder: "placeholder" }, outputs: { valueChange: "valueChange", onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", onNavigate: "onNavigate" }, host: { properties: { "attr.id": "this.id", "attr.aria-activedescendant": "this.activeDescendant", "attr.tabindex": "this.tabIndex", "attr.aria-busy": "this.isLoading", "attr.aria-controls": "this.ariaControls", "attr.aria-expanded": "this.ariaExpanded", "attr.aria-invalid": "this.attrAriaInvalid", "attr.placeholder": "this.placeholder", "attr.role": "this.role", "attr.dir": "this.dir" } }, usesOnChanges: true, ngImport: i0, template: ``, isInline: true });
|
|
745
746
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SearchBarComponent, decorators: [{
|
|
746
747
|
type: Component,
|
|
@@ -748,7 +749,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
748
749
|
selector: 'input[kendoSearchbar]',
|
|
749
750
|
template: ``
|
|
750
751
|
}]
|
|
751
|
-
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.Renderer2 }, { type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { tagListId: [{
|
|
752
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.Renderer2 }, { type: i0.Injector }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { tagListId: [{
|
|
752
753
|
type: Input
|
|
753
754
|
}], readonly: [{
|
|
754
755
|
type: Input
|
|
@@ -10015,6 +10016,7 @@ class MultiSelectComponent {
|
|
|
10015
10016
|
this.cdr.detectChanges();
|
|
10016
10017
|
this.searchbar.setInputSize();
|
|
10017
10018
|
this.subs.add(this.renderer.listen(this.searchbar.input.nativeElement, 'mousedown', this.handleMousedown.bind(this)));
|
|
10019
|
+
this.subs.add(this.renderer.listen(this.tagList.hostElement.nativeElement, 'mousedown', this.handleMousedown.bind(this)));
|
|
10018
10020
|
this.subs.add(this.renderer.listen(this.wrapper.nativeElement, 'keydown', this.handleKeydown.bind(this)));
|
|
10019
10021
|
if (this.actionSheet && isDocumentAvailable()) {
|
|
10020
10022
|
// The following syntax is used as it does not violate CSP compliance
|
|
@@ -10684,7 +10686,7 @@ MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
|
10684
10686
|
{
|
|
10685
10687
|
provide: KendoInput, useExisting: forwardRef(() => MultiSelectComponent)
|
|
10686
10688
|
}
|
|
10687
|
-
], 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: `
|
|
10689
|
+
], 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: "tagList", first: true, predicate: TagListComponent, descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "optionsList", first: true, predicate: ["optionsList"], descendants: true }], exportAs: ["kendoMultiSelect"], usesOnChanges: true, ngImport: i0, template: `
|
|
10688
10690
|
<ng-container kendoMultiSelectLocalizedMessages
|
|
10689
10691
|
i18n-noDataText="kendo.multiselect.noDataText|The text displayed in the popup when there are no items"
|
|
10690
10692
|
noDataText="NO DATA FOUND"
|
|
@@ -11204,6 +11206,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
11204
11206
|
}], searchbar: [{
|
|
11205
11207
|
type: ViewChild,
|
|
11206
11208
|
args: [SearchBarComponent, { static: true }]
|
|
11209
|
+
}], tagList: [{
|
|
11210
|
+
type: ViewChild,
|
|
11211
|
+
args: [TagListComponent, { static: true }]
|
|
11207
11212
|
}], popupTemplate: [{
|
|
11208
11213
|
type: ViewChild,
|
|
11209
11214
|
args: ['popupTemplate', { static: true }]
|
|
@@ -39,6 +39,7 @@ import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
|
39
39
|
import { ActionSheetComponent } from '@progress/kendo-angular-navigation';
|
|
40
40
|
import { TextBoxComponent } from '@progress/kendo-angular-inputs';
|
|
41
41
|
import { ResponsiveRendererComponent } from '../common/action-sheet.component';
|
|
42
|
+
import { TagListComponent } from '../common/taglist.component';
|
|
42
43
|
import * as i0 from "@angular/core";
|
|
43
44
|
/**
|
|
44
45
|
* Represents the [Kendo UI MultiSelect component for Angular]({% slug overview_multiselect %}).
|
|
@@ -468,6 +469,7 @@ export declare class MultiSelectComponent implements OnDestroy, OnChanges, OnIni
|
|
|
468
469
|
removeTag: EventEmitter<RemoveTagEvent>;
|
|
469
470
|
container: ViewContainerRef;
|
|
470
471
|
searchbar: SearchBarComponent;
|
|
472
|
+
tagList: TagListComponent;
|
|
471
473
|
popupTemplate: TemplateRef<any>;
|
|
472
474
|
optionsList: ListComponent;
|
|
473
475
|
template: ItemTemplateDirective;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-dropdowns",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.4.0-develop.1",
|
|
4
4
|
"description": "A wide variety of native Angular dropdown components including AutoComplete, ComboBox, DropDownList, DropDownTree, MultiColumnComboBox, MultiSelect, and MultiSelectTree ",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -25,17 +25,17 @@
|
|
|
25
25
|
"@angular/forms": "15 - 18",
|
|
26
26
|
"@angular/platform-browser": "15 - 18",
|
|
27
27
|
"@progress/kendo-licensing": "^1.0.2",
|
|
28
|
-
"@progress/kendo-angular-common": "16.
|
|
29
|
-
"@progress/kendo-angular-l10n": "16.
|
|
30
|
-
"@progress/kendo-angular-navigation": "16.
|
|
31
|
-
"@progress/kendo-angular-popup": "16.
|
|
32
|
-
"@progress/kendo-angular-icons": "16.
|
|
33
|
-
"@progress/kendo-angular-treeview": "16.
|
|
28
|
+
"@progress/kendo-angular-common": "16.4.0-develop.1",
|
|
29
|
+
"@progress/kendo-angular-l10n": "16.4.0-develop.1",
|
|
30
|
+
"@progress/kendo-angular-navigation": "16.4.0-develop.1",
|
|
31
|
+
"@progress/kendo-angular-popup": "16.4.0-develop.1",
|
|
32
|
+
"@progress/kendo-angular-icons": "16.4.0-develop.1",
|
|
33
|
+
"@progress/kendo-angular-treeview": "16.4.0-develop.1",
|
|
34
34
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"tslib": "^2.3.1",
|
|
38
|
-
"@progress/kendo-angular-schematics": "16.
|
|
38
|
+
"@progress/kendo-angular-schematics": "16.4.0-develop.1",
|
|
39
39
|
"@progress/kendo-common": "^0.2.1"
|
|
40
40
|
},
|
|
41
41
|
"schematics": "./schematics/collection.json",
|
|
@@ -4,9 +4,9 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
4
4
|
function default_1(options) {
|
|
5
5
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'DropDownsModule', package: 'dropdowns', peerDependencies: {
|
|
6
6
|
// peers of the treeview
|
|
7
|
-
'@progress/kendo-angular-inputs': '16.
|
|
7
|
+
'@progress/kendo-angular-inputs': '16.4.0-develop.1',
|
|
8
8
|
// peers of inputs
|
|
9
|
-
'@progress/kendo-angular-intl': '16.
|
|
9
|
+
'@progress/kendo-angular-intl': '16.4.0-develop.1',
|
|
10
10
|
'@progress/kendo-drawing': '^1.17.2',
|
|
11
11
|
// Peer dependency of icons
|
|
12
12
|
'@progress/kendo-svg-icons': '^3.0.0'
|