@progress/kendo-angular-listview 4.0.4 → 11.0.0-develop.101
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/LICENSE.md +1 -1
- package/NOTICE.txt +4 -4
- package/README.md +1 -1
- package/data-binding/data-binding.directive.d.ts +1 -1
- package/editing/commands/add-command.directive.d.ts +2 -2
- package/editing/commands/cancel-command.directive.d.ts +2 -2
- package/editing/commands/edit-command.directive.d.ts +2 -2
- package/editing/commands/remove-command.directive.d.ts +2 -2
- package/editing/commands/save-command.directive.d.ts +2 -2
- package/editing/edit-template.directive.d.ts +1 -1
- package/editing/edit.service.d.ts +1 -1
- package/editing/events/add-event-args.interface.d.ts +1 -1
- package/editing/events/cancel-event-args.interface.d.ts +2 -3
- package/editing/events/edit-event-args.interface.d.ts +1 -1
- package/editing/events/remove-event-args.interface.d.ts +1 -1
- package/editing/events/save-event-args.interface.d.ts +1 -1
- package/{esm2015/data-binding/data-binding.directive.js → esm2020/data-binding/data-binding.directive.mjs} +5 -4
- package/{esm2015/editing/commands/add-command.directive.js → esm2020/editing/commands/add-command.directive.mjs} +34 -7
- package/{esm2015/editing/commands/cancel-command.directive.js → esm2020/editing/commands/cancel-command.directive.mjs} +34 -7
- package/{esm2015/editing/commands/edit-command.directive.js → esm2020/editing/commands/edit-command.directive.mjs} +34 -7
- package/{esm2015/editing/commands/remove-command.directive.js → esm2020/editing/commands/remove-command.directive.mjs} +34 -7
- package/{esm2015/editing/commands/save-command.directive.js → esm2020/editing/commands/save-command.directive.mjs} +34 -7
- package/{esm2015/editing/edit-template.directive.js → esm2020/editing/edit-template.directive.mjs} +5 -5
- package/{esm2015/editing/edit.service.js → esm2020/editing/edit.service.mjs} +5 -5
- package/{esm2015/editing/events/add-event-args.interface.js → esm2020/editing/events/add-event-args.interface.mjs} +1 -1
- package/{esm2015/editing/events/cancel-event-args.interface.js → esm2020/editing/events/cancel-event-args.interface.mjs} +1 -1
- package/{esm2015/editing/events/edit-event-args.interface.js → esm2020/editing/events/edit-event-args.interface.mjs} +1 -1
- package/{esm2015/editing/events/remove-event-args.interface.js → esm2020/editing/events/remove-event-args.interface.mjs} +1 -1
- package/esm2020/editing/events/save-event-args.interface.mjs +5 -0
- package/{esm2015/main.js → esm2020/index.mjs} +1 -1
- package/{esm2015/listview.component.js → esm2020/listview.component.mjs} +6 -9
- package/{esm2015/listview.module.js → esm2020/listview.module.mjs} +12 -8
- package/esm2020/models/listview-data-result.mjs +5 -0
- package/esm2020/models/page-change-event.mjs +5 -0
- package/{esm2015/models/page-size-change-event.js → esm2020/models/page-size-change-event.mjs} +1 -1
- package/esm2020/models/page-size-item.mjs +5 -0
- package/esm2020/models/pager-position.mjs +5 -0
- package/esm2020/models/pager-settings.mjs +5 -0
- package/esm2020/models/pager-type.mjs +5 -0
- package/esm2020/models/scroll-bottom-event.mjs +5 -0
- package/{esm2015/navigation/listview-navigable-item.directive.js → esm2020/navigation/listview-navigable-item.directive.mjs} +6 -5
- package/{esm2015/navigation/navigation.service.js → esm2020/navigation/navigation.service.mjs} +8 -6
- package/{esm2015/package-metadata.js → esm2020/package-metadata.mjs} +3 -3
- package/{esm2015/kendo-angular-listview.js → esm2020/progress-kendo-angular-listview.mjs} +2 -2
- package/{esm2015/templates/footer-template.directive.js → esm2020/templates/footer-template.directive.mjs} +5 -5
- package/{esm2015/templates/header-template.directive.js → esm2020/templates/header-template.directive.mjs} +5 -5
- package/{esm2015/templates/item-template.directive.js → esm2020/templates/item-template.directive.mjs} +5 -5
- package/{esm2015/templates/loader-template.directive.js → esm2020/templates/loader-template.directive.mjs} +5 -5
- package/{esm2015/templates/template-context.directive.js → esm2020/templates/template-context.directive.mjs} +5 -5
- package/{esm2015/utils.js → esm2020/utils.mjs} +1 -1
- package/fesm2015/progress-kendo-angular-listview.mjs +1801 -0
- package/{fesm2015/kendo-angular-listview.js → fesm2020/progress-kendo-angular-listview.mjs} +193 -74
- package/{main.d.ts → index.d.ts} +1 -1
- package/listview.component.d.ts +1 -1
- package/listview.module.d.ts +3 -2
- package/models/listview-data-result.d.ts +1 -1
- package/models/page-change-event.d.ts +2 -3
- package/models/page-size-change-event.d.ts +1 -1
- package/models/page-size-item.d.ts +1 -1
- package/models/pager-position.d.ts +1 -1
- package/models/pager-settings.d.ts +1 -1
- package/models/pager-type.d.ts +1 -1
- package/models/scroll-bottom-event.d.ts +1 -1
- package/navigation/listview-navigable-item.directive.d.ts +1 -1
- package/navigation/navigation.service.d.ts +1 -1
- package/package-metadata.d.ts +1 -1
- package/package.json +34 -60
- package/{kendo-angular-listview.d.ts → progress-kendo-angular-listview.d.ts} +2 -2
- package/schematics/ngAdd/index.js +4 -6
- package/templates/footer-template.directive.d.ts +1 -1
- package/templates/header-template.directive.d.ts +1 -1
- package/templates/item-template.directive.d.ts +1 -1
- package/templates/loader-template.directive.d.ts +1 -1
- package/templates/template-context.directive.d.ts +1 -1
- package/utils.d.ts +1 -1
- package/bundles/kendo-angular-listview.umd.js +0 -5
- package/esm2015/editing/events/save-event-args.interface.js +0 -5
- package/esm2015/models/listview-data-result.js +0 -5
- package/esm2015/models/page-change-event.js +0 -5
- package/esm2015/models/page-size-item.js +0 -5
- package/esm2015/models/pager-position.js +0 -5
- package/esm2015/models/pager-settings.js +0 -5
- package/esm2015/models/pager-type.js +0 -5
- package/esm2015/models/scroll-bottom-event.js +0 -5
- package/schematics/ngAdd/index.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
export { ListViewComponent } from './listview.component';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Component, HostBinding, Input, Output, ContentChild, ChangeDetectionStrategy, EventEmitter, ViewChild, ViewChildren } from '@angular/core';
|
|
5
|
+
import { Component, HostBinding, Input, Output, ContentChild, ChangeDetectionStrategy, EventEmitter, NgZone, Renderer2, ElementRef, ViewChild, ViewChildren, QueryList } from '@angular/core';
|
|
6
6
|
import { hasObservers, isChanged } from '@progress/kendo-angular-common';
|
|
7
7
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
8
8
|
import { packageMetadata } from './package-metadata';
|
|
@@ -362,8 +362,8 @@ export class ListViewComponent {
|
|
|
362
362
|
this[action].emit(args);
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
|
-
ListViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
366
|
-
ListViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
365
|
+
ListViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ListViewComponent, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.EditService }, { token: i2.NavigationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
366
|
+
ListViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ListViewComponent, selector: "kendo-listview", inputs: { data: "data", loading: "loading", containerStyle: "containerStyle", itemStyle: "itemStyle", containerClass: "containerClass", itemClass: "itemClass", containerLabel: "containerLabel", containerRole: "containerRole", listItemRole: "listItemRole", navigable: "navigable", pageSize: "pageSize", skip: "skip", pageable: "pageable", height: "height" }, outputs: { scrollBottom: "scrollBottom", pageChange: "pageChange", pageSizeChange: "pageSizeChange", edit: "edit", cancel: "cancel", save: "save", remove: "remove", add: "add" }, host: { properties: { "class.k-listview": "this.className", "class.k-listview-bordered": "this.className", "class.k-d-flex": "this.className" } }, providers: [
|
|
367
367
|
EditService,
|
|
368
368
|
NavigationService,
|
|
369
369
|
LocalizationService,
|
|
@@ -498,8 +498,8 @@ ListViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
498
498
|
>
|
|
499
499
|
</kendo-datapager>
|
|
500
500
|
</ng-template>
|
|
501
|
-
`, isInline: true, components: [{ type: i3.PagerComponent, selector: "kendo-datapager", inputs: ["total", "skip", "pageSize", "buttonCount", "info", "type", "pageSizeValues", "previousNext", "navigable"], outputs: ["pageChange", "pageSizeChange"], exportAs: ["kendoDataPager"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i5.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i6.ListViewNavigableItemDirective, selector: "[kendoListViewNavigableItem]", inputs: ["index"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
502
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
501
|
+
`, isInline: true, components: [{ type: i3.PagerComponent, selector: "kendo-datapager", inputs: ["total", "skip", "pageSize", "buttonCount", "info", "type", "pageSizeValues", "previousNext", "navigable", "size"], outputs: ["pageChange", "pageSizeChange"], exportAs: ["kendoDataPager"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i5.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i6.ListViewNavigableItemDirective, selector: "[kendoListViewNavigableItem]", inputs: ["index"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
502
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ListViewComponent, decorators: [{
|
|
503
503
|
type: Component,
|
|
504
504
|
args: [{
|
|
505
505
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -644,9 +644,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
644
644
|
`
|
|
645
645
|
}]
|
|
646
646
|
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.EditService }, { type: i2.NavigationService }]; }, propDecorators: { className: [{
|
|
647
|
-
type: HostBinding,
|
|
648
|
-
args: ['class.k-widget']
|
|
649
|
-
}, {
|
|
650
647
|
type: HostBinding,
|
|
651
648
|
args: ['class.k-listview']
|
|
652
649
|
}, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from '@angular/core';
|
|
@@ -20,6 +20,7 @@ import { CancelCommandDirective } from './editing/commands/cancel-command.direct
|
|
|
20
20
|
import { SaveCommandDirective } from './editing/commands/save-command.directive';
|
|
21
21
|
import { RemoveCommandDirective } from './editing/commands/remove-command.directive';
|
|
22
22
|
import { AddCommandDirective } from './editing/commands/add-command.directive';
|
|
23
|
+
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
23
24
|
import * as i0 from "@angular/core";
|
|
24
25
|
const TEMPLATE_DIRECTIVES = [
|
|
25
26
|
ItemTemplateDirective,
|
|
@@ -52,8 +53,8 @@ const EDITING_DIRECTIVES = [
|
|
|
52
53
|
*/
|
|
53
54
|
export class ListViewModule {
|
|
54
55
|
}
|
|
55
|
-
ListViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
56
|
-
ListViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
56
|
+
ListViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ListViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
57
|
+
ListViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ListViewModule, declarations: [ItemTemplateDirective,
|
|
57
58
|
HeaderTemplateDirective,
|
|
58
59
|
FooterTemplateDirective,
|
|
59
60
|
LoaderTemplateDirective, DataBindingDirective, EditTemplateDirective,
|
|
@@ -65,7 +66,8 @@ ListViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
65
66
|
TemplateContextDirective,
|
|
66
67
|
ListViewNavigableItemDirective], imports: [CommonModule,
|
|
67
68
|
PagerModule,
|
|
68
|
-
EventsModule
|
|
69
|
+
EventsModule,
|
|
70
|
+
IconsModule], exports: [ItemTemplateDirective,
|
|
69
71
|
HeaderTemplateDirective,
|
|
70
72
|
FooterTemplateDirective,
|
|
71
73
|
LoaderTemplateDirective, DataBindingDirective, EditTemplateDirective,
|
|
@@ -76,13 +78,14 @@ ListViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
76
78
|
AddCommandDirective, ListViewComponent,
|
|
77
79
|
CommonModule,
|
|
78
80
|
EventsModule] });
|
|
79
|
-
ListViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
81
|
+
ListViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ListViewModule, imports: [[
|
|
80
82
|
CommonModule,
|
|
81
83
|
PagerModule,
|
|
82
|
-
EventsModule
|
|
84
|
+
EventsModule,
|
|
85
|
+
IconsModule
|
|
83
86
|
], CommonModule,
|
|
84
87
|
EventsModule] });
|
|
85
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
88
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ListViewModule, decorators: [{
|
|
86
89
|
type: NgModule,
|
|
87
90
|
args: [{
|
|
88
91
|
declarations: [
|
|
@@ -104,7 +107,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
104
107
|
imports: [
|
|
105
108
|
CommonModule,
|
|
106
109
|
PagerModule,
|
|
107
|
-
EventsModule
|
|
110
|
+
EventsModule,
|
|
111
|
+
IconsModule
|
|
108
112
|
]
|
|
109
113
|
}]
|
|
110
114
|
}] });
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
package/{esm2015/models/page-size-change-event.js → esm2020/models/page-size-change-event.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { PageSizeChangeEvent as PagerPageSizeChangeEvent } from "@progress/kendo-angular-pager";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, Input } from '@angular/core';
|
|
5
|
+
import { Directive, ElementRef, Renderer2, Input } from '@angular/core';
|
|
6
|
+
import { NavigationService } from './navigation.service';
|
|
6
7
|
import { isPresent } from '../utils';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
import * as i1 from "./navigation.service";
|
|
@@ -54,9 +55,9 @@ export class ListViewNavigableItemDirective {
|
|
|
54
55
|
}
|
|
55
56
|
}
|
|
56
57
|
}
|
|
57
|
-
ListViewNavigableItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
58
|
-
ListViewNavigableItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
59
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
58
|
+
ListViewNavigableItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ListViewNavigableItemDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.NavigationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
59
|
+
ListViewNavigableItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ListViewNavigableItemDirective, selector: "[kendoListViewNavigableItem]", inputs: { index: "index" }, usesOnChanges: true, ngImport: i0 });
|
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ListViewNavigableItemDirective, decorators: [{
|
|
60
61
|
type: Directive,
|
|
61
62
|
args: [{
|
|
62
63
|
selector: '[kendoListViewNavigableItem]'
|
package/{esm2015/navigation/navigation.service.js → esm2020/navigation/navigation.service.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Injectable } from '@angular/core';
|
|
@@ -63,14 +63,16 @@ export class NavigationService {
|
|
|
63
63
|
case Keys.ArrowDown:
|
|
64
64
|
this.navigateToNext(totalItemsCount);
|
|
65
65
|
break;
|
|
66
|
-
case Keys.Home:
|
|
66
|
+
case Keys.Home: {
|
|
67
67
|
const firstIndex = 0;
|
|
68
68
|
this.navigateTo(firstIndex);
|
|
69
69
|
break;
|
|
70
|
-
|
|
70
|
+
}
|
|
71
|
+
case Keys.End: {
|
|
71
72
|
const lastIndex = totalItemsCount - 1;
|
|
72
73
|
this.navigateTo(lastIndex);
|
|
73
74
|
break;
|
|
75
|
+
}
|
|
74
76
|
default: return;
|
|
75
77
|
}
|
|
76
78
|
// the following line is executed only if the pressed key matches one of the listview hotkeys -
|
|
@@ -151,8 +153,8 @@ export class NavigationService {
|
|
|
151
153
|
this.navigateTo(nextIndex);
|
|
152
154
|
}
|
|
153
155
|
}
|
|
154
|
-
NavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
155
|
-
NavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
156
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
156
|
+
NavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
157
|
+
NavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService });
|
|
158
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService, decorators: [{
|
|
157
159
|
type: Injectable
|
|
158
160
|
}] });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-listview',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1673510728,
|
|
13
13
|
version: '',
|
|
14
|
-
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license
|
|
14
|
+
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
6
|
* Generated bundle index. Do not edit.
|
|
7
7
|
*/
|
|
8
|
-
export * from './
|
|
8
|
+
export * from './index';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive } from '@angular/core';
|
|
5
|
+
import { Directive, TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Renders the footer content of the ListView. To define a footer template, nest an `<ng-template>` tag
|
|
@@ -14,9 +14,9 @@ export class FooterTemplateDirective {
|
|
|
14
14
|
this.templateRef = templateRef;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
FooterTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
18
|
-
FooterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
17
|
+
FooterTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FooterTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
18
|
+
FooterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: FooterTemplateDirective, selector: "[kendoListViewFooterTemplate]", ngImport: i0 });
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FooterTemplateDirective, decorators: [{
|
|
20
20
|
type: Directive,
|
|
21
21
|
args: [{
|
|
22
22
|
selector: '[kendoListViewFooterTemplate]'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive } from '@angular/core';
|
|
5
|
+
import { Directive, TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Renders the header content of the ListView. To define a header template, nest an `<ng-template>` tag
|
|
@@ -14,9 +14,9 @@ export class HeaderTemplateDirective {
|
|
|
14
14
|
this.templateRef = templateRef;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
HeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
18
|
-
HeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
17
|
+
HeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HeaderTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
18
|
+
HeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: HeaderTemplateDirective, selector: "[kendoListViewHeaderTemplate]", ngImport: i0 });
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HeaderTemplateDirective, decorators: [{
|
|
20
20
|
type: Directive,
|
|
21
21
|
args: [{
|
|
22
22
|
selector: '[kendoListViewHeaderTemplate]'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive } from '@angular/core';
|
|
5
|
+
import { Directive, TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Renders the list item content. To define an item template, nest an `<ng-template>` tag
|
|
@@ -20,9 +20,9 @@ export class ItemTemplateDirective {
|
|
|
20
20
|
this.templateRef = templateRef;
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
-
ItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
24
|
-
ItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
23
|
+
ItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
24
|
+
ItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ItemTemplateDirective, selector: "[kendoListViewItemTemplate]", ngImport: i0 });
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ItemTemplateDirective, decorators: [{
|
|
26
26
|
type: Directive,
|
|
27
27
|
args: [{
|
|
28
28
|
selector: '[kendoListViewItemTemplate]'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive } from '@angular/core';
|
|
5
|
+
import { Directive, TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Overrides the default loader content of the ListView. To define a loader template, nest an `<ng-template>` tag
|
|
@@ -14,9 +14,9 @@ export class LoaderTemplateDirective {
|
|
|
14
14
|
this.templateRef = templateRef;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
LoaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
18
|
-
LoaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
17
|
+
LoaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoaderTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
18
|
+
LoaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: LoaderTemplateDirective, selector: "[kendoListViewLoaderTemplate]", ngImport: i0 });
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoaderTemplateDirective, decorators: [{
|
|
20
20
|
type: Directive,
|
|
21
21
|
args: [{
|
|
22
22
|
selector: '[kendoListViewLoaderTemplate]'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, Input } from '@angular/core';
|
|
5
|
+
import { Directive, ViewContainerRef, Input } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* @hidden
|
|
@@ -21,9 +21,9 @@ export class TemplateContextDirective {
|
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
TemplateContextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
25
|
-
TemplateContextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
24
|
+
TemplateContextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TemplateContextDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
25
|
+
TemplateContextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TemplateContextDirective, selector: "[templateContext]", inputs: { templateContext: "templateContext" }, ngImport: i0 });
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TemplateContextDirective, decorators: [{
|
|
27
27
|
type: Directive,
|
|
28
28
|
args: [{
|
|
29
29
|
selector: '[templateContext]' // eslint-disable-line
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { isDocumentAvailable } from '@progress/kendo-angular-common';
|