@progress/kendo-angular-dropdowns 25.0.0-develop.5 → 25.0.0-develop.7
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/fesm2022/progress-kendo-angular-dropdowns.mjs +15 -11
- package/index.d.ts +2 -1
- package/package-metadata.mjs +2 -2
- package/package.json +10 -10
- package/schematics/ngAdd/index.js +2 -2
|
@@ -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 * as i0 from '@angular/core';
|
|
6
|
-
import { EventEmitter, Output, HostBinding, Input, Component, Directive, Injectable, HostListener, ViewChild, ViewChildren, forwardRef, isDevMode, ViewContainerRef, ContentChild, ContentChildren, signal, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
6
|
+
import { EventEmitter, Output, HostBinding, Input, Component, Directive, Injectable, HostListener, afterNextRender, ViewChild, ViewChildren, forwardRef, isDevMode, ViewContainerRef, ContentChild, ContentChildren, signal, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
7
7
|
import * as i10 from '@progress/kendo-angular-common';
|
|
8
8
|
import { isDocumentAvailable, isObjectPresent, removeHTMLAttributes, parseAttributes, isSafari, normalizeKeys, Keys, setHTMLAttributes, replaceMessagePlaceholder, isChanged, TemplateContextDirective, ResizeSensorComponent, closest as closest$1, hasFocusableParent, parseCSSClassNames, isControlRequired, guid, hasObservers, SeparatorComponent, SuffixTemplateDirective, PrefixTemplateDirective, KendoInput, KENDO_WEBMCP_HOST, MultiTabStop, anyChanged, EventsOutsideAngularDirective, scrollbarWidth, ToggleButtonTabStopDirective, ResizeBatchService, KENDO_ADORNMENTS, KENDO_TOGGLEBUTTONTABSTOP } from '@progress/kendo-angular-common';
|
|
9
9
|
export { PrefixTemplateDirective, SeparatorComponent, SuffixTemplateDirective, ToggleButtonTabStopDirective } from '@progress/kendo-angular-common';
|
|
@@ -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: '25.0.0-develop.
|
|
40
|
+
publishDate: 1784618821,
|
|
41
|
+
version: '25.0.0-develop.7',
|
|
42
42
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
43
43
|
};
|
|
44
44
|
|
|
@@ -1920,6 +1920,7 @@ class ListComponent {
|
|
|
1920
1920
|
zone;
|
|
1921
1921
|
renderer;
|
|
1922
1922
|
localization;
|
|
1923
|
+
injector;
|
|
1923
1924
|
selected = [];
|
|
1924
1925
|
focused = -1;
|
|
1925
1926
|
textField;
|
|
@@ -2031,7 +2032,7 @@ class ListComponent {
|
|
|
2031
2032
|
return `${this.size ? getSizeClass('checkbox', this.size) : ''} ${this.rounded ? getRoundedClass(this.rounded) : ''}`;
|
|
2032
2033
|
}
|
|
2033
2034
|
/* tslint:disable:member-ordering */
|
|
2034
|
-
constructor(dataService, wrapper, selectionService, disabledItemsService, cdr, zone, renderer, localization) {
|
|
2035
|
+
constructor(dataService, wrapper, selectionService, disabledItemsService, cdr, zone, renderer, localization, injector) {
|
|
2035
2036
|
this.dataService = dataService;
|
|
2036
2037
|
this.wrapper = wrapper;
|
|
2037
2038
|
this.selectionService = selectionService;
|
|
@@ -2040,6 +2041,7 @@ class ListComponent {
|
|
|
2040
2041
|
this.zone = zone;
|
|
2041
2042
|
this.renderer = renderer;
|
|
2042
2043
|
this.localization = localization;
|
|
2044
|
+
this.injector = injector;
|
|
2043
2045
|
this.selectSubscription = merge(this.selectionService.onSelect.pipe(map((args) => args.indices[0])), this.selectionService.onFocus)
|
|
2044
2046
|
.pipe(
|
|
2045
2047
|
// handle only the very last onSelect/onFocus emission
|
|
@@ -2293,8 +2295,10 @@ class ListComponent {
|
|
|
2293
2295
|
*/
|
|
2294
2296
|
setOverflow() {
|
|
2295
2297
|
if (this.virtual) {
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
+
afterNextRender(() => {
|
|
2299
|
+
const overflow = this.hasVirtualScrollbar() ? 'scroll' : 'hidden';
|
|
2300
|
+
this.renderer.setStyle(this.content.nativeElement, 'overflow-y', overflow);
|
|
2301
|
+
}, { injector: this.injector });
|
|
2298
2302
|
}
|
|
2299
2303
|
}
|
|
2300
2304
|
/**
|
|
@@ -2308,7 +2312,7 @@ class ListComponent {
|
|
|
2308
2312
|
positionItems() {
|
|
2309
2313
|
this.items.forEach((item, index) => {
|
|
2310
2314
|
const offsetY = (index + this.startFrom) * this.virtual.itemHeight;
|
|
2311
|
-
this.renderer.setStyle(item.element.nativeElement, "transform", `translateY(${offsetY}px`);
|
|
2315
|
+
this.renderer.setStyle(item.element.nativeElement, "transform", `translateY(${offsetY}px)`);
|
|
2312
2316
|
});
|
|
2313
2317
|
}
|
|
2314
2318
|
setComponentClasses() {
|
|
@@ -2325,7 +2329,7 @@ class ListComponent {
|
|
|
2325
2329
|
this.renderer.addClass(this.wrapper.nativeElement, this.listVirtualClass);
|
|
2326
2330
|
}
|
|
2327
2331
|
}
|
|
2328
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ListComponent, deps: [{ token: DataService }, { token: i0.ElementRef }, { token: SelectionService }, { token: DisabledItemsService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2332
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ListComponent, deps: [{ token: DataService }, { token: i0.ElementRef }, { token: SelectionService }, { token: DisabledItemsService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i1.LocalizationService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
2329
2333
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: ListComponent, isStandalone: true, selector: "kendo-list", inputs: { selected: "selected", focused: "focused", textField: "textField", valueField: "valueField", height: "height", template: "template", groupTemplate: "groupTemplate", fixedGroupTemplate: "fixedGroupTemplate", show: "show", id: "id", optionPrefix: "optionPrefix", multipleSelection: "multipleSelection", virtual: "virtual", type: "type", checkboxes: "checkboxes", ariaLive: "ariaLive", isMultiselect: "isMultiselect", isActionSheetExpanded: "isActionSheetExpanded", showStickyHeader: "showStickyHeader", rowWidth: "rowWidth", customItemTemplate: "customItemTemplate", text: "text", allowCustom: "allowCustom", defaultItem: "defaultItem", data: "data", size: "size", rounded: "rounded" }, outputs: { onClick: "onClick", pageChange: "pageChange", listResize: "listResize", popupListScroll: "popupListScroll" }, viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true, static: true }, { propertyName: "list", first: true, predicate: ["list"], descendants: true }, { propertyName: "virtualContainer", first: true, predicate: ["virtualContainer"], descendants: true }, { propertyName: "items", predicate: ListItemDirective, descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
2330
2334
|
@if (defaultItem && !template) {
|
|
2331
2335
|
<div
|
|
@@ -2776,7 +2780,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
2776
2780
|
standalone: true,
|
|
2777
2781
|
imports: [NgStyle, TemplateContextDirective, ListItemDirective, SelectableDirective, NgClass, ResizeSensorComponent]
|
|
2778
2782
|
}]
|
|
2779
|
-
}], ctorParameters: () => [{ type: DataService }, { type: i0.ElementRef }, { type: SelectionService }, { type: DisabledItemsService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i1.LocalizationService }], propDecorators: { selected: [{
|
|
2783
|
+
}], ctorParameters: () => [{ type: DataService }, { type: i0.ElementRef }, { type: SelectionService }, { type: DisabledItemsService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i1.LocalizationService }, { type: i0.Injector }], propDecorators: { selected: [{
|
|
2780
2784
|
type: Input
|
|
2781
2785
|
}], focused: [{
|
|
2782
2786
|
type: Input
|
|
@@ -11281,7 +11285,7 @@ class MultiSelectComponent {
|
|
|
11281
11285
|
adaptiveCloseButtonTitle="Close"
|
|
11282
11286
|
|
|
11283
11287
|
i18n-useCustomValueText="kendo.multiselect.useCustomValueText|The text displayed when the user types a custom value that is not in the list of options."
|
|
11284
|
-
useCustomValueText="
|
|
11288
|
+
useCustomValueText="Use "[[customValue]]""
|
|
11285
11289
|
>
|
|
11286
11290
|
</ng-container>
|
|
11287
11291
|
|
|
@@ -11500,7 +11504,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
11500
11504
|
adaptiveCloseButtonTitle="Close"
|
|
11501
11505
|
|
|
11502
11506
|
i18n-useCustomValueText="kendo.multiselect.useCustomValueText|The text displayed when the user types a custom value that is not in the list of options."
|
|
11503
|
-
useCustomValueText="
|
|
11507
|
+
useCustomValueText="Use "[[customValue]]""
|
|
11504
11508
|
>
|
|
11505
11509
|
</ng-container>
|
|
11506
11510
|
|
package/index.d.ts
CHANGED
|
@@ -849,6 +849,7 @@ declare class ListComponent implements OnChanges, OnDestroy, AfterViewInit {
|
|
|
849
849
|
private zone;
|
|
850
850
|
private renderer;
|
|
851
851
|
private localization;
|
|
852
|
+
private injector;
|
|
852
853
|
selected: any[];
|
|
853
854
|
focused: number;
|
|
854
855
|
textField: string;
|
|
@@ -915,7 +916,7 @@ declare class ListComponent implements OnChanges, OnDestroy, AfterViewInit {
|
|
|
915
916
|
* @hidden
|
|
916
917
|
*/
|
|
917
918
|
get checkboxClasses(): any;
|
|
918
|
-
constructor(dataService: DataService, wrapper: ElementRef<HTMLElement>, selectionService: SelectionService, disabledItemsService: DisabledItemsService, cdr: ChangeDetectorRef, zone: NgZone, renderer: Renderer2, localization: LocalizationService);
|
|
919
|
+
constructor(dataService: DataService, wrapper: ElementRef<HTMLElement>, selectionService: SelectionService, disabledItemsService: DisabledItemsService, cdr: ChangeDetectorRef, zone: NgZone, renderer: Renderer2, localization: LocalizationService, injector: Injector);
|
|
919
920
|
ngOnChanges(changes: {
|
|
920
921
|
[propertyName: string]: SimpleChange;
|
|
921
922
|
}): void;
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "25.0.0-develop.
|
|
10
|
+
"publishDate": 1784618821,
|
|
11
|
+
"version": "25.0.0-develop.7",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-dropdowns",
|
|
3
|
-
"version": "25.0.0-develop.
|
|
3
|
+
"version": "25.0.0-develop.7",
|
|
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",
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"package": {
|
|
122
122
|
"productName": "Kendo UI for Angular",
|
|
123
123
|
"productCode": "KENDOUIANGULAR",
|
|
124
|
-
"publishDate":
|
|
124
|
+
"publishDate": 1784618821,
|
|
125
125
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
126
126
|
}
|
|
127
127
|
},
|
|
@@ -132,18 +132,18 @@
|
|
|
132
132
|
"@angular/forms": "20 - 22",
|
|
133
133
|
"@angular/platform-browser": "20 - 22",
|
|
134
134
|
"@progress/kendo-licensing": "^1.11.0",
|
|
135
|
-
"@progress/kendo-angular-common": "25.0.0-develop.
|
|
136
|
-
"@progress/kendo-angular-utils": "25.0.0-develop.
|
|
137
|
-
"@progress/kendo-angular-l10n": "25.0.0-develop.
|
|
138
|
-
"@progress/kendo-angular-navigation": "25.0.0-develop.
|
|
139
|
-
"@progress/kendo-angular-popup": "25.0.0-develop.
|
|
140
|
-
"@progress/kendo-angular-icons": "25.0.0-develop.
|
|
141
|
-
"@progress/kendo-angular-treeview": "25.0.0-develop.
|
|
135
|
+
"@progress/kendo-angular-common": "25.0.0-develop.7",
|
|
136
|
+
"@progress/kendo-angular-utils": "25.0.0-develop.7",
|
|
137
|
+
"@progress/kendo-angular-l10n": "25.0.0-develop.7",
|
|
138
|
+
"@progress/kendo-angular-navigation": "25.0.0-develop.7",
|
|
139
|
+
"@progress/kendo-angular-popup": "25.0.0-develop.7",
|
|
140
|
+
"@progress/kendo-angular-icons": "25.0.0-develop.7",
|
|
141
|
+
"@progress/kendo-angular-treeview": "25.0.0-develop.7",
|
|
142
142
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
143
143
|
},
|
|
144
144
|
"dependencies": {
|
|
145
145
|
"tslib": "^2.3.1",
|
|
146
|
-
"@progress/kendo-angular-schematics": "25.0.0-develop.
|
|
146
|
+
"@progress/kendo-angular-schematics": "25.0.0-develop.7",
|
|
147
147
|
"@progress/kendo-common": "^1.0.1"
|
|
148
148
|
},
|
|
149
149
|
"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': '25.0.0-develop.
|
|
12
|
+
'@progress/kendo-angular-inputs': '25.0.0-develop.7',
|
|
13
13
|
// peers of inputs
|
|
14
|
-
'@progress/kendo-angular-intl': '25.0.0-develop.
|
|
14
|
+
'@progress/kendo-angular-intl': '25.0.0-develop.7',
|
|
15
15
|
'@progress/kendo-drawing': '^1.17.2',
|
|
16
16
|
// Peer dependency of icons
|
|
17
17
|
'@progress/kendo-svg-icons': '^4.0.0'
|