@syncfusion/ej2-angular-lists 33.2.3-ngcc → 33.2.3
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/CHANGELOG.md +540 -0
- package/esm2020/public_api.mjs +2 -0
- package/esm2020/src/index.mjs +5 -0
- package/esm2020/src/list-view/listview-all.module.mjs +29 -0
- package/esm2020/src/list-view/listview.component.mjs +85 -0
- package/esm2020/src/list-view/listview.module.mjs +25 -0
- package/esm2020/syncfusion-ej2-angular-lists.mjs +5 -0
- package/fesm2015/syncfusion-ej2-angular-lists.mjs +137 -0
- package/fesm2015/syncfusion-ej2-angular-lists.mjs.map +1 -0
- package/fesm2020/syncfusion-ej2-angular-lists.mjs +137 -0
- package/fesm2020/syncfusion-ej2-angular-lists.mjs.map +1 -0
- package/package.json +28 -46
- package/public_api.d.ts +1 -1
- package/src/index.d.ts +4 -4
- package/src/list-view/listview-all.module.d.ts +13 -7
- package/src/list-view/listview.component.d.ts +71 -68
- package/src/list-view/listview.module.d.ts +11 -5
- package/syncfusion-ej2-angular-lists.d.ts +5 -0
- package/@syncfusion/ej2-angular-lists.es5.js +0 -188
- package/@syncfusion/ej2-angular-lists.es5.js.map +0 -1
- package/@syncfusion/ej2-angular-lists.js +0 -169
- package/@syncfusion/ej2-angular-lists.js.map +0 -1
- package/LICENSE +0 -10
- package/dist/ej2-angular-lists.umd.js +0 -213
- package/dist/ej2-angular-lists.umd.js.map +0 -1
- package/dist/ej2-angular-lists.umd.min.js +0 -11
- package/dist/ej2-angular-lists.umd.min.js.map +0 -1
- package/ej2-angular-lists.d.ts +0 -5
- package/ej2-angular-lists.metadata.json +0 -1
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { ListViewComponent } from './listview.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* NgModule definition for the ListView component.
|
|
7
|
+
*/
|
|
8
|
+
export class ListViewModule {
|
|
9
|
+
}
|
|
10
|
+
ListViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11
|
+
ListViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewModule, declarations: [ListViewComponent], imports: [CommonModule], exports: [ListViewComponent] });
|
|
12
|
+
ListViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewModule, imports: [[CommonModule]] });
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewModule, decorators: [{
|
|
14
|
+
type: NgModule,
|
|
15
|
+
args: [{
|
|
16
|
+
imports: [CommonModule],
|
|
17
|
+
declarations: [
|
|
18
|
+
ListViewComponent
|
|
19
|
+
],
|
|
20
|
+
exports: [
|
|
21
|
+
ListViewComponent
|
|
22
|
+
]
|
|
23
|
+
}]
|
|
24
|
+
}] });
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlzdHZpZXcubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2xpc3Qtdmlldy9saXN0dmlldy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sc0JBQXNCLENBQUM7O0FBRXpEOztHQUVHO0FBVUgsTUFBTSxPQUFPLGNBQWM7OzJHQUFkLGNBQWM7NEdBQWQsY0FBYyxpQkFObkIsaUJBQWlCLGFBRlgsWUFBWSxhQUtsQixpQkFBaUI7NEdBR1osY0FBYyxZQVJkLENBQUMsWUFBWSxDQUFDOzJGQVFkLGNBQWM7a0JBVDFCLFFBQVE7bUJBQUM7b0JBQ04sT0FBTyxFQUFFLENBQUMsWUFBWSxDQUFDO29CQUN2QixZQUFZLEVBQUU7d0JBQ1YsaUJBQWlCO3FCQUNwQjtvQkFDRCxPQUFPLEVBQUU7d0JBQ0wsaUJBQWlCO3FCQUNwQjtpQkFDSiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xuaW1wb3J0IHsgTGlzdFZpZXdDb21wb25lbnQgfSBmcm9tICcuL2xpc3R2aWV3LmNvbXBvbmVudCc7XG5cbi8qKlxuICogTmdNb2R1bGUgZGVmaW5pdGlvbiBmb3IgdGhlIExpc3RWaWV3IGNvbXBvbmVudC5cbiAqL1xuQE5nTW9kdWxlKHtcbiAgICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlXSxcbiAgICBkZWNsYXJhdGlvbnM6IFtcbiAgICAgICAgTGlzdFZpZXdDb21wb25lbnRcbiAgICBdLFxuICAgIGV4cG9ydHM6IFtcbiAgICAgICAgTGlzdFZpZXdDb21wb25lbnRcbiAgICBdXG59KVxuZXhwb3J0IGNsYXNzIExpc3RWaWV3TW9kdWxlIHsgfSJdfQ==
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './public_api';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3luY2Z1c2lvbi1lajItYW5ndWxhci1saXN0cy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3N5bmNmdXNpb24tZWoyLWFuZ3VsYXItbGlzdHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWNfYXBpJztcbiJdfQ==
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { __decorate } from 'tslib';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { Component, ChangeDetectionStrategy, ContentChild, NgModule } from '@angular/core';
|
|
4
|
+
import { setValue, ComponentBase, Template, ComponentMixins } from '@syncfusion/ej2-angular-base';
|
|
5
|
+
import { ListView, Virtualization } from '@syncfusion/ej2-lists';
|
|
6
|
+
export * from '@syncfusion/ej2-lists';
|
|
7
|
+
import { CommonModule } from '@angular/common';
|
|
8
|
+
|
|
9
|
+
const inputs = ['animation', 'checkBoxPosition', 'cssClass', 'dataSource', 'disableHtmlEncode', 'enable', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableVirtualization', 'enabled', 'fields', 'groupTemplate', 'headerTemplate', 'headerTitle', 'height', 'htmlAttributes', 'locale', 'query', 'showCheckBox', 'showHeader', 'showIcon', 'sortOrder', 'template', 'width'];
|
|
10
|
+
const outputs = ['actionBegin', 'actionComplete', 'actionFailure', 'scroll', 'select'];
|
|
11
|
+
const twoWays = [''];
|
|
12
|
+
/**
|
|
13
|
+
* Represents Angular ListView Component
|
|
14
|
+
* ```
|
|
15
|
+
* <ejs-listview [dataSource]='data'></ejs-listview>
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
let ListViewComponent = class ListViewComponent extends ListView {
|
|
19
|
+
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
20
|
+
super();
|
|
21
|
+
this.ngEle = ngEle;
|
|
22
|
+
this.srenderer = srenderer;
|
|
23
|
+
this.viewContainerRef = viewContainerRef;
|
|
24
|
+
this.injector = injector;
|
|
25
|
+
this.element = this.ngEle.nativeElement;
|
|
26
|
+
this.injectedModules = this.injectedModules || [];
|
|
27
|
+
try {
|
|
28
|
+
let mod = this.injector.get('ListsVirtualization');
|
|
29
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
30
|
+
this.injectedModules.push(mod);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
catch (_a) { }
|
|
34
|
+
this.registerEvents(outputs);
|
|
35
|
+
this.addTwoWay.call(this, twoWays);
|
|
36
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
37
|
+
this.context = new ComponentBase();
|
|
38
|
+
}
|
|
39
|
+
ngOnInit() {
|
|
40
|
+
this.context.ngOnInit(this);
|
|
41
|
+
}
|
|
42
|
+
ngAfterViewInit() {
|
|
43
|
+
this.context.ngAfterViewInit(this);
|
|
44
|
+
}
|
|
45
|
+
ngOnDestroy() {
|
|
46
|
+
this.context.ngOnDestroy(this);
|
|
47
|
+
}
|
|
48
|
+
ngAfterContentChecked() {
|
|
49
|
+
this.context.ngAfterContentChecked(this);
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
ListViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
53
|
+
ListViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ListViewComponent, selector: "ejs-listview", inputs: { animation: "animation", checkBoxPosition: "checkBoxPosition", cssClass: "cssClass", dataSource: "dataSource", disableHtmlEncode: "disableHtmlEncode", enable: "enable", enableHtmlSanitizer: "enableHtmlSanitizer", enablePersistence: "enablePersistence", enableRtl: "enableRtl", enableVirtualization: "enableVirtualization", enabled: "enabled", fields: "fields", groupTemplate: "groupTemplate", headerTemplate: "headerTemplate", headerTitle: "headerTitle", height: "height", htmlAttributes: "htmlAttributes", locale: "locale", query: "query", showCheckBox: "showCheckBox", showHeader: "showHeader", showIcon: "showIcon", sortOrder: "sortOrder", template: "template", width: "width" }, outputs: { actionBegin: "actionBegin", actionComplete: "actionComplete", actionFailure: "actionFailure", scroll: "scroll", select: "select" }, queries: [{ propertyName: "template", first: true, predicate: ["template"], descendants: true }, { propertyName: "groupTemplate", first: true, predicate: ["groupTemplate"], descendants: true }, { propertyName: "headerTemplate", first: true, predicate: ["headerTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
54
|
+
__decorate([
|
|
55
|
+
Template()
|
|
56
|
+
], ListViewComponent.prototype, "template", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
Template()
|
|
59
|
+
], ListViewComponent.prototype, "groupTemplate", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
Template()
|
|
62
|
+
], ListViewComponent.prototype, "headerTemplate", void 0);
|
|
63
|
+
ListViewComponent = __decorate([
|
|
64
|
+
ComponentMixins([ComponentBase])
|
|
65
|
+
], ListViewComponent);
|
|
66
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewComponent, decorators: [{
|
|
67
|
+
type: Component,
|
|
68
|
+
args: [{
|
|
69
|
+
selector: 'ejs-listview',
|
|
70
|
+
inputs: inputs,
|
|
71
|
+
outputs: outputs,
|
|
72
|
+
template: '',
|
|
73
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
74
|
+
queries: {}
|
|
75
|
+
}]
|
|
76
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; }, propDecorators: { template: [{
|
|
77
|
+
type: ContentChild,
|
|
78
|
+
args: ['template']
|
|
79
|
+
}], groupTemplate: [{
|
|
80
|
+
type: ContentChild,
|
|
81
|
+
args: ['groupTemplate']
|
|
82
|
+
}], headerTemplate: [{
|
|
83
|
+
type: ContentChild,
|
|
84
|
+
args: ['headerTemplate']
|
|
85
|
+
}] } });
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* NgModule definition for the ListView component.
|
|
89
|
+
*/
|
|
90
|
+
class ListViewModule {
|
|
91
|
+
}
|
|
92
|
+
ListViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
93
|
+
ListViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewModule, declarations: [ListViewComponent], imports: [CommonModule], exports: [ListViewComponent] });
|
|
94
|
+
ListViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewModule, imports: [[CommonModule]] });
|
|
95
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewModule, decorators: [{
|
|
96
|
+
type: NgModule,
|
|
97
|
+
args: [{
|
|
98
|
+
imports: [CommonModule],
|
|
99
|
+
declarations: [
|
|
100
|
+
ListViewComponent
|
|
101
|
+
],
|
|
102
|
+
exports: [
|
|
103
|
+
ListViewComponent
|
|
104
|
+
]
|
|
105
|
+
}]
|
|
106
|
+
}] });
|
|
107
|
+
|
|
108
|
+
const VirtualizationService = { provide: 'ListsVirtualization', useValue: Virtualization };
|
|
109
|
+
/**
|
|
110
|
+
* NgModule definition for the ListView component with providers.
|
|
111
|
+
*/
|
|
112
|
+
class ListViewAllModule {
|
|
113
|
+
}
|
|
114
|
+
ListViewAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
115
|
+
ListViewAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewAllModule, imports: [CommonModule, ListViewModule], exports: [ListViewModule] });
|
|
116
|
+
ListViewAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewAllModule, providers: [
|
|
117
|
+
VirtualizationService
|
|
118
|
+
], imports: [[CommonModule, ListViewModule], ListViewModule] });
|
|
119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewAllModule, decorators: [{
|
|
120
|
+
type: NgModule,
|
|
121
|
+
args: [{
|
|
122
|
+
imports: [CommonModule, ListViewModule],
|
|
123
|
+
exports: [
|
|
124
|
+
ListViewModule
|
|
125
|
+
],
|
|
126
|
+
providers: [
|
|
127
|
+
VirtualizationService
|
|
128
|
+
]
|
|
129
|
+
}]
|
|
130
|
+
}] });
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Generated bundle index. Do not edit.
|
|
134
|
+
*/
|
|
135
|
+
|
|
136
|
+
export { ListViewAllModule, ListViewComponent, ListViewModule, VirtualizationService };
|
|
137
|
+
//# sourceMappingURL=syncfusion-ej2-angular-lists.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"syncfusion-ej2-angular-lists.mjs","sources":["../../src/list-view/listview.component.ts","../../src/list-view/listview.module.ts","../../src/list-view/listview-all.module.ts","../../syncfusion-ej2-angular-lists.ts"],"sourcesContent":["import { Component, ElementRef, ViewContainerRef, ChangeDetectionStrategy, QueryList, Renderer2, Injector, ValueProvider, ContentChild } from '@angular/core';\nimport { ComponentBase, IComponentBase, applyMixins, ComponentMixins, PropertyCollectionInfo, setValue } from '@syncfusion/ej2-angular-base';\nimport { ListView } from '@syncfusion/ej2-lists';\nimport { Template } from '@syncfusion/ej2-angular-base';\n\n\nexport const inputs: string[] = ['animation','checkBoxPosition','cssClass','dataSource','disableHtmlEncode','enable','enableHtmlSanitizer','enablePersistence','enableRtl','enableVirtualization','enabled','fields','groupTemplate','headerTemplate','headerTitle','height','htmlAttributes','locale','query','showCheckBox','showHeader','showIcon','sortOrder','template','width'];\nexport const outputs: string[] = ['actionBegin','actionComplete','actionFailure','scroll','select'];\nexport const twoWays: string[] = [''];\n\n/**\n * Represents Angular ListView Component\n * ```\n * <ejs-listview [dataSource]='data'></ejs-listview>\n * ```\n */\n@Component({\n selector: 'ejs-listview',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n\n }\n})\n@ComponentMixins([ComponentBase])\nexport class ListViewComponent extends ListView implements IComponentBase {\n public context : any;\n public tagObjects: any;\n\tactionBegin: any;\n\tactionComplete: any;\n\tactionFailure: any;\n\tscroll: any;\n\tpublic select: any;\n\n\n /** \n * The ListView component supports to customize the content of each list items with the help of `template` property.\n * \n * {% codeBlock src='listview/template/index.md' %}{% endcodeBlock %}\n * \n * @default null\n * @angulartype string | object\n * @reacttype string | function | JSX.Element\n * @vuetype string | function\n * @asptype string\n */\n @ContentChild('template')\n @Template()\n public template: any;\n /** \n * The ListView has an option to custom design the group header title with the help of `groupTemplate` property.\n * \n * {% codeBlock src=\"listview/groupTemplate/index.md\" %}{% endcodeBlock %}\n * \n * @default null\n * @angulartype string | object\n * @reacttype string | function | JSX.Element\n * @vuetype string | function\n * @asptype string\n */\n @ContentChild('groupTemplate')\n @Template()\n public groupTemplate: any;\n /** \n * The ListView has an option to custom design the ListView header title with the help of `headerTemplate` property.\n * \n * {% codeBlock src=\"listview/headerTemplate/index.md\" %}{% endcodeBlock %}\n * \n * @default null\n * @angulartype string | object\n * @reacttype string | function | JSX.Element\n * @vuetype string | function\n * @asptype string\n */\n @ContentChild('headerTemplate')\n @Template()\n public headerTemplate: any;\n\n constructor(private ngEle: ElementRef, private srenderer: Renderer2, private viewContainerRef:ViewContainerRef, private injector: Injector) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n try {\n let mod = this.injector.get('ListsVirtualization');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n\r\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n\n public ngOnInit() {\n this.context.ngOnInit(this);\n }\n\n public ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n\n public ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n\n public ngAfterContentChecked(): void {\n \n this.context.ngAfterContentChecked(this);\n }\n\n public registerEvents: (eventList: string[]) => void;\n public addTwoWay: (propList: string[]) => void;\n}\n\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ListViewComponent } from './listview.component';\n\n/**\n * NgModule definition for the ListView component.\n */\n@NgModule({\n imports: [CommonModule],\n declarations: [\n ListViewComponent\n ],\n exports: [\n ListViewComponent\n ]\n})\nexport class ListViewModule { }","import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ListViewComponent } from './listview.component';\nimport { ListViewModule } from './listview.module';\nimport {Virtualization} from '@syncfusion/ej2-lists'\n\n\nexport const VirtualizationService: ValueProvider = { provide: 'ListsVirtualization', useValue: Virtualization};\n\n/**\n * NgModule definition for the ListView component with providers.\n */\n@NgModule({\n imports: [CommonModule, ListViewModule],\n exports: [\n ListViewModule\n ],\n providers:[\n VirtualizationService\n ]\n})\nexport class ListViewAllModule { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;AAMO,MAAM,MAAM,GAAa,CAAC,WAAW,EAAC,kBAAkB,EA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AA;kBAT7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,cAAc,CAAC;AACvC,oBAAA,OAAO,EAAE;wBACL,cAAc;AACjB,qBAAA;AACD,oBAAA,SAAS,EAAC;wBACN,qBAAqB;AACxB,qBAAA;iBACJ,CAAA;;;ACpBD;;AAEG;;;;"}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { __decorate } from 'tslib';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { Component, ChangeDetectionStrategy, ContentChild, NgModule } from '@angular/core';
|
|
4
|
+
import { setValue, ComponentBase, Template, ComponentMixins } from '@syncfusion/ej2-angular-base';
|
|
5
|
+
import { ListView, Virtualization } from '@syncfusion/ej2-lists';
|
|
6
|
+
export * from '@syncfusion/ej2-lists';
|
|
7
|
+
import { CommonModule } from '@angular/common';
|
|
8
|
+
|
|
9
|
+
const inputs = ['animation', 'checkBoxPosition', 'cssClass', 'dataSource', 'disableHtmlEncode', 'enable', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableVirtualization', 'enabled', 'fields', 'groupTemplate', 'headerTemplate', 'headerTitle', 'height', 'htmlAttributes', 'locale', 'query', 'showCheckBox', 'showHeader', 'showIcon', 'sortOrder', 'template', 'width'];
|
|
10
|
+
const outputs = ['actionBegin', 'actionComplete', 'actionFailure', 'scroll', 'select'];
|
|
11
|
+
const twoWays = [''];
|
|
12
|
+
/**
|
|
13
|
+
* Represents Angular ListView Component
|
|
14
|
+
* ```
|
|
15
|
+
* <ejs-listview [dataSource]='data'></ejs-listview>
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
let ListViewComponent = class ListViewComponent extends ListView {
|
|
19
|
+
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
20
|
+
super();
|
|
21
|
+
this.ngEle = ngEle;
|
|
22
|
+
this.srenderer = srenderer;
|
|
23
|
+
this.viewContainerRef = viewContainerRef;
|
|
24
|
+
this.injector = injector;
|
|
25
|
+
this.element = this.ngEle.nativeElement;
|
|
26
|
+
this.injectedModules = this.injectedModules || [];
|
|
27
|
+
try {
|
|
28
|
+
let mod = this.injector.get('ListsVirtualization');
|
|
29
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
30
|
+
this.injectedModules.push(mod);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
catch { }
|
|
34
|
+
this.registerEvents(outputs);
|
|
35
|
+
this.addTwoWay.call(this, twoWays);
|
|
36
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
37
|
+
this.context = new ComponentBase();
|
|
38
|
+
}
|
|
39
|
+
ngOnInit() {
|
|
40
|
+
this.context.ngOnInit(this);
|
|
41
|
+
}
|
|
42
|
+
ngAfterViewInit() {
|
|
43
|
+
this.context.ngAfterViewInit(this);
|
|
44
|
+
}
|
|
45
|
+
ngOnDestroy() {
|
|
46
|
+
this.context.ngOnDestroy(this);
|
|
47
|
+
}
|
|
48
|
+
ngAfterContentChecked() {
|
|
49
|
+
this.context.ngAfterContentChecked(this);
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
ListViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
53
|
+
ListViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ListViewComponent, selector: "ejs-listview", inputs: { animation: "animation", checkBoxPosition: "checkBoxPosition", cssClass: "cssClass", dataSource: "dataSource", disableHtmlEncode: "disableHtmlEncode", enable: "enable", enableHtmlSanitizer: "enableHtmlSanitizer", enablePersistence: "enablePersistence", enableRtl: "enableRtl", enableVirtualization: "enableVirtualization", enabled: "enabled", fields: "fields", groupTemplate: "groupTemplate", headerTemplate: "headerTemplate", headerTitle: "headerTitle", height: "height", htmlAttributes: "htmlAttributes", locale: "locale", query: "query", showCheckBox: "showCheckBox", showHeader: "showHeader", showIcon: "showIcon", sortOrder: "sortOrder", template: "template", width: "width" }, outputs: { actionBegin: "actionBegin", actionComplete: "actionComplete", actionFailure: "actionFailure", scroll: "scroll", select: "select" }, queries: [{ propertyName: "template", first: true, predicate: ["template"], descendants: true }, { propertyName: "groupTemplate", first: true, predicate: ["groupTemplate"], descendants: true }, { propertyName: "headerTemplate", first: true, predicate: ["headerTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
54
|
+
__decorate([
|
|
55
|
+
Template()
|
|
56
|
+
], ListViewComponent.prototype, "template", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
Template()
|
|
59
|
+
], ListViewComponent.prototype, "groupTemplate", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
Template()
|
|
62
|
+
], ListViewComponent.prototype, "headerTemplate", void 0);
|
|
63
|
+
ListViewComponent = __decorate([
|
|
64
|
+
ComponentMixins([ComponentBase])
|
|
65
|
+
], ListViewComponent);
|
|
66
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewComponent, decorators: [{
|
|
67
|
+
type: Component,
|
|
68
|
+
args: [{
|
|
69
|
+
selector: 'ejs-listview',
|
|
70
|
+
inputs: inputs,
|
|
71
|
+
outputs: outputs,
|
|
72
|
+
template: '',
|
|
73
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
74
|
+
queries: {}
|
|
75
|
+
}]
|
|
76
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; }, propDecorators: { template: [{
|
|
77
|
+
type: ContentChild,
|
|
78
|
+
args: ['template']
|
|
79
|
+
}], groupTemplate: [{
|
|
80
|
+
type: ContentChild,
|
|
81
|
+
args: ['groupTemplate']
|
|
82
|
+
}], headerTemplate: [{
|
|
83
|
+
type: ContentChild,
|
|
84
|
+
args: ['headerTemplate']
|
|
85
|
+
}] } });
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* NgModule definition for the ListView component.
|
|
89
|
+
*/
|
|
90
|
+
class ListViewModule {
|
|
91
|
+
}
|
|
92
|
+
ListViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
93
|
+
ListViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewModule, declarations: [ListViewComponent], imports: [CommonModule], exports: [ListViewComponent] });
|
|
94
|
+
ListViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewModule, imports: [[CommonModule]] });
|
|
95
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewModule, decorators: [{
|
|
96
|
+
type: NgModule,
|
|
97
|
+
args: [{
|
|
98
|
+
imports: [CommonModule],
|
|
99
|
+
declarations: [
|
|
100
|
+
ListViewComponent
|
|
101
|
+
],
|
|
102
|
+
exports: [
|
|
103
|
+
ListViewComponent
|
|
104
|
+
]
|
|
105
|
+
}]
|
|
106
|
+
}] });
|
|
107
|
+
|
|
108
|
+
const VirtualizationService = { provide: 'ListsVirtualization', useValue: Virtualization };
|
|
109
|
+
/**
|
|
110
|
+
* NgModule definition for the ListView component with providers.
|
|
111
|
+
*/
|
|
112
|
+
class ListViewAllModule {
|
|
113
|
+
}
|
|
114
|
+
ListViewAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
115
|
+
ListViewAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewAllModule, imports: [CommonModule, ListViewModule], exports: [ListViewModule] });
|
|
116
|
+
ListViewAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewAllModule, providers: [
|
|
117
|
+
VirtualizationService
|
|
118
|
+
], imports: [[CommonModule, ListViewModule], ListViewModule] });
|
|
119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewAllModule, decorators: [{
|
|
120
|
+
type: NgModule,
|
|
121
|
+
args: [{
|
|
122
|
+
imports: [CommonModule, ListViewModule],
|
|
123
|
+
exports: [
|
|
124
|
+
ListViewModule
|
|
125
|
+
],
|
|
126
|
+
providers: [
|
|
127
|
+
VirtualizationService
|
|
128
|
+
]
|
|
129
|
+
}]
|
|
130
|
+
}] });
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Generated bundle index. Do not edit.
|
|
134
|
+
*/
|
|
135
|
+
|
|
136
|
+
export { ListViewAllModule, ListViewComponent, ListViewModule, VirtualizationService };
|
|
137
|
+
//# sourceMappingURL=syncfusion-ej2-angular-lists.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"syncfusion-ej2-angular-lists.mjs","sources":["../../src/list-view/listview.component.ts","../../src/list-view/listview.module.ts","../../src/list-view/listview-all.module.ts","../../syncfusion-ej2-angular-lists.ts"],"sourcesContent":["import { Component, ElementRef, ViewContainerRef, ChangeDetectionStrategy, QueryList, Renderer2, Injector, ValueProvider, ContentChild } from '@angular/core';\nimport { ComponentBase, IComponentBase, applyMixins, ComponentMixins, PropertyCollectionInfo, setValue } from '@syncfusion/ej2-angular-base';\nimport { ListView } from '@syncfusion/ej2-lists';\nimport { Template } from '@syncfusion/ej2-angular-base';\n\n\nexport const inputs: string[] = ['animation','checkBoxPosition','cssClass','dataSource','disableHtmlEncode','enable','enableHtmlSanitizer','enablePersistence','enableRtl','enableVirtualization','enabled','fields','groupTemplate','headerTemplate','headerTitle','height','htmlAttributes','locale','query','showCheckBox','showHeader','showIcon','sortOrder','template','width'];\nexport const outputs: string[] = ['actionBegin','actionComplete','actionFailure','scroll','select'];\nexport const twoWays: string[] = [''];\n\n/**\n * Represents Angular ListView Component\n * ```\n * <ejs-listview [dataSource]='data'></ejs-listview>\n * ```\n */\n@Component({\n selector: 'ejs-listview',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n\n }\n})\n@ComponentMixins([ComponentBase])\nexport class ListViewComponent extends ListView implements IComponentBase {\n public context : any;\n public tagObjects: any;\n\tactionBegin: any;\n\tactionComplete: any;\n\tactionFailure: any;\n\tscroll: any;\n\tpublic select: any;\n\n\n /** \n * The ListView component supports to customize the content of each list items with the help of `template` property.\n * \n * {% codeBlock src='listview/template/index.md' %}{% endcodeBlock %}\n * \n * @default null\n * @angulartype string | object\n * @reacttype string | function | JSX.Element\n * @vuetype string | function\n * @asptype string\n */\n @ContentChild('template')\n @Template()\n public template: any;\n /** \n * The ListView has an option to custom design the group header title with the help of `groupTemplate` property.\n * \n * {% codeBlock src=\"listview/groupTemplate/index.md\" %}{% endcodeBlock %}\n * \n * @default null\n * @angulartype string | object\n * @reacttype string | function | JSX.Element\n * @vuetype string | function\n * @asptype string\n */\n @ContentChild('groupTemplate')\n @Template()\n public groupTemplate: any;\n /** \n * The ListView has an option to custom design the ListView header title with the help of `headerTemplate` property.\n * \n * {% codeBlock src=\"listview/headerTemplate/index.md\" %}{% endcodeBlock %}\n * \n * @default null\n * @angulartype string | object\n * @reacttype string | function | JSX.Element\n * @vuetype string | function\n * @asptype string\n */\n @ContentChild('headerTemplate')\n @Template()\n public headerTemplate: any;\n\n constructor(private ngEle: ElementRef, private srenderer: Renderer2, private viewContainerRef:ViewContainerRef, private injector: Injector) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n try {\n let mod = this.injector.get('ListsVirtualization');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n\r\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n\n public ngOnInit() {\n this.context.ngOnInit(this);\n }\n\n public ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n\n public ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n\n public ngAfterContentChecked(): void {\n \n this.context.ngAfterContentChecked(this);\n }\n\n public registerEvents: (eventList: string[]) => void;\n public addTwoWay: (propList: string[]) => void;\n}\n\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ListViewComponent } from './listview.component';\n\n/**\n * NgModule definition for the ListView component.\n */\n@NgModule({\n imports: [CommonModule],\n declarations: [\n ListViewComponent\n ],\n exports: [\n ListViewComponent\n ]\n})\nexport class ListViewModule { }","import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ListViewComponent } from './listview.component';\nimport { ListViewModule } from './listview.module';\nimport {Virtualization} from '@syncfusion/ej2-lists'\n\n\nexport const VirtualizationService: ValueProvider = { provide: 'ListsVirtualization', useValue: Virtualization};\n\n/**\n * NgModule definition for the ListView component with providers.\n */\n@NgModule({\n imports: [CommonModule, ListViewModule],\n exports: [\n ListViewModule\n ],\n providers:[\n VirtualizationService\n ]\n})\nexport class ListViewAllModule { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;AAMO,MAAM,MAAM,GAAa,CAAC,WAAW,EAAC,kBAAkB,EAAC,UAAU,EAAC,YAAY,EAAC,mBAAmB,EAAC,QAAQ,EAAC,qBAAqB,EAAC,mBAAmB,EAAC,WAAW,EAAC,sBAAsB,EAAC,SAAS,EAAC,QAA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E;wBACL,cAAc;AACjB,qBAAA;AACD,oBAAA,SAAS,EAAC;wBACN,qBAAqB;AACxB,qBAAA;AACJ,iBAAA,CAAA;;;ACpBD;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,45 +1,15 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"_requested": {
|
|
9
|
-
"type": "range",
|
|
10
|
-
"registry": true,
|
|
11
|
-
"raw": "@syncfusion/ej2-angular-lists@*",
|
|
12
|
-
"name": "@syncfusion/ej2-angular-lists",
|
|
13
|
-
"escapedName": "@syncfusion%2fej2-angular-lists",
|
|
14
|
-
"scope": "@syncfusion",
|
|
15
|
-
"rawSpec": "*",
|
|
16
|
-
"saveSpec": null,
|
|
17
|
-
"fetchSpec": "*"
|
|
18
|
-
},
|
|
19
|
-
"_requiredBy": [
|
|
20
|
-
"/"
|
|
21
|
-
],
|
|
22
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-release/@syncfusion/ej2-angular-lists/-/ej2-angular-lists-18.23.1.tgz",
|
|
23
|
-
"_shasum": "a9b86b2984db4aa93e99699abc1b9856336f7fca",
|
|
24
|
-
"_spec": "@syncfusion/ej2-angular-lists@*",
|
|
25
|
-
"_where": "C:\\Users\\DeepikaArumugasamy\\Downloads\\ej2-nexus-branch-switching-dev 2\\release",
|
|
26
|
-
"author": {
|
|
27
|
-
"name": "Syncfusion Inc."
|
|
28
|
-
},
|
|
29
|
-
"bugs": {
|
|
30
|
-
"url": "https://github.com/syncfusion/ej2-angular-ui-components/issues"
|
|
31
|
-
},
|
|
32
|
-
"bundleDependencies": false,
|
|
2
|
+
"name": "@syncfusion/ej2-angular-lists",
|
|
3
|
+
"version": "33.2.3",
|
|
4
|
+
"description": "The listview control allows you to select an item or multiple items from a list-like interface and represents the data in interactive hierarchical structure across different layouts or views. for Angular",
|
|
5
|
+
"author": "Syncfusion Inc.",
|
|
6
|
+
"license": "SEE LICENSE IN license",
|
|
7
|
+
"schematics": "./schematics/collection.json",
|
|
33
8
|
"dependencies": {
|
|
34
|
-
"@syncfusion/ej2-angular-base": "~33.2.3",
|
|
35
9
|
"@syncfusion/ej2-base": "~33.2.3",
|
|
10
|
+
"@syncfusion/ej2-angular-base": "~33.2.3",
|
|
36
11
|
"@syncfusion/ej2-lists": "33.2.3"
|
|
37
12
|
},
|
|
38
|
-
"deprecated": false,
|
|
39
|
-
"description": "The listview control allows you to select an item or multiple items from a list-like interface and represents the data in interactive hierarchical structure across different layouts or views. for Angular",
|
|
40
|
-
"devDependencies": {},
|
|
41
|
-
"es2015": "@syncfusion/ej2-angular-lists.js",
|
|
42
|
-
"homepage": "https://www.syncfusion.com/angular-components",
|
|
43
13
|
"keywords": [
|
|
44
14
|
"angular listview",
|
|
45
15
|
"ej2 ng lists",
|
|
@@ -47,17 +17,29 @@
|
|
|
47
17
|
"ng template",
|
|
48
18
|
"angular6"
|
|
49
19
|
],
|
|
50
|
-
"license": "SEE LICENSE IN license",
|
|
51
|
-
"main": "dist/ej2-angular-lists.umd.js",
|
|
52
|
-
"metadata": "ej2-angular-lists.metadata.json",
|
|
53
|
-
"module": "@syncfusion/ej2-angular-lists.es5.js",
|
|
54
|
-
"name": "@syncfusion/ej2-angular-lists",
|
|
55
20
|
"repository": {
|
|
56
21
|
"type": "git",
|
|
57
|
-
"url": "
|
|
22
|
+
"url": "https://github.com/syncfusion/ej2-angular-ui-components.git"
|
|
58
23
|
},
|
|
59
|
-
"schematics": "./schematics/collection.json",
|
|
60
24
|
"sideEffects": false,
|
|
61
|
-
"
|
|
62
|
-
"
|
|
25
|
+
"module": "fesm2015/syncfusion-ej2-angular-lists.mjs",
|
|
26
|
+
"es2020": "fesm2020/syncfusion-ej2-angular-lists.mjs",
|
|
27
|
+
"esm2020": "esm2020/syncfusion-ej2-angular-lists.mjs",
|
|
28
|
+
"fesm2020": "fesm2020/syncfusion-ej2-angular-lists.mjs",
|
|
29
|
+
"fesm2015": "fesm2015/syncfusion-ej2-angular-lists.mjs",
|
|
30
|
+
"typings": "syncfusion-ej2-angular-lists.d.ts",
|
|
31
|
+
"exports": {
|
|
32
|
+
"./package.json": {
|
|
33
|
+
"default": "./package.json"
|
|
34
|
+
},
|
|
35
|
+
".": {
|
|
36
|
+
"types": "./syncfusion-ej2-angular-lists.d.ts",
|
|
37
|
+
"esm2020": "./esm2020/syncfusion-ej2-angular-lists.mjs",
|
|
38
|
+
"es2020": "./fesm2020/syncfusion-ej2-angular-lists.mjs",
|
|
39
|
+
"es2015": "./fesm2015/syncfusion-ej2-angular-lists.mjs",
|
|
40
|
+
"node": "./fesm2015/syncfusion-ej2-angular-lists.mjs",
|
|
41
|
+
"default": "./fesm2020/syncfusion-ej2-angular-lists.mjs"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"homepage": "https://www.syncfusion.com/angular-components"
|
|
63
45
|
}
|
package/public_api.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './src/index';
|
|
1
|
+
export * from './src/index';
|
package/src/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ListViewComponent } from './list-view/listview.component';
|
|
2
|
-
export { ListViewModule } from './list-view/listview.module';
|
|
3
|
-
export { ListViewAllModule, VirtualizationService } from './list-view/listview-all.module';
|
|
4
|
-
export * from '@syncfusion/ej2-lists';
|
|
1
|
+
export { ListViewComponent } from './list-view/listview.component';
|
|
2
|
+
export { ListViewModule } from './list-view/listview.module';
|
|
3
|
+
export { ListViewAllModule, VirtualizationService } from './list-view/listview-all.module';
|
|
4
|
+
export * from '@syncfusion/ej2-lists';
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
-
import { ValueProvider } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
*
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { ValueProvider } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
import * as i2 from "./listview.module";
|
|
5
|
+
export declare const VirtualizationService: ValueProvider;
|
|
6
|
+
/**
|
|
7
|
+
* NgModule definition for the ListView component with providers.
|
|
8
|
+
*/
|
|
9
|
+
export declare class ListViewAllModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ListViewAllModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ListViewAllModule, never, [typeof i1.CommonModule, typeof i2.ListViewModule], [typeof i2.ListViewModule]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ListViewAllModule>;
|
|
13
|
+
}
|
|
@@ -1,68 +1,71 @@
|
|
|
1
|
-
import { ElementRef, ViewContainerRef, Renderer2, Injector } from '@angular/core';
|
|
2
|
-
import { IComponentBase } from '@syncfusion/ej2-angular-base';
|
|
3
|
-
import { ListView } from '@syncfusion/ej2-lists';
|
|
4
|
-
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
private
|
|
16
|
-
private
|
|
17
|
-
private
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
* @
|
|
32
|
-
* @
|
|
33
|
-
* @
|
|
34
|
-
* @
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
* @
|
|
44
|
-
* @
|
|
45
|
-
* @
|
|
46
|
-
* @
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
* @
|
|
56
|
-
* @
|
|
57
|
-
* @
|
|
58
|
-
* @
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
1
|
+
import { ElementRef, ViewContainerRef, Renderer2, Injector } from '@angular/core';
|
|
2
|
+
import { IComponentBase } from '@syncfusion/ej2-angular-base';
|
|
3
|
+
import { ListView } from '@syncfusion/ej2-lists';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare const inputs: string[];
|
|
6
|
+
export declare const outputs: string[];
|
|
7
|
+
export declare const twoWays: string[];
|
|
8
|
+
/**
|
|
9
|
+
* Represents Angular ListView Component
|
|
10
|
+
* ```
|
|
11
|
+
* <ejs-listview [dataSource]='data'></ejs-listview>
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
export declare class ListViewComponent extends ListView implements IComponentBase {
|
|
15
|
+
private ngEle;
|
|
16
|
+
private srenderer;
|
|
17
|
+
private viewContainerRef;
|
|
18
|
+
private injector;
|
|
19
|
+
context: any;
|
|
20
|
+
tagObjects: any;
|
|
21
|
+
actionBegin: any;
|
|
22
|
+
actionComplete: any;
|
|
23
|
+
actionFailure: any;
|
|
24
|
+
scroll: any;
|
|
25
|
+
select: any;
|
|
26
|
+
/**
|
|
27
|
+
* The ListView component supports to customize the content of each list items with the help of `template` property.
|
|
28
|
+
*
|
|
29
|
+
* {% codeBlock src='listview/template/index.md' %}{% endcodeBlock %}
|
|
30
|
+
*
|
|
31
|
+
* @default null
|
|
32
|
+
* @angulartype string | object
|
|
33
|
+
* @reacttype string | function | JSX.Element
|
|
34
|
+
* @vuetype string | function
|
|
35
|
+
* @asptype string
|
|
36
|
+
*/
|
|
37
|
+
template: any;
|
|
38
|
+
/**
|
|
39
|
+
* The ListView has an option to custom design the group header title with the help of `groupTemplate` property.
|
|
40
|
+
*
|
|
41
|
+
* {% codeBlock src="listview/groupTemplate/index.md" %}{% endcodeBlock %}
|
|
42
|
+
*
|
|
43
|
+
* @default null
|
|
44
|
+
* @angulartype string | object
|
|
45
|
+
* @reacttype string | function | JSX.Element
|
|
46
|
+
* @vuetype string | function
|
|
47
|
+
* @asptype string
|
|
48
|
+
*/
|
|
49
|
+
groupTemplate: any;
|
|
50
|
+
/**
|
|
51
|
+
* The ListView has an option to custom design the ListView header title with the help of `headerTemplate` property.
|
|
52
|
+
*
|
|
53
|
+
* {% codeBlock src="listview/headerTemplate/index.md" %}{% endcodeBlock %}
|
|
54
|
+
*
|
|
55
|
+
* @default null
|
|
56
|
+
* @angulartype string | object
|
|
57
|
+
* @reacttype string | function | JSX.Element
|
|
58
|
+
* @vuetype string | function
|
|
59
|
+
* @asptype string
|
|
60
|
+
*/
|
|
61
|
+
headerTemplate: any;
|
|
62
|
+
constructor(ngEle: ElementRef, srenderer: Renderer2, viewContainerRef: ViewContainerRef, injector: Injector);
|
|
63
|
+
ngOnInit(): void;
|
|
64
|
+
ngAfterViewInit(): void;
|
|
65
|
+
ngOnDestroy(): void;
|
|
66
|
+
ngAfterContentChecked(): void;
|
|
67
|
+
registerEvents: (eventList: string[]) => void;
|
|
68
|
+
addTwoWay: (propList: string[]) => void;
|
|
69
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ListViewComponent, never>;
|
|
70
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListViewComponent, "ejs-listview", never, { "animation": "animation"; "checkBoxPosition": "checkBoxPosition"; "cssClass": "cssClass"; "dataSource": "dataSource"; "disableHtmlEncode": "disableHtmlEncode"; "enable": "enable"; "enableHtmlSanitizer": "enableHtmlSanitizer"; "enablePersistence": "enablePersistence"; "enableRtl": "enableRtl"; "enableVirtualization": "enableVirtualization"; "enabled": "enabled"; "fields": "fields"; "groupTemplate": "groupTemplate"; "headerTemplate": "headerTemplate"; "headerTitle": "headerTitle"; "height": "height"; "htmlAttributes": "htmlAttributes"; "locale": "locale"; "query": "query"; "showCheckBox": "showCheckBox"; "showHeader": "showHeader"; "showIcon": "showIcon"; "sortOrder": "sortOrder"; "template": "template"; "width": "width"; }, { "actionBegin": "actionBegin"; "actionComplete": "actionComplete"; "actionFailure": "actionFailure"; "scroll": "scroll"; "select": "select"; }, ["template", "groupTemplate", "headerTemplate"], never>;
|
|
71
|
+
}
|