@progress/kendo-angular-listbox 22.1.0-develop.8 → 23.0.0-develop.1
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.
|
@@ -25,7 +25,7 @@ const packageMetadata = {
|
|
|
25
25
|
productCode: 'KENDOUIANGULAR',
|
|
26
26
|
productCodes: ['KENDOUIANGULAR'],
|
|
27
27
|
publishDate: 1647863281,
|
|
28
|
-
version: '
|
|
28
|
+
version: '23.0.0-develop.1',
|
|
29
29
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
30
30
|
};
|
|
31
31
|
|
|
@@ -843,12 +843,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
843
843
|
|
|
844
844
|
/* eslint-disable @typescript-eslint/no-inferrable-types */
|
|
845
845
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
846
|
-
const DEFAULT_SIZE = 'medium';
|
|
847
846
|
let idx = 0;
|
|
848
847
|
/**
|
|
849
848
|
* Represents the Kendo UI ListBox component for Angular.
|
|
850
849
|
* Provides a list of items from which you can select and transfer data between connected ListBoxes
|
|
851
|
-
* ([see overview](
|
|
850
|
+
* ([see overview](https://www.telerik.com/kendo-angular-ui/components/listbox)).
|
|
852
851
|
*
|
|
853
852
|
* @example
|
|
854
853
|
* ```typescript
|
|
@@ -936,9 +935,8 @@ class ListBoxComponent {
|
|
|
936
935
|
*
|
|
937
936
|
*/
|
|
938
937
|
set size(size) {
|
|
939
|
-
const newSize = size ? size : DEFAULT_SIZE;
|
|
940
938
|
this.renderer.removeClass(this.hostElement.nativeElement, `k-listbox-${sizeClassMap[this.size]}`);
|
|
941
|
-
this.setSizingClass(
|
|
939
|
+
this.setSizingClass(size);
|
|
942
940
|
this._size = size;
|
|
943
941
|
}
|
|
944
942
|
get size() {
|
|
@@ -996,7 +994,7 @@ class ListBoxComponent {
|
|
|
996
994
|
* @hidden
|
|
997
995
|
*/
|
|
998
996
|
get listClasses() {
|
|
999
|
-
return `k-list k-list-${sizeClassMap[this.size]}
|
|
997
|
+
return this.size ? `k-list k-list-${sizeClassMap[this.size]}` : 'k-list';
|
|
1000
998
|
}
|
|
1001
999
|
/**
|
|
1002
1000
|
* @hidden
|
|
@@ -1033,7 +1031,7 @@ class ListBoxComponent {
|
|
|
1033
1031
|
*/
|
|
1034
1032
|
caretAltRightIcon = caretAltRightIcon;
|
|
1035
1033
|
localizationSubscription;
|
|
1036
|
-
_size
|
|
1034
|
+
_size;
|
|
1037
1035
|
subs = new Subscription();
|
|
1038
1036
|
shouldFireFocusIn = false;
|
|
1039
1037
|
_selectable = 'single';
|
|
@@ -1339,7 +1337,9 @@ class ListBoxComponent {
|
|
|
1339
1337
|
});
|
|
1340
1338
|
}
|
|
1341
1339
|
setSizingClass(size) {
|
|
1342
|
-
|
|
1340
|
+
if (size) {
|
|
1341
|
+
this.renderer.addClass(this.hostElement.nativeElement, `k-listbox-${sizeClassMap[size]}`);
|
|
1342
|
+
}
|
|
1343
1343
|
}
|
|
1344
1344
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ListBoxComponent, deps: [{ token: KeyboardNavigationService }, { token: ListBoxSelectionService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1345
1345
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.18", type: ListBoxComponent, isStandalone: true, selector: "kendo-listbox", inputs: { textField: "textField", selectable: "selectable", data: "data", size: "size", toolbar: "toolbar", listboxLabel: "listboxLabel", listboxToolbarLabel: "listboxToolbarLabel", itemDisabled: "itemDisabled" }, outputs: { selectionChange: "selectionChange", action: "action", getChildListbox: "getChildListbox" }, host: { properties: { "class.k-listbox": "this.listboxClassName", "attr.dir": "this.direction" } }, providers: [
|
|
@@ -1895,7 +1895,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
1895
1895
|
|
|
1896
1896
|
/**
|
|
1897
1897
|
* Provides custom messages that override the default component messages
|
|
1898
|
-
* ([see example](
|
|
1898
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/listbox/globalization#custom-messages)).
|
|
1899
1899
|
*
|
|
1900
1900
|
* @example
|
|
1901
1901
|
* ```typescript
|
package/listbox.component.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ import * as i0 from "@angular/core";
|
|
|
17
17
|
/**
|
|
18
18
|
* Represents the Kendo UI ListBox component for Angular.
|
|
19
19
|
* Provides a list of items from which you can select and transfer data between connected ListBoxes
|
|
20
|
-
* ([see overview](
|
|
20
|
+
* ([see overview](https://www.telerik.com/kendo-angular-ui/components/listbox)).
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
23
23
|
* ```typescript
|
|
@@ -7,7 +7,7 @@ import { Messages } from './messages';
|
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
9
|
* Provides custom messages that override the default component messages
|
|
10
|
-
* ([see example](
|
|
10
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/listbox/globalization#custom-messages)).
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* ```typescript
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "
|
|
10
|
+
"publishDate": 1770287105,
|
|
11
|
+
"version": "23.0.0-develop.1",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-listbox",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "23.0.0-develop.1",
|
|
4
4
|
"description": "Kendo UI for Angular ListBox",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"package": {
|
|
45
45
|
"productName": "Kendo UI for Angular",
|
|
46
46
|
"productCode": "KENDOUIANGULAR",
|
|
47
|
-
"publishDate":
|
|
47
|
+
"publishDate": 1770287105,
|
|
48
48
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
@@ -53,15 +53,15 @@
|
|
|
53
53
|
"@angular/common": "19 - 21",
|
|
54
54
|
"@angular/core": "19 - 21",
|
|
55
55
|
"@angular/platform-browser": "19 - 21",
|
|
56
|
-
"@progress/kendo-licensing": "^1.
|
|
57
|
-
"@progress/kendo-angular-buttons": "
|
|
58
|
-
"@progress/kendo-angular-common": "
|
|
59
|
-
"@progress/kendo-angular-popup": "
|
|
56
|
+
"@progress/kendo-licensing": "^1.10.0",
|
|
57
|
+
"@progress/kendo-angular-buttons": "23.0.0-develop.1",
|
|
58
|
+
"@progress/kendo-angular-common": "23.0.0-develop.1",
|
|
59
|
+
"@progress/kendo-angular-popup": "23.0.0-develop.1",
|
|
60
60
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"tslib": "^2.3.1",
|
|
64
|
-
"@progress/kendo-angular-schematics": "
|
|
64
|
+
"@progress/kendo-angular-schematics": "23.0.0-develop.1",
|
|
65
65
|
"@progress/kendo-common": "^1.0.1"
|
|
66
66
|
},
|
|
67
67
|
"schematics": "./schematics/collection.json",
|
|
@@ -11,11 +11,11 @@ function default_1(options) {
|
|
|
11
11
|
// Additional dependencies to install.
|
|
12
12
|
// See https://github.com/telerik/kendo-schematics/issues/28
|
|
13
13
|
peerDependencies: {
|
|
14
|
-
'@progress/kendo-angular-buttons': '
|
|
15
|
-
'@progress/kendo-angular-common': '
|
|
16
|
-
'@progress/kendo-angular-l10n': '
|
|
14
|
+
'@progress/kendo-angular-buttons': '23.0.0-develop.1',
|
|
15
|
+
'@progress/kendo-angular-common': '23.0.0-develop.1',
|
|
16
|
+
'@progress/kendo-angular-l10n': '23.0.0-develop.1',
|
|
17
17
|
// Peer of kendo-angular-buttons
|
|
18
|
-
'@progress/kendo-angular-popup': '
|
|
18
|
+
'@progress/kendo-angular-popup': '23.0.0-develop.1'
|
|
19
19
|
} });
|
|
20
20
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
21
21
|
}
|