@syncfusion/ej2-angular-lists 34.1.30 → 34.2.2-ngcc
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/@syncfusion/ej2-angular-lists.es5.js +188 -0
- package/@syncfusion/ej2-angular-lists.es5.js.map +1 -0
- package/@syncfusion/ej2-angular-lists.js +169 -0
- package/@syncfusion/ej2-angular-lists.js.map +1 -0
- package/LICENSE +10 -0
- package/dist/ej2-angular-lists.umd.js +213 -0
- package/dist/ej2-angular-lists.umd.js.map +1 -0
- package/dist/ej2-angular-lists.umd.min.js +11 -0
- package/dist/ej2-angular-lists.umd.min.js.map +1 -0
- package/ej2-angular-lists.d.ts +5 -0
- package/ej2-angular-lists.metadata.json +1 -0
- package/package.json +10 -23
- package/public_api.d.ts +1 -1
- package/schematics/utils/lib-details.js +2 -2
- package/schematics/utils/lib-details.ts +2 -2
- package/src/index.d.ts +4 -4
- package/src/list-view/listview-all.module.d.ts +7 -13
- package/src/list-view/listview.component.d.ts +68 -71
- package/src/list-view/listview.module.d.ts +5 -11
- package/CHANGELOG.md +0 -538
- package/esm2020/public_api.mjs +0 -2
- package/esm2020/src/index.mjs +0 -5
- package/esm2020/src/list-view/listview-all.module.mjs +0 -29
- package/esm2020/src/list-view/listview.component.mjs +0 -85
- package/esm2020/src/list-view/listview.module.mjs +0 -25
- package/esm2020/syncfusion-ej2-angular-lists.mjs +0 -5
- package/fesm2015/syncfusion-ej2-angular-lists.mjs +0 -137
- package/fesm2015/syncfusion-ej2-angular-lists.mjs.map +0 -1
- package/fesm2020/syncfusion-ej2-angular-lists.mjs +0 -137
- package/fesm2020/syncfusion-ej2-angular-lists.mjs.map +0 -1
- package/syncfusion-ej2-angular-lists.d.ts +0 -5
|
@@ -1,25 +0,0 @@
|
|
|
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==
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public_api';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3luY2Z1c2lvbi1lajItYW5ndWxhci1saXN0cy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3N5bmNmdXNpb24tZWoyLWFuZ3VsYXItbGlzdHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWNfYXBpJztcbiJdfQ==
|
|
@@ -1,137 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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":";;;;;;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,EAAA,CAAA,CAAA;2FAMT,iBAAiB,EAAA,UAAA,EAAA,CAAA;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;;;;"}
|
|
@@ -1,137 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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,m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