@progress/kendo-angular-listview 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-listview.mjs +54 -54
- package/index.d.ts +1036 -27
- package/package-metadata.mjs +2 -2
- package/package.json +13 -13
- package/schematics/ngAdd/index.js +6 -6
- package/data-binding/data-binding.directive.d.ts +0 -47
- package/directives.d.ts +0 -21
- package/editing/commands/add-command.directive.d.ts +0 -36
- package/editing/commands/cancel-command.directive.d.ts +0 -48
- package/editing/commands/edit-command.directive.d.ts +0 -37
- package/editing/commands/remove-command.directive.d.ts +0 -37
- package/editing/commands/save-command.directive.d.ts +0 -48
- package/editing/edit-template.directive.d.ts +0 -42
- package/editing/edit.service.d.ts +0 -60
- package/editing/events/add-event-args.interface.d.ts +0 -11
- package/editing/events/cancel-event-args.interface.d.ts +0 -10
- package/editing/events/edit-event-args.interface.d.ts +0 -27
- package/editing/events/remove-event-args.interface.d.ts +0 -11
- package/editing/events/save-event-args.interface.d.ts +0 -16
- package/listview.component.d.ts +0 -354
- package/listview.module.d.ts +0 -43
- package/models/listview-data-result.d.ts +0 -18
- package/models/page-change-event.d.ts +0 -11
- package/models/page-size-change-event.d.ts +0 -11
- package/models/page-size-item.d.ts +0 -12
- package/models/pager-position.d.ts +0 -12
- package/models/pager-settings.d.ts +0 -39
- package/models/pager-type.d.ts +0 -12
- package/models/scroll-bottom-event.d.ts +0 -14
- package/navigation/listview-navigable-item.directive.d.ts +0 -29
- package/navigation/navigation.service.d.ts +0 -55
- package/package-metadata.d.ts +0 -9
- package/templates/footer-template.directive.d.ts +0 -33
- package/templates/header-template.directive.d.ts +0 -34
- package/templates/item-template.directive.d.ts +0 -40
- package/templates/loader-template.directive.d.ts +0 -34
- package/templates/no-data-template.directive.d.ts +0 -27
- package/utils.d.ts +0 -55
|
@@ -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 { TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Allows customizing the footer content of the ListView. To define a footer template, nest an `<ng-template>` tag
|
|
9
|
-
* with the `kendoListViewFooterTemplate` directive inside the `<kendo-listview>` tag
|
|
10
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/listview/templates#footer-template)).
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```typescript
|
|
14
|
-
* @Component({
|
|
15
|
-
* template: `
|
|
16
|
-
* <kendo-listview [data]="items">
|
|
17
|
-
* <ng-template kendoListViewFooterTemplate>
|
|
18
|
-
* <div class="footer-content">
|
|
19
|
-
* <p>Total items: {{ items.length }}</p>
|
|
20
|
-
* </div>
|
|
21
|
-
* </ng-template>
|
|
22
|
-
* </kendo-listview>
|
|
23
|
-
* `
|
|
24
|
-
* })
|
|
25
|
-
* export class AppComponent { }
|
|
26
|
-
* ```
|
|
27
|
-
*/
|
|
28
|
-
export declare class FooterTemplateDirective {
|
|
29
|
-
templateRef: TemplateRef<any>;
|
|
30
|
-
constructor(templateRef: TemplateRef<any>);
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FooterTemplateDirective, never>;
|
|
32
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FooterTemplateDirective, "[kendoListViewFooterTemplate]", never, {}, {}, never, never, true, never>;
|
|
33
|
-
}
|
|
@@ -1,34 +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 { TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Allows customizing the header content of the ListView. To define a header template, nest an `<ng-template>` tag
|
|
9
|
-
* with the `kendoListViewHeaderTemplate` directive inside the `<kendo-listview>` tag
|
|
10
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/listview/templates#header-template)).
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```typescript
|
|
14
|
-
* @Component({
|
|
15
|
-
* template: `
|
|
16
|
-
* <kendo-listview [data]="items">
|
|
17
|
-
* <ng-template kendoListViewHeaderTemplate>
|
|
18
|
-
* <div class="header-content">
|
|
19
|
-
* <h3>Product List</h3>
|
|
20
|
-
* <button kendoListViewAddCommand>Add New Item</button>
|
|
21
|
-
* </div>
|
|
22
|
-
* </ng-template>
|
|
23
|
-
* </kendo-listview>
|
|
24
|
-
* `
|
|
25
|
-
* })
|
|
26
|
-
* export class AppComponent { }
|
|
27
|
-
* ```
|
|
28
|
-
*/
|
|
29
|
-
export declare class HeaderTemplateDirective {
|
|
30
|
-
templateRef: TemplateRef<any>;
|
|
31
|
-
constructor(templateRef: TemplateRef<any>);
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderTemplateDirective, never>;
|
|
33
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<HeaderTemplateDirective, "[kendoListViewHeaderTemplate]", never, {}, {}, never, never, true, never>;
|
|
34
|
-
}
|
|
@@ -1,40 +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 { TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Allows customizing the list item content. To define an item template, nest an `<ng-template>` tag
|
|
9
|
-
* with the `kendoListViewItemTemplate` directive inside the `<kendo-listview>` tag
|
|
10
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/listview/templates#item-template)).
|
|
11
|
-
*
|
|
12
|
-
* The following values are available as context variables:
|
|
13
|
-
* - `let-dataItem="dataItem"` (`any`)&mdashThe current data item. Also available as implicit context variable.
|
|
14
|
-
* - `let-index="index"` (`number`)&mdashThe current item index.
|
|
15
|
-
* - `let-isFirst="isFirst"` (`boolean`)&mdashIndicates whether the current data item renders as the first item on the list.
|
|
16
|
-
* - `let-isLast="isLast"` (`boolean`)&mdashIndicates whether the current data item renders as the last item on the list.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```typescript
|
|
20
|
-
* @Component({
|
|
21
|
-
* template: `
|
|
22
|
-
* <kendo-listview [data]="items">
|
|
23
|
-
* <ng-template kendoListViewItemTemplate let-dataItem let-index="index">
|
|
24
|
-
* <div class="item-wrapper">
|
|
25
|
-
* <h4>{{ dataItem.name }}</h4>
|
|
26
|
-
* <p>Item #{{ index + 1 }}: {{ dataItem.description }}</p>
|
|
27
|
-
* </div>
|
|
28
|
-
* </ng-template>
|
|
29
|
-
* </kendo-listview>
|
|
30
|
-
* `
|
|
31
|
-
* })
|
|
32
|
-
* export class AppComponent { }
|
|
33
|
-
* ```
|
|
34
|
-
*/
|
|
35
|
-
export declare class ItemTemplateDirective {
|
|
36
|
-
templateRef: TemplateRef<any>;
|
|
37
|
-
constructor(templateRef: TemplateRef<any>);
|
|
38
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItemTemplateDirective, never>;
|
|
39
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ItemTemplateDirective, "[kendoListViewItemTemplate]", never, {}, {}, never, never, true, never>;
|
|
40
|
-
}
|
|
@@ -1,34 +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 { TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Overrides the default loader content of the ListView. To define a loader template, nest an `<ng-template>` tag
|
|
9
|
-
* with the `kendoListViewLoaderTemplate` directive inside the `<kendo-listview>` tag
|
|
10
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/listview/templates#loader-template)).
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```typescript
|
|
14
|
-
* @Component({
|
|
15
|
-
* template: `
|
|
16
|
-
* <kendo-listview [data]="items" [loading]="isLoading">
|
|
17
|
-
* <ng-template kendoListViewLoaderTemplate>
|
|
18
|
-
* <div class="custom-loader">
|
|
19
|
-
* <kendo-loader></kendo-loader>
|
|
20
|
-
* <p>Loading data, please wait...</p>
|
|
21
|
-
* </div>
|
|
22
|
-
* </ng-template>
|
|
23
|
-
* </kendo-listview>
|
|
24
|
-
* `
|
|
25
|
-
* })
|
|
26
|
-
* export class AppComponent { }
|
|
27
|
-
* ```
|
|
28
|
-
*/
|
|
29
|
-
export declare class LoaderTemplateDirective {
|
|
30
|
-
templateRef: TemplateRef<any>;
|
|
31
|
-
constructor(templateRef: TemplateRef<any>);
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderTemplateDirective, never>;
|
|
33
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LoaderTemplateDirective, "[kendoListViewLoaderTemplate]", never, {}, {}, never, never, true, never>;
|
|
34
|
-
}
|
|
@@ -1,27 +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 { TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Lets you customize the content shown when the ListView has no data to display.
|
|
9
|
-
* To define a no-data template, nest an `<ng-template>` tag
|
|
10
|
-
* with the `kendoListViewNoDataTemplate` directive inside the `<kendo-listview>` tag
|
|
11
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/listview/templates#no-data-template)).
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```html
|
|
15
|
-
* <kendo-listview [data]="[]">
|
|
16
|
-
* <ng-template kendoListViewNoDataTemplate>
|
|
17
|
-
* No items to display.
|
|
18
|
-
* </ng-template>
|
|
19
|
-
* </kendo-listview>
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare class NoDataTemplateDirective {
|
|
23
|
-
templateRef: TemplateRef<any>;
|
|
24
|
-
constructor(templateRef: TemplateRef<any>);
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NoDataTemplateDirective, never>;
|
|
26
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NoDataTemplateDirective, "[kendoListViewNoDataTemplate]", never, {}, {}, never, never, true, never>;
|
|
27
|
-
}
|
package/utils.d.ts
DELETED
|
@@ -1,55 +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 declare const isPresent: (item: any) => boolean;
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export declare const isObject: (item: any) => boolean;
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*
|
|
16
|
-
* Polyfill for `Element.matches`.
|
|
17
|
-
* https://developer.mozilla.org/en-US/docs/Web/API/Element/matches
|
|
18
|
-
*/
|
|
19
|
-
export declare const match: (element: any, selector: string) => boolean;
|
|
20
|
-
/**
|
|
21
|
-
* @hidden
|
|
22
|
-
*
|
|
23
|
-
* Checks if a target element has the `.k-listview-item` CSS class.
|
|
24
|
-
*/
|
|
25
|
-
export declare const isListViewItem: (element: Element) => boolean;
|
|
26
|
-
/**
|
|
27
|
-
* @hidden
|
|
28
|
-
*
|
|
29
|
-
* Extracts and parses to a number the `data-kendo-listview-item-index` attribute value from the targeted element.
|
|
30
|
-
*/
|
|
31
|
-
export declare const getListItemIndex: (item: Element) => number;
|
|
32
|
-
/**
|
|
33
|
-
* @hidden
|
|
34
|
-
*
|
|
35
|
-
* Gets the new focus target from a blur event.
|
|
36
|
-
* Queries both event.relatedTarget and document.activeElement for compatibility with IE.
|
|
37
|
-
*/
|
|
38
|
-
export declare const relatedTarget: (event: FocusEvent) => Element;
|
|
39
|
-
/**
|
|
40
|
-
* @hidden
|
|
41
|
-
*
|
|
42
|
-
* If the given contender number is not defined or lower than the specified min - returns min, if its above the specified max - returns max.
|
|
43
|
-
* If the number is in the given bounds, it is returned.
|
|
44
|
-
*/
|
|
45
|
-
export declare const fitIntoRange: (contender: number, min: number, max: number) => number;
|
|
46
|
-
/**
|
|
47
|
-
* @hidden
|
|
48
|
-
*/
|
|
49
|
-
export declare const closestWithMatch: (element: any, selector: string) => Element;
|
|
50
|
-
/**
|
|
51
|
-
* @hidden
|
|
52
|
-
*
|
|
53
|
-
* Extracts and parses to a number the `data-kendo-listview-item-index` attribute value from the targeted element.
|
|
54
|
-
*/
|
|
55
|
-
export declare const getClosestListItemIndex: (element: Element) => number;
|