@progress/kendo-angular-dropdowns 19.0.0-develop.3 → 19.0.0-develop.30

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 (44) hide show
  1. package/autocomplete/autocomplete.component.d.ts +11 -17
  2. package/codemods/template-transformer/index.js +94 -0
  3. package/codemods/utils.js +553 -0
  4. package/codemods/v19/autocomplete-subtitle.js +50 -0
  5. package/codemods/v19/autocomplete-title.js +51 -0
  6. package/codemods/v19/combobox-subtitle.js +50 -0
  7. package/codemods/v19/combobox-title.js +52 -0
  8. package/codemods/v19/dropdownlist-subtitle.js +49 -0
  9. package/codemods/v19/dropdownlist-title.js +51 -0
  10. package/codemods/v19/dropdowntree-subtitle.js +49 -0
  11. package/codemods/v19/dropdowntree-title.js +51 -0
  12. package/codemods/v19/multicolumncombobox-subtitle.js +49 -0
  13. package/codemods/v19/multicolumncombobox-title.js +51 -0
  14. package/codemods/v19/multiselect-subtitle.js +49 -0
  15. package/codemods/v19/multiselect-title.js +51 -0
  16. package/codemods/v19/multiselecttree-subtitle.js +49 -0
  17. package/codemods/v19/multiselecttree-title.js +51 -0
  18. package/comboboxes/combobox.component.d.ts +12 -14
  19. package/common/{action-sheet.component.d.ts → adaptive-renderer.component.d.ts} +10 -13
  20. package/common/list.component.d.ts +8 -1
  21. package/common/localization/messages.d.ts +5 -5
  22. package/common/util.d.ts +0 -6
  23. package/dropdownlist/dropdownlist.component.d.ts +7 -19
  24. package/dropdowntrees/dropdowntree.component.d.ts +9 -16
  25. package/dropdowntrees/multiselecttree.component.d.ts +9 -28
  26. package/esm2022/autocomplete/autocomplete.component.mjs +71 -94
  27. package/esm2022/comboboxes/combobox.component.mjs +85 -100
  28. package/esm2022/comboboxes/multicolumncombobox.component.mjs +23 -26
  29. package/esm2022/common/{action-sheet.component.mjs → adaptive-renderer.component.mjs} +71 -107
  30. package/esm2022/common/list.component.mjs +300 -213
  31. package/esm2022/common/localization/messages.mjs +7 -7
  32. package/esm2022/common/searchbar.component.mjs +2 -3
  33. package/esm2022/common/util.mjs +0 -22
  34. package/esm2022/dropdownlist/dropdownlist.component.mjs +50 -123
  35. package/esm2022/dropdowntrees/dropdowntree.component.mjs +63 -72
  36. package/esm2022/dropdowntrees/multiselecttree.component.mjs +65 -122
  37. package/esm2022/index.mjs +1 -1
  38. package/esm2022/multiselect/multiselect.component.mjs +133 -190
  39. package/esm2022/package-metadata.mjs +2 -2
  40. package/fesm2022/progress-kendo-angular-dropdowns.mjs +920 -1130
  41. package/index.d.ts +1 -1
  42. package/multiselect/multiselect.component.d.ts +13 -26
  43. package/package.json +90 -10
  44. package/schematics/ngAdd/index.js +2 -2
@@ -18,7 +18,7 @@ import { SelectionService } from '../common/selection/selection.service';
18
18
  import { NavigationService } from '../common/navigation/navigation.service';
19
19
  import { DisabledItemsService } from '../common/disabled-items/disabled-items.service';
20
20
  import { Subject, Subscription, merge } from 'rxjs';
21
- import { isPresent, guid, getter, isUntouched, noop, inDropDown, getSizeClass, getRoundedClass, getFillModeClass, isTruthy, setListBoxAriaLabelledBy, setActionSheetTitle, updateActionSheetAdaptiveAppearance, animationDuration } from '../common/util';
21
+ import { isPresent, guid, getter, isUntouched, noop, inDropDown, getSizeClass, getRoundedClass, getFillModeClass, isTruthy, setListBoxAriaLabelledBy, setActionSheetTitle, animationDuration } from '../common/util';
22
22
  import { NavigationAction } from '../common/navigation/navigation-action';
23
23
  import { NoDataTemplateDirective } from '../common/templates/no-data-template.directive';
24
24
  import { PreventableEvent } from '../common/models/preventable-event';
@@ -29,7 +29,7 @@ import { DataService } from '../common/data.service';
29
29
  import { ListComponent } from '../common/list.component';
30
30
  import { normalizeVirtualizationSettings } from '../common/models/virtualization-settings';
31
31
  import { xIcon } from '@progress/kendo-svg-icons';
32
- import { ResponsiveRendererComponent } from '../common/action-sheet.component';
32
+ import { AdaptiveRendererComponent } from '../common/adaptive-renderer.component';
33
33
  import { NgIf, NgTemplateOutlet } from '@angular/common';
34
34
  import { SharedDropDownEventsDirective } from '../common/shared-events.directive';
35
35
  import { LocalizedMessagesDirective } from '../common/localization/localized-messages.directive';
@@ -99,18 +99,18 @@ export class AutoCompleteComponent {
99
99
  /**
100
100
  * @hidden
101
101
  */
102
- responsiveRendererComponent;
102
+ adaptiveRendererComponent;
103
103
  /**
104
104
  * @hidden
105
105
  */
106
106
  get actionSheet() {
107
- return this.responsiveRendererComponent?.actionSheet;
107
+ return this.adaptiveRendererComponent?.actionSheet;
108
108
  }
109
109
  /**
110
110
  * @hidden
111
111
  */
112
112
  get actionSheetSearchBar() {
113
- return this.responsiveRendererComponent?.actionSheetSearchBar;
113
+ return this.adaptiveRendererComponent?.actionSheetSearchBar;
114
114
  }
115
115
  get width() {
116
116
  let wrapperOffsetWidth = 0;
@@ -286,17 +286,12 @@ export class AutoCompleteComponent {
286
286
  * Sets the title of the ActionSheet that is rendered instead of the Popup when using small screen devices.
287
287
  * By default the ActionSheet title uses the text provided for the label of the AutoComplete.
288
288
  */
289
- title = '';
289
+ adaptiveTitle = '';
290
290
  /**
291
291
  * Sets the subtitle of the ActionSheet that is rendered instead of the Popup when using small screen devices.
292
- * By default the ActionSheet subtitle uses the text provided for the `placeholder` of the AutoComplete.
292
+ * By default the ActionSheet does not render a subtitle.
293
293
  */
294
- set subtitle(_subtitle) {
295
- this._subtitle = _subtitle;
296
- }
297
- get subtitle() {
298
- return this._subtitle || this.placeholder;
299
- }
294
+ adaptiveSubtitle;
300
295
  /**
301
296
  * @hidden
302
297
  */
@@ -615,11 +610,6 @@ export class AutoCompleteComponent {
615
610
  ngAfterViewInit() {
616
611
  this.windowSize = this.adaptiveService.size;
617
612
  this.cdr.detectChanges();
618
- if (this.actionSheet && isDocumentAvailable()) {
619
- // The following syntax is used as it does not violate CSP compliance
620
- this.actionSheet.element.nativeElement.style.setProperty('--kendo-actionsheet-height', '60vh');
621
- this.actionSheet.element.nativeElement.style.setProperty('--kendo-actionsheet-max-height', 'none');
622
- }
623
613
  }
624
614
  ngOnDestroy() {
625
615
  this.destroyPopup();
@@ -649,12 +639,6 @@ export class AutoCompleteComponent {
649
639
  messageFor(key) {
650
640
  return this.localization.get(key);
651
641
  }
652
- /**
653
- * @hidden
654
- */
655
- onAdaptiveTextBoxChange(text) {
656
- this.search(text);
657
- }
658
642
  /**
659
643
  * @hidden
660
644
  */
@@ -845,7 +829,7 @@ export class AutoCompleteComponent {
845
829
  */
846
830
  searchBarChange(text) {
847
831
  const currentTextLength = isPresent(this.text) ? this.text.length : 0;
848
- this.backspacePressed = (text.length < currentTextLength) ? true : false;
832
+ this.backspacePressed = Boolean(text.length < currentTextLength);
849
833
  this.text = text;
850
834
  this.togglePopup(text.length > 0);
851
835
  if (!this.highlightFirst) {
@@ -858,17 +842,6 @@ export class AutoCompleteComponent {
858
842
  this.search(text);
859
843
  }
860
844
  }
861
- /**
862
- * @hidden
863
- */
864
- onFilterChange(text) {
865
- if (this.filterable) {
866
- this.filterChange.emit(text);
867
- }
868
- else if (this.highlightFirst) {
869
- this.search(text);
870
- }
871
- }
872
845
  /**
873
846
  * @hidden
874
847
  */
@@ -896,25 +869,7 @@ export class AutoCompleteComponent {
896
869
  */
897
870
  handleBlur() {
898
871
  if (!this.isActionSheetExpanded) {
899
- this.isFocused = false;
900
- const valueHasChanged = this.value !== this.text;
901
- const runInZone = hasObservers(this.onBlur) ||
902
- hasObservers(this.close) ||
903
- isUntouched(this.wrapper) ||
904
- valueHasChanged;
905
- if (runInZone) {
906
- this._zone.run(() => {
907
- if (valueHasChanged) {
908
- this.change(this.searchbar.value);
909
- }
910
- this.onBlur.emit();
911
- this.onTouchedCallback();
912
- this.togglePopup(false);
913
- });
914
- }
915
- else {
916
- this.togglePopup(false);
917
- }
872
+ this.blurComponent();
918
873
  }
919
874
  }
920
875
  /**
@@ -966,6 +921,13 @@ export class AutoCompleteComponent {
966
921
  const virtual = this.virtual;
967
922
  virtual.skip = event.skip;
968
923
  }
924
+ /**
925
+ * @hidden
926
+ */
927
+ closeActionSheet() {
928
+ this.blurComponent();
929
+ this.closed.emit();
930
+ }
969
931
  change(value) {
970
932
  this.togglePopup(false);
971
933
  this.valueChangeSubject.next(value);
@@ -980,7 +942,6 @@ export class AutoCompleteComponent {
980
942
  subs = new Subscription();
981
943
  valueChangeSubject = new Subject();
982
944
  touchstartDisposeHandler;
983
- _subtitle;
984
945
  wrapper;
985
946
  _isFocused = false;
986
947
  direction;
@@ -1114,7 +1075,8 @@ export class AutoCompleteComponent {
1114
1075
  this._open = open;
1115
1076
  this.destroyPopup();
1116
1077
  if (this.isActionSheetExpanded) {
1117
- this.closeActionSheet();
1078
+ this.actionSheet.toggle(false);
1079
+ this.focus();
1118
1080
  }
1119
1081
  if (this._open) {
1120
1082
  this.createPopup();
@@ -1166,27 +1128,40 @@ export class AutoCompleteComponent {
1166
1128
  this.renderer.addClass(this.wrapper, getFillModeClass('input', this.fillMode));
1167
1129
  }
1168
1130
  }
1169
- closeActionSheet() {
1170
- this.actionSheet.toggle(false);
1171
- this.filterable && this.filterChange.emit('');
1172
- this.searchbar.input.nativeElement.focus();
1173
- this.responsiveRendererComponent.searchBarValue = '';
1174
- this.closed.emit();
1175
- }
1176
1131
  openActionSheet() {
1177
1132
  this.actionSheet.toggle(true);
1178
1133
  this.cdr.detectChanges();
1179
1134
  setListBoxAriaLabelledBy(this.optionsList, this.searchbar.input, this.renderer);
1180
- this.title = setActionSheetTitle(this.searchbar.input, this.title);
1181
- updateActionSheetAdaptiveAppearance(this.actionSheet, this.windowSize, this.renderer);
1135
+ this.adaptiveTitle = setActionSheetTitle(this.searchbar.input, this.adaptiveTitle);
1182
1136
  this.cdr.detectChanges();
1183
1137
  this.opened.emit();
1184
1138
  this.optionsList.scrollToItem(this.selectionService.focused);
1185
1139
  this.selectionService.focus(this.selectionService.focused);
1186
1140
  this.actionSheetSearchBar.focus();
1187
1141
  }
1142
+ blurComponent() {
1143
+ this.isFocused = false;
1144
+ const valueHasChanged = this.value !== this.text;
1145
+ const runInZone = hasObservers(this.onBlur) ||
1146
+ hasObservers(this.close) ||
1147
+ isUntouched(this.wrapper) ||
1148
+ valueHasChanged;
1149
+ if (runInZone) {
1150
+ this._zone.run(() => {
1151
+ if (valueHasChanged) {
1152
+ this.change(this.searchbar.value);
1153
+ }
1154
+ this.onBlur.emit();
1155
+ this.onTouchedCallback();
1156
+ this.togglePopup(false);
1157
+ });
1158
+ }
1159
+ else {
1160
+ this.togglePopup(false);
1161
+ }
1162
+ }
1188
1163
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AutoCompleteComponent, deps: [{ token: i1.LocalizationService }, { token: i2.DataService }, { token: i3.PopupService }, { token: i4.SelectionService }, { token: i5.NavigationService }, { token: i6.DisabledItemsService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.Injector }, { token: i7.AdaptiveService }], target: i0.ɵɵFactoryTarget.Component });
1189
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AutoCompleteComponent, isStandalone: true, selector: "kendo-autocomplete", inputs: { highlightFirst: "highlightFirst", showStickyHeader: "showStickyHeader", focusableId: "focusableId", data: "data", value: "value", valueField: "valueField", placeholder: "placeholder", adaptiveMode: "adaptiveMode", title: "title", subtitle: "subtitle", popupSettings: "popupSettings", listHeight: "listHeight", loading: "loading", clearButton: "clearButton", suggest: "suggest", disabled: "disabled", itemDisabled: "itemDisabled", readonly: "readonly", tabindex: "tabindex", tabIndex: "tabIndex", filterable: "filterable", virtual: "virtual", size: "size", rounded: "rounded", fillMode: "fillMode", inputAttributes: "inputAttributes" }, outputs: { valueChange: "valueChange", filterChange: "filterChange", open: "open", opened: "opened", close: "close", closed: "closed", onFocus: "focus", onBlur: "blur", inputFocus: "inputFocus", inputBlur: "inputBlur" }, host: { properties: { "class.k-readonly": "this.readonly", "class.k-autocomplete": "this.widgetClasses", "class.k-input": "this.widgetClasses", "class.k-disabled": "this.isDisabled", "class.k-loading": "this.isLoading", "attr.dir": "this.dir" } }, providers: [
1164
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AutoCompleteComponent, isStandalone: true, selector: "kendo-autocomplete", inputs: { highlightFirst: "highlightFirst", showStickyHeader: "showStickyHeader", focusableId: "focusableId", data: "data", value: "value", valueField: "valueField", placeholder: "placeholder", adaptiveMode: "adaptiveMode", adaptiveTitle: "adaptiveTitle", adaptiveSubtitle: "adaptiveSubtitle", popupSettings: "popupSettings", listHeight: "listHeight", loading: "loading", clearButton: "clearButton", suggest: "suggest", disabled: "disabled", itemDisabled: "itemDisabled", readonly: "readonly", tabindex: "tabindex", tabIndex: "tabIndex", filterable: "filterable", virtual: "virtual", size: "size", rounded: "rounded", fillMode: "fillMode", inputAttributes: "inputAttributes" }, outputs: { valueChange: "valueChange", filterChange: "filterChange", open: "open", opened: "opened", close: "close", closed: "closed", onFocus: "focus", onBlur: "blur", inputFocus: "inputFocus", inputBlur: "inputBlur" }, host: { properties: { "class.k-readonly": "this.readonly", "class.k-autocomplete": "this.widgetClasses", "class.k-input": "this.widgetClasses", "class.k-disabled": "this.isDisabled", "class.k-loading": "this.isLoading", "attr.dir": "this.dir" } }, providers: [
1190
1165
  AUTOCOMPLETE_VALUE_ACCESSOR,
1191
1166
  DataService,
1192
1167
  SelectionService,
@@ -1205,7 +1180,7 @@ export class AutoCompleteComponent {
1205
1180
  provide: KendoInput,
1206
1181
  useExisting: forwardRef(() => AutoCompleteComponent)
1207
1182
  }
1208
- ], queries: [{ propertyName: "template", first: true, predicate: ItemTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "noDataTemplate", first: true, predicate: NoDataTemplateDirective, descendants: true }, { propertyName: "groupTemplate", first: true, predicate: GroupTemplateDirective, descendants: true }, { propertyName: "fixedGroupTemplate", first: true, predicate: FixedGroupTemplateDirective, descendants: true }, { propertyName: "suffixTemplate", first: true, predicate: SuffixTemplateDirective, descendants: true }, { propertyName: "prefixTemplate", first: true, predicate: PrefixTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "responsiveRendererComponent", first: true, predicate: ResponsiveRendererComponent, descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "searchbar", first: true, predicate: SearchBarComponent, descendants: true, static: true }, { propertyName: "optionsList", first: true, predicate: ["optionsList"], descendants: true }], exportAs: ["kendoAutoComplete"], usesOnChanges: true, ngImport: i0, template: `
1183
+ ], queries: [{ propertyName: "template", first: true, predicate: ItemTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "noDataTemplate", first: true, predicate: NoDataTemplateDirective, descendants: true }, { propertyName: "groupTemplate", first: true, predicate: GroupTemplateDirective, descendants: true }, { propertyName: "fixedGroupTemplate", first: true, predicate: FixedGroupTemplateDirective, descendants: true }, { propertyName: "suffixTemplate", first: true, predicate: SuffixTemplateDirective, descendants: true }, { propertyName: "prefixTemplate", first: true, predicate: PrefixTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "adaptiveRendererComponent", first: true, predicate: AdaptiveRendererComponent, descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "searchbar", first: true, predicate: SearchBarComponent, descendants: true, static: true }, { propertyName: "optionsList", first: true, predicate: ["optionsList"], descendants: true }], exportAs: ["kendoAutoComplete"], usesOnChanges: true, ngImport: i0, template: `
1209
1184
  <ng-container kendoAutoCompleteLocalizedMessages
1210
1185
  i18n-noDataText="kendo.autocomplete.noDataText|The text displayed in the popup when there are no items"
1211
1186
  noDataText="NO DATA FOUND"
@@ -1215,6 +1190,9 @@ export class AutoCompleteComponent {
1215
1190
 
1216
1191
  i18n-popupLabel="kendo.autocomplete.popupLabel|The label of the popup element that contains the list of options when its role is 'region'"
1217
1192
  popupLabel="Options list"
1193
+
1194
+ i18n-adaptiveCloseButtonTitle="kendo.autocomplete.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"
1195
+ adaptiveCloseButtonTitle="Close"
1218
1196
  >
1219
1197
  </ng-container>
1220
1198
 
@@ -1283,19 +1261,17 @@ export class AutoCompleteComponent {
1283
1261
  <ng-container #container></ng-container>
1284
1262
  <kendo-resize-sensor *ngIf="isOpen || isAdaptiveModeEnabled" (resize)="onResize()"></kendo-resize-sensor>
1285
1263
 
1286
- <!--adaptive rendering-->
1287
- <responsive-renderer
1264
+ <kendo-adaptive-renderer
1288
1265
  [sharedPopupActionSheetTemplate]="sharedPopupActionSheetTemplate"
1289
- [isActionSheetExpanded]="isActionSheetExpanded"
1290
- [title]="title"
1266
+ [title]="adaptiveTitle"
1291
1267
  [showTextInput]="true"
1292
- [subtitle]="subtitle"
1293
- (closePopup)="togglePopup(false)"
1294
- (textInputChange)="onFilterChange($event)"
1268
+ [subtitle]="adaptiveSubtitle"
1269
+ (closePopup)="closeActionSheet()"
1270
+ (textInputChange)="searchBarChange($event)"
1295
1271
  (navigate)="handleNavigate($event)"
1296
1272
  [placeholder]="placeholder"
1297
- >
1298
- </responsive-renderer>
1273
+ [searchBarValue]="text">
1274
+ </kendo-adaptive-renderer>
1299
1275
 
1300
1276
  <ng-template #sharedPopupActionSheetTemplate>
1301
1277
  <!--header template-->
@@ -1307,7 +1283,7 @@ export class AutoCompleteComponent {
1307
1283
  <!--list-->
1308
1284
  <kendo-list
1309
1285
  #optionsList
1310
- [size]="size"
1286
+ [size]="isAdaptive ? 'large' : size"
1311
1287
  [rounded]="rounded"
1312
1288
  [id]="listBoxId"
1313
1289
  [optionPrefix]="optionPrefix"
@@ -1342,7 +1318,7 @@ export class AutoCompleteComponent {
1342
1318
  }">
1343
1319
  </ng-template>
1344
1320
  </ng-template>
1345
- `, 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: SharedDropDownEventsDirective, selector: "[kendoDropDownSharedEvents]", inputs: ["hostElement", "clearButtonClicked", "isFocused"], outputs: ["isFocusedChange", "onFocus", "handleBlur"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: SeparatorComponent, selector: "kendo-separator", inputs: ["orientation"] }, { kind: "component", type: SearchBarComponent, selector: "input[kendoSearchbar]", inputs: ["tagListId", "readonly", "disabled", "isRequired", "isSuggestable", "isFilterable", "userInput", "suggestedText", "inputAttributes", "id", "activeDescendant", "tabIndex", "isLoading", "ariaControls", "ariaExpanded", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { 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: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "component", type: ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "isMultiselect", "isActionSheetExpanded", "showStickyHeader", "rowWidth", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize", "popupListScroll"] }] });
1321
+ `, 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: SharedDropDownEventsDirective, selector: "[kendoDropDownSharedEvents]", inputs: ["hostElement", "clearButtonClicked", "isFocused"], outputs: ["isFocusedChange", "onFocus", "handleBlur"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: SeparatorComponent, selector: "kendo-separator", inputs: ["orientation"] }, { kind: "component", type: SearchBarComponent, selector: "input[kendoSearchbar]", inputs: ["tagListId", "readonly", "disabled", "isRequired", "isSuggestable", "isFilterable", "userInput", "suggestedText", "inputAttributes", "id", "activeDescendant", "tabIndex", "isLoading", "ariaControls", "ariaExpanded", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { 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: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "component", type: ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "isMultiselect", "isActionSheetExpanded", "showStickyHeader", "rowWidth", "customItemTemplate", "text", "allowCustom", "defaultItem", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize", "popupListScroll"] }] });
1346
1322
  }
1347
1323
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AutoCompleteComponent, decorators: [{
1348
1324
  type: Component,
@@ -1379,6 +1355,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1379
1355
 
1380
1356
  i18n-popupLabel="kendo.autocomplete.popupLabel|The label of the popup element that contains the list of options when its role is 'region'"
1381
1357
  popupLabel="Options list"
1358
+
1359
+ i18n-adaptiveCloseButtonTitle="kendo.autocomplete.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"
1360
+ adaptiveCloseButtonTitle="Close"
1382
1361
  >
1383
1362
  </ng-container>
1384
1363
 
@@ -1447,19 +1426,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1447
1426
  <ng-container #container></ng-container>
1448
1427
  <kendo-resize-sensor *ngIf="isOpen || isAdaptiveModeEnabled" (resize)="onResize()"></kendo-resize-sensor>
1449
1428
 
1450
- <!--adaptive rendering-->
1451
- <responsive-renderer
1429
+ <kendo-adaptive-renderer
1452
1430
  [sharedPopupActionSheetTemplate]="sharedPopupActionSheetTemplate"
1453
- [isActionSheetExpanded]="isActionSheetExpanded"
1454
- [title]="title"
1431
+ [title]="adaptiveTitle"
1455
1432
  [showTextInput]="true"
1456
- [subtitle]="subtitle"
1457
- (closePopup)="togglePopup(false)"
1458
- (textInputChange)="onFilterChange($event)"
1433
+ [subtitle]="adaptiveSubtitle"
1434
+ (closePopup)="closeActionSheet()"
1435
+ (textInputChange)="searchBarChange($event)"
1459
1436
  (navigate)="handleNavigate($event)"
1460
1437
  [placeholder]="placeholder"
1461
- >
1462
- </responsive-renderer>
1438
+ [searchBarValue]="text">
1439
+ </kendo-adaptive-renderer>
1463
1440
 
1464
1441
  <ng-template #sharedPopupActionSheetTemplate>
1465
1442
  <!--header template-->
@@ -1471,7 +1448,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1471
1448
  <!--list-->
1472
1449
  <kendo-list
1473
1450
  #optionsList
1474
- [size]="size"
1451
+ [size]="isAdaptive ? 'large' : size"
1475
1452
  [rounded]="rounded"
1476
1453
  [id]="listBoxId"
1477
1454
  [optionPrefix]="optionPrefix"
@@ -1508,11 +1485,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1508
1485
  </ng-template>
1509
1486
  `,
1510
1487
  standalone: true,
1511
- imports: [LocalizedMessagesDirective, SharedDropDownEventsDirective, NgIf, NgTemplateOutlet, SeparatorComponent, SearchBarComponent, IconWrapperComponent, ResizeSensorComponent, ResponsiveRendererComponent, TemplateContextDirective, ListComponent]
1488
+ imports: [LocalizedMessagesDirective, SharedDropDownEventsDirective, NgIf, NgTemplateOutlet, SeparatorComponent, SearchBarComponent, IconWrapperComponent, ResizeSensorComponent, AdaptiveRendererComponent, TemplateContextDirective, ListComponent]
1512
1489
  }]
1513
- }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.DataService }, { type: i3.PopupService }, { type: i4.SelectionService }, { type: i5.NavigationService }, { type: i6.DisabledItemsService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.Injector }, { type: i7.AdaptiveService }]; }, propDecorators: { responsiveRendererComponent: [{
1490
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.DataService }, { type: i3.PopupService }, { type: i4.SelectionService }, { type: i5.NavigationService }, { type: i6.DisabledItemsService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.Injector }, { type: i7.AdaptiveService }]; }, propDecorators: { adaptiveRendererComponent: [{
1514
1491
  type: ViewChild,
1515
- args: [ResponsiveRendererComponent]
1492
+ args: [AdaptiveRendererComponent]
1516
1493
  }], highlightFirst: [{
1517
1494
  type: Input
1518
1495
  }], showStickyHeader: [{
@@ -1529,9 +1506,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1529
1506
  type: Input
1530
1507
  }], adaptiveMode: [{
1531
1508
  type: Input
1532
- }], title: [{
1509
+ }], adaptiveTitle: [{
1533
1510
  type: Input
1534
- }], subtitle: [{
1511
+ }], adaptiveSubtitle: [{
1535
1512
  type: Input
1536
1513
  }], popupSettings: [{
1537
1514
  type: Input