@progress/kendo-angular-dropdowns 21.4.0-develop.1 → 21.4.0-develop.11
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 +1 -1
- package/comboboxes/combobox.component.d.ts +0 -7
- package/common/models/popup-settings.d.ts +1 -1
- package/esm2022/autocomplete/autocomplete.component.mjs +7 -3
- package/esm2022/comboboxes/combobox.component.mjs +10 -9
- package/esm2022/comboboxes/multicolumncombobox.component.mjs +10 -2
- package/esm2022/dropdownlist/dropdownlist.component.mjs +7 -3
- package/esm2022/dropdowntrees/dropdowntree.component.mjs +7 -3
- package/esm2022/dropdowntrees/multiselecttree.component.mjs +7 -3
- package/esm2022/multiselect/multiselect.component.mjs +7 -3
- package/esm2022/package-metadata.mjs +2 -2
- package/fesm2022/progress-kendo-angular-dropdowns.mjs +51 -22
- package/package.json +10 -10
- package/schematics/ngAdd/index.js +2 -2
|
@@ -88,7 +88,7 @@ export declare class AutoCompleteComponent implements ControlValueAccessor, OnDe
|
|
|
88
88
|
get actionSheetSearchBar(): TextBoxComponent;
|
|
89
89
|
get width(): any;
|
|
90
90
|
get height(): any;
|
|
91
|
-
get listContainerClasses():
|
|
91
|
+
get listContainerClasses(): string[];
|
|
92
92
|
get suggestion(): string;
|
|
93
93
|
get appendTo(): ViewContainerRef;
|
|
94
94
|
/**
|
|
@@ -240,13 +240,6 @@ export declare class ComboBoxComponent extends MultiTabStop implements ControlVa
|
|
|
240
240
|
get isAdaptiveModeEnabled(): boolean;
|
|
241
241
|
/**
|
|
242
242
|
* Configures the popup of the ComboBox.
|
|
243
|
-
*
|
|
244
|
-
* The available options are:
|
|
245
|
-
* - `animate: Boolean`—Controls the popup animation. By default, the open and close animations are enabled.
|
|
246
|
-
* - `width: Number | String`—Sets the width of the popup container. By default, the width of the host element is used. If set to `auto`, the component automatically adjusts the width of the popup and no item labels are wrapped. The `auto` mode is not supported when virtual scrolling is enabled.
|
|
247
|
-
* - `height: Number`—Sets the height of the popup container.
|
|
248
|
-
* - `popupClass: String`—Specifies a list of CSS classes that are used to style the popup.
|
|
249
|
-
* - `appendTo: "root" | "component" | ViewContainerRef`—Specifies the component to which the popup will be appended.
|
|
250
243
|
*/
|
|
251
244
|
set popupSettings(settings: PopupSettings);
|
|
252
245
|
get popupSettings(): PopupSettings;
|
|
@@ -32,7 +32,7 @@ export interface PopupSettings {
|
|
|
32
32
|
/**
|
|
33
33
|
* Specifies a list of CSS classes used for styling the popup.
|
|
34
34
|
*/
|
|
35
|
-
popupClass?: string;
|
|
35
|
+
popupClass?: string | string[] | Set<string> | object;
|
|
36
36
|
/**
|
|
37
37
|
* Sets the popup width. By default, it is equal to the width of the component. If set to `auto`, the component
|
|
38
38
|
* automatically adjusts the width of the popup, so that the item labels are not wrapped.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, Renderer2, forwardRef, ElementRef, Input, Output, EventEmitter, ContentChild, ViewChild, ViewContainerRef, TemplateRef, HostBinding, isDevMode, ChangeDetectorRef, NgZone, Injector } from '@angular/core';
|
|
6
|
-
import { isDocumentAvailable, KendoInput, hasObservers, SuffixTemplateDirective, PrefixTemplateDirective, isControlRequired, SeparatorComponent, ResizeSensorComponent, TemplateContextDirective, guid, normalizeKeys } from '@progress/kendo-angular-common';
|
|
6
|
+
import { isDocumentAvailable, KendoInput, hasObservers, SuffixTemplateDirective, PrefixTemplateDirective, isControlRequired, SeparatorComponent, ResizeSensorComponent, TemplateContextDirective, guid, normalizeKeys, parseCSSClassNames } from '@progress/kendo-angular-common';
|
|
7
7
|
import { AdaptiveService } from '@progress/kendo-angular-utils';
|
|
8
8
|
import { NG_VALUE_ACCESSOR, NgControl } from '@angular/forms';
|
|
9
9
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
@@ -122,8 +122,12 @@ export class AutoCompleteComponent {
|
|
|
122
122
|
}
|
|
123
123
|
get listContainerClasses() {
|
|
124
124
|
const containerClasses = ['k-list-container', 'k-autocomplete-popup'];
|
|
125
|
-
if (this.popupSettings.popupClass) {
|
|
126
|
-
containerClasses
|
|
125
|
+
if (!this.popupSettings.popupClass) {
|
|
126
|
+
return containerClasses;
|
|
127
|
+
}
|
|
128
|
+
const parsedPopupClasses = parseCSSClassNames(this.popupSettings.popupClass);
|
|
129
|
+
if (parsedPopupClasses?.length) {
|
|
130
|
+
containerClasses.push(...parsedPopupClasses);
|
|
127
131
|
}
|
|
128
132
|
return containerClasses;
|
|
129
133
|
}
|
|
@@ -18,7 +18,7 @@ import { NavigationService } from '../common/navigation/navigation.service';
|
|
|
18
18
|
import { DisabledItemsService } from '../common/disabled-items/disabled-items.service';
|
|
19
19
|
import { merge, of, Subject, Subscription } from 'rxjs';
|
|
20
20
|
import { catchError, filter, map, partition, tap, throttleTime } from 'rxjs/operators';
|
|
21
|
-
import { isChanged, isDocumentAvailable, KendoInput, hasObservers, anyChanged, SuffixTemplateDirective, PrefixTemplateDirective, isControlRequired, MultiTabStop, SeparatorComponent, EventsOutsideAngularDirective, ResizeSensorComponent, Keys, TemplateContextDirective, guid, normalizeKeys } from '@progress/kendo-angular-common';
|
|
21
|
+
import { isChanged, isDocumentAvailable, KendoInput, hasObservers, anyChanged, SuffixTemplateDirective, PrefixTemplateDirective, isControlRequired, MultiTabStop, SeparatorComponent, EventsOutsideAngularDirective, ResizeSensorComponent, Keys, TemplateContextDirective, guid, normalizeKeys, parseCSSClassNames } from '@progress/kendo-angular-common';
|
|
22
22
|
import { AdaptiveService } from '@progress/kendo-angular-utils';
|
|
23
23
|
import { isPresent, getter, isEmptyString, isUntouched, inDropDown, getSizeClass, getRoundedClass, getFillModeClass, isTruthy, setListBoxAriaLabelledBy, setActionSheetTitle, animationDuration } from '../common/util';
|
|
24
24
|
import { NavigationAction } from '../common/navigation/navigation-action';
|
|
@@ -326,13 +326,6 @@ export class ComboBoxComponent extends MultiTabStop {
|
|
|
326
326
|
}
|
|
327
327
|
/**
|
|
328
328
|
* Configures the popup of the ComboBox.
|
|
329
|
-
*
|
|
330
|
-
* The available options are:
|
|
331
|
-
* - `animate: Boolean`—Controls the popup animation. By default, the open and close animations are enabled.
|
|
332
|
-
* - `width: Number | String`—Sets the width of the popup container. By default, the width of the host element is used. If set to `auto`, the component automatically adjusts the width of the popup and no item labels are wrapped. The `auto` mode is not supported when virtual scrolling is enabled.
|
|
333
|
-
* - `height: Number`—Sets the height of the popup container.
|
|
334
|
-
* - `popupClass: String`—Specifies a list of CSS classes that are used to style the popup.
|
|
335
|
-
* - `appendTo: "root" | "component" | ViewContainerRef`—Specifies the component to which the popup will be appended.
|
|
336
329
|
*/
|
|
337
330
|
set popupSettings(settings) {
|
|
338
331
|
this._popupSettings = Object.assign({ animate: true }, settings);
|
|
@@ -1358,7 +1351,15 @@ export class ComboBoxComponent extends MultiTabStop {
|
|
|
1358
1351
|
this.togglePopup(!this.isOpen);
|
|
1359
1352
|
}
|
|
1360
1353
|
get listContainerClasses() {
|
|
1361
|
-
|
|
1354
|
+
const containerClasses = ['k-list-container', 'k-combobox-popup'];
|
|
1355
|
+
if (!this.popupSettings.popupClass) {
|
|
1356
|
+
return containerClasses;
|
|
1357
|
+
}
|
|
1358
|
+
const parsedPopupClasses = parseCSSClassNames(this.popupSettings.popupClass);
|
|
1359
|
+
if (parsedPopupClasses?.length) {
|
|
1360
|
+
containerClasses.push(...parsedPopupClasses);
|
|
1361
|
+
}
|
|
1362
|
+
return containerClasses;
|
|
1362
1363
|
}
|
|
1363
1364
|
/**
|
|
1364
1365
|
* @hidden
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ChangeDetectorRef, Component, ContentChildren, ElementRef, forwardRef, HostBinding, Injector, isDevMode, NgZone, QueryList, Renderer2, ViewChild, ViewChildren } from '@angular/core';
|
|
6
6
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
7
|
-
import { EventsOutsideAngularDirective, isDocumentAvailable, KendoInput, MultiTabStop, ResizeSensorComponent, SeparatorComponent, TemplateContextDirective } from '@progress/kendo-angular-common';
|
|
7
|
+
import { EventsOutsideAngularDirective, isDocumentAvailable, KendoInput, MultiTabStop, parseCSSClassNames, ResizeSensorComponent, SeparatorComponent, TemplateContextDirective } from '@progress/kendo-angular-common';
|
|
8
8
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
9
|
import { PopupService } from '@progress/kendo-angular-popup';
|
|
10
10
|
import { AdaptiveService } from '@progress/kendo-angular-utils';
|
|
@@ -131,7 +131,15 @@ export class MultiColumnComboBoxComponent extends ComboBoxComponent {
|
|
|
131
131
|
* @hidden
|
|
132
132
|
*/
|
|
133
133
|
get listContainerClasses() {
|
|
134
|
-
|
|
134
|
+
const containerClasses = ['k-popup', 'k-dropdowngrid-popup'];
|
|
135
|
+
if (!this.popupSettings.popupClass) {
|
|
136
|
+
return containerClasses;
|
|
137
|
+
}
|
|
138
|
+
const parsedPopupClasses = parseCSSClassNames(this.popupSettings.popupClass);
|
|
139
|
+
if (parsedPopupClasses?.length) {
|
|
140
|
+
containerClasses.push(...parsedPopupClasses);
|
|
141
|
+
}
|
|
142
|
+
return containerClasses;
|
|
135
143
|
}
|
|
136
144
|
constructor(localization, popupService, selectionService, navigationService, disabledItemsService, dataService, zone, changeDetector, renderer, wrapper, injector, hostElement, adaptiveService) {
|
|
137
145
|
super(wrapper, localization, popupService, selectionService, navigationService, disabledItemsService, dataService, zone, changeDetector, renderer, injector, hostElement, adaptiveService);
|
|
@@ -8,7 +8,7 @@ import { validatePackage } from '@progress/kendo-licensing';
|
|
|
8
8
|
import { packageMetadata } from '../package-metadata';
|
|
9
9
|
import { merge, interval, Subscription } from 'rxjs';
|
|
10
10
|
import { concatMap, filter, map, skipWhile, take, takeUntil, tap } from 'rxjs/operators';
|
|
11
|
-
import { isDocumentAvailable, KendoInput, hasObservers, anyChanged, isChanged, EventsOutsideAngularDirective, ResizeSensorComponent, Keys, TemplateContextDirective, isSafari, guid, normalizeKeys } from '@progress/kendo-angular-common';
|
|
11
|
+
import { isDocumentAvailable, KendoInput, hasObservers, anyChanged, isChanged, EventsOutsideAngularDirective, ResizeSensorComponent, Keys, TemplateContextDirective, isSafari, guid, normalizeKeys, parseCSSClassNames } from '@progress/kendo-angular-common';
|
|
12
12
|
import { AdaptiveService } from '@progress/kendo-angular-utils';
|
|
13
13
|
import { isPresent, getter, shuffleData, sameCharsOnly, matchText, isUntouched, inDropDown, getSizeClass, getRoundedClass, getFillModeClass, isTruthy, setListBoxAriaLabelledBy, setActionSheetTitle, animationDuration } from '../common/util';
|
|
14
14
|
import { SelectionService } from '../common/selection/selection.service';
|
|
@@ -931,8 +931,12 @@ export class DropDownListComponent {
|
|
|
931
931
|
*/
|
|
932
932
|
get listContainerClasses() {
|
|
933
933
|
const containerClasses = ['k-list-container', 'k-dropdownlist-popup'];
|
|
934
|
-
if (this.popupSettings.popupClass) {
|
|
935
|
-
containerClasses
|
|
934
|
+
if (!this.popupSettings.popupClass) {
|
|
935
|
+
return containerClasses;
|
|
936
|
+
}
|
|
937
|
+
const parsedPopupClasses = parseCSSClassNames(this.popupSettings.popupClass);
|
|
938
|
+
if (parsedPopupClasses?.length) {
|
|
939
|
+
containerClasses.push(...parsedPopupClasses);
|
|
936
940
|
}
|
|
937
941
|
return containerClasses;
|
|
938
942
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ChangeDetectionStrategy, Component, ElementRef, EventEmitter, HostBinding, Input, Output, NgZone, Renderer2, TemplateRef, ViewChild, ChangeDetectorRef, ContentChild, forwardRef, ViewContainerRef, isDevMode, Injector } from '@angular/core';
|
|
6
|
-
import { anyChanged, EventsOutsideAngularDirective, guid, hasObservers, isChanged, isDocumentAvailable, KendoInput, Keys, ResizeSensorComponent, TemplateContextDirective } from '@progress/kendo-angular-common';
|
|
6
|
+
import { anyChanged, EventsOutsideAngularDirective, guid, hasObservers, isChanged, isDocumentAvailable, KendoInput, Keys, parseCSSClassNames, ResizeSensorComponent, TemplateContextDirective } from '@progress/kendo-angular-common';
|
|
7
7
|
import { AdaptiveService } from '@progress/kendo-angular-utils';
|
|
8
8
|
import { PopupService } from '@progress/kendo-angular-popup';
|
|
9
9
|
import { TreeViewComponent, DataBoundComponent, ExpandableComponent, SelectDirective } from '@progress/kendo-angular-treeview';
|
|
@@ -880,8 +880,12 @@ export class DropDownTreeComponent {
|
|
|
880
880
|
*/
|
|
881
881
|
get popupContainerClasses() {
|
|
882
882
|
const containerClasses = ['k-dropdowntree-popup'];
|
|
883
|
-
if (this.popupSettings.popupClass) {
|
|
884
|
-
containerClasses
|
|
883
|
+
if (!this.popupSettings.popupClass) {
|
|
884
|
+
return containerClasses;
|
|
885
|
+
}
|
|
886
|
+
const parsedPopupClasses = parseCSSClassNames(this.popupSettings.popupClass);
|
|
887
|
+
if (parsedPopupClasses?.length) {
|
|
888
|
+
containerClasses.push(...parsedPopupClasses);
|
|
885
889
|
}
|
|
886
890
|
return containerClasses;
|
|
887
891
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ChangeDetectorRef, Component, ContentChild, ElementRef, EventEmitter, forwardRef, HostBinding, Injector, Input, isDevMode, NgZone, Output, Renderer2, TemplateRef, ViewChild, ViewContainerRef } from '@angular/core';
|
|
6
6
|
import { NgControl, NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
7
|
-
import { anyChanged, guid, hasObservers, Keys, KendoInput, isDocumentAvailable, EventsOutsideAngularDirective, ResizeSensorComponent, TemplateContextDirective, normalizeKeys } from '@progress/kendo-angular-common';
|
|
7
|
+
import { anyChanged, guid, hasObservers, Keys, KendoInput, isDocumentAvailable, EventsOutsideAngularDirective, ResizeSensorComponent, TemplateContextDirective, normalizeKeys, parseCSSClassNames } from '@progress/kendo-angular-common';
|
|
8
8
|
import { AdaptiveService } from '@progress/kendo-angular-utils';
|
|
9
9
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
10
10
|
import { NavigationService } from '../common/navigation/navigation.service';
|
|
@@ -657,8 +657,12 @@ export class MultiSelectTreeComponent {
|
|
|
657
657
|
*/
|
|
658
658
|
get popupContainerClasses() {
|
|
659
659
|
const containerClasses = ['k-multiselecttree-popup'];
|
|
660
|
-
if (this.popupSettings.popupClass) {
|
|
661
|
-
containerClasses
|
|
660
|
+
if (!this.popupSettings.popupClass) {
|
|
661
|
+
return containerClasses;
|
|
662
|
+
}
|
|
663
|
+
const parsedPopupClasses = parseCSSClassNames(this.popupSettings.popupClass);
|
|
664
|
+
if (parsedPopupClasses?.length) {
|
|
665
|
+
containerClasses.push(...parsedPopupClasses);
|
|
662
666
|
}
|
|
663
667
|
return containerClasses;
|
|
664
668
|
}
|
|
@@ -6,7 +6,7 @@ import { isPresent, isArray, isObjectArray, resolveAllValues, selectedIndices, g
|
|
|
6
6
|
import { SearchBarComponent } from '../common/searchbar.component';
|
|
7
7
|
import { ViewChild, Renderer2, ViewContainerRef, Component, HostBinding, Input, ElementRef, TemplateRef, Output, EventEmitter, isDevMode, forwardRef, ContentChild, ChangeDetectorRef, KeyValueDiffers, NgZone, Injector } from '@angular/core';
|
|
8
8
|
import { Subscription, Subject, of, merge } from 'rxjs';
|
|
9
|
-
import { isChanged, isDocumentAvailable, KendoInput, hasObservers, anyChanged, SuffixTemplateDirective, PrefixTemplateDirective, isControlRequired, SeparatorComponent, ResizeSensorComponent, Keys, TemplateContextDirective, guid, normalizeKeys } from '@progress/kendo-angular-common';
|
|
9
|
+
import { isChanged, isDocumentAvailable, KendoInput, hasObservers, anyChanged, SuffixTemplateDirective, PrefixTemplateDirective, isControlRequired, SeparatorComponent, ResizeSensorComponent, Keys, TemplateContextDirective, guid, normalizeKeys, parseCSSClassNames } from '@progress/kendo-angular-common';
|
|
10
10
|
import { AdaptiveService } from '@progress/kendo-angular-utils';
|
|
11
11
|
import { catchError, filter, map, take, tap } from 'rxjs/operators';
|
|
12
12
|
import { NG_VALUE_ACCESSOR, NgControl } from '@angular/forms';
|
|
@@ -731,8 +731,12 @@ export class MultiSelectComponent {
|
|
|
731
731
|
}
|
|
732
732
|
get listContainerClasses() {
|
|
733
733
|
const containerClasses = ['k-list-container', 'k-multiselect-popup'];
|
|
734
|
-
if (this.popupSettings.popupClass) {
|
|
735
|
-
containerClasses
|
|
734
|
+
if (!this.popupSettings.popupClass) {
|
|
735
|
+
return containerClasses;
|
|
736
|
+
}
|
|
737
|
+
const parsedPopupClasses = parseCSSClassNames(this.popupSettings.popupClass);
|
|
738
|
+
if (parsedPopupClasses?.length) {
|
|
739
|
+
containerClasses.push(...parsedPopupClasses);
|
|
736
740
|
}
|
|
737
741
|
return containerClasses;
|
|
738
742
|
}
|
|
@@ -10,7 +10,7 @@ export const packageMetadata = {
|
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCode: 'KENDOUIANGULAR',
|
|
12
12
|
productCodes: ['KENDOUIANGULAR'],
|
|
13
|
-
publishDate:
|
|
14
|
-
version: '21.4.0-develop.
|
|
13
|
+
publishDate: 1766151075,
|
|
14
|
+
version: '21.4.0-develop.11',
|
|
15
15
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
16
16
|
};
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
6
|
import { EventEmitter, Component, Input, HostBinding, Output, Directive, Injectable, HostListener, ViewChildren, ViewChild, forwardRef, isDevMode, ViewContainerRef, ContentChild, ContentChildren, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
7
7
|
import * as i10 from '@progress/kendo-angular-common';
|
|
8
|
-
import { isDocumentAvailable, isObjectPresent, removeHTMLAttributes, parseAttributes, isSafari, normalizeKeys, Keys, setHTMLAttributes, replaceMessagePlaceholder, isChanged, TemplateContextDirective, ResizeSensorComponent, closest as closest$1, isControlRequired, guid, hasObservers, KendoInput, SuffixTemplateDirective, PrefixTemplateDirective, SeparatorComponent, MultiTabStop, anyChanged, EventsOutsideAngularDirective, ToggleButtonTabStopDirective, ResizeBatchService, KENDO_ADORNMENTS, KENDO_TOGGLEBUTTONTABSTOP } from '@progress/kendo-angular-common';
|
|
8
|
+
import { isDocumentAvailable, isObjectPresent, removeHTMLAttributes, parseAttributes, isSafari, normalizeKeys, Keys, setHTMLAttributes, replaceMessagePlaceholder, isChanged, TemplateContextDirective, ResizeSensorComponent, closest as closest$1, parseCSSClassNames, isControlRequired, guid, hasObservers, KendoInput, SuffixTemplateDirective, PrefixTemplateDirective, SeparatorComponent, MultiTabStop, anyChanged, EventsOutsideAngularDirective, ToggleButtonTabStopDirective, ResizeBatchService, KENDO_ADORNMENTS, KENDO_TOGGLEBUTTONTABSTOP } from '@progress/kendo-angular-common';
|
|
9
9
|
export { PrefixTemplateDirective, SeparatorComponent, SuffixTemplateDirective, ToggleButtonTabStopDirective } from '@progress/kendo-angular-common';
|
|
10
10
|
import * as i7 from '@progress/kendo-angular-utils';
|
|
11
11
|
import { AdaptiveService } from '@progress/kendo-angular-utils';
|
|
@@ -37,8 +37,8 @@ const packageMetadata = {
|
|
|
37
37
|
productName: 'Kendo UI for Angular',
|
|
38
38
|
productCode: 'KENDOUIANGULAR',
|
|
39
39
|
productCodes: ['KENDOUIANGULAR'],
|
|
40
|
-
publishDate:
|
|
41
|
-
version: '21.4.0-develop.
|
|
40
|
+
publishDate: 1766151075,
|
|
41
|
+
version: '21.4.0-develop.11',
|
|
42
42
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
43
43
|
};
|
|
44
44
|
|
|
@@ -3383,8 +3383,12 @@ class AutoCompleteComponent {
|
|
|
3383
3383
|
}
|
|
3384
3384
|
get listContainerClasses() {
|
|
3385
3385
|
const containerClasses = ['k-list-container', 'k-autocomplete-popup'];
|
|
3386
|
-
if (this.popupSettings.popupClass) {
|
|
3387
|
-
containerClasses
|
|
3386
|
+
if (!this.popupSettings.popupClass) {
|
|
3387
|
+
return containerClasses;
|
|
3388
|
+
}
|
|
3389
|
+
const parsedPopupClasses = parseCSSClassNames(this.popupSettings.popupClass);
|
|
3390
|
+
if (parsedPopupClasses?.length) {
|
|
3391
|
+
containerClasses.push(...parsedPopupClasses);
|
|
3388
3392
|
}
|
|
3389
3393
|
return containerClasses;
|
|
3390
3394
|
}
|
|
@@ -5282,13 +5286,6 @@ class ComboBoxComponent extends MultiTabStop {
|
|
|
5282
5286
|
}
|
|
5283
5287
|
/**
|
|
5284
5288
|
* Configures the popup of the ComboBox.
|
|
5285
|
-
*
|
|
5286
|
-
* The available options are:
|
|
5287
|
-
* - `animate: Boolean`—Controls the popup animation. By default, the open and close animations are enabled.
|
|
5288
|
-
* - `width: Number | String`—Sets the width of the popup container. By default, the width of the host element is used. If set to `auto`, the component automatically adjusts the width of the popup and no item labels are wrapped. The `auto` mode is not supported when virtual scrolling is enabled.
|
|
5289
|
-
* - `height: Number`—Sets the height of the popup container.
|
|
5290
|
-
* - `popupClass: String`—Specifies a list of CSS classes that are used to style the popup.
|
|
5291
|
-
* - `appendTo: "root" | "component" | ViewContainerRef`—Specifies the component to which the popup will be appended.
|
|
5292
5289
|
*/
|
|
5293
5290
|
set popupSettings(settings) {
|
|
5294
5291
|
this._popupSettings = Object.assign({ animate: true }, settings);
|
|
@@ -6314,7 +6311,15 @@ class ComboBoxComponent extends MultiTabStop {
|
|
|
6314
6311
|
this.togglePopup(!this.isOpen);
|
|
6315
6312
|
}
|
|
6316
6313
|
get listContainerClasses() {
|
|
6317
|
-
|
|
6314
|
+
const containerClasses = ['k-list-container', 'k-combobox-popup'];
|
|
6315
|
+
if (!this.popupSettings.popupClass) {
|
|
6316
|
+
return containerClasses;
|
|
6317
|
+
}
|
|
6318
|
+
const parsedPopupClasses = parseCSSClassNames(this.popupSettings.popupClass);
|
|
6319
|
+
if (parsedPopupClasses?.length) {
|
|
6320
|
+
containerClasses.push(...parsedPopupClasses);
|
|
6321
|
+
}
|
|
6322
|
+
return containerClasses;
|
|
6318
6323
|
}
|
|
6319
6324
|
/**
|
|
6320
6325
|
* @hidden
|
|
@@ -8067,8 +8072,12 @@ class DropDownListComponent {
|
|
|
8067
8072
|
*/
|
|
8068
8073
|
get listContainerClasses() {
|
|
8069
8074
|
const containerClasses = ['k-list-container', 'k-dropdownlist-popup'];
|
|
8070
|
-
if (this.popupSettings.popupClass) {
|
|
8071
|
-
containerClasses
|
|
8075
|
+
if (!this.popupSettings.popupClass) {
|
|
8076
|
+
return containerClasses;
|
|
8077
|
+
}
|
|
8078
|
+
const parsedPopupClasses = parseCSSClassNames(this.popupSettings.popupClass);
|
|
8079
|
+
if (parsedPopupClasses?.length) {
|
|
8080
|
+
containerClasses.push(...parsedPopupClasses);
|
|
8072
8081
|
}
|
|
8073
8082
|
return containerClasses;
|
|
8074
8083
|
}
|
|
@@ -10206,8 +10215,12 @@ class MultiSelectComponent {
|
|
|
10206
10215
|
}
|
|
10207
10216
|
get listContainerClasses() {
|
|
10208
10217
|
const containerClasses = ['k-list-container', 'k-multiselect-popup'];
|
|
10209
|
-
if (this.popupSettings.popupClass) {
|
|
10210
|
-
containerClasses
|
|
10218
|
+
if (!this.popupSettings.popupClass) {
|
|
10219
|
+
return containerClasses;
|
|
10220
|
+
}
|
|
10221
|
+
const parsedPopupClasses = parseCSSClassNames(this.popupSettings.popupClass);
|
|
10222
|
+
if (parsedPopupClasses?.length) {
|
|
10223
|
+
containerClasses.push(...parsedPopupClasses);
|
|
10211
10224
|
}
|
|
10212
10225
|
return containerClasses;
|
|
10213
10226
|
}
|
|
@@ -12183,7 +12196,15 @@ class MultiColumnComboBoxComponent extends ComboBoxComponent {
|
|
|
12183
12196
|
* @hidden
|
|
12184
12197
|
*/
|
|
12185
12198
|
get listContainerClasses() {
|
|
12186
|
-
|
|
12199
|
+
const containerClasses = ['k-popup', 'k-dropdowngrid-popup'];
|
|
12200
|
+
if (!this.popupSettings.popupClass) {
|
|
12201
|
+
return containerClasses;
|
|
12202
|
+
}
|
|
12203
|
+
const parsedPopupClasses = parseCSSClassNames(this.popupSettings.popupClass);
|
|
12204
|
+
if (parsedPopupClasses?.length) {
|
|
12205
|
+
containerClasses.push(...parsedPopupClasses);
|
|
12206
|
+
}
|
|
12207
|
+
return containerClasses;
|
|
12187
12208
|
}
|
|
12188
12209
|
constructor(localization, popupService, selectionService, navigationService, disabledItemsService, dataService, zone, changeDetector, renderer, wrapper, injector, hostElement, adaptiveService) {
|
|
12189
12210
|
super(wrapper, localization, popupService, selectionService, navigationService, disabledItemsService, dataService, zone, changeDetector, renderer, injector, hostElement, adaptiveService);
|
|
@@ -13797,8 +13818,12 @@ class DropDownTreeComponent {
|
|
|
13797
13818
|
*/
|
|
13798
13819
|
get popupContainerClasses() {
|
|
13799
13820
|
const containerClasses = ['k-dropdowntree-popup'];
|
|
13800
|
-
if (this.popupSettings.popupClass) {
|
|
13801
|
-
containerClasses
|
|
13821
|
+
if (!this.popupSettings.popupClass) {
|
|
13822
|
+
return containerClasses;
|
|
13823
|
+
}
|
|
13824
|
+
const parsedPopupClasses = parseCSSClassNames(this.popupSettings.popupClass);
|
|
13825
|
+
if (parsedPopupClasses?.length) {
|
|
13826
|
+
containerClasses.push(...parsedPopupClasses);
|
|
13802
13827
|
}
|
|
13803
13828
|
return containerClasses;
|
|
13804
13829
|
}
|
|
@@ -15958,8 +15983,12 @@ class MultiSelectTreeComponent {
|
|
|
15958
15983
|
*/
|
|
15959
15984
|
get popupContainerClasses() {
|
|
15960
15985
|
const containerClasses = ['k-multiselecttree-popup'];
|
|
15961
|
-
if (this.popupSettings.popupClass) {
|
|
15962
|
-
containerClasses
|
|
15986
|
+
if (!this.popupSettings.popupClass) {
|
|
15987
|
+
return containerClasses;
|
|
15988
|
+
}
|
|
15989
|
+
const parsedPopupClasses = parseCSSClassNames(this.popupSettings.popupClass);
|
|
15990
|
+
if (parsedPopupClasses?.length) {
|
|
15991
|
+
containerClasses.push(...parsedPopupClasses);
|
|
15963
15992
|
}
|
|
15964
15993
|
return containerClasses;
|
|
15965
15994
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-dropdowns",
|
|
3
|
-
"version": "21.4.0-develop.
|
|
3
|
+
"version": "21.4.0-develop.11",
|
|
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",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"package": {
|
|
101
101
|
"productName": "Kendo UI for Angular",
|
|
102
102
|
"productCode": "KENDOUIANGULAR",
|
|
103
|
-
"publishDate":
|
|
103
|
+
"publishDate": 1766151075,
|
|
104
104
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
105
105
|
}
|
|
106
106
|
},
|
|
@@ -111,18 +111,18 @@
|
|
|
111
111
|
"@angular/forms": "18 - 21",
|
|
112
112
|
"@angular/platform-browser": "18 - 21",
|
|
113
113
|
"@progress/kendo-licensing": "^1.7.0",
|
|
114
|
-
"@progress/kendo-angular-common": "21.4.0-develop.
|
|
115
|
-
"@progress/kendo-angular-utils": "21.4.0-develop.
|
|
116
|
-
"@progress/kendo-angular-l10n": "21.4.0-develop.
|
|
117
|
-
"@progress/kendo-angular-navigation": "21.4.0-develop.
|
|
118
|
-
"@progress/kendo-angular-popup": "21.4.0-develop.
|
|
119
|
-
"@progress/kendo-angular-icons": "21.4.0-develop.
|
|
120
|
-
"@progress/kendo-angular-treeview": "21.4.0-develop.
|
|
114
|
+
"@progress/kendo-angular-common": "21.4.0-develop.11",
|
|
115
|
+
"@progress/kendo-angular-utils": "21.4.0-develop.11",
|
|
116
|
+
"@progress/kendo-angular-l10n": "21.4.0-develop.11",
|
|
117
|
+
"@progress/kendo-angular-navigation": "21.4.0-develop.11",
|
|
118
|
+
"@progress/kendo-angular-popup": "21.4.0-develop.11",
|
|
119
|
+
"@progress/kendo-angular-icons": "21.4.0-develop.11",
|
|
120
|
+
"@progress/kendo-angular-treeview": "21.4.0-develop.11",
|
|
121
121
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
122
122
|
},
|
|
123
123
|
"dependencies": {
|
|
124
124
|
"tslib": "^2.3.1",
|
|
125
|
-
"@progress/kendo-angular-schematics": "21.4.0-develop.
|
|
125
|
+
"@progress/kendo-angular-schematics": "21.4.0-develop.11",
|
|
126
126
|
"@progress/kendo-common": "^1.0.1"
|
|
127
127
|
},
|
|
128
128
|
"schematics": "./schematics/collection.json",
|
|
@@ -9,9 +9,9 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
9
9
|
function default_1(options) {
|
|
10
10
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'DropDownsModule', package: 'dropdowns', peerDependencies: {
|
|
11
11
|
// peers of the treeview
|
|
12
|
-
'@progress/kendo-angular-inputs': '21.4.0-develop.
|
|
12
|
+
'@progress/kendo-angular-inputs': '21.4.0-develop.11',
|
|
13
13
|
// peers of inputs
|
|
14
|
-
'@progress/kendo-angular-intl': '21.4.0-develop.
|
|
14
|
+
'@progress/kendo-angular-intl': '21.4.0-develop.11',
|
|
15
15
|
'@progress/kendo-drawing': '^1.17.2',
|
|
16
16
|
// Peer dependency of icons
|
|
17
17
|
'@progress/kendo-svg-icons': '^4.0.0'
|