@progress/kendo-angular-dropdowns 7.1.0-dev.202208301349 → 7.1.0-dev.202208301423
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/autocomplete/autocomplete.component.d.ts +0 -1
- package/bundles/kendo-angular-dropdowns.umd.js +1 -1
- package/comboboxes/combobox.component.d.ts +0 -1
- package/common/list.component.d.ts +4 -1
- package/common/searchbar.component.d.ts +17 -6
- package/common/shared.module.d.ts +1 -1
- package/dropdownlist/dropdownlist.component.d.ts +22 -10
- package/esm2015/autocomplete/autocomplete.component.js +12 -8
- package/esm2015/comboboxes/combobox.component.js +14 -8
- package/esm2015/comboboxes/multicolumncombobox.component.js +13 -3
- package/esm2015/common/list.component.js +16 -1
- package/esm2015/common/searchbar.component.js +79 -19
- package/esm2015/common/shared.module.js +6 -6
- package/esm2015/dropdownlist/dropdownlist.component.js +73 -42
- package/esm2015/multiselect/multiselect.component.js +17 -21
- package/esm2015/package-metadata.js +1 -1
- package/fesm2015/kendo-angular-dropdowns.js +229 -109
- package/multiselect/multiselect.component.d.ts +0 -3
- package/package.json +1 -1
|
@@ -248,7 +248,6 @@ export class MultiSelectComponent {
|
|
|
248
248
|
*/
|
|
249
249
|
this.removeTag = new EventEmitter();
|
|
250
250
|
this.hostClasses = true;
|
|
251
|
-
this.role = 'combobox';
|
|
252
251
|
this.initialized = false;
|
|
253
252
|
this._size = 'medium';
|
|
254
253
|
this._rounded = 'medium';
|
|
@@ -561,9 +560,6 @@ export class MultiSelectComponent {
|
|
|
561
560
|
get isLoading() {
|
|
562
561
|
return this.loading;
|
|
563
562
|
}
|
|
564
|
-
get isAriaExpanded() {
|
|
565
|
-
return this.isOpen;
|
|
566
|
-
}
|
|
567
563
|
/**
|
|
568
564
|
* @hidden
|
|
569
565
|
*/
|
|
@@ -625,11 +621,6 @@ export class MultiSelectComponent {
|
|
|
625
621
|
}
|
|
626
622
|
return prefix + "-" + getter(item, this.valueField);
|
|
627
623
|
}
|
|
628
|
-
get noDataLabel() {
|
|
629
|
-
if (this.dataService.itemsCount === 0) {
|
|
630
|
-
return this.messageFor('noDataText');
|
|
631
|
-
}
|
|
632
|
-
}
|
|
633
624
|
get clearButtonVisiblity() {
|
|
634
625
|
if (this.touchEnabled) {
|
|
635
626
|
return 'visible';
|
|
@@ -1285,6 +1276,11 @@ export class MultiSelectComponent {
|
|
|
1285
1276
|
popupWrapper.style.width = max;
|
|
1286
1277
|
popupWrapper.style.height = this.height;
|
|
1287
1278
|
popupWrapper.setAttribute("dir", this.direction);
|
|
1279
|
+
const listBox = popupWrapper.querySelector('ul.k-list-ul');
|
|
1280
|
+
const ariaLabel = this.searchbar.input.nativeElement.getAttribute('aria-labelledby');
|
|
1281
|
+
if (ariaLabel) {
|
|
1282
|
+
listBox.setAttribute('aria-labelledby', ariaLabel);
|
|
1283
|
+
}
|
|
1288
1284
|
this.popupRef.popupOpen.subscribe(() => {
|
|
1289
1285
|
this.cdr.detectChanges();
|
|
1290
1286
|
this.optionsList.scrollToItem(this.selectionService.focused);
|
|
@@ -1343,7 +1339,7 @@ export class MultiSelectComponent {
|
|
|
1343
1339
|
}
|
|
1344
1340
|
}
|
|
1345
1341
|
MultiSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MultiSelectComponent, deps: [{ token: i0.ElementRef }, { token: i1.LocalizationService }, { token: i2.PopupService }, { token: i3.DataService }, { token: i4.SelectionService }, { token: i5.NavigationService }, { token: i6.DisabledItemsService }, { token: i0.ChangeDetectorRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
1346
|
-
MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: MultiSelectComponent, selector: "kendo-multiselect", inputs: { focusableId: "focusableId", autoClose: "autoClose", loading: "loading", data: "data", value: "value", valueField: "valueField", textField: "textField", tabindex: "tabindex", tabIndex: "tabIndex", size: "size", rounded: "rounded", fillMode: "fillMode", placeholder: "placeholder", disabled: "disabled", itemDisabled: "itemDisabled", checkboxes: "checkboxes", readonly: "readonly", filterable: "filterable", virtual: "virtual", popupSettings: "popupSettings", listHeight: "listHeight", valuePrimitive: "valuePrimitive", clearButton: "clearButton", tagMapper: "tagMapper", allowCustom: "allowCustom", valueNormalizer: "valueNormalizer" }, outputs: { filterChange: "filterChange", valueChange: "valueChange", open: "open", opened: "opened", close: "close", closed: "closed", onFocus: "focus", onBlur: "blur", removeTag: "removeTag" }, host: { listeners: { "mousedown": "hostMousedown($event)" }, properties: { "class.k-multiselect": "this.hostClasses", "class.k-input": "this.hostClasses", "attr.dir": "this.dir", "class.k-disabled": "this.disabledClass", "class.k-loading": "this.isLoading"
|
|
1342
|
+
MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: MultiSelectComponent, selector: "kendo-multiselect", inputs: { focusableId: "focusableId", autoClose: "autoClose", loading: "loading", data: "data", value: "value", valueField: "valueField", textField: "textField", tabindex: "tabindex", tabIndex: "tabIndex", size: "size", rounded: "rounded", fillMode: "fillMode", placeholder: "placeholder", disabled: "disabled", itemDisabled: "itemDisabled", checkboxes: "checkboxes", readonly: "readonly", filterable: "filterable", virtual: "virtual", popupSettings: "popupSettings", listHeight: "listHeight", valuePrimitive: "valuePrimitive", clearButton: "clearButton", tagMapper: "tagMapper", allowCustom: "allowCustom", valueNormalizer: "valueNormalizer" }, outputs: { filterChange: "filterChange", valueChange: "valueChange", open: "open", opened: "opened", close: "close", closed: "closed", onFocus: "focus", onBlur: "blur", removeTag: "removeTag" }, host: { listeners: { "mousedown": "hostMousedown($event)" }, properties: { "class.k-multiselect": "this.hostClasses", "class.k-input": "this.hostClasses", "attr.dir": "this.dir", "class.k-disabled": "this.disabledClass", "class.k-loading": "this.isLoading" } }, providers: [
|
|
1347
1343
|
MULTISELECT_VALUE_ACCESSOR,
|
|
1348
1344
|
DataService,
|
|
1349
1345
|
SelectionService,
|
|
@@ -1388,10 +1384,12 @@ MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
1388
1384
|
<kendo-searchbar
|
|
1389
1385
|
#searchbar
|
|
1390
1386
|
[id]="focusableId"
|
|
1391
|
-
[role]="'
|
|
1387
|
+
[role]="'combobox'"
|
|
1392
1388
|
[tagListId]="tagListId"
|
|
1389
|
+
[listId]="listBoxId"
|
|
1390
|
+
[isLoading]="loading"
|
|
1391
|
+
[isFilterable]="filterable"
|
|
1393
1392
|
[activeDescendant]="activeDescendant"
|
|
1394
|
-
[noDataLabel]="noDataLabel"
|
|
1395
1393
|
[userInput]="text"
|
|
1396
1394
|
[disabled]="disabled"
|
|
1397
1395
|
[readonly]="readonly"
|
|
@@ -1465,6 +1463,7 @@ MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
1465
1463
|
[virtual]="virtual"
|
|
1466
1464
|
(pageChange)="pageChange($event)"
|
|
1467
1465
|
[checkboxes]="checkboxes"
|
|
1466
|
+
[isMultiselect]="true"
|
|
1468
1467
|
>
|
|
1469
1468
|
</kendo-list>
|
|
1470
1469
|
<!--no data template-->
|
|
@@ -1489,7 +1488,7 @@ MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
1489
1488
|
<kendo-resize-sensor (resize)="onResize()"></kendo-resize-sensor>
|
|
1490
1489
|
</ng-template>
|
|
1491
1490
|
<ng-container #container></ng-container>
|
|
1492
|
-
`, isInline: true, components: [{ type: i7.TagListComponent, selector: "kendo-taglist", inputs: ["tags", "textField", "valueField", "valueDepth", "focused", "template", "groupTemplate", "disabled", "tagPrefix", "id", "size", "rounded", "fillMode", "disabledIndices"], outputs: ["removeTag"] }, { type: i8.SearchBarComponent, selector: "kendo-searchbar", inputs: ["id", "listId", "tagListId", "activeDescendant", "
|
|
1491
|
+
`, isInline: true, components: [{ type: i7.TagListComponent, selector: "kendo-taglist", inputs: ["tags", "textField", "valueField", "valueDepth", "focused", "template", "groupTemplate", "disabled", "tagPrefix", "id", "size", "rounded", "fillMode", "disabledIndices"], outputs: ["removeTag"] }, { type: i8.SearchBarComponent, selector: "kendo-searchbar", inputs: ["id", "listId", "tagListId", "activeDescendant", "disabled", "readonly", "tabIndex", "popupOpen", "role", "isLoading", "isSuggestable", "isFilterable", "userInput", "suggestedText", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { type: i9.ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "isMultiselect", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize"] }, { type: i10.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i11.LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i12.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i13.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i12.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i14.SelectableDirective, selector: "[kendoDropDownsSelectable]", inputs: ["index", "checkboxes", "height", "multipleSelection"] }] });
|
|
1493
1492
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MultiSelectComponent, decorators: [{
|
|
1494
1493
|
type: Component,
|
|
1495
1494
|
args: [{
|
|
@@ -1541,10 +1540,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1541
1540
|
<kendo-searchbar
|
|
1542
1541
|
#searchbar
|
|
1543
1542
|
[id]="focusableId"
|
|
1544
|
-
[role]="'
|
|
1543
|
+
[role]="'combobox'"
|
|
1545
1544
|
[tagListId]="tagListId"
|
|
1545
|
+
[listId]="listBoxId"
|
|
1546
|
+
[isLoading]="loading"
|
|
1547
|
+
[isFilterable]="filterable"
|
|
1546
1548
|
[activeDescendant]="activeDescendant"
|
|
1547
|
-
[noDataLabel]="noDataLabel"
|
|
1548
1549
|
[userInput]="text"
|
|
1549
1550
|
[disabled]="disabled"
|
|
1550
1551
|
[readonly]="readonly"
|
|
@@ -1618,6 +1619,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1618
1619
|
[virtual]="virtual"
|
|
1619
1620
|
(pageChange)="pageChange($event)"
|
|
1620
1621
|
[checkboxes]="checkboxes"
|
|
1622
|
+
[isMultiselect]="true"
|
|
1621
1623
|
>
|
|
1622
1624
|
</kendo-list>
|
|
1623
1625
|
<!--no data template-->
|
|
@@ -1776,12 +1778,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
1776
1778
|
}], isLoading: [{
|
|
1777
1779
|
type: HostBinding,
|
|
1778
1780
|
args: ['class.k-loading']
|
|
1779
|
-
}], role: [{
|
|
1780
|
-
type: HostBinding,
|
|
1781
|
-
args: ['attr.role']
|
|
1782
|
-
}], isAriaExpanded: [{
|
|
1783
|
-
type: HostBinding,
|
|
1784
|
-
args: ['attr.aria-expanded']
|
|
1785
1781
|
}], hostMousedown: [{
|
|
1786
1782
|
type: HostListener,
|
|
1787
1783
|
args: ['mousedown', ['$event']]
|
|
@@ -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:
|
|
12
|
+
publishDate: 1661869333,
|
|
13
13
|
version: '',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
15
15
|
};
|