@progress/kendo-angular-listview 24.0.0-develop.36 → 24.0.0-develop.38
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/directives.d.ts +2 -1
- package/fesm2022/progress-kendo-angular-listview.mjs +90 -9
- package/index.d.ts +1 -0
- package/listview.component.d.ts +6 -1
- package/listview.module.d.ts +9 -8
- package/package-metadata.mjs +2 -2
- package/package.json +8 -8
- package/schematics/ngAdd/index.js +6 -6
- package/templates/no-data-template.directive.d.ts +27 -0
package/directives.d.ts
CHANGED
|
@@ -14,7 +14,8 @@ import { FooterTemplateDirective } from "./templates/footer-template.directive";
|
|
|
14
14
|
import { HeaderTemplateDirective } from "./templates/header-template.directive";
|
|
15
15
|
import { ItemTemplateDirective } from "./templates/item-template.directive";
|
|
16
16
|
import { LoaderTemplateDirective } from "./templates/loader-template.directive";
|
|
17
|
+
import { NoDataTemplateDirective } from "./templates/no-data-template.directive";
|
|
17
18
|
/**
|
|
18
19
|
* Utility array that contains all `@progress/kendo-angular-listview` related components and directives
|
|
19
20
|
*/
|
|
20
|
-
export declare const KENDO_LISTVIEW: readonly [typeof ListViewComponent, typeof ItemTemplateDirective, typeof HeaderTemplateDirective, typeof FooterTemplateDirective, typeof LoaderTemplateDirective, typeof DataBindingDirective, typeof EditTemplateDirective, typeof EditCommandDirective, typeof CancelCommandDirective, typeof SaveCommandDirective, typeof RemoveCommandDirective, typeof AddCommandDirective];
|
|
21
|
+
export declare const KENDO_LISTVIEW: readonly [typeof ListViewComponent, typeof ItemTemplateDirective, typeof HeaderTemplateDirective, typeof FooterTemplateDirective, typeof LoaderTemplateDirective, typeof NoDataTemplateDirective, typeof DataBindingDirective, typeof EditTemplateDirective, typeof EditCommandDirective, typeof CancelCommandDirective, typeof SaveCommandDirective, typeof RemoveCommandDirective, typeof AddCommandDirective];
|
|
@@ -3,8 +3,8 @@
|
|
|
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 { Injectable, Input, Directive, Optional, EventEmitter, Output, HostBinding, ViewChildren, ContentChild, ViewChild, ChangeDetectionStrategy, Component, HostListener, NgModule } from '@angular/core';
|
|
7
|
-
import { isDocumentAvailable, normalizeKeys, Keys, isChanged, hasObservers, EventsOutsideAngularDirective, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
6
|
+
import { Injectable, Input, Directive, Optional, EventEmitter, forwardRef, Output, HostBinding, ViewChildren, ContentChild, ViewChild, ChangeDetectionStrategy, Component, HostListener, NgModule } from '@angular/core';
|
|
7
|
+
import { isDocumentAvailable, normalizeKeys, Keys, isChanged, hasObservers, EventsOutsideAngularDirective, KENDO_WEBMCP_HOST, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
8
8
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
9
9
|
import * as i2 from '@progress/kendo-angular-l10n';
|
|
10
10
|
import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
@@ -25,8 +25,8 @@ const packageMetadata = {
|
|
|
25
25
|
productName: 'Kendo UI for Angular',
|
|
26
26
|
productCode: 'KENDOUIANGULAR',
|
|
27
27
|
productCodes: ['KENDOUIANGULAR'],
|
|
28
|
-
publishDate:
|
|
29
|
-
version: '24.0.0-develop.
|
|
28
|
+
publishDate: 1779192069,
|
|
29
|
+
version: '24.0.0-develop.38',
|
|
30
30
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
31
31
|
};
|
|
32
32
|
|
|
@@ -505,6 +505,37 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
505
505
|
}]
|
|
506
506
|
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
507
507
|
|
|
508
|
+
/**
|
|
509
|
+
* Lets you customize the content shown when the ListView has no data to display.
|
|
510
|
+
* To define a no-data template, nest an `<ng-template>` tag
|
|
511
|
+
* with the `kendoListViewNoDataTemplate` directive inside the `<kendo-listview>` tag
|
|
512
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/listview/templates#no-data-template)).
|
|
513
|
+
*
|
|
514
|
+
* @example
|
|
515
|
+
* ```html
|
|
516
|
+
* <kendo-listview [data]="[]">
|
|
517
|
+
* <ng-template kendoListViewNoDataTemplate>
|
|
518
|
+
* No items to display.
|
|
519
|
+
* </ng-template>
|
|
520
|
+
* </kendo-listview>
|
|
521
|
+
* ```
|
|
522
|
+
*/
|
|
523
|
+
class NoDataTemplateDirective {
|
|
524
|
+
templateRef;
|
|
525
|
+
constructor(templateRef) {
|
|
526
|
+
this.templateRef = templateRef;
|
|
527
|
+
}
|
|
528
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: NoDataTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
529
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.20", type: NoDataTemplateDirective, isStandalone: true, selector: "[kendoListViewNoDataTemplate]", ngImport: i0 });
|
|
530
|
+
}
|
|
531
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: NoDataTemplateDirective, decorators: [{
|
|
532
|
+
type: Directive,
|
|
533
|
+
args: [{
|
|
534
|
+
selector: '[kendoListViewNoDataTemplate]',
|
|
535
|
+
standalone: true
|
|
536
|
+
}]
|
|
537
|
+
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
538
|
+
|
|
508
539
|
/**
|
|
509
540
|
* Defines the edit template of the ListView ([see example](https://www.telerik.com/kendo-angular-ui/components/listview/editing/editing-template-forms)).
|
|
510
541
|
* Helps you customize the content of the edited items. To define the template, nest an `<ng-template>`
|
|
@@ -737,6 +768,10 @@ class ListViewComponent {
|
|
|
737
768
|
* @hidden
|
|
738
769
|
*/
|
|
739
770
|
contentContainer;
|
|
771
|
+
/**
|
|
772
|
+
* @hidden
|
|
773
|
+
*/
|
|
774
|
+
noDataTemplate;
|
|
740
775
|
/**
|
|
741
776
|
* @hidden
|
|
742
777
|
*/
|
|
@@ -1161,8 +1196,9 @@ class ListViewComponent {
|
|
|
1161
1196
|
{
|
|
1162
1197
|
provide: L10N_PREFIX,
|
|
1163
1198
|
useValue: 'kendo.listview'
|
|
1164
|
-
}
|
|
1165
|
-
|
|
1199
|
+
},
|
|
1200
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => ListViewComponent) }
|
|
1201
|
+
], queries: [{ propertyName: "itemTemplate", first: true, predicate: ItemTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "loaderTemplate", first: true, predicate: LoaderTemplateDirective, descendants: true }, { propertyName: "noDataTemplate", first: true, predicate: NoDataTemplateDirective, descendants: true }, { propertyName: "editTemplate", first: true, predicate: EditTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "contentContainer", first: true, predicate: ["contentContainer"], descendants: true, static: true }, { propertyName: "listViewItems", predicate: ListViewNavigableItemDirective, descendants: true }], exportAs: ["kendoListView"], usesOnChanges: true, ngImport: i0, template: `
|
|
1166
1202
|
<!-- top pager -->
|
|
1167
1203
|
@if (pagerSettings?.position !== 'bottom') {
|
|
1168
1204
|
<ng-template
|
|
@@ -1239,6 +1275,26 @@ class ListViewComponent {
|
|
|
1239
1275
|
</ng-template>
|
|
1240
1276
|
</div>
|
|
1241
1277
|
}
|
|
1278
|
+
|
|
1279
|
+
<!-- no data -->
|
|
1280
|
+
@if (!items.length && !editService.hasNewItem && !loading) {
|
|
1281
|
+
<div
|
|
1282
|
+
class="k-listview-item"
|
|
1283
|
+
[attr.role]="listItemRole"
|
|
1284
|
+
aria-setsize="1"
|
|
1285
|
+
aria-posinset="1"
|
|
1286
|
+
tabindex="0"
|
|
1287
|
+
>
|
|
1288
|
+
<span class="k-no-data" aria-live="polite">
|
|
1289
|
+
@if (noDataTemplate?.templateRef) {
|
|
1290
|
+
<ng-template
|
|
1291
|
+
[ngTemplateOutlet]="noDataTemplate.templateRef"
|
|
1292
|
+
>
|
|
1293
|
+
</ng-template>
|
|
1294
|
+
}
|
|
1295
|
+
</span>
|
|
1296
|
+
</div>
|
|
1297
|
+
}
|
|
1242
1298
|
</div>
|
|
1243
1299
|
|
|
1244
1300
|
<!-- loading indicator -->
|
|
@@ -1314,7 +1370,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
1314
1370
|
{
|
|
1315
1371
|
provide: L10N_PREFIX,
|
|
1316
1372
|
useValue: 'kendo.listview'
|
|
1317
|
-
}
|
|
1373
|
+
},
|
|
1374
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => ListViewComponent) }
|
|
1318
1375
|
],
|
|
1319
1376
|
template: `
|
|
1320
1377
|
<!-- top pager -->
|
|
@@ -1393,6 +1450,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
1393
1450
|
</ng-template>
|
|
1394
1451
|
</div>
|
|
1395
1452
|
}
|
|
1453
|
+
|
|
1454
|
+
<!-- no data -->
|
|
1455
|
+
@if (!items.length && !editService.hasNewItem && !loading) {
|
|
1456
|
+
<div
|
|
1457
|
+
class="k-listview-item"
|
|
1458
|
+
[attr.role]="listItemRole"
|
|
1459
|
+
aria-setsize="1"
|
|
1460
|
+
aria-posinset="1"
|
|
1461
|
+
tabindex="0"
|
|
1462
|
+
>
|
|
1463
|
+
<span class="k-no-data" aria-live="polite">
|
|
1464
|
+
@if (noDataTemplate?.templateRef) {
|
|
1465
|
+
<ng-template
|
|
1466
|
+
[ngTemplateOutlet]="noDataTemplate.templateRef"
|
|
1467
|
+
>
|
|
1468
|
+
</ng-template>
|
|
1469
|
+
}
|
|
1470
|
+
</span>
|
|
1471
|
+
</div>
|
|
1472
|
+
}
|
|
1396
1473
|
</div>
|
|
1397
1474
|
|
|
1398
1475
|
<!-- loading indicator -->
|
|
@@ -1475,6 +1552,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
1475
1552
|
}], contentContainer: [{
|
|
1476
1553
|
type: ViewChild,
|
|
1477
1554
|
args: ['contentContainer', { static: true }]
|
|
1555
|
+
}], noDataTemplate: [{
|
|
1556
|
+
type: ContentChild,
|
|
1557
|
+
args: [NoDataTemplateDirective, { static: false }]
|
|
1478
1558
|
}], editTemplate: [{
|
|
1479
1559
|
type: ContentChild,
|
|
1480
1560
|
args: [EditTemplateDirective, { static: false }]
|
|
@@ -2054,6 +2134,7 @@ const KENDO_LISTVIEW = [
|
|
|
2054
2134
|
HeaderTemplateDirective,
|
|
2055
2135
|
FooterTemplateDirective,
|
|
2056
2136
|
LoaderTemplateDirective,
|
|
2137
|
+
NoDataTemplateDirective,
|
|
2057
2138
|
DataBindingDirective,
|
|
2058
2139
|
EditTemplateDirective,
|
|
2059
2140
|
EditCommandDirective,
|
|
@@ -2086,7 +2167,7 @@ const KENDO_LISTVIEW = [
|
|
|
2086
2167
|
*/
|
|
2087
2168
|
class ListViewModule {
|
|
2088
2169
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ListViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2089
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.20", ngImport: i0, type: ListViewModule, imports: [ListViewComponent, ItemTemplateDirective, HeaderTemplateDirective, FooterTemplateDirective, LoaderTemplateDirective, DataBindingDirective, EditTemplateDirective, EditCommandDirective, CancelCommandDirective, SaveCommandDirective, RemoveCommandDirective, AddCommandDirective], exports: [ListViewComponent, ItemTemplateDirective, HeaderTemplateDirective, FooterTemplateDirective, LoaderTemplateDirective, DataBindingDirective, EditTemplateDirective, EditCommandDirective, CancelCommandDirective, SaveCommandDirective, RemoveCommandDirective, AddCommandDirective] });
|
|
2170
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.20", ngImport: i0, type: ListViewModule, imports: [ListViewComponent, ItemTemplateDirective, HeaderTemplateDirective, FooterTemplateDirective, LoaderTemplateDirective, NoDataTemplateDirective, DataBindingDirective, EditTemplateDirective, EditCommandDirective, CancelCommandDirective, SaveCommandDirective, RemoveCommandDirective, AddCommandDirective], exports: [ListViewComponent, ItemTemplateDirective, HeaderTemplateDirective, FooterTemplateDirective, LoaderTemplateDirective, NoDataTemplateDirective, DataBindingDirective, EditTemplateDirective, EditCommandDirective, CancelCommandDirective, SaveCommandDirective, RemoveCommandDirective, AddCommandDirective] });
|
|
2090
2171
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ListViewModule, providers: [
|
|
2091
2172
|
IconsService,
|
|
2092
2173
|
PopupService,
|
|
@@ -2110,5 +2191,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
2110
2191
|
* Generated bundle index. Do not edit.
|
|
2111
2192
|
*/
|
|
2112
2193
|
|
|
2113
|
-
export { AddCommandDirective, CancelCommandDirective, DataBindingDirective, EditCommandDirective, EditTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, KENDO_LISTVIEW, ListViewComponent, ListViewModule, LoaderTemplateDirective, PageSizeChangeEvent, RemoveCommandDirective, SaveCommandDirective };
|
|
2194
|
+
export { AddCommandDirective, CancelCommandDirective, DataBindingDirective, EditCommandDirective, EditTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, KENDO_LISTVIEW, ListViewComponent, ListViewModule, LoaderTemplateDirective, NoDataTemplateDirective, PageSizeChangeEvent, RemoveCommandDirective, SaveCommandDirective };
|
|
2114
2195
|
|
package/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export { ItemTemplateDirective } from './templates/item-template.directive';
|
|
|
7
7
|
export { HeaderTemplateDirective } from './templates/header-template.directive';
|
|
8
8
|
export { FooterTemplateDirective } from './templates/footer-template.directive';
|
|
9
9
|
export { LoaderTemplateDirective } from './templates/loader-template.directive';
|
|
10
|
+
export { NoDataTemplateDirective } from './templates/no-data-template.directive';
|
|
10
11
|
export { DataBindingDirective } from './data-binding/data-binding.directive';
|
|
11
12
|
export { EditTemplateDirective } from './editing/edit-template.directive';
|
|
12
13
|
export { AddEvent } from './editing/events/add-event-args.interface';
|
package/listview.component.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ import { ItemTemplateDirective } from './templates/item-template.directive';
|
|
|
9
9
|
import { HeaderTemplateDirective } from './templates/header-template.directive';
|
|
10
10
|
import { FooterTemplateDirective } from './templates/footer-template.directive';
|
|
11
11
|
import { LoaderTemplateDirective } from './templates/loader-template.directive';
|
|
12
|
+
import { NoDataTemplateDirective } from './templates/no-data-template.directive';
|
|
12
13
|
import { ScrollBottomEvent } from './models/scroll-bottom-event';
|
|
13
14
|
import { PageChangeEvent } from './models/page-change-event';
|
|
14
15
|
import { PageSizeChangeEvent } from './models/page-size-change-event';
|
|
@@ -84,6 +85,10 @@ export declare class ListViewComponent implements AfterViewInit, OnChanges, OnDe
|
|
|
84
85
|
* @hidden
|
|
85
86
|
*/
|
|
86
87
|
contentContainer: ElementRef<HTMLElement>;
|
|
88
|
+
/**
|
|
89
|
+
* @hidden
|
|
90
|
+
*/
|
|
91
|
+
noDataTemplate: NoDataTemplateDirective;
|
|
87
92
|
/**
|
|
88
93
|
* @hidden
|
|
89
94
|
*/
|
|
@@ -345,5 +350,5 @@ export declare class ListViewComponent implements AfterViewInit, OnChanges, OnDe
|
|
|
345
350
|
private attachEditHandlers;
|
|
346
351
|
private emitCRUDEvent;
|
|
347
352
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListViewComponent, never>;
|
|
348
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListViewComponent, "kendo-listview", ["kendoListView"], { "bordered": { "alias": "bordered"; "required": false; }; "data": { "alias": "data"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "containerStyle": { "alias": "containerStyle"; "required": false; }; "itemStyle": { "alias": "itemStyle"; "required": false; }; "containerClass": { "alias": "containerClass"; "required": false; }; "itemClass": { "alias": "itemClass"; "required": false; }; "containerLabel": { "alias": "containerLabel"; "required": false; }; "containerRole": { "alias": "containerRole"; "required": false; }; "listItemRole": { "alias": "listItemRole"; "required": false; }; "navigable": { "alias": "navigable"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "skip": { "alias": "skip"; "required": false; }; "pageable": { "alias": "pageable"; "required": false; }; "height": { "alias": "height"; "required": false; }; }, { "scrollBottom": "scrollBottom"; "pageChange": "pageChange"; "pageSizeChange": "pageSizeChange"; "edit": "edit"; "cancel": "cancel"; "save": "save"; "remove": "remove"; "add": "add"; }, ["itemTemplate", "headerTemplate", "footerTemplate", "loaderTemplate", "editTemplate"], never, true, never>;
|
|
353
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListViewComponent, "kendo-listview", ["kendoListView"], { "bordered": { "alias": "bordered"; "required": false; }; "data": { "alias": "data"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "containerStyle": { "alias": "containerStyle"; "required": false; }; "itemStyle": { "alias": "itemStyle"; "required": false; }; "containerClass": { "alias": "containerClass"; "required": false; }; "itemClass": { "alias": "itemClass"; "required": false; }; "containerLabel": { "alias": "containerLabel"; "required": false; }; "containerRole": { "alias": "containerRole"; "required": false; }; "listItemRole": { "alias": "listItemRole"; "required": false; }; "navigable": { "alias": "navigable"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "skip": { "alias": "skip"; "required": false; }; "pageable": { "alias": "pageable"; "required": false; }; "height": { "alias": "height"; "required": false; }; }, { "scrollBottom": "scrollBottom"; "pageChange": "pageChange"; "pageSizeChange": "pageSizeChange"; "edit": "edit"; "cancel": "cancel"; "save": "save"; "remove": "remove"; "add": "add"; }, ["itemTemplate", "headerTemplate", "footerTemplate", "loaderTemplate", "noDataTemplate", "editTemplate"], never, true, never>;
|
|
349
354
|
}
|
package/listview.module.d.ts
CHANGED
|
@@ -8,13 +8,14 @@ import * as i2 from "./templates/item-template.directive";
|
|
|
8
8
|
import * as i3 from "./templates/header-template.directive";
|
|
9
9
|
import * as i4 from "./templates/footer-template.directive";
|
|
10
10
|
import * as i5 from "./templates/loader-template.directive";
|
|
11
|
-
import * as i6 from "./
|
|
12
|
-
import * as i7 from "./
|
|
13
|
-
import * as i8 from "./editing/
|
|
14
|
-
import * as i9 from "./editing/commands/
|
|
15
|
-
import * as i10 from "./editing/commands/
|
|
16
|
-
import * as i11 from "./editing/commands/
|
|
17
|
-
import * as i12 from "./editing/commands/
|
|
11
|
+
import * as i6 from "./templates/no-data-template.directive";
|
|
12
|
+
import * as i7 from "./data-binding/data-binding.directive";
|
|
13
|
+
import * as i8 from "./editing/edit-template.directive";
|
|
14
|
+
import * as i9 from "./editing/commands/edit-command.directive";
|
|
15
|
+
import * as i10 from "./editing/commands/cancel-command.directive";
|
|
16
|
+
import * as i11 from "./editing/commands/save-command.directive";
|
|
17
|
+
import * as i12 from "./editing/commands/remove-command.directive";
|
|
18
|
+
import * as i13 from "./editing/commands/add-command.directive";
|
|
18
19
|
/**
|
|
19
20
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
20
21
|
* definition for the ListView component.
|
|
@@ -37,6 +38,6 @@ import * as i12 from "./editing/commands/add-command.directive";
|
|
|
37
38
|
*/
|
|
38
39
|
export declare class ListViewModule {
|
|
39
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListViewModule, never>;
|
|
40
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ListViewModule, never, [typeof i1.ListViewComponent, typeof i2.ItemTemplateDirective, typeof i3.HeaderTemplateDirective, typeof i4.FooterTemplateDirective, typeof i5.LoaderTemplateDirective, typeof i6.
|
|
41
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ListViewModule, never, [typeof i1.ListViewComponent, typeof i2.ItemTemplateDirective, typeof i3.HeaderTemplateDirective, typeof i4.FooterTemplateDirective, typeof i5.LoaderTemplateDirective, typeof i6.NoDataTemplateDirective, typeof i7.DataBindingDirective, typeof i8.EditTemplateDirective, typeof i9.EditCommandDirective, typeof i10.CancelCommandDirective, typeof i11.SaveCommandDirective, typeof i12.RemoveCommandDirective, typeof i13.AddCommandDirective], [typeof i1.ListViewComponent, typeof i2.ItemTemplateDirective, typeof i3.HeaderTemplateDirective, typeof i4.FooterTemplateDirective, typeof i5.LoaderTemplateDirective, typeof i6.NoDataTemplateDirective, typeof i7.DataBindingDirective, typeof i8.EditTemplateDirective, typeof i9.EditCommandDirective, typeof i10.CancelCommandDirective, typeof i11.SaveCommandDirective, typeof i12.RemoveCommandDirective, typeof i13.AddCommandDirective]>;
|
|
41
42
|
static ɵinj: i0.ɵɵInjectorDeclaration<ListViewModule>;
|
|
42
43
|
}
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "24.0.0-develop.
|
|
10
|
+
"publishDate": 1779192069,
|
|
11
|
+
"version": "24.0.0-develop.38",
|
|
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-listview",
|
|
3
|
-
"version": "24.0.0-develop.
|
|
3
|
+
"version": "24.0.0-develop.38",
|
|
4
4
|
"description": "Kendo UI Angular listview component",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"package": {
|
|
20
20
|
"productName": "Kendo UI for Angular",
|
|
21
21
|
"productCode": "KENDOUIANGULAR",
|
|
22
|
-
"publishDate":
|
|
22
|
+
"publishDate": 1779192069,
|
|
23
23
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
@@ -30,16 +30,16 @@
|
|
|
30
30
|
"@angular/forms": "19 - 21",
|
|
31
31
|
"@angular/platform-browser": "19 - 21",
|
|
32
32
|
"@progress/kendo-licensing": "^1.11.0",
|
|
33
|
-
"@progress/kendo-angular-buttons": "24.0.0-develop.
|
|
34
|
-
"@progress/kendo-angular-common": "24.0.0-develop.
|
|
35
|
-
"@progress/kendo-angular-icons": "24.0.0-develop.
|
|
36
|
-
"@progress/kendo-angular-l10n": "24.0.0-develop.
|
|
37
|
-
"@progress/kendo-angular-pager": "24.0.0-develop.
|
|
33
|
+
"@progress/kendo-angular-buttons": "24.0.0-develop.38",
|
|
34
|
+
"@progress/kendo-angular-common": "24.0.0-develop.38",
|
|
35
|
+
"@progress/kendo-angular-icons": "24.0.0-develop.38",
|
|
36
|
+
"@progress/kendo-angular-l10n": "24.0.0-develop.38",
|
|
37
|
+
"@progress/kendo-angular-pager": "24.0.0-develop.38",
|
|
38
38
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"tslib": "^2.3.1",
|
|
42
|
-
"@progress/kendo-angular-schematics": "24.0.0-develop.
|
|
42
|
+
"@progress/kendo-angular-schematics": "24.0.0-develop.38"
|
|
43
43
|
},
|
|
44
44
|
"schematics": "./schematics/collection.json",
|
|
45
45
|
"module": "fesm2022/progress-kendo-angular-listview.mjs",
|
|
@@ -9,12 +9,12 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
9
9
|
function default_1(options) {
|
|
10
10
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'ListViewModule', package: 'listview', peerDependencies: {
|
|
11
11
|
// Peers of pager
|
|
12
|
-
'@progress/kendo-angular-dropdowns': '24.0.0-develop.
|
|
13
|
-
'@progress/kendo-angular-treeview': '24.0.0-develop.
|
|
14
|
-
'@progress/kendo-angular-inputs': '24.0.0-develop.
|
|
15
|
-
'@progress/kendo-angular-intl': '24.0.0-develop.
|
|
16
|
-
'@progress/kendo-angular-l10n': '24.0.0-develop.
|
|
17
|
-
'@progress/kendo-angular-popup': '24.0.0-develop.
|
|
12
|
+
'@progress/kendo-angular-dropdowns': '24.0.0-develop.38',
|
|
13
|
+
'@progress/kendo-angular-treeview': '24.0.0-develop.38',
|
|
14
|
+
'@progress/kendo-angular-inputs': '24.0.0-develop.38',
|
|
15
|
+
'@progress/kendo-angular-intl': '24.0.0-develop.38',
|
|
16
|
+
'@progress/kendo-angular-l10n': '24.0.0-develop.38',
|
|
17
|
+
'@progress/kendo-angular-popup': '24.0.0-develop.38',
|
|
18
18
|
'@progress/kendo-drawing': '^1.17.2',
|
|
19
19
|
// Peer of icons
|
|
20
20
|
'@progress/kendo-svg-icons': '^4.0.0'
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
}
|