@syncfusion/ej2-angular-lists 29.2.4-ngcc → 30.1.37-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 +187 -187
- package/@syncfusion/ej2-angular-lists.js +153 -153
- package/{license → LICENSE} +10 -10
- package/dist/ej2-angular-lists.umd.js +178 -178
- package/dist/ej2-angular-lists.umd.min.js +1 -1
- package/ej2-angular-lists.d.ts +5 -5
- package/package.json +15 -46
- package/public_api.d.ts +1 -1
- package/schematics/utils/lib-details.js +2 -2
- package/schematics/utils/lib-details.ts +4 -4
- package/src/index.d.ts +4 -4
- package/src/list-view/listview-all.module.d.ts +7 -7
- package/src/list-view/listview.component.d.ts +68 -68
- package/src/list-view/listview.module.d.ts +5 -5
|
@@ -3,165 +3,165 @@ import { ComponentBase, ComponentMixins, Template, setValue } from '@syncfusion/
|
|
|
3
3
|
import { ListView, Virtualization } from '@syncfusion/ej2-lists';
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
5
|
|
|
6
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
7
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
10
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
11
|
-
};
|
|
12
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
13
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
14
|
-
};
|
|
15
|
-
const inputs = ['animation', 'checkBoxPosition', 'cssClass', 'dataSource', 'enable', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableVirtualization', 'fields', 'groupTemplate', 'headerTemplate', 'headerTitle', 'height', 'htmlAttributes', 'locale', 'query', 'showCheckBox', 'showHeader', 'showIcon', 'sortOrder', 'template', 'width'];
|
|
16
|
-
const outputs = ['actionBegin', 'actionComplete', 'actionFailure', 'scroll', 'select'];
|
|
17
|
-
const twoWays = [''];
|
|
18
|
-
/**
|
|
19
|
-
* Represents Angular ListView Component
|
|
20
|
-
* ```
|
|
21
|
-
* <ejs-listview [dataSource]='data'></ejs-listview>
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
let ListViewComponent = class ListViewComponent extends ListView {
|
|
25
|
-
/**
|
|
26
|
-
* @param {?} ngEle
|
|
27
|
-
* @param {?} srenderer
|
|
28
|
-
* @param {?} viewContainerRef
|
|
29
|
-
* @param {?} injector
|
|
30
|
-
*/
|
|
31
|
-
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
32
|
-
super();
|
|
33
|
-
this.ngEle = ngEle;
|
|
34
|
-
this.srenderer = srenderer;
|
|
35
|
-
this.viewContainerRef = viewContainerRef;
|
|
36
|
-
this.injector = injector;
|
|
37
|
-
this.element = this.ngEle.nativeElement;
|
|
38
|
-
this.injectedModules = this.injectedModules || [];
|
|
39
|
-
try {
|
|
40
|
-
let mod = this.injector.get('ListsVirtualization');
|
|
41
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
|
42
|
-
this.injectedModules.push(mod);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
catch (_a) { }
|
|
46
|
-
this.registerEvents(outputs);
|
|
47
|
-
this.addTwoWay.call(this, twoWays);
|
|
48
|
-
setValue('currentInstance', this, this.viewContainerRef);
|
|
49
|
-
this.context = new ComponentBase();
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* @return {?}
|
|
53
|
-
*/
|
|
54
|
-
ngOnInit() {
|
|
55
|
-
this.context.ngOnInit(this);
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* @return {?}
|
|
59
|
-
*/
|
|
60
|
-
ngAfterViewInit() {
|
|
61
|
-
this.context.ngAfterViewInit(this);
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* @return {?}
|
|
65
|
-
*/
|
|
66
|
-
ngOnDestroy() {
|
|
67
|
-
this.context.ngOnDestroy(this);
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* @return {?}
|
|
71
|
-
*/
|
|
72
|
-
ngAfterContentChecked() {
|
|
73
|
-
this.context.ngAfterContentChecked(this);
|
|
74
|
-
}
|
|
75
|
-
};
|
|
76
|
-
ListViewComponent.decorators = [
|
|
77
|
-
{ type: Component, args: [{
|
|
78
|
-
selector: 'ejs-listview',
|
|
79
|
-
inputs: inputs,
|
|
80
|
-
outputs: outputs,
|
|
81
|
-
template: '',
|
|
82
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
83
|
-
queries: {}
|
|
84
|
-
},] },
|
|
85
|
-
];
|
|
86
|
-
/**
|
|
87
|
-
* @nocollapse
|
|
88
|
-
*/
|
|
89
|
-
ListViewComponent.ctorParameters = () => [
|
|
90
|
-
{ type: ElementRef, },
|
|
91
|
-
{ type: Renderer2, },
|
|
92
|
-
{ type: ViewContainerRef, },
|
|
93
|
-
{ type: Injector, },
|
|
94
|
-
];
|
|
95
|
-
ListViewComponent.propDecorators = {
|
|
96
|
-
'template': [{ type: ContentChild, args: ['template',] },],
|
|
97
|
-
'groupTemplate': [{ type: ContentChild, args: ['groupTemplate',] },],
|
|
98
|
-
'headerTemplate': [{ type: ContentChild, args: ['headerTemplate',] },],
|
|
99
|
-
};
|
|
100
|
-
__decorate([
|
|
101
|
-
Template(),
|
|
102
|
-
__metadata("design:type", Object)
|
|
103
|
-
], ListViewComponent.prototype, "template", void 0);
|
|
104
|
-
__decorate([
|
|
105
|
-
Template(),
|
|
106
|
-
__metadata("design:type", Object)
|
|
107
|
-
], ListViewComponent.prototype, "groupTemplate", void 0);
|
|
108
|
-
__decorate([
|
|
109
|
-
Template(),
|
|
110
|
-
__metadata("design:type", Object)
|
|
111
|
-
], ListViewComponent.prototype, "headerTemplate", void 0);
|
|
112
|
-
ListViewComponent = __decorate([
|
|
113
|
-
ComponentMixins([ComponentBase]),
|
|
114
|
-
__metadata("design:paramtypes", [ElementRef,
|
|
115
|
-
Renderer2,
|
|
116
|
-
ViewContainerRef,
|
|
117
|
-
Injector])
|
|
6
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
7
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
10
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
11
|
+
};
|
|
12
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
13
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
14
|
+
};
|
|
15
|
+
const inputs = ['animation', 'checkBoxPosition', 'cssClass', 'dataSource', 'enable', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableVirtualization', 'fields', 'groupTemplate', 'headerTemplate', 'headerTitle', 'height', 'htmlAttributes', 'locale', 'query', 'showCheckBox', 'showHeader', 'showIcon', 'sortOrder', 'template', 'width'];
|
|
16
|
+
const outputs = ['actionBegin', 'actionComplete', 'actionFailure', 'scroll', 'select'];
|
|
17
|
+
const twoWays = [''];
|
|
18
|
+
/**
|
|
19
|
+
* Represents Angular ListView Component
|
|
20
|
+
* ```
|
|
21
|
+
* <ejs-listview [dataSource]='data'></ejs-listview>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
let ListViewComponent = class ListViewComponent extends ListView {
|
|
25
|
+
/**
|
|
26
|
+
* @param {?} ngEle
|
|
27
|
+
* @param {?} srenderer
|
|
28
|
+
* @param {?} viewContainerRef
|
|
29
|
+
* @param {?} injector
|
|
30
|
+
*/
|
|
31
|
+
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
32
|
+
super();
|
|
33
|
+
this.ngEle = ngEle;
|
|
34
|
+
this.srenderer = srenderer;
|
|
35
|
+
this.viewContainerRef = viewContainerRef;
|
|
36
|
+
this.injector = injector;
|
|
37
|
+
this.element = this.ngEle.nativeElement;
|
|
38
|
+
this.injectedModules = this.injectedModules || [];
|
|
39
|
+
try {
|
|
40
|
+
let mod = this.injector.get('ListsVirtualization');
|
|
41
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
42
|
+
this.injectedModules.push(mod);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
catch (_a) { }
|
|
46
|
+
this.registerEvents(outputs);
|
|
47
|
+
this.addTwoWay.call(this, twoWays);
|
|
48
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
49
|
+
this.context = new ComponentBase();
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* @return {?}
|
|
53
|
+
*/
|
|
54
|
+
ngOnInit() {
|
|
55
|
+
this.context.ngOnInit(this);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* @return {?}
|
|
59
|
+
*/
|
|
60
|
+
ngAfterViewInit() {
|
|
61
|
+
this.context.ngAfterViewInit(this);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* @return {?}
|
|
65
|
+
*/
|
|
66
|
+
ngOnDestroy() {
|
|
67
|
+
this.context.ngOnDestroy(this);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* @return {?}
|
|
71
|
+
*/
|
|
72
|
+
ngAfterContentChecked() {
|
|
73
|
+
this.context.ngAfterContentChecked(this);
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
ListViewComponent.decorators = [
|
|
77
|
+
{ type: Component, args: [{
|
|
78
|
+
selector: 'ejs-listview',
|
|
79
|
+
inputs: inputs,
|
|
80
|
+
outputs: outputs,
|
|
81
|
+
template: '',
|
|
82
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
83
|
+
queries: {}
|
|
84
|
+
},] },
|
|
85
|
+
];
|
|
86
|
+
/**
|
|
87
|
+
* @nocollapse
|
|
88
|
+
*/
|
|
89
|
+
ListViewComponent.ctorParameters = () => [
|
|
90
|
+
{ type: ElementRef, },
|
|
91
|
+
{ type: Renderer2, },
|
|
92
|
+
{ type: ViewContainerRef, },
|
|
93
|
+
{ type: Injector, },
|
|
94
|
+
];
|
|
95
|
+
ListViewComponent.propDecorators = {
|
|
96
|
+
'template': [{ type: ContentChild, args: ['template',] },],
|
|
97
|
+
'groupTemplate': [{ type: ContentChild, args: ['groupTemplate',] },],
|
|
98
|
+
'headerTemplate': [{ type: ContentChild, args: ['headerTemplate',] },],
|
|
99
|
+
};
|
|
100
|
+
__decorate([
|
|
101
|
+
Template(),
|
|
102
|
+
__metadata("design:type", Object)
|
|
103
|
+
], ListViewComponent.prototype, "template", void 0);
|
|
104
|
+
__decorate([
|
|
105
|
+
Template(),
|
|
106
|
+
__metadata("design:type", Object)
|
|
107
|
+
], ListViewComponent.prototype, "groupTemplate", void 0);
|
|
108
|
+
__decorate([
|
|
109
|
+
Template(),
|
|
110
|
+
__metadata("design:type", Object)
|
|
111
|
+
], ListViewComponent.prototype, "headerTemplate", void 0);
|
|
112
|
+
ListViewComponent = __decorate([
|
|
113
|
+
ComponentMixins([ComponentBase]),
|
|
114
|
+
__metadata("design:paramtypes", [ElementRef,
|
|
115
|
+
Renderer2,
|
|
116
|
+
ViewContainerRef,
|
|
117
|
+
Injector])
|
|
118
118
|
], ListViewComponent);
|
|
119
119
|
|
|
120
|
-
/**
|
|
121
|
-
* NgModule definition for the ListView component.
|
|
122
|
-
*/
|
|
123
|
-
class ListViewModule {
|
|
124
|
-
}
|
|
125
|
-
ListViewModule.decorators = [
|
|
126
|
-
{ type: NgModule, args: [{
|
|
127
|
-
imports: [CommonModule],
|
|
128
|
-
declarations: [
|
|
129
|
-
ListViewComponent
|
|
130
|
-
],
|
|
131
|
-
exports: [
|
|
132
|
-
ListViewComponent
|
|
133
|
-
]
|
|
134
|
-
},] },
|
|
135
|
-
];
|
|
136
|
-
/**
|
|
137
|
-
* @nocollapse
|
|
138
|
-
*/
|
|
120
|
+
/**
|
|
121
|
+
* NgModule definition for the ListView component.
|
|
122
|
+
*/
|
|
123
|
+
class ListViewModule {
|
|
124
|
+
}
|
|
125
|
+
ListViewModule.decorators = [
|
|
126
|
+
{ type: NgModule, args: [{
|
|
127
|
+
imports: [CommonModule],
|
|
128
|
+
declarations: [
|
|
129
|
+
ListViewComponent
|
|
130
|
+
],
|
|
131
|
+
exports: [
|
|
132
|
+
ListViewComponent
|
|
133
|
+
]
|
|
134
|
+
},] },
|
|
135
|
+
];
|
|
136
|
+
/**
|
|
137
|
+
* @nocollapse
|
|
138
|
+
*/
|
|
139
139
|
ListViewModule.ctorParameters = () => [];
|
|
140
140
|
|
|
141
|
-
const VirtualizationService = { provide: 'ListsVirtualization', useValue: Virtualization };
|
|
142
|
-
/**
|
|
143
|
-
* NgModule definition for the ListView component with providers.
|
|
144
|
-
*/
|
|
145
|
-
class ListViewAllModule {
|
|
146
|
-
}
|
|
147
|
-
ListViewAllModule.decorators = [
|
|
148
|
-
{ type: NgModule, args: [{
|
|
149
|
-
imports: [CommonModule, ListViewModule],
|
|
150
|
-
exports: [
|
|
151
|
-
ListViewModule
|
|
152
|
-
],
|
|
153
|
-
providers: [
|
|
154
|
-
VirtualizationService
|
|
155
|
-
]
|
|
156
|
-
},] },
|
|
157
|
-
];
|
|
158
|
-
/**
|
|
159
|
-
* @nocollapse
|
|
160
|
-
*/
|
|
141
|
+
const VirtualizationService = { provide: 'ListsVirtualization', useValue: Virtualization };
|
|
142
|
+
/**
|
|
143
|
+
* NgModule definition for the ListView component with providers.
|
|
144
|
+
*/
|
|
145
|
+
class ListViewAllModule {
|
|
146
|
+
}
|
|
147
|
+
ListViewAllModule.decorators = [
|
|
148
|
+
{ type: NgModule, args: [{
|
|
149
|
+
imports: [CommonModule, ListViewModule],
|
|
150
|
+
exports: [
|
|
151
|
+
ListViewModule
|
|
152
|
+
],
|
|
153
|
+
providers: [
|
|
154
|
+
VirtualizationService
|
|
155
|
+
]
|
|
156
|
+
},] },
|
|
157
|
+
];
|
|
158
|
+
/**
|
|
159
|
+
* @nocollapse
|
|
160
|
+
*/
|
|
161
161
|
ListViewAllModule.ctorParameters = () => [];
|
|
162
162
|
|
|
163
|
-
/**
|
|
164
|
-
* Generated bundle index. Do not edit.
|
|
163
|
+
/**
|
|
164
|
+
* Generated bundle index. Do not edit.
|
|
165
165
|
*/
|
|
166
166
|
|
|
167
167
|
export { ListViewComponent, ListViewModule, ListViewAllModule, VirtualizationService, inputs as ɵa, outputs as ɵb };
|
package/{license → LICENSE}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
Essential JS 2 library is available under the Syncfusion Essential Studio program, and can be licensed either under the Syncfusion Community License Program or the Syncfusion commercial license.
|
|
2
|
-
|
|
3
|
-
To be qualified for the Syncfusion Community License Program you must have a gross revenue of less than one (1) million U.S. dollars ($1,000,000.00 USD) per year and have less than five (5) developers in your organization, and agree to be bound by Syncfusion’s terms and conditions.
|
|
4
|
-
|
|
5
|
-
Customers who do not qualify for the community license can contact sales@syncfusion.com for commercial licensing options.
|
|
6
|
-
|
|
7
|
-
Under no circumstances can you use this product without (1) either a Community License or a commercial license and (2) without agreeing and abiding by Syncfusion’s license containing all terms and conditions.
|
|
8
|
-
|
|
9
|
-
The Syncfusion license that contains the terms and conditions can be found at
|
|
10
|
-
https://www.syncfusion.com/content/downloads/syncfusion_license.pdf
|
|
1
|
+
Essential JS 2 library is available under the Syncfusion Essential Studio program, and can be licensed either under the Syncfusion Community License Program or the Syncfusion commercial license.
|
|
2
|
+
|
|
3
|
+
To be qualified for the Syncfusion Community License Program you must have a gross revenue of less than one (1) million U.S. dollars ($1,000,000.00 USD) per year and have less than five (5) developers in your organization, and agree to be bound by Syncfusion’s terms and conditions.
|
|
4
|
+
|
|
5
|
+
Customers who do not qualify for the community license can contact sales@syncfusion.com for commercial licensing options.
|
|
6
|
+
|
|
7
|
+
Under no circumstances can you use this product without (1) either a Community License or a commercial license and (2) without agreeing and abiding by Syncfusion’s license containing all terms and conditions.
|
|
8
|
+
|
|
9
|
+
The Syncfusion license that contains the terms and conditions can be found at
|
|
10
|
+
https://www.syncfusion.com/content/downloads/syncfusion_license.pdf
|