@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
|
@@ -4,21 +4,18 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
6
|
import { Injectable, Directive, Input, Optional, EventEmitter, Component, ChangeDetectionStrategy, HostBinding, ContentChild, ViewChild, ViewChildren, Output, HostListener, NgModule } from '@angular/core';
|
|
7
|
-
import
|
|
8
|
-
import { isDocumentAvailable, Keys, isChanged, hasObservers, EventsModule } from '@progress/kendo-angular-common';
|
|
7
|
+
import { isDocumentAvailable, Keys, isChanged, hasObservers, EventsOutsideAngularDirective, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
9
8
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
10
9
|
import * as i2 from '@progress/kendo-angular-l10n';
|
|
11
10
|
import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
12
11
|
import { Subject, Subscription } from 'rxjs';
|
|
13
12
|
import { FormGroup, FormControl } from '@angular/forms';
|
|
14
13
|
import { switchMap, take } from 'rxjs/operators';
|
|
15
|
-
import
|
|
16
|
-
import {
|
|
17
|
-
import * as i4 from '@progress/kendo-angular-pager';
|
|
18
|
-
import { PageSizeChangeEvent as PageSizeChangeEvent$1, PagerModule } from '@progress/kendo-angular-pager';
|
|
14
|
+
import { NgIf, NgTemplateOutlet, NgClass, NgStyle, NgFor } from '@angular/common';
|
|
15
|
+
import { PagerComponent, PageSizeChangeEvent as PageSizeChangeEvent$1 } from '@progress/kendo-angular-pager';
|
|
19
16
|
import { Button } from '@progress/kendo-angular-buttons';
|
|
20
|
-
import
|
|
21
|
-
import {
|
|
17
|
+
import { IconWrapperComponent, IconsService } from '@progress/kendo-angular-icons';
|
|
18
|
+
import { PopupService } from '@progress/kendo-angular-popup';
|
|
22
19
|
|
|
23
20
|
/**
|
|
24
21
|
* @hidden
|
|
@@ -27,8 +24,8 @@ const packageMetadata = {
|
|
|
27
24
|
name: '@progress/kendo-angular-listview',
|
|
28
25
|
productName: 'Kendo UI for Angular',
|
|
29
26
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
30
|
-
publishDate:
|
|
31
|
-
version: '16.
|
|
27
|
+
publishDate: 1721827833,
|
|
28
|
+
version: '16.6.0-develop.1',
|
|
32
29
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
33
30
|
};
|
|
34
31
|
|
|
@@ -332,11 +329,12 @@ class ListViewNavigableItemDirective {
|
|
|
332
329
|
}
|
|
333
330
|
}
|
|
334
331
|
ListViewNavigableItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ListViewNavigableItemDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: NavigationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
335
|
-
ListViewNavigableItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ListViewNavigableItemDirective, selector: "[kendoListViewNavigableItem]", inputs: { index: "index" }, usesOnChanges: true, ngImport: i0 });
|
|
332
|
+
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 });
|
|
336
333
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ListViewNavigableItemDirective, decorators: [{
|
|
337
334
|
type: Directive,
|
|
338
335
|
args: [{
|
|
339
|
-
selector: '[kendoListViewNavigableItem]'
|
|
336
|
+
selector: '[kendoListViewNavigableItem]',
|
|
337
|
+
standalone: true
|
|
340
338
|
}]
|
|
341
339
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: NavigationService }]; }, propDecorators: { index: [{
|
|
342
340
|
type: Input
|
|
@@ -359,11 +357,12 @@ class ItemTemplateDirective {
|
|
|
359
357
|
}
|
|
360
358
|
}
|
|
361
359
|
ItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
362
|
-
ItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ItemTemplateDirective, selector: "[kendoListViewItemTemplate]", ngImport: i0 });
|
|
360
|
+
ItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ItemTemplateDirective, isStandalone: true, selector: "[kendoListViewItemTemplate]", ngImport: i0 });
|
|
363
361
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ItemTemplateDirective, decorators: [{
|
|
364
362
|
type: Directive,
|
|
365
363
|
args: [{
|
|
366
|
-
selector: '[kendoListViewItemTemplate]'
|
|
364
|
+
selector: '[kendoListViewItemTemplate]',
|
|
365
|
+
standalone: true
|
|
367
366
|
}]
|
|
368
367
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
369
368
|
|
|
@@ -378,11 +377,12 @@ class HeaderTemplateDirective {
|
|
|
378
377
|
}
|
|
379
378
|
}
|
|
380
379
|
HeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeaderTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
381
|
-
HeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: HeaderTemplateDirective, selector: "[kendoListViewHeaderTemplate]", ngImport: i0 });
|
|
380
|
+
HeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: HeaderTemplateDirective, isStandalone: true, selector: "[kendoListViewHeaderTemplate]", ngImport: i0 });
|
|
382
381
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeaderTemplateDirective, decorators: [{
|
|
383
382
|
type: Directive,
|
|
384
383
|
args: [{
|
|
385
|
-
selector: '[kendoListViewHeaderTemplate]'
|
|
384
|
+
selector: '[kendoListViewHeaderTemplate]',
|
|
385
|
+
standalone: true
|
|
386
386
|
}]
|
|
387
387
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
388
388
|
|
|
@@ -397,11 +397,12 @@ class FooterTemplateDirective {
|
|
|
397
397
|
}
|
|
398
398
|
}
|
|
399
399
|
FooterTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FooterTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
400
|
-
FooterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FooterTemplateDirective, selector: "[kendoListViewFooterTemplate]", ngImport: i0 });
|
|
400
|
+
FooterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FooterTemplateDirective, isStandalone: true, selector: "[kendoListViewFooterTemplate]", ngImport: i0 });
|
|
401
401
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FooterTemplateDirective, decorators: [{
|
|
402
402
|
type: Directive,
|
|
403
403
|
args: [{
|
|
404
|
-
selector: '[kendoListViewFooterTemplate]'
|
|
404
|
+
selector: '[kendoListViewFooterTemplate]',
|
|
405
|
+
standalone: true
|
|
405
406
|
}]
|
|
406
407
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
407
408
|
|
|
@@ -416,11 +417,12 @@ class LoaderTemplateDirective {
|
|
|
416
417
|
}
|
|
417
418
|
}
|
|
418
419
|
LoaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LoaderTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
419
|
-
LoaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LoaderTemplateDirective, selector: "[kendoListViewLoaderTemplate]", ngImport: i0 });
|
|
420
|
+
LoaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LoaderTemplateDirective, isStandalone: true, selector: "[kendoListViewLoaderTemplate]", ngImport: i0 });
|
|
420
421
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LoaderTemplateDirective, decorators: [{
|
|
421
422
|
type: Directive,
|
|
422
423
|
args: [{
|
|
423
|
-
selector: '[kendoListViewLoaderTemplate]'
|
|
424
|
+
selector: '[kendoListViewLoaderTemplate]',
|
|
425
|
+
standalone: true
|
|
424
426
|
}]
|
|
425
427
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
426
428
|
|
|
@@ -442,11 +444,12 @@ class EditTemplateDirective {
|
|
|
442
444
|
}
|
|
443
445
|
}
|
|
444
446
|
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 });
|
|
445
|
-
EditTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditTemplateDirective, selector: "[kendoListViewEditTemplate]", ngImport: i0 });
|
|
447
|
+
EditTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditTemplateDirective, isStandalone: true, selector: "[kendoListViewEditTemplate]", ngImport: i0 });
|
|
446
448
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditTemplateDirective, decorators: [{
|
|
447
449
|
type: Directive,
|
|
448
450
|
args: [{
|
|
449
|
-
selector: '[kendoListViewEditTemplate]'
|
|
451
|
+
selector: '[kendoListViewEditTemplate]',
|
|
452
|
+
standalone: true
|
|
450
453
|
}]
|
|
451
454
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
|
|
452
455
|
type: Optional
|
|
@@ -907,7 +910,7 @@ class ListViewComponent {
|
|
|
907
910
|
}
|
|
908
911
|
}
|
|
909
912
|
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: EditService }, { token: NavigationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
910
|
-
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: [
|
|
913
|
+
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: [
|
|
911
914
|
EditService,
|
|
912
915
|
NavigationService,
|
|
913
916
|
LocalizationService,
|
|
@@ -1042,7 +1045,7 @@ ListViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
1042
1045
|
>
|
|
1043
1046
|
</kendo-datapager>
|
|
1044
1047
|
</ng-template>
|
|
1045
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
1048
|
+
`, 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 });
|
|
1046
1049
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ListViewComponent, decorators: [{
|
|
1047
1050
|
type: Component,
|
|
1048
1051
|
args: [{
|
|
@@ -1185,7 +1188,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1185
1188
|
>
|
|
1186
1189
|
</kendo-datapager>
|
|
1187
1190
|
</ng-template>
|
|
1188
|
-
|
|
1191
|
+
`,
|
|
1192
|
+
standalone: true,
|
|
1193
|
+
imports: [NgIf, NgTemplateOutlet, NgClass, NgStyle, EventsOutsideAngularDirective, ListViewNavigableItemDirective, NgFor, PagerComponent]
|
|
1189
1194
|
}]
|
|
1190
1195
|
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: EditService }, { type: NavigationService }]; }, propDecorators: { className: [{
|
|
1191
1196
|
type: HostBinding,
|
|
@@ -1310,11 +1315,12 @@ class DataBindingDirective {
|
|
|
1310
1315
|
}
|
|
1311
1316
|
}
|
|
1312
1317
|
DataBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DataBindingDirective, deps: [{ token: ListViewComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1313
|
-
DataBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DataBindingDirective, selector: "[kendoListViewBinding]", inputs: { data: ["kendoListViewBinding", "data"] }, ngImport: i0 });
|
|
1318
|
+
DataBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DataBindingDirective, isStandalone: true, selector: "[kendoListViewBinding]", inputs: { data: ["kendoListViewBinding", "data"] }, ngImport: i0 });
|
|
1314
1319
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DataBindingDirective, decorators: [{
|
|
1315
1320
|
type: Directive,
|
|
1316
1321
|
args: [{
|
|
1317
|
-
selector: '[kendoListViewBinding]'
|
|
1322
|
+
selector: '[kendoListViewBinding]',
|
|
1323
|
+
standalone: true
|
|
1318
1324
|
}]
|
|
1319
1325
|
}], ctorParameters: function () { return [{ type: ListViewComponent }]; }, propDecorators: { data: [{
|
|
1320
1326
|
type: Input,
|
|
@@ -1361,7 +1367,7 @@ class EditCommandDirective extends Button {
|
|
|
1361
1367
|
}
|
|
1362
1368
|
}
|
|
1363
1369
|
EditCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditCommandDirective, deps: [{ token: EditService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1364
|
-
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: `
|
|
1370
|
+
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: `
|
|
1365
1371
|
<kendo-icon-wrapper
|
|
1366
1372
|
*ngIf="icon || svgIcon"
|
|
1367
1373
|
innerCssClass="k-button-icon"
|
|
@@ -1372,7 +1378,7 @@ EditCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
|
1372
1378
|
</span>
|
|
1373
1379
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
1374
1380
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
1375
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
1381
|
+
`, 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"] }] });
|
|
1376
1382
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditCommandDirective, decorators: [{
|
|
1377
1383
|
type: Component,
|
|
1378
1384
|
args: [{
|
|
@@ -1388,7 +1394,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1388
1394
|
</span>
|
|
1389
1395
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
1390
1396
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
1391
|
-
|
|
1397
|
+
`,
|
|
1398
|
+
standalone: true,
|
|
1399
|
+
imports: [NgIf, IconWrapperComponent, NgClass]
|
|
1392
1400
|
}]
|
|
1393
1401
|
}], ctorParameters: function () { return [{ type: EditService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i2.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { clickHandler: [{
|
|
1394
1402
|
type: HostListener,
|
|
@@ -1425,7 +1433,7 @@ class AddCommandDirective extends Button {
|
|
|
1425
1433
|
}
|
|
1426
1434
|
}
|
|
1427
1435
|
AddCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AddCommandDirective, deps: [{ token: EditService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1428
|
-
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: `
|
|
1436
|
+
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: `
|
|
1429
1437
|
<kendo-icon-wrapper
|
|
1430
1438
|
*ngIf="icon || svgIcon"
|
|
1431
1439
|
innerCssClass="k-button-icon"
|
|
@@ -1436,7 +1444,7 @@ AddCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
|
1436
1444
|
</span>
|
|
1437
1445
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
1438
1446
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
1439
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
1447
|
+
`, 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"] }] });
|
|
1440
1448
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AddCommandDirective, decorators: [{
|
|
1441
1449
|
type: Component,
|
|
1442
1450
|
args: [{
|
|
@@ -1452,7 +1460,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1452
1460
|
</span>
|
|
1453
1461
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
1454
1462
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
1455
|
-
|
|
1463
|
+
`,
|
|
1464
|
+
standalone: true,
|
|
1465
|
+
imports: [NgIf, IconWrapperComponent, NgClass]
|
|
1456
1466
|
}]
|
|
1457
1467
|
}], ctorParameters: function () { return [{ type: EditService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i2.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { clickHandler: [{
|
|
1458
1468
|
type: HostListener,
|
|
@@ -1504,7 +1514,7 @@ class SaveCommandDirective extends Button {
|
|
|
1504
1514
|
}
|
|
1505
1515
|
}
|
|
1506
1516
|
SaveCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SaveCommandDirective, deps: [{ token: EditService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1507
|
-
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: `
|
|
1517
|
+
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: `
|
|
1508
1518
|
<kendo-icon-wrapper
|
|
1509
1519
|
*ngIf="icon || svgIcon"
|
|
1510
1520
|
innerCssClass="k-button-icon"
|
|
@@ -1515,7 +1525,7 @@ SaveCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
|
1515
1525
|
</span>
|
|
1516
1526
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
1517
1527
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
1518
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
1528
|
+
`, 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"] }] });
|
|
1519
1529
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SaveCommandDirective, decorators: [{
|
|
1520
1530
|
type: Component,
|
|
1521
1531
|
args: [{
|
|
@@ -1531,7 +1541,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1531
1541
|
</span>
|
|
1532
1542
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
1533
1543
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
1534
|
-
|
|
1544
|
+
`,
|
|
1545
|
+
standalone: true,
|
|
1546
|
+
imports: [NgIf, IconWrapperComponent, NgClass]
|
|
1535
1547
|
}]
|
|
1536
1548
|
}], ctorParameters: function () { return [{ type: EditService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i2.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { clickHandler: [{
|
|
1537
1549
|
type: HostListener,
|
|
@@ -1583,7 +1595,7 @@ class CancelCommandDirective extends Button {
|
|
|
1583
1595
|
}
|
|
1584
1596
|
}
|
|
1585
1597
|
CancelCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CancelCommandDirective, deps: [{ token: EditService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1586
|
-
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: `
|
|
1598
|
+
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: `
|
|
1587
1599
|
<kendo-icon-wrapper
|
|
1588
1600
|
*ngIf="icon || svgIcon"
|
|
1589
1601
|
innerCssClass="k-button-icon"
|
|
@@ -1594,7 +1606,7 @@ CancelCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
1594
1606
|
</span>
|
|
1595
1607
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
1596
1608
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
1597
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
1609
|
+
`, 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"] }] });
|
|
1598
1610
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CancelCommandDirective, decorators: [{
|
|
1599
1611
|
type: Component,
|
|
1600
1612
|
args: [{
|
|
@@ -1610,7 +1622,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1610
1622
|
</span>
|
|
1611
1623
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
1612
1624
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
1613
|
-
|
|
1625
|
+
`,
|
|
1626
|
+
standalone: true,
|
|
1627
|
+
imports: [NgIf, IconWrapperComponent, NgClass]
|
|
1614
1628
|
}]
|
|
1615
1629
|
}], ctorParameters: function () { return [{ type: EditService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i2.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { clickHandler: [{
|
|
1616
1630
|
type: HostListener,
|
|
@@ -1649,7 +1663,7 @@ class RemoveCommandDirective extends Button {
|
|
|
1649
1663
|
}
|
|
1650
1664
|
}
|
|
1651
1665
|
RemoveCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RemoveCommandDirective, deps: [{ token: EditService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1652
|
-
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: `
|
|
1666
|
+
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: `
|
|
1653
1667
|
<kendo-icon-wrapper
|
|
1654
1668
|
*ngIf="icon || svgIcon"
|
|
1655
1669
|
innerCssClass="k-button-icon"
|
|
@@ -1660,7 +1674,7 @@ RemoveCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
1660
1674
|
</span>
|
|
1661
1675
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
1662
1676
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
1663
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
1677
|
+
`, 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"] }] });
|
|
1664
1678
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RemoveCommandDirective, decorators: [{
|
|
1665
1679
|
type: Component,
|
|
1666
1680
|
args: [{
|
|
@@ -1676,7 +1690,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1676
1690
|
</span>
|
|
1677
1691
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
1678
1692
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
1679
|
-
|
|
1693
|
+
`,
|
|
1694
|
+
standalone: true,
|
|
1695
|
+
imports: [NgIf, IconWrapperComponent, NgClass]
|
|
1680
1696
|
}]
|
|
1681
1697
|
}], ctorParameters: function () { return [{ type: EditService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i2.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { clickHandler: [{
|
|
1682
1698
|
type: HostListener,
|
|
@@ -1684,43 +1700,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1684
1700
|
}] } });
|
|
1685
1701
|
|
|
1686
1702
|
/**
|
|
1687
|
-
*
|
|
1703
|
+
* Utility array that contains all `@progress/kendo-angular-listview` related components and directives
|
|
1688
1704
|
*/
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
this.viewContainerRef = viewContainerRef;
|
|
1692
|
-
}
|
|
1693
|
-
set templateContext(context) {
|
|
1694
|
-
if (this.insertedViewRef) {
|
|
1695
|
-
this.viewContainerRef.remove(this.viewContainerRef.indexOf(this.insertedViewRef));
|
|
1696
|
-
this.insertedViewRef = undefined;
|
|
1697
|
-
}
|
|
1698
|
-
if (context.templateRef) {
|
|
1699
|
-
this.insertedViewRef = this.viewContainerRef.createEmbeddedView(context.templateRef, context);
|
|
1700
|
-
}
|
|
1701
|
-
}
|
|
1702
|
-
}
|
|
1703
|
-
TemplateContextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TemplateContextDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1704
|
-
TemplateContextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TemplateContextDirective, selector: "[templateContext]", inputs: { templateContext: "templateContext" }, ngImport: i0 });
|
|
1705
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TemplateContextDirective, decorators: [{
|
|
1706
|
-
type: Directive,
|
|
1707
|
-
args: [{
|
|
1708
|
-
selector: '[templateContext]' // eslint-disable-line
|
|
1709
|
-
}]
|
|
1710
|
-
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { templateContext: [{
|
|
1711
|
-
type: Input
|
|
1712
|
-
}] } });
|
|
1713
|
-
|
|
1714
|
-
const TEMPLATE_DIRECTIVES = [
|
|
1705
|
+
const KENDO_LISTVIEW = [
|
|
1706
|
+
ListViewComponent,
|
|
1715
1707
|
ItemTemplateDirective,
|
|
1716
1708
|
HeaderTemplateDirective,
|
|
1717
1709
|
FooterTemplateDirective,
|
|
1718
|
-
LoaderTemplateDirective
|
|
1719
|
-
|
|
1720
|
-
const BINDING_DIRECTIVES = [
|
|
1721
|
-
DataBindingDirective
|
|
1722
|
-
];
|
|
1723
|
-
const EDITING_DIRECTIVES = [
|
|
1710
|
+
LoaderTemplateDirective,
|
|
1711
|
+
DataBindingDirective,
|
|
1724
1712
|
EditTemplateDirective,
|
|
1725
1713
|
EditCommandDirective,
|
|
1726
1714
|
CancelCommandDirective,
|
|
@@ -1728,6 +1716,8 @@ const EDITING_DIRECTIVES = [
|
|
|
1728
1716
|
RemoveCommandDirective,
|
|
1729
1717
|
AddCommandDirective
|
|
1730
1718
|
];
|
|
1719
|
+
|
|
1720
|
+
//IMPORTANT: NgModule export kept for backwards compatibility
|
|
1731
1721
|
/**
|
|
1732
1722
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
1733
1723
|
* definition for the ListView component.
|
|
@@ -1751,59 +1741,21 @@ const EDITING_DIRECTIVES = [
|
|
|
1751
1741
|
class ListViewModule {
|
|
1752
1742
|
}
|
|
1753
1743
|
ListViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ListViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1754
|
-
ListViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ListViewModule,
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
SaveCommandDirective,
|
|
1761
|
-
RemoveCommandDirective,
|
|
1762
|
-
AddCommandDirective, ListViewComponent,
|
|
1763
|
-
TemplateContextDirective,
|
|
1764
|
-
ListViewNavigableItemDirective], imports: [CommonModule,
|
|
1765
|
-
PagerModule,
|
|
1766
|
-
EventsModule,
|
|
1767
|
-
IconsModule], exports: [ItemTemplateDirective,
|
|
1768
|
-
HeaderTemplateDirective,
|
|
1769
|
-
FooterTemplateDirective,
|
|
1770
|
-
LoaderTemplateDirective, DataBindingDirective, EditTemplateDirective,
|
|
1771
|
-
EditCommandDirective,
|
|
1772
|
-
CancelCommandDirective,
|
|
1773
|
-
SaveCommandDirective,
|
|
1774
|
-
RemoveCommandDirective,
|
|
1775
|
-
AddCommandDirective, ListViewComponent,
|
|
1776
|
-
CommonModule,
|
|
1777
|
-
EventsModule] });
|
|
1778
|
-
ListViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ListViewModule, imports: [CommonModule,
|
|
1779
|
-
PagerModule,
|
|
1780
|
-
EventsModule,
|
|
1781
|
-
IconsModule, CommonModule,
|
|
1782
|
-
EventsModule] });
|
|
1744
|
+
ListViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", 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] });
|
|
1745
|
+
ListViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ListViewModule, providers: [
|
|
1746
|
+
IconsService,
|
|
1747
|
+
PopupService,
|
|
1748
|
+
ResizeBatchService
|
|
1749
|
+
], imports: [ListViewComponent, EditCommandDirective, CancelCommandDirective, SaveCommandDirective, RemoveCommandDirective, AddCommandDirective] });
|
|
1783
1750
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ListViewModule, decorators: [{
|
|
1784
1751
|
type: NgModule,
|
|
1785
1752
|
args: [{
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
ListViewNavigableItemDirective
|
|
1793
|
-
],
|
|
1794
|
-
exports: [
|
|
1795
|
-
TEMPLATE_DIRECTIVES,
|
|
1796
|
-
BINDING_DIRECTIVES,
|
|
1797
|
-
EDITING_DIRECTIVES,
|
|
1798
|
-
ListViewComponent,
|
|
1799
|
-
CommonModule,
|
|
1800
|
-
EventsModule
|
|
1801
|
-
],
|
|
1802
|
-
imports: [
|
|
1803
|
-
CommonModule,
|
|
1804
|
-
PagerModule,
|
|
1805
|
-
EventsModule,
|
|
1806
|
-
IconsModule
|
|
1753
|
+
imports: [...KENDO_LISTVIEW],
|
|
1754
|
+
exports: [...KENDO_LISTVIEW],
|
|
1755
|
+
providers: [
|
|
1756
|
+
IconsService,
|
|
1757
|
+
PopupService,
|
|
1758
|
+
ResizeBatchService
|
|
1807
1759
|
]
|
|
1808
1760
|
}]
|
|
1809
1761
|
}] });
|
|
@@ -1812,5 +1764,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1812
1764
|
* Generated bundle index. Do not edit.
|
|
1813
1765
|
*/
|
|
1814
1766
|
|
|
1815
|
-
export { AddCommandDirective, CancelCommandDirective, DataBindingDirective, EditCommandDirective, EditTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, ListViewComponent, ListViewModule, LoaderTemplateDirective, PageSizeChangeEvent, RemoveCommandDirective, SaveCommandDirective };
|
|
1767
|
+
export { AddCommandDirective, CancelCommandDirective, DataBindingDirective, EditCommandDirective, EditTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, KENDO_LISTVIEW, ListViewComponent, ListViewModule, LoaderTemplateDirective, PageSizeChangeEvent, RemoveCommandDirective, SaveCommandDirective };
|
|
1816
1768
|
|
package/index.d.ts
CHANGED
|
@@ -27,3 +27,4 @@ export { SaveCommandDirective } from './editing/commands/save-command.directive'
|
|
|
27
27
|
export { CancelCommandDirective } from './editing/commands/cancel-command.directive';
|
|
28
28
|
export { RemoveCommandDirective } from './editing/commands/remove-command.directive';
|
|
29
29
|
export { ListViewModule } from './listview.module';
|
|
30
|
+
export * from './directives';
|
package/listview.component.d.ts
CHANGED
|
@@ -296,5 +296,5 @@ export declare class ListViewComponent {
|
|
|
296
296
|
private attachEditHandlers;
|
|
297
297
|
private emitCRUDEvent;
|
|
298
298
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListViewComponent, never>;
|
|
299
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListViewComponent, "kendo-listview", ["kendoListView"], { "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"; }, { "scrollBottom": "scrollBottom"; "pageChange": "pageChange"; "pageSizeChange": "pageSizeChange"; "edit": "edit"; "cancel": "cancel"; "save": "save"; "remove": "remove"; "add": "add"; }, ["itemTemplate", "headerTemplate", "footerTemplate", "loaderTemplate", "editTemplate"], never,
|
|
299
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListViewComponent, "kendo-listview", ["kendoListView"], { "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"; }, { "scrollBottom": "scrollBottom"; "pageChange": "pageChange"; "pageSizeChange": "pageSizeChange"; "edit": "edit"; "cancel": "cancel"; "save": "save"; "remove": "remove"; "add": "add"; }, ["itemTemplate", "headerTemplate", "footerTemplate", "loaderTemplate", "editTemplate"], never, true, never>;
|
|
300
300
|
}
|
package/listview.module.d.ts
CHANGED
|
@@ -3,24 +3,18 @@
|
|
|
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 * as i1 from "./
|
|
7
|
-
import * as i2 from "./templates/
|
|
8
|
-
import * as i3 from "./templates/
|
|
9
|
-
import * as i4 from "./templates/
|
|
10
|
-
import * as i5 from "./
|
|
11
|
-
import * as i6 from "./
|
|
12
|
-
import * as i7 from "./editing/
|
|
13
|
-
import * as i8 from "./editing/commands/
|
|
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 "./
|
|
18
|
-
import * as i13 from "./templates/template-context.directive";
|
|
19
|
-
import * as i14 from "./navigation/listview-navigable-item.directive";
|
|
20
|
-
import * as i15 from "@angular/common";
|
|
21
|
-
import * as i16 from "@progress/kendo-angular-pager";
|
|
22
|
-
import * as i17 from "@progress/kendo-angular-common";
|
|
23
|
-
import * as i18 from "@progress/kendo-angular-icons";
|
|
6
|
+
import * as i1 from "./listview.component";
|
|
7
|
+
import * as i2 from "./templates/item-template.directive";
|
|
8
|
+
import * as i3 from "./templates/header-template.directive";
|
|
9
|
+
import * as i4 from "./templates/footer-template.directive";
|
|
10
|
+
import * as i5 from "./templates/loader-template.directive";
|
|
11
|
+
import * as i6 from "./data-binding/data-binding.directive";
|
|
12
|
+
import * as i7 from "./editing/edit-template.directive";
|
|
13
|
+
import * as i8 from "./editing/commands/edit-command.directive";
|
|
14
|
+
import * as i9 from "./editing/commands/cancel-command.directive";
|
|
15
|
+
import * as i10 from "./editing/commands/save-command.directive";
|
|
16
|
+
import * as i11 from "./editing/commands/remove-command.directive";
|
|
17
|
+
import * as i12 from "./editing/commands/add-command.directive";
|
|
24
18
|
/**
|
|
25
19
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
26
20
|
* definition for the ListView component.
|
|
@@ -43,6 +37,6 @@ import * as i18 from "@progress/kendo-angular-icons";
|
|
|
43
37
|
*/
|
|
44
38
|
export declare class ListViewModule {
|
|
45
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListViewModule, never>;
|
|
46
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ListViewModule, [typeof i1.
|
|
40
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ListViewModule, never, [typeof i1.ListViewComponent, typeof i2.ItemTemplateDirective, typeof i3.HeaderTemplateDirective, typeof i4.FooterTemplateDirective, typeof i5.LoaderTemplateDirective, typeof i6.DataBindingDirective, typeof i7.EditTemplateDirective, typeof i8.EditCommandDirective, typeof i9.CancelCommandDirective, typeof i10.SaveCommandDirective, typeof i11.RemoveCommandDirective, typeof i12.AddCommandDirective], [typeof i1.ListViewComponent, typeof i2.ItemTemplateDirective, typeof i3.HeaderTemplateDirective, typeof i4.FooterTemplateDirective, typeof i5.LoaderTemplateDirective, typeof i6.DataBindingDirective, typeof i7.EditTemplateDirective, typeof i8.EditCommandDirective, typeof i9.CancelCommandDirective, typeof i10.SaveCommandDirective, typeof i11.RemoveCommandDirective, typeof i12.AddCommandDirective]>;
|
|
47
41
|
static ɵinj: i0.ɵɵInjectorDeclaration<ListViewModule>;
|
|
48
42
|
}
|
|
@@ -25,5 +25,5 @@ export declare class ListViewNavigableItemDirective implements OnChanges {
|
|
|
25
25
|
private updateFocusedState;
|
|
26
26
|
private updateTabIndex;
|
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListViewNavigableItemDirective, never>;
|
|
28
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ListViewNavigableItemDirective, "[kendoListViewNavigableItem]", never, { "index": "index"; }, {}, never, never,
|
|
28
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ListViewNavigableItemDirective, "[kendoListViewNavigableItem]", never, { "index": "index"; }, {}, never, never, true, never>;
|
|
29
29
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-listview",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.6.0-develop.1",
|
|
4
4
|
"description": "Kendo UI Angular listview component",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -24,16 +24,16 @@
|
|
|
24
24
|
"@angular/forms": "15 - 18",
|
|
25
25
|
"@angular/platform-browser": "15 - 18",
|
|
26
26
|
"@progress/kendo-licensing": "^1.0.2",
|
|
27
|
-
"@progress/kendo-angular-buttons": "16.
|
|
28
|
-
"@progress/kendo-angular-common": "16.
|
|
29
|
-
"@progress/kendo-angular-icons": "16.
|
|
30
|
-
"@progress/kendo-angular-l10n": "16.
|
|
31
|
-
"@progress/kendo-angular-pager": "16.
|
|
27
|
+
"@progress/kendo-angular-buttons": "16.6.0-develop.1",
|
|
28
|
+
"@progress/kendo-angular-common": "16.6.0-develop.1",
|
|
29
|
+
"@progress/kendo-angular-icons": "16.6.0-develop.1",
|
|
30
|
+
"@progress/kendo-angular-l10n": "16.6.0-develop.1",
|
|
31
|
+
"@progress/kendo-angular-pager": "16.6.0-develop.1",
|
|
32
32
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"tslib": "^2.3.1",
|
|
36
|
-
"@progress/kendo-angular-schematics": "16.
|
|
36
|
+
"@progress/kendo-angular-schematics": "16.6.0-develop.1"
|
|
37
37
|
},
|
|
38
38
|
"schematics": "./schematics/collection.json",
|
|
39
39
|
"module": "fesm2015/progress-kendo-angular-listview.mjs",
|
|
@@ -4,12 +4,12 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
4
4
|
function default_1(options) {
|
|
5
5
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'ListViewModule', package: 'listview', peerDependencies: {
|
|
6
6
|
// Peers of pager
|
|
7
|
-
'@progress/kendo-angular-dropdowns': '16.
|
|
8
|
-
'@progress/kendo-angular-treeview': '16.
|
|
9
|
-
'@progress/kendo-angular-inputs': '16.
|
|
10
|
-
'@progress/kendo-angular-intl': '16.
|
|
11
|
-
'@progress/kendo-angular-l10n': '16.
|
|
12
|
-
'@progress/kendo-angular-popup': '16.
|
|
7
|
+
'@progress/kendo-angular-dropdowns': '16.6.0-develop.1',
|
|
8
|
+
'@progress/kendo-angular-treeview': '16.6.0-develop.1',
|
|
9
|
+
'@progress/kendo-angular-inputs': '16.6.0-develop.1',
|
|
10
|
+
'@progress/kendo-angular-intl': '16.6.0-develop.1',
|
|
11
|
+
'@progress/kendo-angular-l10n': '16.6.0-develop.1',
|
|
12
|
+
'@progress/kendo-angular-popup': '16.6.0-develop.1',
|
|
13
13
|
'@progress/kendo-drawing': '^1.17.2',
|
|
14
14
|
// Peer of icons
|
|
15
15
|
'@progress/kendo-svg-icons': '^3.0.0'
|
|
@@ -13,5 +13,5 @@ export declare class FooterTemplateDirective {
|
|
|
13
13
|
templateRef: TemplateRef<any>;
|
|
14
14
|
constructor(templateRef: TemplateRef<any>);
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<FooterTemplateDirective, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FooterTemplateDirective, "[kendoListViewFooterTemplate]", never, {}, {}, never, never,
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FooterTemplateDirective, "[kendoListViewFooterTemplate]", never, {}, {}, never, never, true, never>;
|
|
17
17
|
}
|
|
@@ -13,5 +13,5 @@ export declare class HeaderTemplateDirective {
|
|
|
13
13
|
templateRef: TemplateRef<any>;
|
|
14
14
|
constructor(templateRef: TemplateRef<any>);
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderTemplateDirective, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<HeaderTemplateDirective, "[kendoListViewHeaderTemplate]", never, {}, {}, never, never,
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HeaderTemplateDirective, "[kendoListViewHeaderTemplate]", never, {}, {}, never, never, true, never>;
|
|
17
17
|
}
|