@progress/kendo-angular-dropdowns 19.0.0-develop.2 → 19.0.0-develop.20

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.
Files changed (28) hide show
  1. package/autocomplete/autocomplete.component.d.ts +11 -17
  2. package/comboboxes/combobox.component.d.ts +12 -14
  3. package/common/{action-sheet.component.d.ts → adaptive-renderer.component.d.ts} +10 -13
  4. package/common/list.component.d.ts +8 -1
  5. package/common/localization/messages.d.ts +5 -5
  6. package/common/util.d.ts +0 -6
  7. package/dropdownlist/dropdownlist.component.d.ts +7 -19
  8. package/dropdowntrees/dropdowntree.component.d.ts +9 -16
  9. package/dropdowntrees/multiselecttree.component.d.ts +9 -28
  10. package/esm2022/autocomplete/autocomplete.component.mjs +71 -94
  11. package/esm2022/comboboxes/combobox.component.mjs +85 -100
  12. package/esm2022/comboboxes/multicolumncombobox.component.mjs +23 -26
  13. package/esm2022/common/{action-sheet.component.mjs → adaptive-renderer.component.mjs} +71 -107
  14. package/esm2022/common/list.component.mjs +300 -213
  15. package/esm2022/common/localization/messages.mjs +7 -7
  16. package/esm2022/common/searchbar.component.mjs +2 -3
  17. package/esm2022/common/util.mjs +0 -22
  18. package/esm2022/dropdownlist/dropdownlist.component.mjs +50 -123
  19. package/esm2022/dropdowntrees/dropdowntree.component.mjs +63 -72
  20. package/esm2022/dropdowntrees/multiselecttree.component.mjs +65 -122
  21. package/esm2022/index.mjs +1 -1
  22. package/esm2022/multiselect/multiselect.component.mjs +133 -190
  23. package/esm2022/package-metadata.mjs +2 -2
  24. package/fesm2022/progress-kendo-angular-dropdowns.mjs +920 -1130
  25. package/index.d.ts +1 -1
  26. package/multiselect/multiselect.component.d.ts +13 -26
  27. package/package.json +10 -10
  28. package/schematics/ngAdd/index.js +2 -2
@@ -15,7 +15,7 @@ import { NavigationService } from '../common/navigation/navigation.service';
15
15
  import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
16
16
  import { SelectionService } from '../common/selection/selection.service';
17
17
  import { PreventableEvent } from '../common/models/preventable-event';
18
- import { animationDuration, getFillModeClass, getRoundedClass, getSearchableItems, getSizeClass, inDropDown, isArray, isLetter, isPresent, isTruthy, isUntouched, noop, setActionSheetTitle, updateActionSheetAdaptiveAppearance } from '../common/util';
18
+ import { animationDuration, getFillModeClass, getRoundedClass, getSearchableItems, getSizeClass, inDropDown, isArray, isLetter, isPresent, isTruthy, isUntouched, noop, setActionSheetTitle } from '../common/util';
19
19
  import { NoDataTemplateDirective } from '../common/templates/no-data-template.directive';
20
20
  import { of, Subject, Subscription } from 'rxjs';
21
21
  import { debounceTime, take, tap } from 'rxjs/operators';
@@ -25,7 +25,7 @@ import { NodeTemplateDirective } from './templates/node-template.directive';
25
25
  import { DropDownTreeMessages } from '../common/constants/error-messages';
26
26
  import { ValueTemplateDirective } from '../common/templates/value-template.directive';
27
27
  import { caretAltDownIcon, searchIcon, xIcon } from '@progress/kendo-svg-icons';
28
- import { ResponsiveRendererComponent } from '../common/action-sheet.component';
28
+ import { AdaptiveRendererComponent } from '../common/adaptive-renderer.component';
29
29
  import { FilterInputDirective } from '../common/filter-input.directive';
30
30
  import { NgIf, NgClass, NgTemplateOutlet } from '@angular/common';
31
31
  import { LocalizedMessagesDirective } from '../common/localization/localized-messages.directive';
@@ -88,18 +88,18 @@ export class DropDownTreeComponent {
88
88
  /**
89
89
  * @hidden
90
90
  */
91
- responsiveRendererComponent;
91
+ adaptiveRendererComponent;
92
92
  /**
93
93
  * @hidden
94
94
  */
95
95
  get actionSheet() {
96
- return this.responsiveRendererComponent?.actionSheet;
96
+ return this.adaptiveRendererComponent?.actionSheet;
97
97
  }
98
98
  /**
99
99
  * @hidden
100
100
  */
101
101
  get actionSheetSearchBar() {
102
- return this.responsiveRendererComponent?.actionSheetSearchBar;
102
+ return this.adaptiveRendererComponent?.actionSheetSearchBar;
103
103
  }
104
104
  hostClasses = true;
105
105
  get isReadonly() {
@@ -500,14 +500,14 @@ export class DropDownTreeComponent {
500
500
  adaptiveMode = 'none';
501
501
  /**
502
502
  * Sets the title of the ActionSheet that is rendered instead of the Popup when using small screen devices.
503
- * By default the ActionSheet title uses the text provided for the label of the AutoComplete.
503
+ * By default the ActionSheet title uses the text provided for the label of the DropDownTree.
504
504
  */
505
- title = '';
505
+ adaptiveTitle = '';
506
506
  /**
507
507
  * Sets the subtitle of the ActionSheet that is rendered instead of the Popup when using small screen devices.
508
- * By default the ActionSheet subtitle uses the text provided for the `placeholder` of the AutoComplete.
508
+ * By default the ActionSheet does not render a subtitle.
509
509
  */
510
- subtitle = '';
510
+ adaptiveSubtitle = '';
511
511
  /**
512
512
  * @hidden
513
513
  */
@@ -521,7 +521,9 @@ export class DropDownTreeComponent {
521
521
  /**
522
522
  * @hidden
523
523
  */
524
- isActionSheetExpanded = false;
524
+ get isActionSheetExpanded() {
525
+ return this.actionSheet?.expanded;
526
+ }
525
527
  /**
526
528
  * @hidden
527
529
  */
@@ -702,11 +704,6 @@ export class DropDownTreeComponent {
702
704
  this.windowSize = this.adaptiveService.size;
703
705
  this.subs.add(this.renderer.listen(this.wrapper.nativeElement, 'click', this.handleClick.bind(this)));
704
706
  this.subs.add(this.renderer.listen(this.wrapper.nativeElement, 'keydown', this.handleKeydown.bind(this)));
705
- if (this.actionSheet && isDocumentAvailable()) {
706
- // The following syntax is used as it does not violate CSP compliance
707
- this.actionSheet.element.nativeElement.style.setProperty('--kendo-actionsheet-height', '60vh');
708
- this.actionSheet.element.nativeElement.style.setProperty('--kendo-actionsheet-max-height', 'none');
709
- }
710
707
  }
711
708
  /**
712
709
  * @hidden
@@ -1038,19 +1035,6 @@ export class DropDownTreeComponent {
1038
1035
  }
1039
1036
  });
1040
1037
  }
1041
- /**
1042
- * @hidden
1043
- */
1044
- onExpand() {
1045
- this._searchableNodes = getSearchableItems(this.treeViewId, this.actionSheet.element.nativeElement);
1046
- this.isActionSheetExpanded = true;
1047
- }
1048
- /**
1049
- * @hidden
1050
- */
1051
- onCollapse() {
1052
- this.isActionSheetExpanded = false;
1053
- }
1054
1038
  /**
1055
1039
  * @hidden
1056
1040
  *
@@ -1137,14 +1121,17 @@ export class DropDownTreeComponent {
1137
1121
  this.popupRef.popupElement.removeEventListener('click', (event) => stopPropagation(event));
1138
1122
  this.popupRef.close();
1139
1123
  this.popupRef = null;
1140
- if (this.filter !== "") {
1141
- this.filter = "";
1142
- this.allNodesHidden = false;
1143
- if (hasObservers(this.filterChange)) {
1144
- this._zone.run(() => {
1145
- this.filterChange.emit("");
1146
- });
1147
- }
1124
+ this.clearFilter();
1125
+ }
1126
+ }
1127
+ clearFilter() {
1128
+ if (this.filter !== "") {
1129
+ this.filter = "";
1130
+ this.allNodesHidden = false;
1131
+ if (hasObservers(this.filterChange)) {
1132
+ this._zone.run(() => {
1133
+ this.filterChange.emit("");
1134
+ });
1148
1135
  }
1149
1136
  }
1150
1137
  }
@@ -1319,26 +1306,20 @@ export class DropDownTreeComponent {
1319
1306
  closeActionSheet() {
1320
1307
  this.actionSheet.toggle(false);
1321
1308
  if (this.filterable) {
1322
- this.actionSheetSearchBar.value = '';
1323
- this.filterChange.emit('');
1309
+ this.clearFilter();
1324
1310
  }
1325
1311
  this.wrapper.nativeElement.focus();
1326
1312
  this.closed.emit();
1327
1313
  }
1328
1314
  openActionSheet() {
1329
- this.windowSize = this.adaptiveService.size;
1330
- this.isActionSheetExpanded = true;
1331
1315
  this.actionSheet.toggle(true);
1332
- this.title = setActionSheetTitle(this.wrapper, this.title);
1333
- this.cdr.detectChanges();
1334
- updateActionSheetAdaptiveAppearance(this.actionSheet, this.windowSize, this.renderer);
1316
+ this.adaptiveTitle = setActionSheetTitle(this.wrapper, this.adaptiveTitle);
1335
1317
  this.cdr.detectChanges();
1336
1318
  this.opened.emit();
1337
1319
  this.removeTreeViewFromTabOrder();
1338
- this.filterable && this.actionSheetSearchBar.focus();
1339
1320
  }
1340
1321
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropDownTreeComponent, deps: [{ token: i0.Injector }, { token: i0.ElementRef }, { token: i1.PopupService }, { token: i2.NavigationService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i3.LocalizationService }, { token: i4.AdaptiveService }], target: i0.ɵɵFactoryTarget.Component });
1341
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DropDownTreeComponent, isStandalone: true, selector: "kendo-dropdowntree", inputs: { icon: "icon", svgIcon: "svgIcon", loading: "loading", clearButton: "clearButton", data: "data", value: "value", textField: "textField", valueField: "valueField", valueDepth: "valueDepth", hasChildren: "hasChildren", fetchChildren: "fetchChildren", placeholder: "placeholder", popupSettings: "popupSettings", dataItem: "dataItem", listHeight: "listHeight", disabled: "disabled", readonly: "readonly", valuePrimitive: "valuePrimitive", tabindex: "tabindex", size: "size", rounded: "rounded", fillMode: "fillMode", itemDisabled: "itemDisabled", isNodeExpanded: "isNodeExpanded", isNodeVisible: "isNodeVisible", loadOnDemand: "loadOnDemand", filterable: "filterable", filter: "filter", focusableId: "focusableId", adaptiveMode: "adaptiveMode", title: "title", subtitle: "subtitle" }, outputs: { open: "open", opened: "opened", close: "close", closed: "closed", nodeExpand: "nodeExpand", nodeCollapse: "nodeCollapse", onFocus: "focus", onBlur: "blur", valueChange: "valueChange", filterChange: "filterChange" }, host: { properties: { "class.k-dropdowntree": "this.hostClasses", "class.k-picker": "this.hostClasses", "attr.readonly": "this.isReadonly", "attr.aria-invalid": "this.hostAriaInvalid", "class.k-disabled": "this.isDisabled", "attr.aria-disabled": "this.isDisabled", "class.k-loading": "this.isLoading", "attr.aria-busy": "this.isBusy", "attr.aria-controls": "this.hostAriaControls", "attr.id": "this.id", "attr.dir": "this.direction", "attr.tabindex": "this.hostTabIndex", "attr.role": "this.role", "attr.aria-haspopup": "this.ariaHasPopup", "attr.aria-expanded": "this.isAriaExpanded", "attr.aria-autocomplete": "this.hostAriaAutocomplete", "class.k-readonly": "this.readonly" } }, providers: [
1322
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DropDownTreeComponent, isStandalone: true, selector: "kendo-dropdowntree", inputs: { icon: "icon", svgIcon: "svgIcon", loading: "loading", clearButton: "clearButton", data: "data", value: "value", textField: "textField", valueField: "valueField", valueDepth: "valueDepth", hasChildren: "hasChildren", fetchChildren: "fetchChildren", placeholder: "placeholder", popupSettings: "popupSettings", dataItem: "dataItem", listHeight: "listHeight", disabled: "disabled", readonly: "readonly", valuePrimitive: "valuePrimitive", tabindex: "tabindex", size: "size", rounded: "rounded", fillMode: "fillMode", itemDisabled: "itemDisabled", isNodeExpanded: "isNodeExpanded", isNodeVisible: "isNodeVisible", loadOnDemand: "loadOnDemand", filterable: "filterable", filter: "filter", focusableId: "focusableId", adaptiveMode: "adaptiveMode", adaptiveTitle: "adaptiveTitle", adaptiveSubtitle: "adaptiveSubtitle" }, outputs: { open: "open", opened: "opened", close: "close", closed: "closed", nodeExpand: "nodeExpand", nodeCollapse: "nodeCollapse", onFocus: "focus", onBlur: "blur", valueChange: "valueChange", filterChange: "filterChange" }, host: { properties: { "class.k-dropdowntree": "this.hostClasses", "class.k-picker": "this.hostClasses", "attr.readonly": "this.isReadonly", "attr.aria-invalid": "this.hostAriaInvalid", "class.k-disabled": "this.isDisabled", "attr.aria-disabled": "this.isDisabled", "class.k-loading": "this.isLoading", "attr.aria-busy": "this.isBusy", "attr.aria-controls": "this.hostAriaControls", "attr.id": "this.id", "attr.dir": "this.direction", "attr.tabindex": "this.hostTabIndex", "attr.role": "this.role", "attr.aria-haspopup": "this.ariaHasPopup", "attr.aria-expanded": "this.isAriaExpanded", "attr.aria-autocomplete": "this.hostAriaAutocomplete", "class.k-readonly": "this.readonly" } }, providers: [
1342
1323
  DataService,
1343
1324
  SelectionService,
1344
1325
  NavigationService,
@@ -1365,7 +1346,7 @@ export class DropDownTreeComponent {
1365
1346
  provide: ExpandableComponent,
1366
1347
  useExisting: forwardRef(() => DropDownTreeComponent)
1367
1348
  }
1368
- ], queries: [{ propertyName: "noDataTemplate", first: true, predicate: NoDataTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "nodeTemplate", first: true, predicate: NodeTemplateDirective, descendants: true }, { propertyName: "valueTemplate", first: true, predicate: ValueTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "responsiveRendererComponent", first: true, predicate: ResponsiveRendererComponent, descendants: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "treeview", first: true, predicate: ["treeview"], descendants: true }, { propertyName: "filterInput", first: true, predicate: ["filterInput"], descendants: true }], exportAs: ["kendoDropDownTree"], usesOnChanges: true, ngImport: i0, template: `
1349
+ ], queries: [{ propertyName: "noDataTemplate", first: true, predicate: NoDataTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "nodeTemplate", first: true, predicate: NodeTemplateDirective, descendants: true }, { propertyName: "valueTemplate", first: true, predicate: ValueTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "adaptiveRendererComponent", first: true, predicate: AdaptiveRendererComponent, descendants: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "treeview", first: true, predicate: ["treeview"], descendants: true }, { propertyName: "filterInput", first: true, predicate: ["filterInput"], descendants: true }], exportAs: ["kendoDropDownTree"], usesOnChanges: true, ngImport: i0, template: `
1369
1350
  <ng-container kendoDropDownTreeLocalizedMessages
1370
1351
  i18n-noDataText="kendo.dropdowntree.noDataText|The text displayed in the popup when there are no items"
1371
1352
  noDataText="NO DATA FOUND"
@@ -1381,6 +1362,12 @@ export class DropDownTreeComponent {
1381
1362
 
1382
1363
  i18n-popupLabel="kendo.dropdowntree.popupLabel|The label of the popup element that contains the list of options when its role is 'region'"
1383
1364
  popupLabel="Options list"
1365
+
1366
+ i18n-adaptiveCloseButtonTitle="kendo.dropdowntree.adaptiveCloseButtonTitle|The title of the Close button of the ActionSheet that is rendered instead of the Popup when using small screen devices in adaptive mode"
1367
+ adaptiveCloseButtonTitle="Close"
1368
+
1369
+ i18n-filterInputPlaceholder="kendo.dropdowntree.filterInputPlaceholder|The text for the input's placeholder when filtering is enabled"
1370
+ filterInputPlaceholder="Filter"
1384
1371
  >
1385
1372
  </ng-container>
1386
1373
  <span
@@ -1434,19 +1421,18 @@ export class DropDownTreeComponent {
1434
1421
  </ng-template>
1435
1422
  <ng-container #container></ng-container>
1436
1423
 
1437
- <!--adaptive rendering-->
1438
- <responsive-renderer
1424
+ <kendo-adaptive-renderer
1439
1425
  [sharedPopupActionSheetTemplate]="sharedPopupActionSheetTemplate"
1440
- [isActionSheetExpanded]="isActionSheetExpanded"
1441
- [title]="title"
1426
+ [title]="adaptiveTitle"
1442
1427
  [showTextInput]="filterable"
1443
- [subtitle]="subtitle"
1428
+ [subtitle]="adaptiveSubtitle"
1444
1429
  (closePopup)="togglePopup(false)"
1445
- (onExpand)="onExpand()"
1446
- (onCollapse)="onCollapse()"
1447
1430
  (textInputChange)="handleFilterInputChange($event)"
1448
- >
1449
- </responsive-renderer>
1431
+ [placeholder]="placeholder"
1432
+ [searchBarValue]="filter"
1433
+ [filterable]="filterable">
1434
+ </kendo-adaptive-renderer>
1435
+
1450
1436
  <ng-template #sharedPopupActionSheetTemplate>
1451
1437
  <span
1452
1438
  *ngIf="filterable && !isActionSheetExpanded"
@@ -1493,7 +1479,7 @@ export class DropDownTreeComponent {
1493
1479
  #treeview
1494
1480
  [attr.id]="treeViewId"
1495
1481
  *ngIf="data.length !== 0 && !allNodesHidden"
1496
- [size]="size"
1482
+ [size]="windowSize !== 'large' ? 'large' : size"
1497
1483
  [nodes]="data"
1498
1484
  [style.maxHeight.px]="listHeight"
1499
1485
  [animate]="false"
@@ -1538,7 +1524,7 @@ export class DropDownTreeComponent {
1538
1524
  </ng-template>
1539
1525
 
1540
1526
  <kendo-resize-sensor *ngIf="isOpen || isAdaptiveModeEnabled" (resize)="onResize()"></kendo-resize-sensor>
1541
- `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ResponsiveRendererComponent, selector: "responsive-renderer", inputs: ["title", "showActionButtons", "subtitle", "size", "showTextInput", "sharedPopupActionSheetTemplate", "isActionSheetExpanded", "text", "placeholder"], outputs: ["closePopup", "textInputChange", "navigate", "onExpand", "onCollapse", "onApply", "onCancel"] }, { kind: "directive", type: FilterInputDirective, selector: "[filterInput]", inputs: ["filterInput"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: TreeViewComponent, selector: "kendo-treeview", inputs: ["filterInputPlaceholder", "expandDisabledNodes", "animate", "nodeTemplate", "loadMoreButtonTemplate", "trackBy", "nodes", "textField", "hasChildren", "isChecked", "isDisabled", "hasCheckbox", "isExpanded", "isSelected", "isVisible", "navigable", "children", "loadOnDemand", "filterable", "filter", "size", "disableParentNodesOnly"], outputs: ["childrenLoaded", "blur", "focus", "expand", "collapse", "nodeDragStart", "nodeDrag", "filterStateChange", "nodeDrop", "nodeDragEnd", "addItem", "removeItem", "checkedChange", "selectionChange", "filterChange", "nodeClick", "nodeDblClick"], exportAs: ["kendoTreeView"] }, { kind: "directive", type: SelectDirective, selector: "[kendoTreeViewSelectable]", inputs: ["isSelected", "selectBy", "kendoTreeViewSelectable", "selectedKeys"], outputs: ["selectedKeysChange"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1527
+ `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: AdaptiveRendererComponent, selector: "kendo-adaptive-renderer", inputs: ["title", "subtitle", "showTextInput", "sharedPopupActionSheetTemplate", "text", "placeholder", "searchBarValue", "filterable"], outputs: ["closePopup", "textInputChange", "navigate", "onExpand"] }, { kind: "directive", type: FilterInputDirective, selector: "[filterInput]", inputs: ["filterInput"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: TreeViewComponent, selector: "kendo-treeview", inputs: ["filterInputPlaceholder", "expandDisabledNodes", "animate", "nodeTemplate", "loadMoreButtonTemplate", "trackBy", "nodes", "textField", "hasChildren", "isChecked", "isDisabled", "hasCheckbox", "isExpanded", "isSelected", "isVisible", "navigable", "children", "loadOnDemand", "filterable", "filter", "size", "disableParentNodesOnly"], outputs: ["childrenLoaded", "blur", "focus", "expand", "collapse", "nodeDragStart", "nodeDrag", "filterStateChange", "nodeDrop", "nodeDragEnd", "addItem", "removeItem", "checkedChange", "selectionChange", "filterChange", "nodeClick", "nodeDblClick"], exportAs: ["kendoTreeView"] }, { kind: "directive", type: SelectDirective, selector: "[kendoTreeViewSelectable]", inputs: ["isSelected", "selectBy", "kendoTreeViewSelectable", "selectedKeys"], outputs: ["selectedKeysChange"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1542
1528
  }
1543
1529
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropDownTreeComponent, decorators: [{
1544
1530
  type: Component,
@@ -1589,6 +1575,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1589
1575
 
1590
1576
  i18n-popupLabel="kendo.dropdowntree.popupLabel|The label of the popup element that contains the list of options when its role is 'region'"
1591
1577
  popupLabel="Options list"
1578
+
1579
+ i18n-adaptiveCloseButtonTitle="kendo.dropdowntree.adaptiveCloseButtonTitle|The title of the Close button of the ActionSheet that is rendered instead of the Popup when using small screen devices in adaptive mode"
1580
+ adaptiveCloseButtonTitle="Close"
1581
+
1582
+ i18n-filterInputPlaceholder="kendo.dropdowntree.filterInputPlaceholder|The text for the input's placeholder when filtering is enabled"
1583
+ filterInputPlaceholder="Filter"
1592
1584
  >
1593
1585
  </ng-container>
1594
1586
  <span
@@ -1642,19 +1634,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1642
1634
  </ng-template>
1643
1635
  <ng-container #container></ng-container>
1644
1636
 
1645
- <!--adaptive rendering-->
1646
- <responsive-renderer
1637
+ <kendo-adaptive-renderer
1647
1638
  [sharedPopupActionSheetTemplate]="sharedPopupActionSheetTemplate"
1648
- [isActionSheetExpanded]="isActionSheetExpanded"
1649
- [title]="title"
1639
+ [title]="adaptiveTitle"
1650
1640
  [showTextInput]="filterable"
1651
- [subtitle]="subtitle"
1641
+ [subtitle]="adaptiveSubtitle"
1652
1642
  (closePopup)="togglePopup(false)"
1653
- (onExpand)="onExpand()"
1654
- (onCollapse)="onCollapse()"
1655
1643
  (textInputChange)="handleFilterInputChange($event)"
1656
- >
1657
- </responsive-renderer>
1644
+ [placeholder]="placeholder"
1645
+ [searchBarValue]="filter"
1646
+ [filterable]="filterable">
1647
+ </kendo-adaptive-renderer>
1648
+
1658
1649
  <ng-template #sharedPopupActionSheetTemplate>
1659
1650
  <span
1660
1651
  *ngIf="filterable && !isActionSheetExpanded"
@@ -1701,7 +1692,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1701
1692
  #treeview
1702
1693
  [attr.id]="treeViewId"
1703
1694
  *ngIf="data.length !== 0 && !allNodesHidden"
1704
- [size]="size"
1695
+ [size]="windowSize !== 'large' ? 'large' : size"
1705
1696
  [nodes]="data"
1706
1697
  [style.maxHeight.px]="listHeight"
1707
1698
  [animate]="false"
@@ -1749,15 +1740,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1749
1740
  `,
1750
1741
  changeDetection: ChangeDetectionStrategy.OnPush,
1751
1742
  standalone: true,
1752
- imports: [LocalizedMessagesDirective, NgIf, TemplateContextDirective, IconWrapperComponent, NgClass, NgTemplateOutlet, ResponsiveRendererComponent, FilterInputDirective, EventsOutsideAngularDirective, TreeViewComponent, SelectDirective, ResizeSensorComponent]
1743
+ imports: [LocalizedMessagesDirective, NgIf, TemplateContextDirective, IconWrapperComponent, NgClass, NgTemplateOutlet, AdaptiveRendererComponent, FilterInputDirective, EventsOutsideAngularDirective, TreeViewComponent, SelectDirective, ResizeSensorComponent]
1753
1744
  }]
1754
1745
  }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }, { type: i1.PopupService }, { type: i2.NavigationService }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i3.LocalizationService }, { type: i4.AdaptiveService }]; }, propDecorators: { icon: [{
1755
1746
  type: Input
1756
1747
  }], svgIcon: [{
1757
1748
  type: Input
1758
- }], responsiveRendererComponent: [{
1749
+ }], adaptiveRendererComponent: [{
1759
1750
  type: ViewChild,
1760
- args: [ResponsiveRendererComponent]
1751
+ args: [AdaptiveRendererComponent]
1761
1752
  }], hostClasses: [{
1762
1753
  type: HostBinding,
1763
1754
  args: ['class.k-dropdowntree']
@@ -1914,8 +1905,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1914
1905
  type: Input
1915
1906
  }], adaptiveMode: [{
1916
1907
  type: Input
1917
- }], title: [{
1908
+ }], adaptiveTitle: [{
1918
1909
  type: Input
1919
- }], subtitle: [{
1910
+ }], adaptiveSubtitle: [{
1920
1911
  type: Input
1921
1912
  }] } });