@progress/kendo-angular-listbox 17.0.0-develop.4 → 17.0.0-develop.41
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/README.md +31 -16
- package/data-binding.directive.d.ts +1 -1
- package/{esm2020 → esm2022}/data-binding.directive.mjs +13 -6
- package/{esm2020 → esm2022}/item-selectable.directive.mjs +5 -3
- package/{esm2020 → esm2022}/item-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/keyboard-navigation.service.mjs +13 -11
- package/{esm2020 → esm2022}/listbox.component.mjs +125 -73
- package/{esm2020 → esm2022}/listbox.module.mjs +4 -4
- package/{esm2020 → esm2022}/localization/custom-messages.component.mjs +9 -8
- package/{esm2020 → esm2022}/localization/localized-messages.directive.mjs +9 -8
- package/esm2022/localization/messages.mjs +66 -0
- package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
- package/{esm2020 → esm2022}/selection.service.mjs +5 -7
- package/{fesm2020 → fesm2022}/progress-kendo-angular-listbox.mjs +224 -128
- package/item-selectable.directive.d.ts +1 -1
- package/listbox.component.d.ts +1 -1
- package/localization/messages.d.ts +1 -1
- package/package.json +14 -20
- package/schematics/ngAdd/index.js +4 -4
- package/size.d.ts +1 -1
- package/toolbar.d.ts +3 -3
- package/util.d.ts +2 -2
- package/esm2020/localization/messages.mjs +0 -34
- package/fesm2015/progress-kendo-angular-listbox.mjs +0 -1362
- /package/{esm2020 → esm2022}/constants.mjs +0 -0
- /package/{esm2020 → esm2022}/directives.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/progress-kendo-angular-listbox.mjs +0 -0
- /package/{esm2020 → esm2022}/size.mjs +0 -0
- /package/{esm2020 → esm2022}/toolbar.mjs +0 -0
- /package/{esm2020 → esm2022}/util.mjs +0 -0
package/toolbar.d.ts
CHANGED
|
@@ -6,11 +6,11 @@ import { SVGIcon } from "@progress/kendo-svg-icons";
|
|
|
6
6
|
/**
|
|
7
7
|
* Represents the possible toolbar buttons that the ListBox can display.
|
|
8
8
|
*/
|
|
9
|
-
export
|
|
9
|
+
export type ActionName = 'moveUp' | 'moveDown' | 'transferTo' | 'transferFrom' | 'transferAllTo' | 'transferAllFrom' | 'remove';
|
|
10
10
|
/**
|
|
11
11
|
* Represents the possible values for customizing the toolbar position of the ListBox component.
|
|
12
12
|
*/
|
|
13
|
-
export
|
|
13
|
+
export type ListBoxToolbarPosition = 'left' | 'right' | 'top' | 'bottom';
|
|
14
14
|
/**
|
|
15
15
|
* The possible tool and position settings that the ListBox can accept for its built-in toolbar.
|
|
16
16
|
*/
|
|
@@ -32,7 +32,7 @@ export interface Toolbar {
|
|
|
32
32
|
* - Omit the setting or use `true` to show the default settings, which are the full set of possible tools and position `"right"`.
|
|
33
33
|
* - Use a config object of type [`Toolbar`]({% slug api_listbox_toolbar %}) to specify tools or position. If only [`tools`]({% slug api_listbox_toolbar %}#toc-tools) or [`position`]({% slug api_listbox_toolbar %}#toc-position) is specified, the other will use its default value.
|
|
34
34
|
*/
|
|
35
|
-
export
|
|
35
|
+
export type ListBoxToolbarConfig = boolean | Toolbar;
|
|
36
36
|
/**
|
|
37
37
|
* @hidden
|
|
38
38
|
*/
|
package/util.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export declare const defaultItemDisabled: () => boolean;
|
|
|
22
22
|
/**
|
|
23
23
|
* @hidden
|
|
24
24
|
*/
|
|
25
|
-
export
|
|
25
|
+
export type StringKeyObject = {
|
|
26
26
|
[key: string]: any;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
@@ -32,4 +32,4 @@ export declare const getTools: (names: ActionName[]) => import("./toolbar").Tool
|
|
|
32
32
|
/**
|
|
33
33
|
* @hidden
|
|
34
34
|
*/
|
|
35
|
-
export
|
|
35
|
+
export type Direction = 'rtl' | 'ltr';
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive } from '@angular/core';
|
|
6
|
-
import { Input } from '@angular/core';
|
|
7
|
-
import { ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export class Messages extends ComponentMessages {
|
|
13
|
-
}
|
|
14
|
-
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
15
|
-
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: Messages, inputs: { moveUp: "moveUp", moveDown: "moveDown", remove: "remove", transferTo: "transferTo", transferFrom: "transferFrom", transferAllTo: "transferAllTo", transferAllFrom: "transferAllFrom", noDataText: "noDataText" }, usesInheritance: true, ngImport: i0 });
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Messages, decorators: [{
|
|
17
|
-
type: Directive
|
|
18
|
-
}], propDecorators: { moveUp: [{
|
|
19
|
-
type: Input
|
|
20
|
-
}], moveDown: [{
|
|
21
|
-
type: Input
|
|
22
|
-
}], remove: [{
|
|
23
|
-
type: Input
|
|
24
|
-
}], transferTo: [{
|
|
25
|
-
type: Input
|
|
26
|
-
}], transferFrom: [{
|
|
27
|
-
type: Input
|
|
28
|
-
}], transferAllTo: [{
|
|
29
|
-
type: Input
|
|
30
|
-
}], transferAllFrom: [{
|
|
31
|
-
type: Input
|
|
32
|
-
}], noDataText: [{
|
|
33
|
-
type: Input
|
|
34
|
-
}] } });
|