@progress/kendo-angular-listview 16.5.0 → 16.6.0-develop.10
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/NOTICE.txt +12 -19
- 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
|
@@ -19,5 +19,5 @@ export declare class ItemTemplateDirective {
|
|
|
19
19
|
templateRef: TemplateRef<any>;
|
|
20
20
|
constructor(templateRef: TemplateRef<any>);
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<ItemTemplateDirective, never>;
|
|
22
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ItemTemplateDirective, "[kendoListViewItemTemplate]", never, {}, {}, never, never,
|
|
22
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ItemTemplateDirective, "[kendoListViewItemTemplate]", never, {}, {}, never, never, true, never>;
|
|
23
23
|
}
|
|
@@ -13,5 +13,5 @@ export declare class LoaderTemplateDirective {
|
|
|
13
13
|
templateRef: TemplateRef<any>;
|
|
14
14
|
constructor(templateRef: TemplateRef<any>);
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderTemplateDirective, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LoaderTemplateDirective, "[kendoListViewLoaderTemplate]", never, {}, {}, never, never,
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LoaderTemplateDirective, "[kendoListViewLoaderTemplate]", never, {}, {}, never, never, true, never>;
|
|
17
17
|
}
|
|
@@ -1,33 +0,0 @@
|
|
|
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 { Directive, ViewContainerRef, Input } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export class TemplateContextDirective {
|
|
11
|
-
constructor(viewContainerRef) {
|
|
12
|
-
this.viewContainerRef = viewContainerRef;
|
|
13
|
-
}
|
|
14
|
-
set templateContext(context) {
|
|
15
|
-
if (this.insertedViewRef) {
|
|
16
|
-
this.viewContainerRef.remove(this.viewContainerRef.indexOf(this.insertedViewRef));
|
|
17
|
-
this.insertedViewRef = undefined;
|
|
18
|
-
}
|
|
19
|
-
if (context.templateRef) {
|
|
20
|
-
this.insertedViewRef = this.viewContainerRef.createEmbeddedView(context.templateRef, context);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
TemplateContextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TemplateContextDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
25
|
-
TemplateContextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TemplateContextDirective, selector: "[templateContext]", inputs: { templateContext: "templateContext" }, ngImport: i0 });
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TemplateContextDirective, decorators: [{
|
|
27
|
-
type: Directive,
|
|
28
|
-
args: [{
|
|
29
|
-
selector: '[templateContext]' // eslint-disable-line
|
|
30
|
-
}]
|
|
31
|
-
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { templateContext: [{
|
|
32
|
-
type: Input
|
|
33
|
-
}] } });
|
|
@@ -1,17 +0,0 @@
|
|
|
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 { ViewContainerRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare class TemplateContextDirective {
|
|
11
|
-
private viewContainerRef;
|
|
12
|
-
private insertedViewRef;
|
|
13
|
-
set templateContext(context: any);
|
|
14
|
-
constructor(viewContainerRef: ViewContainerRef);
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateContextDirective, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TemplateContextDirective, "[templateContext]", never, { "templateContext": "templateContext"; }, {}, never, never, false, never>;
|
|
17
|
-
}
|