@progress/kendo-angular-listview 16.5.0 → 16.6.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/data-binding/data-binding.directive.d.ts +1 -1
- package/directives.d.ts +20 -0
- package/editing/commands/add-command.directive.d.ts +1 -1
- package/editing/commands/cancel-command.directive.d.ts +1 -1
- package/editing/commands/edit-command.directive.d.ts +1 -1
- package/editing/commands/remove-command.directive.d.ts +1 -1
- package/editing/commands/save-command.directive.d.ts +1 -1
- package/editing/edit-template.directive.d.ts +1 -1
- package/esm2020/data-binding/data-binding.directive.mjs +3 -2
- package/esm2020/directives.mjs +33 -0
- package/esm2020/editing/commands/add-command.directive.mjs +7 -5
- package/esm2020/editing/commands/cancel-command.directive.mjs +7 -5
- package/esm2020/editing/commands/edit-command.directive.mjs +7 -5
- package/esm2020/editing/commands/remove-command.directive.mjs +7 -5
- package/esm2020/editing/commands/save-command.directive.mjs +7 -5
- package/esm2020/editing/edit-template.directive.mjs +3 -2
- package/esm2020/index.mjs +1 -0
- package/esm2020/listview.component.mjs +8 -8
- package/esm2020/listview.module.mjs +29 -85
- package/esm2020/navigation/listview-navigable-item.directive.mjs +3 -2
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/templates/footer-template.directive.mjs +3 -2
- package/esm2020/templates/header-template.directive.mjs +3 -2
- package/esm2020/templates/item-template.directive.mjs +3 -2
- package/esm2020/templates/loader-template.directive.mjs +3 -2
- package/fesm2015/progress-kendo-angular-listview.mjs +78 -126
- package/fesm2020/progress-kendo-angular-listview.mjs +78 -126
- package/index.d.ts +1 -0
- package/listview.component.d.ts +1 -1
- package/listview.module.d.ts +13 -19
- package/navigation/listview-navigable-item.directive.d.ts +1 -1
- package/package.json +7 -7
- package/schematics/ngAdd/index.js +6 -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/esm2020/templates/template-context.directive.mjs +0 -33
- package/templates/template-context.directive.d.ts +0 -17
|
@@ -24,5 +24,5 @@ export declare class DataBindingDirective {
|
|
|
24
24
|
private handlePageSizeChange;
|
|
25
25
|
private updateListViewData;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataBindingDirective, never>;
|
|
27
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DataBindingDirective, "[kendoListViewBinding]", never, { "data": "kendoListViewBinding"; }, {}, never, never,
|
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DataBindingDirective, "[kendoListViewBinding]", never, { "data": "kendoListViewBinding"; }, {}, never, never, true, never>;
|
|
28
28
|
}
|
package/directives.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { DataBindingDirective } from "./data-binding/data-binding.directive";
|
|
6
|
+
import { AddCommandDirective } from "./editing/commands/add-command.directive";
|
|
7
|
+
import { CancelCommandDirective } from "./editing/commands/cancel-command.directive";
|
|
8
|
+
import { EditCommandDirective } from "./editing/commands/edit-command.directive";
|
|
9
|
+
import { RemoveCommandDirective } from "./editing/commands/remove-command.directive";
|
|
10
|
+
import { SaveCommandDirective } from "./editing/commands/save-command.directive";
|
|
11
|
+
import { EditTemplateDirective } from "./editing/edit-template.directive";
|
|
12
|
+
import { ListViewComponent } from "./listview.component";
|
|
13
|
+
import { FooterTemplateDirective } from "./templates/footer-template.directive";
|
|
14
|
+
import { HeaderTemplateDirective } from "./templates/header-template.directive";
|
|
15
|
+
import { ItemTemplateDirective } from "./templates/item-template.directive";
|
|
16
|
+
import { LoaderTemplateDirective } from "./templates/loader-template.directive";
|
|
17
|
+
/**
|
|
18
|
+
* Utility array that contains all `@progress/kendo-angular-listview` related components and directives
|
|
19
|
+
*/
|
|
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];
|
|
@@ -31,5 +31,5 @@ export declare class AddCommandDirective extends Button {
|
|
|
31
31
|
clickHandler(e: any): void;
|
|
32
32
|
constructor(editService: EditService, element: ElementRef, renderer: Renderer, localization: LocalizationService, ngZone: NgZone);
|
|
33
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<AddCommandDirective, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AddCommandDirective, "[kendoListViewAddCommand]", never, {}, {}, never, ["*"],
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AddCommandDirective, "[kendoListViewAddCommand]", never, {}, {}, never, ["*"], true, never>;
|
|
35
35
|
}
|
|
@@ -43,5 +43,5 @@ export declare class CancelCommandDirective extends Button {
|
|
|
43
43
|
clickHandler(e: any): void;
|
|
44
44
|
constructor(editService: EditService, element: ElementRef, renderer: Renderer, localization: LocalizationService, ngZone: NgZone);
|
|
45
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<CancelCommandDirective, never>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CancelCommandDirective, "[kendoListViewCancelCommand]", never, {}, {}, never, ["*"],
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CancelCommandDirective, "[kendoListViewCancelCommand]", never, {}, {}, never, ["*"], true, never>;
|
|
47
47
|
}
|
|
@@ -33,5 +33,5 @@ export declare class EditCommandDirective extends Button {
|
|
|
33
33
|
clickHandler(e: any): void;
|
|
34
34
|
constructor(editService: EditService, element: ElementRef, renderer: Renderer, localization: LocalizationService, ngZone: NgZone);
|
|
35
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditCommandDirective, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EditCommandDirective, "[kendoListViewEditCommand]", never, {}, {}, never, ["*"],
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditCommandDirective, "[kendoListViewEditCommand]", never, {}, {}, never, ["*"], true, never>;
|
|
37
37
|
}
|
|
@@ -32,5 +32,5 @@ export declare class RemoveCommandDirective extends Button {
|
|
|
32
32
|
clickHandler(e: any): void;
|
|
33
33
|
constructor(editService: EditService, element: ElementRef, renderer: Renderer, localization: LocalizationService, ngZone: NgZone);
|
|
34
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<RemoveCommandDirective, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RemoveCommandDirective, "[kendoListViewRemoveCommand]", never, {}, {}, never, ["*"],
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RemoveCommandDirective, "[kendoListViewRemoveCommand]", never, {}, {}, never, ["*"], true, never>;
|
|
36
36
|
}
|
|
@@ -43,5 +43,5 @@ export declare class SaveCommandDirective extends Button {
|
|
|
43
43
|
clickHandler(e: any): void;
|
|
44
44
|
constructor(editService: EditService, element: ElementRef, renderer: Renderer, localization: LocalizationService, ngZone: NgZone);
|
|
45
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<SaveCommandDirective, never>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SaveCommandDirective, "[kendoListViewSaveCommand]", never, {}, {}, never, ["*"],
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SaveCommandDirective, "[kendoListViewSaveCommand]", never, {}, {}, never, ["*"], true, never>;
|
|
47
47
|
}
|
|
@@ -20,5 +20,5 @@ export declare class EditTemplateDirective {
|
|
|
20
20
|
templateRef: TemplateRef<any>;
|
|
21
21
|
constructor(templateRef: TemplateRef<any>);
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditTemplateDirective, [{ optional: true; }]>;
|
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<EditTemplateDirective, "[kendoListViewEditTemplate]", never, {}, {}, never, never,
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EditTemplateDirective, "[kendoListViewEditTemplate]", never, {}, {}, never, never, true, never>;
|
|
24
24
|
}
|
|
@@ -52,11 +52,12 @@ export class DataBindingDirective {
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
DataBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DataBindingDirective, deps: [{ token: i1.ListViewComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
55
|
-
DataBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DataBindingDirective, selector: "[kendoListViewBinding]", inputs: { data: ["kendoListViewBinding", "data"] }, ngImport: i0 });
|
|
55
|
+
DataBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DataBindingDirective, isStandalone: true, selector: "[kendoListViewBinding]", inputs: { data: ["kendoListViewBinding", "data"] }, ngImport: i0 });
|
|
56
56
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DataBindingDirective, decorators: [{
|
|
57
57
|
type: Directive,
|
|
58
58
|
args: [{
|
|
59
|
-
selector: '[kendoListViewBinding]'
|
|
59
|
+
selector: '[kendoListViewBinding]',
|
|
60
|
+
standalone: true
|
|
60
61
|
}]
|
|
61
62
|
}], ctorParameters: function () { return [{ type: i1.ListViewComponent }]; }, propDecorators: { data: [{
|
|
62
63
|
type: Input,
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { DataBindingDirective } from "./data-binding/data-binding.directive";
|
|
6
|
+
import { AddCommandDirective } from "./editing/commands/add-command.directive";
|
|
7
|
+
import { CancelCommandDirective } from "./editing/commands/cancel-command.directive";
|
|
8
|
+
import { EditCommandDirective } from "./editing/commands/edit-command.directive";
|
|
9
|
+
import { RemoveCommandDirective } from "./editing/commands/remove-command.directive";
|
|
10
|
+
import { SaveCommandDirective } from "./editing/commands/save-command.directive";
|
|
11
|
+
import { EditTemplateDirective } from "./editing/edit-template.directive";
|
|
12
|
+
import { ListViewComponent } from "./listview.component";
|
|
13
|
+
import { FooterTemplateDirective } from "./templates/footer-template.directive";
|
|
14
|
+
import { HeaderTemplateDirective } from "./templates/header-template.directive";
|
|
15
|
+
import { ItemTemplateDirective } from "./templates/item-template.directive";
|
|
16
|
+
import { LoaderTemplateDirective } from "./templates/loader-template.directive";
|
|
17
|
+
/**
|
|
18
|
+
* Utility array that contains all `@progress/kendo-angular-listview` related components and directives
|
|
19
|
+
*/
|
|
20
|
+
export const KENDO_LISTVIEW = [
|
|
21
|
+
ListViewComponent,
|
|
22
|
+
ItemTemplateDirective,
|
|
23
|
+
HeaderTemplateDirective,
|
|
24
|
+
FooterTemplateDirective,
|
|
25
|
+
LoaderTemplateDirective,
|
|
26
|
+
DataBindingDirective,
|
|
27
|
+
EditTemplateDirective,
|
|
28
|
+
EditCommandDirective,
|
|
29
|
+
CancelCommandDirective,
|
|
30
|
+
SaveCommandDirective,
|
|
31
|
+
RemoveCommandDirective,
|
|
32
|
+
AddCommandDirective
|
|
33
|
+
];
|
|
@@ -6,11 +6,11 @@ import { Component, HostListener, ElementRef, Renderer2 as Renderer, NgZone } fr
|
|
|
6
6
|
import { Button } from '@progress/kendo-angular-buttons';
|
|
7
7
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { EditService } from '../edit.service';
|
|
9
|
+
import { NgIf, NgClass } from '@angular/common';
|
|
10
|
+
import { IconWrapperComponent } from '@progress/kendo-angular-icons';
|
|
9
11
|
import * as i0 from "@angular/core";
|
|
10
12
|
import * as i1 from "../edit.service";
|
|
11
13
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
12
|
-
import * as i3 from "@angular/common";
|
|
13
|
-
import * as i4 from "@progress/kendo-angular-icons";
|
|
14
14
|
/**
|
|
15
15
|
* Represents the command for adding a new item to the ListView. You can apply this directive to any
|
|
16
16
|
* `button` element inside a [`HeaderTemplate`]({% slug api_listview_headertemplatedirective %}).
|
|
@@ -41,7 +41,7 @@ export class AddCommandDirective extends Button {
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
AddCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AddCommandDirective, deps: [{ token: i1.EditService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
44
|
-
AddCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AddCommandDirective, selector: "[kendoListViewAddCommand]", host: { listeners: { "click": "clickHandler($event)" } }, usesInheritance: true, ngImport: i0, template: `
|
|
44
|
+
AddCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AddCommandDirective, isStandalone: true, selector: "[kendoListViewAddCommand]", host: { listeners: { "click": "clickHandler($event)" } }, usesInheritance: true, ngImport: i0, template: `
|
|
45
45
|
<kendo-icon-wrapper
|
|
46
46
|
*ngIf="icon || svgIcon"
|
|
47
47
|
innerCssClass="k-button-icon"
|
|
@@ -52,7 +52,7 @@ AddCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
|
52
52
|
</span>
|
|
53
53
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
54
54
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
55
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
55
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
56
56
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AddCommandDirective, decorators: [{
|
|
57
57
|
type: Component,
|
|
58
58
|
args: [{
|
|
@@ -68,7 +68,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
68
68
|
</span>
|
|
69
69
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
70
70
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
71
|
-
|
|
71
|
+
`,
|
|
72
|
+
standalone: true,
|
|
73
|
+
imports: [NgIf, IconWrapperComponent, NgClass]
|
|
72
74
|
}]
|
|
73
75
|
}], ctorParameters: function () { return [{ type: i1.EditService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i2.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { clickHandler: [{
|
|
74
76
|
type: HostListener,
|
|
@@ -7,11 +7,11 @@ import { Button } from '@progress/kendo-angular-buttons';
|
|
|
7
7
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { EditService } from '../edit.service';
|
|
9
9
|
import { getClosestListItemIndex } from '../../utils';
|
|
10
|
+
import { NgIf, NgClass } from '@angular/common';
|
|
11
|
+
import { IconWrapperComponent } from '@progress/kendo-angular-icons';
|
|
10
12
|
import * as i0 from "@angular/core";
|
|
11
13
|
import * as i1 from "../edit.service";
|
|
12
14
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
13
|
-
import * as i3 from "@angular/common";
|
|
14
|
-
import * as i4 from "@progress/kendo-angular-icons";
|
|
15
15
|
/**
|
|
16
16
|
* Represents the `cancel` command of the ListView. You can apply this directive to any `button`
|
|
17
17
|
* element inside a [`EditTemplateDirective`]({% slug api_listview_edittemplatedirective %}) template.
|
|
@@ -57,7 +57,7 @@ export class CancelCommandDirective extends Button {
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
CancelCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CancelCommandDirective, deps: [{ token: i1.EditService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
60
|
-
CancelCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CancelCommandDirective, selector: "[kendoListViewCancelCommand]", host: { listeners: { "click": "clickHandler($event)" } }, usesInheritance: true, ngImport: i0, template: `
|
|
60
|
+
CancelCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CancelCommandDirective, isStandalone: true, selector: "[kendoListViewCancelCommand]", host: { listeners: { "click": "clickHandler($event)" } }, usesInheritance: true, ngImport: i0, template: `
|
|
61
61
|
<kendo-icon-wrapper
|
|
62
62
|
*ngIf="icon || svgIcon"
|
|
63
63
|
innerCssClass="k-button-icon"
|
|
@@ -68,7 +68,7 @@ CancelCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
68
68
|
</span>
|
|
69
69
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
70
70
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
71
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
71
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
72
72
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CancelCommandDirective, decorators: [{
|
|
73
73
|
type: Component,
|
|
74
74
|
args: [{
|
|
@@ -84,7 +84,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
84
84
|
</span>
|
|
85
85
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
86
86
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
87
|
-
|
|
87
|
+
`,
|
|
88
|
+
standalone: true,
|
|
89
|
+
imports: [NgIf, IconWrapperComponent, NgClass]
|
|
88
90
|
}]
|
|
89
91
|
}], ctorParameters: function () { return [{ type: i1.EditService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i2.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { clickHandler: [{
|
|
90
92
|
type: HostListener,
|
|
@@ -7,11 +7,11 @@ import { Button } from '@progress/kendo-angular-buttons';
|
|
|
7
7
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { EditService } from '../edit.service';
|
|
9
9
|
import { getClosestListItemIndex } from '../../utils';
|
|
10
|
+
import { NgIf, NgClass } from '@angular/common';
|
|
11
|
+
import { IconWrapperComponent } from '@progress/kendo-angular-icons';
|
|
10
12
|
import * as i0 from "@angular/core";
|
|
11
13
|
import * as i1 from "../edit.service";
|
|
12
14
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
13
|
-
import * as i3 from "@angular/common";
|
|
14
|
-
import * as i4 from "@progress/kendo-angular-icons";
|
|
15
15
|
/**
|
|
16
16
|
* Represents the `edit` command of the ListView. You can apply this directive to any `button`
|
|
17
17
|
* element inside a [`EditTemplateDirective`]({% slug api_listview_edittemplatedirective %}) template.
|
|
@@ -45,7 +45,7 @@ export class EditCommandDirective extends Button {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
EditCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditCommandDirective, deps: [{ token: i1.EditService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
48
|
-
EditCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: EditCommandDirective, selector: "[kendoListViewEditCommand]", host: { listeners: { "click": "clickHandler($event)" } }, usesInheritance: true, ngImport: i0, template: `
|
|
48
|
+
EditCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: EditCommandDirective, isStandalone: true, selector: "[kendoListViewEditCommand]", host: { listeners: { "click": "clickHandler($event)" } }, usesInheritance: true, ngImport: i0, template: `
|
|
49
49
|
<kendo-icon-wrapper
|
|
50
50
|
*ngIf="icon || svgIcon"
|
|
51
51
|
innerCssClass="k-button-icon"
|
|
@@ -56,7 +56,7 @@ EditCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
|
56
56
|
</span>
|
|
57
57
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
58
58
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
59
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
59
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
60
60
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditCommandDirective, decorators: [{
|
|
61
61
|
type: Component,
|
|
62
62
|
args: [{
|
|
@@ -72,7 +72,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
72
72
|
</span>
|
|
73
73
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
74
74
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
75
|
-
|
|
75
|
+
`,
|
|
76
|
+
standalone: true,
|
|
77
|
+
imports: [NgIf, IconWrapperComponent, NgClass]
|
|
76
78
|
}]
|
|
77
79
|
}], ctorParameters: function () { return [{ type: i1.EditService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i2.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { clickHandler: [{
|
|
78
80
|
type: HostListener,
|
|
@@ -7,11 +7,11 @@ import { Button } from '@progress/kendo-angular-buttons';
|
|
|
7
7
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { EditService } from '../edit.service';
|
|
9
9
|
import { getClosestListItemIndex } from '../../utils';
|
|
10
|
+
import { NgIf, NgClass } from '@angular/common';
|
|
11
|
+
import { IconWrapperComponent } from '@progress/kendo-angular-icons';
|
|
10
12
|
import * as i0 from "@angular/core";
|
|
11
13
|
import * as i1 from "../edit.service";
|
|
12
14
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
13
|
-
import * as i3 from "@angular/common";
|
|
14
|
-
import * as i4 from "@progress/kendo-angular-icons";
|
|
15
15
|
/**
|
|
16
16
|
* Represents the `remove` command of the ListView. You can apply this directive to any `button` element
|
|
17
17
|
* inside a [`EditTemplateDirective`]({% slug api_listview_edittemplatedirective %}) template.
|
|
@@ -44,7 +44,7 @@ export class RemoveCommandDirective extends Button {
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
RemoveCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RemoveCommandDirective, deps: [{ token: i1.EditService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
47
|
-
RemoveCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RemoveCommandDirective, selector: "[kendoListViewRemoveCommand]", host: { listeners: { "click": "clickHandler($event)" } }, usesInheritance: true, ngImport: i0, template: `
|
|
47
|
+
RemoveCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RemoveCommandDirective, isStandalone: true, selector: "[kendoListViewRemoveCommand]", host: { listeners: { "click": "clickHandler($event)" } }, usesInheritance: true, ngImport: i0, template: `
|
|
48
48
|
<kendo-icon-wrapper
|
|
49
49
|
*ngIf="icon || svgIcon"
|
|
50
50
|
innerCssClass="k-button-icon"
|
|
@@ -55,7 +55,7 @@ RemoveCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
55
55
|
</span>
|
|
56
56
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
57
57
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
58
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
58
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
59
59
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RemoveCommandDirective, decorators: [{
|
|
60
60
|
type: Component,
|
|
61
61
|
args: [{
|
|
@@ -71,7 +71,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
71
71
|
</span>
|
|
72
72
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
73
73
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
74
|
-
|
|
74
|
+
`,
|
|
75
|
+
standalone: true,
|
|
76
|
+
imports: [NgIf, IconWrapperComponent, NgClass]
|
|
75
77
|
}]
|
|
76
78
|
}], ctorParameters: function () { return [{ type: i1.EditService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i2.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { clickHandler: [{
|
|
77
79
|
type: HostListener,
|
|
@@ -7,11 +7,11 @@ import { Button } from '@progress/kendo-angular-buttons';
|
|
|
7
7
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { EditService } from '../edit.service';
|
|
9
9
|
import { getClosestListItemIndex } from '../../utils';
|
|
10
|
+
import { NgIf, NgClass } from '@angular/common';
|
|
11
|
+
import { IconWrapperComponent } from '@progress/kendo-angular-icons';
|
|
10
12
|
import * as i0 from "@angular/core";
|
|
11
13
|
import * as i1 from "../edit.service";
|
|
12
14
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
13
|
-
import * as i3 from "@angular/common";
|
|
14
|
-
import * as i4 from "@progress/kendo-angular-icons";
|
|
15
15
|
/**
|
|
16
16
|
* Represents the `save` command of the ListView. You can apply this directive to any `button`
|
|
17
17
|
* element inside a [`EditTemplateDirective`]({% slug api_listview_edittemplatedirective %}) template.
|
|
@@ -57,7 +57,7 @@ export class SaveCommandDirective extends Button {
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
SaveCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SaveCommandDirective, deps: [{ token: i1.EditService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
60
|
-
SaveCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SaveCommandDirective, selector: "[kendoListViewSaveCommand]", host: { listeners: { "click": "clickHandler($event)" } }, usesInheritance: true, ngImport: i0, template: `
|
|
60
|
+
SaveCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SaveCommandDirective, isStandalone: true, selector: "[kendoListViewSaveCommand]", host: { listeners: { "click": "clickHandler($event)" } }, usesInheritance: true, ngImport: i0, template: `
|
|
61
61
|
<kendo-icon-wrapper
|
|
62
62
|
*ngIf="icon || svgIcon"
|
|
63
63
|
innerCssClass="k-button-icon"
|
|
@@ -68,7 +68,7 @@ SaveCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
|
68
68
|
</span>
|
|
69
69
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
70
70
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
71
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
71
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
72
72
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SaveCommandDirective, decorators: [{
|
|
73
73
|
type: Component,
|
|
74
74
|
args: [{
|
|
@@ -84,7 +84,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
84
84
|
</span>
|
|
85
85
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
86
86
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
87
|
-
|
|
87
|
+
`,
|
|
88
|
+
standalone: true,
|
|
89
|
+
imports: [NgIf, IconWrapperComponent, NgClass]
|
|
88
90
|
}]
|
|
89
91
|
}], ctorParameters: function () { return [{ type: i1.EditService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i2.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { clickHandler: [{
|
|
90
92
|
type: HostListener,
|
|
@@ -22,11 +22,12 @@ export class EditTemplateDirective {
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
EditTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
25
|
-
EditTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditTemplateDirective, selector: "[kendoListViewEditTemplate]", ngImport: i0 });
|
|
25
|
+
EditTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditTemplateDirective, isStandalone: true, selector: "[kendoListViewEditTemplate]", ngImport: i0 });
|
|
26
26
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditTemplateDirective, decorators: [{
|
|
27
27
|
type: Directive,
|
|
28
28
|
args: [{
|
|
29
|
-
selector: '[kendoListViewEditTemplate]'
|
|
29
|
+
selector: '[kendoListViewEditTemplate]',
|
|
30
|
+
standalone: true
|
|
30
31
|
}]
|
|
31
32
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
|
|
32
33
|
type: Optional
|
package/esm2020/index.mjs
CHANGED
|
@@ -16,3 +16,4 @@ export { SaveCommandDirective } from './editing/commands/save-command.directive'
|
|
|
16
16
|
export { CancelCommandDirective } from './editing/commands/cancel-command.directive';
|
|
17
17
|
export { RemoveCommandDirective } from './editing/commands/remove-command.directive';
|
|
18
18
|
export { ListViewModule } from './listview.module';
|
|
19
|
+
export * from './directives';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, HostBinding, Input, Output, ContentChild, ChangeDetectionStrategy, EventEmitter, NgZone, Renderer2, ElementRef, ViewChild, ViewChildren, QueryList, ChangeDetectorRef } from '@angular/core';
|
|
6
|
-
import { hasObservers, isChanged } from '@progress/kendo-angular-common';
|
|
6
|
+
import { EventsOutsideAngularDirective, hasObservers, isChanged } from '@progress/kendo-angular-common';
|
|
7
7
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
8
8
|
import { packageMetadata } from './package-metadata';
|
|
9
9
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
@@ -17,13 +17,11 @@ import { EditTemplateDirective } from './editing/edit-template.directive';
|
|
|
17
17
|
import { EditService } from './editing/edit.service';
|
|
18
18
|
import { isPresent } from './utils';
|
|
19
19
|
import { FormGroup, FormControl } from '@angular/forms';
|
|
20
|
+
import { NgIf, NgTemplateOutlet, NgClass, NgStyle, NgFor } from '@angular/common';
|
|
21
|
+
import { PagerComponent } from '@progress/kendo-angular-pager';
|
|
20
22
|
import * as i0 from "@angular/core";
|
|
21
23
|
import * as i1 from "./editing/edit.service";
|
|
22
24
|
import * as i2 from "./navigation/navigation.service";
|
|
23
|
-
import * as i3 from "@angular/common";
|
|
24
|
-
import * as i4 from "@progress/kendo-angular-pager";
|
|
25
|
-
import * as i5 from "@progress/kendo-angular-common";
|
|
26
|
-
import * as i6 from "./navigation/listview-navigable-item.directive";
|
|
27
25
|
const DEFAULT_PAGER_SETTINGS = {
|
|
28
26
|
position: 'bottom',
|
|
29
27
|
buttonCount: 5,
|
|
@@ -372,7 +370,7 @@ export class ListViewComponent {
|
|
|
372
370
|
}
|
|
373
371
|
}
|
|
374
372
|
ListViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ListViewComponent, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i1.EditService }, { token: i2.NavigationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
375
|
-
ListViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ListViewComponent, selector: "kendo-listview", inputs: { bordered: "bordered", 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-d-flex": "this.className", "class.k-listview-bordered": "this.bordered" } }, providers: [
|
|
373
|
+
ListViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ListViewComponent, isStandalone: true, selector: "kendo-listview", inputs: { bordered: "bordered", 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-d-flex": "this.className", "class.k-listview-bordered": "this.bordered" } }, providers: [
|
|
376
374
|
EditService,
|
|
377
375
|
NavigationService,
|
|
378
376
|
LocalizationService,
|
|
@@ -507,7 +505,7 @@ ListViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
507
505
|
>
|
|
508
506
|
</kendo-datapager>
|
|
509
507
|
</ng-template>
|
|
510
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
508
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "directive", type: ListViewNavigableItemDirective, selector: "[kendoListViewNavigableItem]", inputs: ["index"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: PagerComponent, selector: "kendo-datapager", inputs: ["total", "skip", "pageSize", "buttonCount", "info", "type", "pageSizeValues", "previousNext", "navigable", "size"], outputs: ["pageChange", "pageSizeChange"], exportAs: ["kendoDataPager"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
511
509
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ListViewComponent, decorators: [{
|
|
512
510
|
type: Component,
|
|
513
511
|
args: [{
|
|
@@ -650,7 +648,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
650
648
|
>
|
|
651
649
|
</kendo-datapager>
|
|
652
650
|
</ng-template>
|
|
653
|
-
|
|
651
|
+
`,
|
|
652
|
+
standalone: true,
|
|
653
|
+
imports: [NgIf, NgTemplateOutlet, NgClass, NgStyle, EventsOutsideAngularDirective, ListViewNavigableItemDirective, NgFor, PagerComponent]
|
|
654
654
|
}]
|
|
655
655
|
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i1.EditService }, { type: i2.NavigationService }]; }, propDecorators: { className: [{
|
|
656
656
|
type: HostBinding,
|
|
@@ -3,42 +3,24 @@
|
|
|
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';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { ListViewNavigableItemDirective } from './navigation/listview-navigable-item.directive';
|
|
11
|
-
import { ItemTemplateDirective } from './templates/item-template.directive';
|
|
12
|
-
import { HeaderTemplateDirective } from './templates/header-template.directive';
|
|
13
|
-
import { FooterTemplateDirective } from './templates/footer-template.directive';
|
|
14
|
-
import { TemplateContextDirective } from './templates/template-context.directive';
|
|
15
|
-
import { LoaderTemplateDirective } from './templates/loader-template.directive';
|
|
16
|
-
import { DataBindingDirective } from './data-binding/data-binding.directive';
|
|
17
|
-
import { EditTemplateDirective } from './editing/edit-template.directive';
|
|
18
|
-
import { EditCommandDirective } from './editing/commands/edit-command.directive';
|
|
19
|
-
import { CancelCommandDirective } from './editing/commands/cancel-command.directive';
|
|
20
|
-
import { SaveCommandDirective } from './editing/commands/save-command.directive';
|
|
21
|
-
import { RemoveCommandDirective } from './editing/commands/remove-command.directive';
|
|
22
|
-
import { AddCommandDirective } from './editing/commands/add-command.directive';
|
|
23
|
-
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
6
|
+
import { KENDO_LISTVIEW } from './directives';
|
|
7
|
+
import { IconsService } from '@progress/kendo-angular-icons';
|
|
8
|
+
import { PopupService } from '@progress/kendo-angular-popup';
|
|
9
|
+
import { ResizeBatchService } from '@progress/kendo-angular-common';
|
|
24
10
|
import * as i0 from "@angular/core";
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
SaveCommandDirective,
|
|
39
|
-
RemoveCommandDirective,
|
|
40
|
-
AddCommandDirective
|
|
41
|
-
];
|
|
11
|
+
import * as i1 from "./listview.component";
|
|
12
|
+
import * as i2 from "./templates/item-template.directive";
|
|
13
|
+
import * as i3 from "./templates/header-template.directive";
|
|
14
|
+
import * as i4 from "./templates/footer-template.directive";
|
|
15
|
+
import * as i5 from "./templates/loader-template.directive";
|
|
16
|
+
import * as i6 from "./data-binding/data-binding.directive";
|
|
17
|
+
import * as i7 from "./editing/edit-template.directive";
|
|
18
|
+
import * as i8 from "./editing/commands/edit-command.directive";
|
|
19
|
+
import * as i9 from "./editing/commands/cancel-command.directive";
|
|
20
|
+
import * as i10 from "./editing/commands/save-command.directive";
|
|
21
|
+
import * as i11 from "./editing/commands/remove-command.directive";
|
|
22
|
+
import * as i12 from "./editing/commands/add-command.directive";
|
|
23
|
+
//IMPORTANT: NgModule export kept for backwards compatibility
|
|
42
24
|
/**
|
|
43
25
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
44
26
|
* definition for the ListView component.
|
|
@@ -62,59 +44,21 @@ const EDITING_DIRECTIVES = [
|
|
|
62
44
|
export class ListViewModule {
|
|
63
45
|
}
|
|
64
46
|
ListViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ListViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
65
|
-
ListViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ListViewModule,
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
SaveCommandDirective,
|
|
72
|
-
RemoveCommandDirective,
|
|
73
|
-
AddCommandDirective, ListViewComponent,
|
|
74
|
-
TemplateContextDirective,
|
|
75
|
-
ListViewNavigableItemDirective], imports: [CommonModule,
|
|
76
|
-
PagerModule,
|
|
77
|
-
EventsModule,
|
|
78
|
-
IconsModule], exports: [ItemTemplateDirective,
|
|
79
|
-
HeaderTemplateDirective,
|
|
80
|
-
FooterTemplateDirective,
|
|
81
|
-
LoaderTemplateDirective, DataBindingDirective, EditTemplateDirective,
|
|
82
|
-
EditCommandDirective,
|
|
83
|
-
CancelCommandDirective,
|
|
84
|
-
SaveCommandDirective,
|
|
85
|
-
RemoveCommandDirective,
|
|
86
|
-
AddCommandDirective, ListViewComponent,
|
|
87
|
-
CommonModule,
|
|
88
|
-
EventsModule] });
|
|
89
|
-
ListViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ListViewModule, imports: [CommonModule,
|
|
90
|
-
PagerModule,
|
|
91
|
-
EventsModule,
|
|
92
|
-
IconsModule, CommonModule,
|
|
93
|
-
EventsModule] });
|
|
47
|
+
ListViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ListViewModule, imports: [i1.ListViewComponent, i2.ItemTemplateDirective, i3.HeaderTemplateDirective, i4.FooterTemplateDirective, i5.LoaderTemplateDirective, i6.DataBindingDirective, i7.EditTemplateDirective, i8.EditCommandDirective, i9.CancelCommandDirective, i10.SaveCommandDirective, i11.RemoveCommandDirective, i12.AddCommandDirective], exports: [i1.ListViewComponent, i2.ItemTemplateDirective, i3.HeaderTemplateDirective, i4.FooterTemplateDirective, i5.LoaderTemplateDirective, i6.DataBindingDirective, i7.EditTemplateDirective, i8.EditCommandDirective, i9.CancelCommandDirective, i10.SaveCommandDirective, i11.RemoveCommandDirective, i12.AddCommandDirective] });
|
|
48
|
+
ListViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ListViewModule, providers: [
|
|
49
|
+
IconsService,
|
|
50
|
+
PopupService,
|
|
51
|
+
ResizeBatchService
|
|
52
|
+
], imports: [i1.ListViewComponent, i8.EditCommandDirective, i9.CancelCommandDirective, i10.SaveCommandDirective, i11.RemoveCommandDirective, i12.AddCommandDirective] });
|
|
94
53
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ListViewModule, decorators: [{
|
|
95
54
|
type: NgModule,
|
|
96
55
|
args: [{
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
ListViewNavigableItemDirective
|
|
104
|
-
],
|
|
105
|
-
exports: [
|
|
106
|
-
TEMPLATE_DIRECTIVES,
|
|
107
|
-
BINDING_DIRECTIVES,
|
|
108
|
-
EDITING_DIRECTIVES,
|
|
109
|
-
ListViewComponent,
|
|
110
|
-
CommonModule,
|
|
111
|
-
EventsModule
|
|
112
|
-
],
|
|
113
|
-
imports: [
|
|
114
|
-
CommonModule,
|
|
115
|
-
PagerModule,
|
|
116
|
-
EventsModule,
|
|
117
|
-
IconsModule
|
|
56
|
+
imports: [...KENDO_LISTVIEW],
|
|
57
|
+
exports: [...KENDO_LISTVIEW],
|
|
58
|
+
providers: [
|
|
59
|
+
IconsService,
|
|
60
|
+
PopupService,
|
|
61
|
+
ResizeBatchService
|
|
118
62
|
]
|
|
119
63
|
}]
|
|
120
64
|
}] });
|
|
@@ -56,11 +56,12 @@ export class ListViewNavigableItemDirective {
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
ListViewNavigableItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ListViewNavigableItemDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.NavigationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
59
|
-
ListViewNavigableItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ListViewNavigableItemDirective, selector: "[kendoListViewNavigableItem]", inputs: { index: "index" }, usesOnChanges: true, ngImport: i0 });
|
|
59
|
+
ListViewNavigableItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ListViewNavigableItemDirective, isStandalone: true, selector: "[kendoListViewNavigableItem]", inputs: { index: "index" }, usesOnChanges: true, ngImport: i0 });
|
|
60
60
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ListViewNavigableItemDirective, decorators: [{
|
|
61
61
|
type: Directive,
|
|
62
62
|
args: [{
|
|
63
|
-
selector: '[kendoListViewNavigableItem]'
|
|
63
|
+
selector: '[kendoListViewNavigableItem]',
|
|
64
|
+
standalone: true
|
|
64
65
|
}]
|
|
65
66
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.NavigationService }]; }, propDecorators: { index: [{
|
|
66
67
|
type: Input
|
|
@@ -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:
|
|
13
|
-
version: '16.
|
|
12
|
+
publishDate: 1721827833,
|
|
13
|
+
version: '16.6.0-develop.1',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|