@progress/kendo-angular-pager 24.2.2 → 25.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.
- package/fesm2022/progress-kendo-angular-pager.mjs +48 -48
- package/index.d.ts +1008 -22
- package/package-metadata.mjs +2 -2
- package/package.json +12 -12
- package/schematics/ngAdd/index.js +6 -6
- package/directives.d.ts +0 -33
- package/package-metadata.d.ts +0 -9
- package/pager/change-event-args.interface.d.ts +0 -17
- package/pager/common/pager-classes.d.ts +0 -11
- package/pager/common/pager-size.d.ts +0 -8
- package/pager/common/pager-type.d.ts +0 -18
- package/pager/common/responsive-element.d.ts +0 -15
- package/pager/focusable.directive.d.ts +0 -32
- package/pager/localization/custom-messages.component.d.ts +0 -29
- package/pager/localization/localized-messages.directive.d.ts +0 -16
- package/pager/localization/messages.d.ts +0 -68
- package/pager/navigation.service.d.ts +0 -15
- package/pager/pager-context.service.d.ts +0 -36
- package/pager/pager-element.component.d.ts +0 -73
- package/pager/pager-info.component.d.ts +0 -51
- package/pager/pager-input.component.d.ts +0 -66
- package/pager/pager-next-buttons.component.d.ts +0 -44
- package/pager/pager-numeric-buttons.component.d.ts +0 -72
- package/pager/pager-page-sizes.component.d.ts +0 -79
- package/pager/pager-prev-buttons.component.d.ts +0 -44
- package/pager/pager-template.directive.d.ts +0 -34
- package/pager/pager.component.d.ts +0 -282
- package/pager/pager.module.d.ts +0 -43
- package/pager/pagesize-item.interface.d.ts +0 -15
- package/pager/pagesizechange-event.d.ts +0 -21
- package/pager/preventable-event.d.ts +0 -21
- package/pager/spacer.component.d.ts +0 -45
- package/util.d.ts +0 -58
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": 1783679938,
|
|
11
|
+
"version": "25.0.0-develop.1",
|
|
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-pager",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "25.0.0-develop.1",
|
|
4
4
|
"description": "Kendo UI Angular Pager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -32,26 +32,26 @@
|
|
|
32
32
|
"package": {
|
|
33
33
|
"productName": "Kendo UI for Angular",
|
|
34
34
|
"productCode": "KENDOUIANGULAR",
|
|
35
|
-
"publishDate":
|
|
35
|
+
"publishDate": 1783679938,
|
|
36
36
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@angular/animations": "
|
|
41
|
-
"@angular/common": "
|
|
42
|
-
"@angular/core": "
|
|
43
|
-
"@angular/platform-browser": "
|
|
40
|
+
"@angular/animations": "20 - 22",
|
|
41
|
+
"@angular/common": "20 - 22",
|
|
42
|
+
"@angular/core": "20 - 22",
|
|
43
|
+
"@angular/platform-browser": "20 - 22",
|
|
44
44
|
"@progress/kendo-licensing": "^1.11.0",
|
|
45
|
-
"@progress/kendo-angular-common": "
|
|
46
|
-
"@progress/kendo-angular-dropdowns": "
|
|
47
|
-
"@progress/kendo-angular-inputs": "
|
|
48
|
-
"@progress/kendo-angular-icons": "
|
|
49
|
-
"@progress/kendo-angular-l10n": "
|
|
45
|
+
"@progress/kendo-angular-common": "25.0.0-develop.1",
|
|
46
|
+
"@progress/kendo-angular-dropdowns": "25.0.0-develop.1",
|
|
47
|
+
"@progress/kendo-angular-inputs": "25.0.0-develop.1",
|
|
48
|
+
"@progress/kendo-angular-icons": "25.0.0-develop.1",
|
|
49
|
+
"@progress/kendo-angular-l10n": "25.0.0-develop.1",
|
|
50
50
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"tslib": "^2.3.1",
|
|
54
|
-
"@progress/kendo-angular-schematics": "
|
|
54
|
+
"@progress/kendo-angular-schematics": "25.0.0-develop.1"
|
|
55
55
|
},
|
|
56
56
|
"schematics": "./schematics/collection.json",
|
|
57
57
|
"module": "fesm2022/progress-kendo-angular-pager.mjs",
|
|
@@ -9,14 +9,14 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
9
9
|
function default_1(options) {
|
|
10
10
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'PagerModule', package: 'pager', peerDependencies: {
|
|
11
11
|
// Peers of inputs and dropdowns
|
|
12
|
-
'@progress/kendo-angular-treeview': '
|
|
13
|
-
'@progress/kendo-angular-intl': '
|
|
14
|
-
'@progress/kendo-angular-navigation': '
|
|
15
|
-
'@progress/kendo-angular-popup': '
|
|
12
|
+
'@progress/kendo-angular-treeview': '25.0.0-develop.1',
|
|
13
|
+
'@progress/kendo-angular-intl': '25.0.0-develop.1',
|
|
14
|
+
'@progress/kendo-angular-navigation': '25.0.0-develop.1',
|
|
15
|
+
'@progress/kendo-angular-popup': '25.0.0-develop.1',
|
|
16
16
|
'@progress/kendo-drawing': '^1.5.12',
|
|
17
17
|
// peer dependency of kendo-angular-inputs
|
|
18
|
-
'@progress/kendo-angular-buttons': '
|
|
19
|
-
'@progress/kendo-angular-dialog': '
|
|
18
|
+
'@progress/kendo-angular-buttons': '25.0.0-develop.1',
|
|
19
|
+
'@progress/kendo-angular-dialog': '25.0.0-develop.1',
|
|
20
20
|
// Peer dependency of icons
|
|
21
21
|
'@progress/kendo-svg-icons': '^4.0.0'
|
|
22
22
|
} });
|
package/directives.d.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { PagerFocusableDirective } from './pager/focusable.directive';
|
|
6
|
-
import { CustomMessagesComponent } from './pager/localization/custom-messages.component';
|
|
7
|
-
import { PagerInfoComponent } from './pager/pager-info.component';
|
|
8
|
-
import { PagerInputComponent } from './pager/pager-input.component';
|
|
9
|
-
import { PagerNextButtonsComponent } from './pager/pager-next-buttons.component';
|
|
10
|
-
import { PagerNumericButtonsComponent } from './pager/pager-numeric-buttons.component';
|
|
11
|
-
import { PagerPageSizesComponent } from './pager/pager-page-sizes.component';
|
|
12
|
-
import { PagerPrevButtonsComponent } from './pager/pager-prev-buttons.component';
|
|
13
|
-
import { PagerTemplateDirective } from './pager/pager-template.directive';
|
|
14
|
-
import { PagerComponent } from './pager/pager.component';
|
|
15
|
-
import { PagerSpacerComponent } from './pager/spacer.component';
|
|
16
|
-
/**
|
|
17
|
-
* Use this utility array to access all `@progress/kendo-angular-pager`-related components and directives in a standalone Angular component.
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* ```typescript
|
|
21
|
-
* import { Component } from '@angular/core';
|
|
22
|
-
* import { KENDO_PAGER } from '@progress/kendo-angular-pager';
|
|
23
|
-
*
|
|
24
|
-
* @Component({
|
|
25
|
-
* selector: 'my-app',
|
|
26
|
-
* standalone: true,
|
|
27
|
-
* imports: [KENDO_PAGER],
|
|
28
|
-
* template: `<kendo-pager></kendo-pager>`
|
|
29
|
-
* })
|
|
30
|
-
* export class AppComponent {}
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
export declare const KENDO_PAGER: readonly [typeof CustomMessagesComponent, typeof PagerFocusableDirective, typeof PagerInfoComponent, typeof PagerInputComponent, typeof PagerNextButtonsComponent, typeof PagerNumericButtonsComponent, typeof PagerPageSizesComponent, typeof PagerPrevButtonsComponent, typeof PagerTemplateDirective, typeof PagerComponent, typeof PagerSpacerComponent];
|
package/package-metadata.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { type PackageMetadata } from '@progress/kendo-licensing';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare const packageMetadata: PackageMetadata;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* Represents the event arguments for the `pageChange` event of the Pager.
|
|
7
|
-
*/
|
|
8
|
-
export interface PageChangeEvent {
|
|
9
|
-
/**
|
|
10
|
-
* The number of records to skip.
|
|
11
|
-
*/
|
|
12
|
-
skip: number;
|
|
13
|
-
/**
|
|
14
|
-
* The number of records to take.
|
|
15
|
-
*/
|
|
16
|
-
take: number;
|
|
17
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export interface PagerStylingClasses {
|
|
9
|
-
toRemove?: string;
|
|
10
|
-
toAdd?: string;
|
|
11
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* Represents the possible size options of the Pager.
|
|
7
|
-
*/
|
|
8
|
-
export type PagerSize = 'small' | 'medium' | 'large';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* Specifies the type of the `Pager`.
|
|
7
|
-
*
|
|
8
|
-
* The available values are:
|
|
9
|
-
* * `numeric`—Displays buttons with numbers.
|
|
10
|
-
* * `input`—Displays an input field for typing the page number.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```html
|
|
14
|
-
* <kendo-pager type="input">
|
|
15
|
-
* </kendo-pager>
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
|
-
export type PagerType = 'numeric' | 'input';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export interface ResponsiveElement {
|
|
9
|
-
name: string;
|
|
10
|
-
isEnabled: () => boolean;
|
|
11
|
-
isVisible: () => boolean;
|
|
12
|
-
width: () => number;
|
|
13
|
-
show: () => void;
|
|
14
|
-
hide: () => void;
|
|
15
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ElementRef, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
6
|
-
import { PagerNavigationService } from './navigation.service';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* Represents the Kendo UI Pager focusable directive for Angular. Apply this directive to custom focusable elements in the [`kendoPagerTemplate`](https://www.telerik.com/kendo-angular-ui/components/pager/api/pagertemplatedirective) to include them in the built-in Pager keyboard navigation.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```html
|
|
13
|
-
* <kendo-pager [skip]="skip" [pageSize]="pageSize" [total]="total">
|
|
14
|
-
* <ng-template kendoPagerTemplate>
|
|
15
|
-
* <button kendoPagerFocusable type="button">Custom Button</button>
|
|
16
|
-
* </ng-template>
|
|
17
|
-
* </kendo-pager>
|
|
18
|
-
* ```
|
|
19
|
-
*/
|
|
20
|
-
export declare class PagerFocusableDirective implements OnInit, OnDestroy {
|
|
21
|
-
private navigationService;
|
|
22
|
-
private element;
|
|
23
|
-
private renderer;
|
|
24
|
-
private subscriptions;
|
|
25
|
-
constructor(navigationService: PagerNavigationService, element: ElementRef, renderer: Renderer2);
|
|
26
|
-
ngOnInit(): void;
|
|
27
|
-
ngOnDestroy(): void;
|
|
28
|
-
private get nativeElement();
|
|
29
|
-
private innerNavigationChange;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PagerFocusableDirective, never>;
|
|
31
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PagerFocusableDirective, "[kendoPagerFocusable]", ["kendoPagerFocusable"], {}, {}, never, never, true, never>;
|
|
32
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
-
import { Messages } from './messages';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* Represents the Kendo UI Pager custom messages component for Angular. Use this component to override default component messages
|
|
10
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/pager/globalization#messages)).
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```html
|
|
14
|
-
* <kendo-pager [skip]="skip" [pageSize]="pageSize" [total]="total">
|
|
15
|
-
* <kendo-pager-messages
|
|
16
|
-
* previousNext="Previous/Next"
|
|
17
|
-
* page="Page"
|
|
18
|
-
* of="of">
|
|
19
|
-
* </kendo-pager-messages>
|
|
20
|
-
* </kendo-pager>
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
export declare class CustomMessagesComponent extends Messages {
|
|
24
|
-
protected service: LocalizationService;
|
|
25
|
-
constructor(service: LocalizationService);
|
|
26
|
-
protected get override(): boolean;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CustomMessagesComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CustomMessagesComponent, "kendo-datapager-messages, kendo-pager-messages", never, {}, {}, never, never, true, never>;
|
|
29
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
-
import { Messages } from './messages';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export declare class LocalizedMessagesDirective extends Messages {
|
|
12
|
-
protected service: LocalizationService;
|
|
13
|
-
constructor(service: LocalizationService);
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedMessagesDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedMessagesDirective, "[kendoPagerLocalizedMessages]", never, {}, {}, never, never, true, never>;
|
|
16
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare class Messages extends ComponentMessages {
|
|
11
|
-
/**
|
|
12
|
-
* The label of the pager. Follows the pattern **Page navigation, page {currentPage} of {totalPages}** by default.
|
|
13
|
-
* Тhe default label text when the current page is 1, and the total number of pages is 10 will be
|
|
14
|
-
* **Page navigation, page 1 of 10**.
|
|
15
|
-
*
|
|
16
|
-
* The message consists of several parts - the current page number, the total number of pages, and a localizable string.
|
|
17
|
-
* To allow for reordering its parts, the `ariaLabel` input accepts a string with placeholders for the current page
|
|
18
|
-
* and total number of pages. The `{currentPage}` and `{totalPages}` placeholders will be replaced
|
|
19
|
-
* internally with the respective actual values.
|
|
20
|
-
*/
|
|
21
|
-
ariaLabel: string;
|
|
22
|
-
/**
|
|
23
|
-
* The label for the **First page** button.
|
|
24
|
-
*/
|
|
25
|
-
firstPage: string;
|
|
26
|
-
/**
|
|
27
|
-
* The label for the **Last page** button.
|
|
28
|
-
*/
|
|
29
|
-
lastPage: string;
|
|
30
|
-
/**
|
|
31
|
-
* The label for the **Previous page** button.
|
|
32
|
-
*/
|
|
33
|
-
previousPage: string;
|
|
34
|
-
/**
|
|
35
|
-
* The label for the **Next page** button.
|
|
36
|
-
*/
|
|
37
|
-
nextPage: string;
|
|
38
|
-
/**
|
|
39
|
-
* The label displayed before the pager input.
|
|
40
|
-
*/
|
|
41
|
-
page: string;
|
|
42
|
-
/**
|
|
43
|
-
* The title attribute of the page number input element.
|
|
44
|
-
*/
|
|
45
|
-
pageNumberInputTitle: string;
|
|
46
|
-
/**
|
|
47
|
-
* The label displayed after the page-size selector.
|
|
48
|
-
*/
|
|
49
|
-
itemsPerPage: string;
|
|
50
|
-
/**
|
|
51
|
-
* The label before the total-page number.
|
|
52
|
-
*/
|
|
53
|
-
of: string;
|
|
54
|
-
/**
|
|
55
|
-
* The label after the total-page number.
|
|
56
|
-
*/
|
|
57
|
-
items: string;
|
|
58
|
-
/**
|
|
59
|
-
* The text of the title and aria-label attributes applied to the page chooser.
|
|
60
|
-
*/
|
|
61
|
-
selectPage: string;
|
|
62
|
-
/**
|
|
63
|
-
* The text of the aria-label attribute applied to the input element for entering the page number."
|
|
64
|
-
*/
|
|
65
|
-
inputLabel: string;
|
|
66
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Messages, never>;
|
|
67
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<Messages, "kendoPagerMessages", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "firstPage": { "alias": "firstPage"; "required": false; }; "lastPage": { "alias": "lastPage"; "required": false; }; "previousPage": { "alias": "previousPage"; "required": false; }; "nextPage": { "alias": "nextPage"; "required": false; }; "page": { "alias": "page"; "required": false; }; "pageNumberInputTitle": { "alias": "pageNumberInputTitle"; "required": false; }; "itemsPerPage": { "alias": "itemsPerPage"; "required": false; }; "of": { "alias": "of"; "required": false; }; "items": { "alias": "items"; "required": false; }; "selectPage": { "alias": "selectPage"; "required": false; }; "inputLabel": { "alias": "inputLabel"; "required": false; }; }, {}, never, never, true, never>;
|
|
68
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Subject } from "rxjs";
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare class PagerNavigationService {
|
|
10
|
-
isNavigable: boolean;
|
|
11
|
-
innerNavigationChange: Subject<boolean>;
|
|
12
|
-
toggleInnerNavigation(value: boolean): void;
|
|
13
|
-
keepFocusWithinComponent(wrapper: HTMLElement, target: HTMLElement, event: KeyboardEvent): void;
|
|
14
|
-
getFirstAndLastFocusable(wrapper: HTMLElement): Array<HTMLElement>;
|
|
15
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Subject } from "rxjs";
|
|
6
|
-
import { PageChangeEvent } from "./change-event-args.interface";
|
|
7
|
-
import { PageSizeChangeEvent } from './pagesizechange-event';
|
|
8
|
-
import { LocalizationService } from "@progress/kendo-angular-l10n";
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export type PagerContextChanges = {
|
|
13
|
-
total: number;
|
|
14
|
-
skip: number;
|
|
15
|
-
pageSize: number;
|
|
16
|
-
isAllSelected?: boolean;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* @hidden
|
|
20
|
-
*/
|
|
21
|
-
export declare class PagerContextService {
|
|
22
|
-
total: number;
|
|
23
|
-
skip: number;
|
|
24
|
-
pageSize: number;
|
|
25
|
-
isAllSelected: boolean;
|
|
26
|
-
localization: LocalizationService;
|
|
27
|
-
changes: Subject<PagerContextChanges>;
|
|
28
|
-
pageChange: Subject<PageChangeEvent>;
|
|
29
|
-
pageSizeChange: Subject<PageSizeChangeEvent>;
|
|
30
|
-
private get currentPage();
|
|
31
|
-
notifyChanges(changes: PagerContextChanges): void;
|
|
32
|
-
changePage(page: number): void;
|
|
33
|
-
changePageSize(event: PageSizeChangeEvent): void;
|
|
34
|
-
nextPage(): void;
|
|
35
|
-
prevPage(): void;
|
|
36
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
|
|
6
|
-
import { PagerContextService, PagerContextChanges } from "./pager-context.service";
|
|
7
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
export declare abstract class PagerElementComponent implements OnInit, OnDestroy {
|
|
14
|
-
private localization;
|
|
15
|
-
protected pagerContext: PagerContextService;
|
|
16
|
-
protected cd: ChangeDetectorRef;
|
|
17
|
-
total: number;
|
|
18
|
-
skip: number;
|
|
19
|
-
pageSize: number;
|
|
20
|
-
chevronLeftIcon: SVGIcon;
|
|
21
|
-
caretAltToLeftIcon: SVGIcon;
|
|
22
|
-
chevronRightIcon: SVGIcon;
|
|
23
|
-
caretAltToRightIcon: SVGIcon;
|
|
24
|
-
/**
|
|
25
|
-
* @hidden
|
|
26
|
-
*
|
|
27
|
-
* @readonly
|
|
28
|
-
* @type {number}
|
|
29
|
-
* @memberOf PagerElementComponent
|
|
30
|
-
*/
|
|
31
|
-
get currentPage(): number;
|
|
32
|
-
/**
|
|
33
|
-
* @hidden
|
|
34
|
-
*
|
|
35
|
-
* @readonly
|
|
36
|
-
* @type {number}
|
|
37
|
-
* @memberOf PagerElementComponent
|
|
38
|
-
*/
|
|
39
|
-
get totalPages(): number;
|
|
40
|
-
private subscriptions;
|
|
41
|
-
constructor(localization: LocalizationService, pagerContext: PagerContextService, cd: ChangeDetectorRef);
|
|
42
|
-
/**
|
|
43
|
-
* @hidden
|
|
44
|
-
*
|
|
45
|
-
* @param {string} key
|
|
46
|
-
* @returns {string}
|
|
47
|
-
*
|
|
48
|
-
* @memberOf PagerElementComponent
|
|
49
|
-
*/
|
|
50
|
-
textFor(key: string): string;
|
|
51
|
-
/**
|
|
52
|
-
* @hidden
|
|
53
|
-
*
|
|
54
|
-
* @param {number} page
|
|
55
|
-
*
|
|
56
|
-
* @memberOf PagerElementComponent
|
|
57
|
-
*/
|
|
58
|
-
changePage(page: number): boolean;
|
|
59
|
-
/**
|
|
60
|
-
* @hidden
|
|
61
|
-
*
|
|
62
|
-
* @memberOf PagerElementComponent
|
|
63
|
-
*/
|
|
64
|
-
ngOnInit(): void;
|
|
65
|
-
protected abstract onChanges(changes: PagerContextChanges): void;
|
|
66
|
-
ngOnDestroy(): void;
|
|
67
|
-
get prevArrowIcons(): string[];
|
|
68
|
-
get prevArrowSVGIcons(): SVGIcon[];
|
|
69
|
-
get nextArrowIcons(): string[];
|
|
70
|
-
get nextArrowSVGIcons(): SVGIcon[];
|
|
71
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PagerElementComponent, never>;
|
|
72
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PagerElementComponent, "kendo-pager-element", never, {}, {}, never, never, true, never>;
|
|
73
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
6
|
-
import { PagerElementComponent } from './pager-element.component';
|
|
7
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
|
-
import { PagerContextService, PagerContextChanges } from "./pager-context.service";
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* Represents the Kendo UI Pager Info component for Angular. Displays information about the current page and the total number of records ([see example](https://www.telerik.com/kendo-angular-ui/components/pager/settings-and-types)).
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```html
|
|
15
|
-
* <kendo-pager [skip]="skip" [pageSize]="pageSize" [total]="total">
|
|
16
|
-
* <ng-template kendoPagerTemplate>
|
|
17
|
-
* <kendo-pager-info></kendo-pager-info>
|
|
18
|
-
* </ng-template>
|
|
19
|
-
* </kendo-pager>
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare class PagerInfoComponent extends PagerElementComponent {
|
|
23
|
-
/**
|
|
24
|
-
* @hidden
|
|
25
|
-
*
|
|
26
|
-
* @readonly
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberOf PagerInfoComponent
|
|
29
|
-
*/
|
|
30
|
-
get maxItems(): number;
|
|
31
|
-
/**
|
|
32
|
-
* @hidden
|
|
33
|
-
*
|
|
34
|
-
* @readonly
|
|
35
|
-
* @type {number}
|
|
36
|
-
* @memberOf PagerInfoComponent
|
|
37
|
-
*/
|
|
38
|
-
get currentPageText(): number;
|
|
39
|
-
/**
|
|
40
|
-
* @hidden
|
|
41
|
-
*
|
|
42
|
-
* @readonly
|
|
43
|
-
* @type {boolean}
|
|
44
|
-
* @memberOf PagerInfoComponent
|
|
45
|
-
*/
|
|
46
|
-
hostClass: boolean;
|
|
47
|
-
constructor(localization: LocalizationService, cd: ChangeDetectorRef, pagerContext: PagerContextService);
|
|
48
|
-
protected onChanges({ total, skip, pageSize }: PagerContextChanges): void;
|
|
49
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PagerInfoComponent, never>;
|
|
50
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PagerInfoComponent, "kendo-datapager-info, kendo-pager-info", never, {}, {}, never, never, true, never>;
|
|
51
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { NumericTextBoxComponent } from '@progress/kendo-angular-inputs';
|
|
6
|
-
import { ChangeDetectorRef, NgZone, Renderer2 } from '@angular/core';
|
|
7
|
-
import { PagerElementComponent } from './pager-element.component';
|
|
8
|
-
import { LocalizationService } from "@progress/kendo-angular-l10n";
|
|
9
|
-
import { PagerContextService, PagerContextChanges } from "./pager-context.service";
|
|
10
|
-
import { PagerSize } from './common/pager-size';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/**
|
|
13
|
-
* Represents the Kendo UI Pager Input component for Angular. Displays an input element which allows you to type and render page numbers.
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* ```html
|
|
17
|
-
* <kendo-pager [skip]="skip" [pageSize]="pageSize" [total]="total">
|
|
18
|
-
* <ng-template kendoPagerTemplate>
|
|
19
|
-
* <kendo-pager-input></kendo-pager-input>
|
|
20
|
-
* </ng-template>
|
|
21
|
-
* </kendo-pager>
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
export declare class PagerInputComponent extends PagerElementComponent {
|
|
25
|
-
protected pagerContext: PagerContextService;
|
|
26
|
-
private zone;
|
|
27
|
-
private renderer;
|
|
28
|
-
numericInput: NumericTextBoxComponent;
|
|
29
|
-
/**
|
|
30
|
-
* Controls the visibility of the page text label.
|
|
31
|
-
* @hidden
|
|
32
|
-
*/
|
|
33
|
-
showPageText: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* Specifies the padding of the internal `NumericTextBox` component. The default value is set by the Kendo theme.
|
|
36
|
-
*/
|
|
37
|
-
size: PagerSize;
|
|
38
|
-
constructor(localization: LocalizationService, pagerContext: PagerContextService, zone: NgZone, cd: ChangeDetectorRef, renderer: Renderer2);
|
|
39
|
-
protected onChanges({ total, skip, pageSize }: PagerContextChanges): void;
|
|
40
|
-
/**
|
|
41
|
-
* @hidden
|
|
42
|
-
*
|
|
43
|
-
* @param {string} value
|
|
44
|
-
*
|
|
45
|
-
* @memberOf PagerInputComponent
|
|
46
|
-
*/
|
|
47
|
-
handleKeyDown: (event: KeyboardEvent) => void;
|
|
48
|
-
/**
|
|
49
|
-
* @hidden
|
|
50
|
-
*
|
|
51
|
-
* @param {string} value
|
|
52
|
-
*
|
|
53
|
-
* @memberOf PagerInputComponent
|
|
54
|
-
*/
|
|
55
|
-
handleBlur: () => void;
|
|
56
|
-
/**
|
|
57
|
-
* @hidden
|
|
58
|
-
*/
|
|
59
|
-
get current(): number;
|
|
60
|
-
/**
|
|
61
|
-
* @hidden
|
|
62
|
-
*/
|
|
63
|
-
get hasPages(): boolean;
|
|
64
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PagerInputComponent, never>;
|
|
65
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PagerInputComponent, "kendo-datapager-input, kendo-pager-input", never, { "showPageText": { "alias": "showPageText"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
66
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
6
|
-
import { PagerContextService, PagerContextChanges } from "./pager-context.service";
|
|
7
|
-
import { PagerElementComponent } from './pager-element.component';
|
|
8
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
|
-
import { PagerSize } from './common/pager-size';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* Represents the Kendo UI Pager Next Buttons component for Angular. Displays buttons for navigating to the next and to the last page ([see example](https://www.telerik.com/kendo-angular-ui/components/pager/settings-and-types)).
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* ```html
|
|
16
|
-
* <kendo-pager [skip]="skip" [pageSize]="pageSize" [total]="total">
|
|
17
|
-
* <ng-template kendoPagerTemplate>
|
|
18
|
-
* <kendo-pager-next-buttons></kendo-pager-next-buttons>
|
|
19
|
-
* </ng-template>
|
|
20
|
-
* </kendo-pager>
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
export declare class PagerNextButtonsComponent extends PagerElementComponent {
|
|
24
|
-
/**
|
|
25
|
-
* @hidden
|
|
26
|
-
*
|
|
27
|
-
* @readonly
|
|
28
|
-
* @type {boolean}
|
|
29
|
-
* @memberOf PagerNextButtonsComponent
|
|
30
|
-
*/
|
|
31
|
-
get disabled(): boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Specifies the padding of the navigation buttons. The default value is set by the Kendo theme.
|
|
34
|
-
*/
|
|
35
|
-
size: PagerSize;
|
|
36
|
-
constructor(localization: LocalizationService, pagerContext: PagerContextService, cd: ChangeDetectorRef);
|
|
37
|
-
/**
|
|
38
|
-
* @hidden
|
|
39
|
-
*/
|
|
40
|
-
onClick(isLast?: boolean): boolean;
|
|
41
|
-
protected onChanges({ total, skip, pageSize }: PagerContextChanges): void;
|
|
42
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PagerNextButtonsComponent, never>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PagerNextButtonsComponent, "kendo-datapager-next-buttons, kendo-pager-next-buttons", never, { "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
44
|
-
}
|