@progress/kendo-angular-dropdowns 7.2.2 → 7.2.3-dev.202211091307
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/bundles/kendo-angular-dropdowns.umd.js +1 -1
- package/common/searchbar.component.d.ts +7 -5
- package/dropdowns.module.d.ts +1 -1
- package/dropdowntrees/dropdowntree.component.d.ts +16 -5
- package/dropdowntrees/multiselecttree.component.d.ts +15 -5
- package/esm2015/common/searchbar.component.js +9 -24
- package/esm2015/dropdownlist/dropdownlist.component.js +1 -0
- package/esm2015/dropdowns.module.js +1 -1
- package/esm2015/dropdowntrees/dropdowntree.component.js +50 -18
- package/esm2015/dropdowntrees/multiselecttree.component.js +40 -10
- package/esm2015/package-metadata.js +1 -1
- package/fesm2015/kendo-angular-dropdowns.js +100 -52
- package/package.json +1 -1
|
@@ -29,7 +29,7 @@ const packageMetadata = {
|
|
|
29
29
|
name: '@progress/kendo-angular-dropdowns',
|
|
30
30
|
productName: 'Kendo UI for Angular',
|
|
31
31
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
32
|
-
publishDate:
|
|
32
|
+
publishDate: 1667999160,
|
|
33
33
|
version: '',
|
|
34
34
|
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'
|
|
35
35
|
};
|
|
@@ -423,6 +423,13 @@ class SearchBarComponent {
|
|
|
423
423
|
set userInput(userInput) {
|
|
424
424
|
this._userInput = userInput || "";
|
|
425
425
|
}
|
|
426
|
+
/**
|
|
427
|
+
* @hidden
|
|
428
|
+
*/
|
|
429
|
+
get formControl() {
|
|
430
|
+
const ngControl = this.injector.get(NgControl, null);
|
|
431
|
+
return (ngControl === null || ngControl === void 0 ? void 0 : ngControl.control) || null;
|
|
432
|
+
}
|
|
426
433
|
get value() {
|
|
427
434
|
return this.input.nativeElement.value;
|
|
428
435
|
}
|
|
@@ -440,17 +447,6 @@ class SearchBarComponent {
|
|
|
440
447
|
this.subs.add(this.localization
|
|
441
448
|
.changes.subscribe(({ rtl }) => this.direction = rtl ? 'rtl' : 'ltr'));
|
|
442
449
|
}
|
|
443
|
-
ngAfterContentChecked() {
|
|
444
|
-
var _a;
|
|
445
|
-
const formControl = (_a = this.injector.get(NgControl, null)) === null || _a === void 0 ? void 0 : _a.control;
|
|
446
|
-
this.control = formControl;
|
|
447
|
-
if (formControl) {
|
|
448
|
-
this.subs.add(formControl.valueChanges.subscribe(() => {
|
|
449
|
-
this.control = formControl;
|
|
450
|
-
}));
|
|
451
|
-
}
|
|
452
|
-
this.setAriaInvalid();
|
|
453
|
-
}
|
|
454
450
|
ngOnChanges(changes) {
|
|
455
451
|
let previousUserInput;
|
|
456
452
|
if (this.input && (changes.userInput || changes.suggestedText)) {
|
|
@@ -501,19 +497,6 @@ class SearchBarComponent {
|
|
|
501
497
|
}
|
|
502
498
|
}
|
|
503
499
|
}
|
|
504
|
-
setAriaInvalid() {
|
|
505
|
-
if (this.control) {
|
|
506
|
-
if (this.control.invalid) {
|
|
507
|
-
this.renderer.setAttribute(this.input.nativeElement, 'aria-invalid', 'true');
|
|
508
|
-
}
|
|
509
|
-
else {
|
|
510
|
-
this.renderer.setAttribute(this.input.nativeElement, 'aria-invalid', 'false');
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
else {
|
|
514
|
-
this.renderer.removeAttribute(this.input.nativeElement, 'aria-invalid');
|
|
515
|
-
}
|
|
516
|
-
}
|
|
517
500
|
setAriaAutocomplete() {
|
|
518
501
|
if (this.isFilterable) {
|
|
519
502
|
this.renderer.setAttribute(this.input.nativeElement, 'aria-autocomplete', 'list');
|
|
@@ -595,6 +578,7 @@ SearchBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
595
578
|
[attr.aria-describedby]="tagListId"
|
|
596
579
|
[attr.aria-activedescendant]="activeDescendant"
|
|
597
580
|
[attr.aria-busy]="isLoading"
|
|
581
|
+
[attr.aria-invalid]="formControl?.invalid"
|
|
598
582
|
/>
|
|
599
583
|
`, isInline: true, directives: [{ type: i9.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
|
600
584
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SearchBarComponent, decorators: [{
|
|
@@ -625,6 +609,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
625
609
|
[attr.aria-describedby]="tagListId"
|
|
626
610
|
[attr.aria-activedescendant]="activeDescendant"
|
|
627
611
|
[attr.aria-busy]="isLoading"
|
|
612
|
+
[attr.aria-invalid]="formControl?.invalid"
|
|
628
613
|
/>
|
|
629
614
|
`
|
|
630
615
|
}]
|
|
@@ -5894,6 +5879,7 @@ class DropDownListComponent {
|
|
|
5894
5879
|
action !== NavigationAction.Delete &&
|
|
5895
5880
|
action !== NavigationAction.PageDown &&
|
|
5896
5881
|
action !== NavigationAction.PageUp &&
|
|
5882
|
+
action !== NavigationAction.SelectAll &&
|
|
5897
5883
|
!(leftRightKeys && this.filterable) &&
|
|
5898
5884
|
action !== NavigationAction.Enter //enter when popup is opened is handled before `handleEnter`
|
|
5899
5885
|
) {
|
|
@@ -10145,7 +10131,8 @@ const DEFAULT_FILL_MODE$1 = 'solid';
|
|
|
10145
10131
|
* Represents the [Kendo UI DropDownTree component for Angular]({% slug overview_ddt %}).
|
|
10146
10132
|
*/
|
|
10147
10133
|
class DropDownTreeComponent {
|
|
10148
|
-
constructor(wrapper, popupService, navigationService, renderer, _zone, cdr, localization, touchEnabled) {
|
|
10134
|
+
constructor(injector, wrapper, popupService, navigationService, renderer, _zone, cdr, localization, touchEnabled) {
|
|
10135
|
+
this.injector = injector;
|
|
10149
10136
|
this.wrapper = wrapper;
|
|
10150
10137
|
this.popupService = popupService;
|
|
10151
10138
|
this.navigationService = navigationService;
|
|
@@ -10155,7 +10142,7 @@ class DropDownTreeComponent {
|
|
|
10155
10142
|
this.localization = localization;
|
|
10156
10143
|
this.touchEnabled = touchEnabled;
|
|
10157
10144
|
this.hostClasses = true;
|
|
10158
|
-
this.role = '
|
|
10145
|
+
this.role = 'combobox';
|
|
10159
10146
|
this.ariaHasPopup = 'tree';
|
|
10160
10147
|
/**
|
|
10161
10148
|
* Fires each time the popup is about to open
|
|
@@ -10291,6 +10278,7 @@ class DropDownTreeComponent {
|
|
|
10291
10278
|
this._popupSettings = DEFAULT_POPUP_SETTINGS$1;
|
|
10292
10279
|
this._tabindex = 0;
|
|
10293
10280
|
this._isFocused = false;
|
|
10281
|
+
this._popupId = guid$1();
|
|
10294
10282
|
this._size = 'medium';
|
|
10295
10283
|
this._rounded = 'medium';
|
|
10296
10284
|
this._fillMode = 'solid';
|
|
@@ -10302,12 +10290,24 @@ class DropDownTreeComponent {
|
|
|
10302
10290
|
this.subscribeTouchEvents();
|
|
10303
10291
|
this.subscribeFocusEvents();
|
|
10304
10292
|
}
|
|
10293
|
+
get hostAriaInvalid() {
|
|
10294
|
+
return this.formControl ? this.formControl.invalid.toString() : null;
|
|
10295
|
+
}
|
|
10305
10296
|
get isDisabled() {
|
|
10306
10297
|
return this.disabled;
|
|
10307
10298
|
}
|
|
10299
|
+
get isDisabledAttribute() {
|
|
10300
|
+
return this.disabled ? '' : null;
|
|
10301
|
+
}
|
|
10308
10302
|
get isLoading() {
|
|
10309
10303
|
return this.loading;
|
|
10310
10304
|
}
|
|
10305
|
+
get isBusy() {
|
|
10306
|
+
return this.loading ? 'true' : null;
|
|
10307
|
+
}
|
|
10308
|
+
get hostAriaControls() {
|
|
10309
|
+
return this.isOpen ? this._popupId : null;
|
|
10310
|
+
}
|
|
10311
10311
|
get id() {
|
|
10312
10312
|
return this.focusableId;
|
|
10313
10313
|
}
|
|
@@ -10317,8 +10317,11 @@ class DropDownTreeComponent {
|
|
|
10317
10317
|
get isAriaExpanded() {
|
|
10318
10318
|
return this.isOpen;
|
|
10319
10319
|
}
|
|
10320
|
+
get hostAriaAutocomplete() {
|
|
10321
|
+
return this.filterable ? 'list' : null;
|
|
10322
|
+
}
|
|
10320
10323
|
get isReadonly() {
|
|
10321
|
-
return this.readonly;
|
|
10324
|
+
return this.readonly ? '' : null;
|
|
10322
10325
|
}
|
|
10323
10326
|
/**
|
|
10324
10327
|
* @hidden
|
|
@@ -10574,6 +10577,13 @@ class DropDownTreeComponent {
|
|
|
10574
10577
|
get isVisible() {
|
|
10575
10578
|
return this.isNodeVisible;
|
|
10576
10579
|
}
|
|
10580
|
+
/**
|
|
10581
|
+
* @hidden
|
|
10582
|
+
*/
|
|
10583
|
+
get formControl() {
|
|
10584
|
+
const ngControl = this.injector.get(NgControl, null);
|
|
10585
|
+
return (ngControl === null || ngControl === void 0 ? void 0 : ngControl.control) || null;
|
|
10586
|
+
}
|
|
10577
10587
|
ngOnInit() {
|
|
10578
10588
|
this.renderer.removeAttribute(this.wrapper.nativeElement, 'tabindex');
|
|
10579
10589
|
this.assignAriaDescribedBy();
|
|
@@ -10924,10 +10934,11 @@ class DropDownTreeComponent {
|
|
|
10924
10934
|
});
|
|
10925
10935
|
const popupWrapper = this.popupRef.popupElement;
|
|
10926
10936
|
const { min, max } = this.width;
|
|
10927
|
-
|
|
10928
|
-
|
|
10929
|
-
|
|
10930
|
-
|
|
10937
|
+
this.renderer.setStyle(popupWrapper, 'minWidth', min);
|
|
10938
|
+
this.renderer.setStyle(popupWrapper, 'width', max);
|
|
10939
|
+
this.renderer.setStyle(popupWrapper, 'height', this.height);
|
|
10940
|
+
this.renderer.setAttribute(popupWrapper, 'dir', this.direction);
|
|
10941
|
+
this.renderer.setAttribute(popupWrapper, 'id', this._popupId);
|
|
10931
10942
|
this.popupRef.popupOpen.subscribe(() => {
|
|
10932
10943
|
this.cdr.detectChanges();
|
|
10933
10944
|
this.opened.emit();
|
|
@@ -11064,8 +11075,8 @@ class DropDownTreeComponent {
|
|
|
11064
11075
|
}
|
|
11065
11076
|
}
|
|
11066
11077
|
}
|
|
11067
|
-
DropDownTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropDownTreeComponent, deps: [{ token: i0.ElementRef }, { token: i2.PopupService }, { token: NavigationService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i1.LocalizationService }, { token: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
11068
|
-
DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DropDownTreeComponent, selector: "kendo-dropdowntree", inputs: { loading: "loading", clearButton: "clearButton", data: "data", value: "value", textField: "textField", valueField: "valueField", valueDepth: "valueDepth", hasChildren: "hasChildren", fetchChildren: "fetchChildren", placeholder: "placeholder", popupSettings: "popupSettings", dataItem: "dataItem", listHeight: "listHeight", disabled: "disabled", readonly: "readonly", valuePrimitive: "valuePrimitive", tabindex: "tabindex", size: "size", rounded: "rounded", fillMode: "fillMode", itemDisabled: "itemDisabled", isNodeExpanded: "isNodeExpanded", isNodeVisible: "isNodeVisible", loadOnDemand: "loadOnDemand", filterable: "filterable", filter: "filter", focusableId: "focusableId" }, outputs: { open: "open", opened: "opened", close: "close", closed: "closed", nodeExpand: "nodeExpand", nodeCollapse: "nodeCollapse", onFocus: "focus", onBlur: "blur", valueChange: "valueChange", filterChange: "filterChange" }, host: { listeners: { "click": "handleClick()", "keydown": "handleKeydown($event)" }, properties: { "class.k-dropdowntree": "this.hostClasses", "class.k-picker": "this.hostClasses", "class.k-disabled": "this.isDisabled", "attr.
|
|
11078
|
+
DropDownTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropDownTreeComponent, deps: [{ token: i0.Injector }, { token: i0.ElementRef }, { token: i2.PopupService }, { token: NavigationService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i1.LocalizationService }, { token: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
11079
|
+
DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DropDownTreeComponent, selector: "kendo-dropdowntree", inputs: { loading: "loading", clearButton: "clearButton", data: "data", value: "value", textField: "textField", valueField: "valueField", valueDepth: "valueDepth", hasChildren: "hasChildren", fetchChildren: "fetchChildren", placeholder: "placeholder", popupSettings: "popupSettings", dataItem: "dataItem", listHeight: "listHeight", disabled: "disabled", readonly: "readonly", valuePrimitive: "valuePrimitive", tabindex: "tabindex", size: "size", rounded: "rounded", fillMode: "fillMode", itemDisabled: "itemDisabled", isNodeExpanded: "isNodeExpanded", isNodeVisible: "isNodeVisible", loadOnDemand: "loadOnDemand", filterable: "filterable", filter: "filter", focusableId: "focusableId" }, outputs: { open: "open", opened: "opened", close: "close", closed: "closed", nodeExpand: "nodeExpand", nodeCollapse: "nodeCollapse", onFocus: "focus", onBlur: "blur", valueChange: "valueChange", filterChange: "filterChange" }, host: { listeners: { "click": "handleClick()", "keydown": "handleKeydown($event)" }, properties: { "class.k-dropdowntree": "this.hostClasses", "class.k-picker": "this.hostClasses", "attr.aria-invalid": "this.hostAriaInvalid", "class.k-disabled": "this.isDisabled", "attr.disabled": "this.isDisabledAttribute", "class.k-loading": "this.isLoading", "attr.aria-busy": "this.isBusy", "attr.aria-controls": "this.hostAriaControls", "attr.id": "this.id", "attr.dir": "this.direction", "attr.tabindex": "this.hostTabIndex", "attr.role": "this.role", "attr.aria-haspopup": "this.ariaHasPopup", "attr.aria-expanded": "this.isAriaExpanded", "attr.aria-autocomplete": "this.hostAriaAutocomplete", "attr.readonly": "this.isReadonly" } }, providers: [
|
|
11069
11080
|
DataService,
|
|
11070
11081
|
SelectionService,
|
|
11071
11082
|
NavigationService,
|
|
@@ -11107,7 +11118,6 @@ DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
11107
11118
|
<span
|
|
11108
11119
|
[attr.id]="valueLabelId"
|
|
11109
11120
|
class="k-input-inner"
|
|
11110
|
-
role="option"
|
|
11111
11121
|
>
|
|
11112
11122
|
<span class="k-input-value-text">
|
|
11113
11123
|
<ng-template *ngIf="valueTemplate"
|
|
@@ -11277,7 +11287,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
11277
11287
|
<span
|
|
11278
11288
|
[attr.id]="valueLabelId"
|
|
11279
11289
|
class="k-input-inner"
|
|
11280
|
-
role="option"
|
|
11281
11290
|
>
|
|
11282
11291
|
<span class="k-input-value-text">
|
|
11283
11292
|
<ng-template *ngIf="valueTemplate"
|
|
@@ -11401,7 +11410,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
11401
11410
|
`,
|
|
11402
11411
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
11403
11412
|
}]
|
|
11404
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i2.PopupService }, { type: NavigationService }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i1.LocalizationService }, { type: undefined, decorators: [{
|
|
11413
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }, { type: i2.PopupService }, { type: NavigationService }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i1.LocalizationService }, { type: undefined, decorators: [{
|
|
11405
11414
|
type: Optional
|
|
11406
11415
|
}, {
|
|
11407
11416
|
type: Inject,
|
|
@@ -11412,15 +11421,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
11412
11421
|
}, {
|
|
11413
11422
|
type: HostBinding,
|
|
11414
11423
|
args: ['class.k-picker']
|
|
11424
|
+
}], hostAriaInvalid: [{
|
|
11425
|
+
type: HostBinding,
|
|
11426
|
+
args: ['attr.aria-invalid']
|
|
11415
11427
|
}], isDisabled: [{
|
|
11416
11428
|
type: HostBinding,
|
|
11417
11429
|
args: ['class.k-disabled']
|
|
11418
|
-
}, {
|
|
11430
|
+
}], isDisabledAttribute: [{
|
|
11419
11431
|
type: HostBinding,
|
|
11420
|
-
args: ['attr.
|
|
11432
|
+
args: ['attr.disabled']
|
|
11421
11433
|
}], isLoading: [{
|
|
11422
11434
|
type: HostBinding,
|
|
11423
11435
|
args: ['class.k-loading']
|
|
11436
|
+
}], isBusy: [{
|
|
11437
|
+
type: HostBinding,
|
|
11438
|
+
args: ['attr.aria-busy']
|
|
11439
|
+
}], hostAriaControls: [{
|
|
11440
|
+
type: HostBinding,
|
|
11441
|
+
args: ['attr.aria-controls']
|
|
11424
11442
|
}], id: [{
|
|
11425
11443
|
type: HostBinding,
|
|
11426
11444
|
args: ['attr.id']
|
|
@@ -11439,12 +11457,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
11439
11457
|
}], isAriaExpanded: [{
|
|
11440
11458
|
type: HostBinding,
|
|
11441
11459
|
args: ['attr.aria-expanded']
|
|
11460
|
+
}], hostAriaAutocomplete: [{
|
|
11461
|
+
type: HostBinding,
|
|
11462
|
+
args: ['attr.aria-autocomplete']
|
|
11442
11463
|
}], isReadonly: [{
|
|
11443
11464
|
type: HostBinding,
|
|
11444
11465
|
args: ['attr.readonly']
|
|
11445
|
-
}, {
|
|
11446
|
-
type: HostBinding,
|
|
11447
|
-
args: ['attr.aria-readonly']
|
|
11448
11466
|
}], handleClick: [{
|
|
11449
11467
|
type: HostListener,
|
|
11450
11468
|
args: ['click']
|
|
@@ -11997,7 +12015,8 @@ const DEFAULT_FILL_MODE = 'solid';
|
|
|
11997
12015
|
* Represents the [Kendo UI MultiSelectTree component for Angular]({% slug overview_multiselecttree %}).
|
|
11998
12016
|
*/
|
|
11999
12017
|
class MultiSelectTreeComponent {
|
|
12000
|
-
constructor(wrapper, popupService, renderer, navigationService, _zone, localization, cdr, lookup, touchEnabled) {
|
|
12018
|
+
constructor(injector, wrapper, popupService, renderer, navigationService, _zone, localization, cdr, lookup, touchEnabled) {
|
|
12019
|
+
this.injector = injector;
|
|
12001
12020
|
this.wrapper = wrapper;
|
|
12002
12021
|
this.popupService = popupService;
|
|
12003
12022
|
this.renderer = renderer;
|
|
@@ -12168,6 +12187,7 @@ class MultiSelectTreeComponent {
|
|
|
12168
12187
|
this._popupSettings = DEFAULT_POPUP_SETTINGS;
|
|
12169
12188
|
this._checkableSettings = DEFAULT_CHECKABLE_SETTINGS;
|
|
12170
12189
|
this._isFocused = false;
|
|
12190
|
+
this._popupId = guid$1();
|
|
12171
12191
|
this._size = 'medium';
|
|
12172
12192
|
this._rounded = 'medium';
|
|
12173
12193
|
this._fillMode = 'solid';
|
|
@@ -12182,9 +12202,21 @@ class MultiSelectTreeComponent {
|
|
|
12182
12202
|
get isDisabled() {
|
|
12183
12203
|
return this.disabled;
|
|
12184
12204
|
}
|
|
12205
|
+
get hostAriaControls() {
|
|
12206
|
+
return this.isOpen ? this._popupId : null;
|
|
12207
|
+
}
|
|
12208
|
+
get hostAriaAutocomplete() {
|
|
12209
|
+
return this.filterable ? 'list' : null;
|
|
12210
|
+
}
|
|
12185
12211
|
get isLoading() {
|
|
12186
12212
|
return this.loading;
|
|
12187
12213
|
}
|
|
12214
|
+
get hostAriaInvalid() {
|
|
12215
|
+
return this.formControl ? this.formControl.invalid.toString() : null;
|
|
12216
|
+
}
|
|
12217
|
+
get isBusy() {
|
|
12218
|
+
return this.loading ? 'true' : null;
|
|
12219
|
+
}
|
|
12188
12220
|
get id() {
|
|
12189
12221
|
return this.focusableId;
|
|
12190
12222
|
}
|
|
@@ -12195,7 +12227,7 @@ class MultiSelectTreeComponent {
|
|
|
12195
12227
|
return this.isOpen;
|
|
12196
12228
|
}
|
|
12197
12229
|
get isReadonly() {
|
|
12198
|
-
return this.readonly;
|
|
12230
|
+
return this.readonly ? '' : null;
|
|
12199
12231
|
}
|
|
12200
12232
|
get ariaDescribedBy() {
|
|
12201
12233
|
return this.tagListId;
|
|
@@ -12203,6 +12235,13 @@ class MultiSelectTreeComponent {
|
|
|
12203
12235
|
get ariaActiveDescendant() {
|
|
12204
12236
|
return this.focusedTagId;
|
|
12205
12237
|
}
|
|
12238
|
+
/**
|
|
12239
|
+
* @hidden
|
|
12240
|
+
*/
|
|
12241
|
+
get formControl() {
|
|
12242
|
+
const ngControl = this.injector.get(NgControl, null);
|
|
12243
|
+
return (ngControl === null || ngControl === void 0 ? void 0 : ngControl.control) || null;
|
|
12244
|
+
}
|
|
12206
12245
|
/**
|
|
12207
12246
|
* @hidden
|
|
12208
12247
|
*/
|
|
@@ -13215,8 +13254,8 @@ class MultiSelectTreeComponent {
|
|
|
13215
13254
|
}
|
|
13216
13255
|
}
|
|
13217
13256
|
}
|
|
13218
|
-
MultiSelectTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MultiSelectTreeComponent, deps: [{ token: i0.ElementRef }, { token: i2.PopupService }, { token: i0.Renderer2 }, { token: NavigationService }, { token: i0.NgZone }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: MultiSelectTreeLookupService }, { token: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
13219
|
-
MultiSelectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: MultiSelectTreeComponent, selector: "kendo-multiselecttree", inputs: { tabindex: "tabindex", size: "size", rounded: "rounded", fillMode: "fillMode", popupSettings: "popupSettings", checkableSettings: "checkableSettings", data: "data", value: "value", dataItems: "dataItems", textField: "textField", valueField: "valueField", valueDepth: "valueDepth", loading: "loading", placeholder: "placeholder", listHeight: "listHeight", disabled: "disabled", readonly: "readonly", valuePrimitive: "valuePrimitive", loadOnDemand: "loadOnDemand", focusableId: "focusableId", clearButton: "clearButton", filterable: "filterable", checkAll: "checkAll", hasChildren: "hasChildren", fetchChildren: "fetchChildren", isNodeExpanded: "isNodeExpanded", isNodeVisible: "isNodeVisible", itemDisabled: "itemDisabled", tagMapper: "tagMapper" }, outputs: { onFocus: "focus", onBlur: "blur", open: "open", opened: "opened", close: "close", closed: "closed", nodeExpand: "nodeExpand", nodeCollapse: "nodeCollapse", valueChange: "valueChange", removeTag: "removeTag", filterChange: "filterChange" }, host: { listeners: { "click": "handleClick()", "keydown": "handleKeydown($event)" }, properties: { "class.k-
|
|
13257
|
+
MultiSelectTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MultiSelectTreeComponent, deps: [{ token: i0.Injector }, { token: i0.ElementRef }, { token: i2.PopupService }, { token: i0.Renderer2 }, { token: NavigationService }, { token: i0.NgZone }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: MultiSelectTreeLookupService }, { token: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
13258
|
+
MultiSelectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: MultiSelectTreeComponent, selector: "kendo-multiselecttree", inputs: { tabindex: "tabindex", size: "size", rounded: "rounded", fillMode: "fillMode", popupSettings: "popupSettings", checkableSettings: "checkableSettings", data: "data", value: "value", dataItems: "dataItems", textField: "textField", valueField: "valueField", valueDepth: "valueDepth", loading: "loading", placeholder: "placeholder", listHeight: "listHeight", disabled: "disabled", readonly: "readonly", valuePrimitive: "valuePrimitive", loadOnDemand: "loadOnDemand", focusableId: "focusableId", clearButton: "clearButton", filterable: "filterable", checkAll: "checkAll", hasChildren: "hasChildren", fetchChildren: "fetchChildren", isNodeExpanded: "isNodeExpanded", isNodeVisible: "isNodeVisible", itemDisabled: "itemDisabled", tagMapper: "tagMapper" }, outputs: { onFocus: "focus", onBlur: "blur", open: "open", opened: "opened", close: "close", closed: "closed", nodeExpand: "nodeExpand", nodeCollapse: "nodeCollapse", valueChange: "valueChange", removeTag: "removeTag", filterChange: "filterChange" }, host: { listeners: { "click": "handleClick()", "keydown": "handleKeydown($event)" }, properties: { "class.k-multiselect-tree": "this.hostClasses", "class.k-input": "this.hostClasses", "class.k-disabled": "this.isDisabled", "attr.aria-disabled": "this.isDisabled", "attr.aria-controls": "this.hostAriaControls", "attr.aria-autocomplete": "this.hostAriaAutocomplete", "class.k-loading": "this.isLoading", "attr.aria-invalid": "this.hostAriaInvalid", "attr.aria-busy": "this.isBusy", "attr.id": "this.id", "attr.dir": "this.direction", "attr.tabindex": "this.hostTabIndex", "attr.role": "this.role", "attr.aria-expanded": "this.isAriaExpanded", "attr.aria-haspopup": "this.ariaHasPopup", "attr.readonly": "this.isReadonly", "attr.aria-describedby": "this.ariaDescribedBy", "attr.aria-activedescendant": "this.ariaActiveDescendant" } }, providers: [
|
|
13220
13259
|
LocalizationService,
|
|
13221
13260
|
NavigationService,
|
|
13222
13261
|
DataService,
|
|
@@ -13621,14 +13660,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
13621
13660
|
<ng-container #container></ng-container>
|
|
13622
13661
|
`
|
|
13623
13662
|
}]
|
|
13624
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i2.PopupService }, { type: i0.Renderer2 }, { type: NavigationService }, { type: i0.NgZone }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: MultiSelectTreeLookupService }, { type: undefined, decorators: [{
|
|
13663
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }, { type: i2.PopupService }, { type: i0.Renderer2 }, { type: NavigationService }, { type: i0.NgZone }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: MultiSelectTreeLookupService }, { type: undefined, decorators: [{
|
|
13625
13664
|
type: Optional
|
|
13626
13665
|
}, {
|
|
13627
13666
|
type: Inject,
|
|
13628
13667
|
args: [TOUCH_ENABLED]
|
|
13629
13668
|
}] }]; }, propDecorators: { hostClasses: [{
|
|
13630
13669
|
type: HostBinding,
|
|
13631
|
-
args: ['class.k-
|
|
13670
|
+
args: ['class.k-multiselect-tree']
|
|
13632
13671
|
}, {
|
|
13633
13672
|
type: HostBinding,
|
|
13634
13673
|
args: ['class.k-input']
|
|
@@ -13638,9 +13677,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
13638
13677
|
}, {
|
|
13639
13678
|
type: HostBinding,
|
|
13640
13679
|
args: ['attr.aria-disabled']
|
|
13680
|
+
}], hostAriaControls: [{
|
|
13681
|
+
type: HostBinding,
|
|
13682
|
+
args: ['attr.aria-controls']
|
|
13683
|
+
}], hostAriaAutocomplete: [{
|
|
13684
|
+
type: HostBinding,
|
|
13685
|
+
args: ['attr.aria-autocomplete']
|
|
13641
13686
|
}], isLoading: [{
|
|
13642
13687
|
type: HostBinding,
|
|
13643
13688
|
args: ['class.k-loading']
|
|
13689
|
+
}], hostAriaInvalid: [{
|
|
13690
|
+
type: HostBinding,
|
|
13691
|
+
args: ['attr.aria-invalid']
|
|
13692
|
+
}], isBusy: [{
|
|
13693
|
+
type: HostBinding,
|
|
13694
|
+
args: ['attr.aria-busy']
|
|
13644
13695
|
}], id: [{
|
|
13645
13696
|
type: HostBinding,
|
|
13646
13697
|
args: ['attr.id']
|
|
@@ -13662,9 +13713,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
13662
13713
|
}], isReadonly: [{
|
|
13663
13714
|
type: HostBinding,
|
|
13664
13715
|
args: ['attr.readonly']
|
|
13665
|
-
}, {
|
|
13666
|
-
type: HostBinding,
|
|
13667
|
-
args: ['attr.aria-readonly']
|
|
13668
13716
|
}], ariaDescribedBy: [{
|
|
13669
13717
|
type: HostBinding,
|
|
13670
13718
|
args: ['attr.aria-describedby']
|
|
@@ -14545,7 +14593,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
14545
14593
|
}] });
|
|
14546
14594
|
|
|
14547
14595
|
/**
|
|
14548
|
-
* Represents the [NgModule](
|
|
14596
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
14549
14597
|
* definition for the Dropdowns components.
|
|
14550
14598
|
*
|
|
14551
14599
|
* @example
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-dropdowns",
|
|
3
|
-
"version": "7.2.
|
|
3
|
+
"version": "7.2.3-dev.202211091307",
|
|
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",
|