@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
|
@@ -1,188 +1,188 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = Object.setPrototypeOf ||
|
|
3
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
4
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
5
|
-
return function (d, b) {
|
|
6
|
-
extendStatics(d, b);
|
|
7
|
-
function __() { this.constructor = d; }
|
|
8
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
9
|
-
};
|
|
10
|
-
})();
|
|
11
|
-
import { ChangeDetectionStrategy, Component, ContentChild, ElementRef, Injector, NgModule, Renderer2, ViewContainerRef } from '@angular/core';
|
|
12
|
-
import { ComponentBase, ComponentMixins, Template, setValue } from '@syncfusion/ej2-angular-base';
|
|
13
|
-
import { ListView, Virtualization } from '@syncfusion/ej2-lists';
|
|
14
|
-
import { CommonModule } from '@angular/common';
|
|
15
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
16
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
18
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
19
|
-
else
|
|
20
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
21
|
-
if (d = decorators[i])
|
|
22
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
23
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
24
|
-
};
|
|
25
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
26
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
27
|
-
return Reflect.metadata(k, v);
|
|
28
|
-
};
|
|
29
|
-
var inputs = ['animation', 'checkBoxPosition', 'cssClass', 'dataSource', 'enable', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableVirtualization', 'fields', 'groupTemplate', 'headerTemplate', 'headerTitle', 'height', 'htmlAttributes', 'locale', 'query', 'showCheckBox', 'showHeader', 'showIcon', 'sortOrder', 'template', 'width'];
|
|
30
|
-
var outputs = ['actionBegin', 'actionComplete', 'actionFailure', 'scroll', 'select'];
|
|
31
|
-
var twoWays = [''];
|
|
32
|
-
/**
|
|
33
|
-
* Represents Angular ListView Component
|
|
34
|
-
* ```
|
|
35
|
-
* <ejs-listview [dataSource]='data'></ejs-listview>
|
|
36
|
-
* ```
|
|
37
|
-
*/
|
|
38
|
-
var ListViewComponent = /** @class */ (function (_super) {
|
|
39
|
-
__extends(ListViewComponent, _super);
|
|
40
|
-
/**
|
|
41
|
-
* @param {?} ngEle
|
|
42
|
-
* @param {?} srenderer
|
|
43
|
-
* @param {?} viewContainerRef
|
|
44
|
-
* @param {?} injector
|
|
45
|
-
*/
|
|
46
|
-
function ListViewComponent(ngEle, srenderer, viewContainerRef, injector) {
|
|
47
|
-
var _this = _super.call(this) || this;
|
|
48
|
-
_this.ngEle = ngEle;
|
|
49
|
-
_this.srenderer = srenderer;
|
|
50
|
-
_this.viewContainerRef = viewContainerRef;
|
|
51
|
-
_this.injector = injector;
|
|
52
|
-
_this.element = _this.ngEle.nativeElement;
|
|
53
|
-
_this.injectedModules = _this.injectedModules || [];
|
|
54
|
-
try {
|
|
55
|
-
var mod = _this.injector.get('ListsVirtualization');
|
|
56
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
57
|
-
_this.injectedModules.push(mod);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
catch (_a) { }
|
|
61
|
-
_this.registerEvents(outputs);
|
|
62
|
-
_this.addTwoWay.call(_this, twoWays);
|
|
63
|
-
setValue('currentInstance', _this, _this.viewContainerRef);
|
|
64
|
-
_this.context = new ComponentBase();
|
|
65
|
-
return _this;
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* @return {?}
|
|
69
|
-
*/
|
|
70
|
-
ListViewComponent.prototype.ngOnInit = function () {
|
|
71
|
-
this.context.ngOnInit(this);
|
|
72
|
-
};
|
|
73
|
-
/**
|
|
74
|
-
* @return {?}
|
|
75
|
-
*/
|
|
76
|
-
ListViewComponent.prototype.ngAfterViewInit = function () {
|
|
77
|
-
this.context.ngAfterViewInit(this);
|
|
78
|
-
};
|
|
79
|
-
/**
|
|
80
|
-
* @return {?}
|
|
81
|
-
*/
|
|
82
|
-
ListViewComponent.prototype.ngOnDestroy = function () {
|
|
83
|
-
this.context.ngOnDestroy(this);
|
|
84
|
-
};
|
|
85
|
-
/**
|
|
86
|
-
* @return {?}
|
|
87
|
-
*/
|
|
88
|
-
ListViewComponent.prototype.ngAfterContentChecked = function () {
|
|
89
|
-
this.context.ngAfterContentChecked(this);
|
|
90
|
-
};
|
|
91
|
-
return ListViewComponent;
|
|
92
|
-
}(ListView));
|
|
93
|
-
ListViewComponent.decorators = [
|
|
94
|
-
{ type: Component, args: [{
|
|
95
|
-
selector: 'ejs-listview',
|
|
96
|
-
inputs: inputs,
|
|
97
|
-
outputs: outputs,
|
|
98
|
-
template: '',
|
|
99
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
100
|
-
queries: {}
|
|
101
|
-
},] },
|
|
102
|
-
];
|
|
103
|
-
/**
|
|
104
|
-
* @nocollapse
|
|
105
|
-
*/
|
|
106
|
-
ListViewComponent.ctorParameters = function () { return [
|
|
107
|
-
{ type: ElementRef, },
|
|
108
|
-
{ type: Renderer2, },
|
|
109
|
-
{ type: ViewContainerRef, },
|
|
110
|
-
{ type: Injector, },
|
|
111
|
-
]; };
|
|
112
|
-
ListViewComponent.propDecorators = {
|
|
113
|
-
'template': [{ type: ContentChild, args: ['template',] },],
|
|
114
|
-
'groupTemplate': [{ type: ContentChild, args: ['groupTemplate',] },],
|
|
115
|
-
'headerTemplate': [{ type: ContentChild, args: ['headerTemplate',] },],
|
|
116
|
-
};
|
|
117
|
-
__decorate([
|
|
118
|
-
Template(),
|
|
119
|
-
__metadata("design:type", Object)
|
|
120
|
-
], ListViewComponent.prototype, "template", void 0);
|
|
121
|
-
__decorate([
|
|
122
|
-
Template(),
|
|
123
|
-
__metadata("design:type", Object)
|
|
124
|
-
], ListViewComponent.prototype, "groupTemplate", void 0);
|
|
125
|
-
__decorate([
|
|
126
|
-
Template(),
|
|
127
|
-
__metadata("design:type", Object)
|
|
128
|
-
], ListViewComponent.prototype, "headerTemplate", void 0);
|
|
129
|
-
ListViewComponent = __decorate([
|
|
130
|
-
ComponentMixins([ComponentBase]),
|
|
131
|
-
__metadata("design:paramtypes", [ElementRef,
|
|
132
|
-
Renderer2,
|
|
133
|
-
ViewContainerRef,
|
|
134
|
-
Injector])
|
|
135
|
-
], ListViewComponent);
|
|
136
|
-
/**
|
|
137
|
-
* NgModule definition for the ListView component.
|
|
138
|
-
*/
|
|
139
|
-
var ListViewModule = /** @class */ (function () {
|
|
140
|
-
function ListViewModule() {
|
|
141
|
-
}
|
|
142
|
-
return ListViewModule;
|
|
143
|
-
}());
|
|
144
|
-
ListViewModule.decorators = [
|
|
145
|
-
{ type: NgModule, args: [{
|
|
146
|
-
imports: [CommonModule],
|
|
147
|
-
declarations: [
|
|
148
|
-
ListViewComponent
|
|
149
|
-
],
|
|
150
|
-
exports: [
|
|
151
|
-
ListViewComponent
|
|
152
|
-
]
|
|
153
|
-
},] },
|
|
154
|
-
];
|
|
155
|
-
/**
|
|
156
|
-
* @nocollapse
|
|
157
|
-
*/
|
|
158
|
-
ListViewModule.ctorParameters = function () { return []; };
|
|
159
|
-
var VirtualizationService = { provide: 'ListsVirtualization', useValue: Virtualization };
|
|
160
|
-
/**
|
|
161
|
-
* NgModule definition for the ListView component with providers.
|
|
162
|
-
*/
|
|
163
|
-
var ListViewAllModule = /** @class */ (function () {
|
|
164
|
-
function ListViewAllModule() {
|
|
165
|
-
}
|
|
166
|
-
return ListViewAllModule;
|
|
167
|
-
}());
|
|
168
|
-
ListViewAllModule.decorators = [
|
|
169
|
-
{ type: NgModule, args: [{
|
|
170
|
-
imports: [CommonModule, ListViewModule],
|
|
171
|
-
exports: [
|
|
172
|
-
ListViewModule
|
|
173
|
-
],
|
|
174
|
-
providers: [
|
|
175
|
-
VirtualizationService
|
|
176
|
-
]
|
|
177
|
-
},] },
|
|
178
|
-
];
|
|
179
|
-
/**
|
|
180
|
-
* @nocollapse
|
|
181
|
-
*/
|
|
182
|
-
ListViewAllModule.ctorParameters = function () { return []; };
|
|
183
|
-
/**
|
|
184
|
-
* Generated bundle index. Do not edit.
|
|
185
|
-
*/
|
|
186
|
-
export { ListViewComponent, ListViewModule, ListViewAllModule, VirtualizationService, inputs as ɵa, outputs as ɵb };
|
|
187
|
-
export { classNames, FieldSettings, ListView, Virtualization, cssClass, ListBase, getFieldValues, Sortable, moveTo } from '@syncfusion/ej2-lists';
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = Object.setPrototypeOf ||
|
|
3
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
4
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
5
|
+
return function (d, b) {
|
|
6
|
+
extendStatics(d, b);
|
|
7
|
+
function __() { this.constructor = d; }
|
|
8
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
9
|
+
};
|
|
10
|
+
})();
|
|
11
|
+
import { ChangeDetectionStrategy, Component, ContentChild, ElementRef, Injector, NgModule, Renderer2, ViewContainerRef } from '@angular/core';
|
|
12
|
+
import { ComponentBase, ComponentMixins, Template, setValue } from '@syncfusion/ej2-angular-base';
|
|
13
|
+
import { ListView, Virtualization } from '@syncfusion/ej2-lists';
|
|
14
|
+
import { CommonModule } from '@angular/common';
|
|
15
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
16
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
18
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
19
|
+
else
|
|
20
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
21
|
+
if (d = decorators[i])
|
|
22
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
23
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
24
|
+
};
|
|
25
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
26
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
27
|
+
return Reflect.metadata(k, v);
|
|
28
|
+
};
|
|
29
|
+
var inputs = ['animation', 'checkBoxPosition', 'cssClass', 'dataSource', 'enable', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableVirtualization', 'fields', 'groupTemplate', 'headerTemplate', 'headerTitle', 'height', 'htmlAttributes', 'locale', 'query', 'showCheckBox', 'showHeader', 'showIcon', 'sortOrder', 'template', 'width'];
|
|
30
|
+
var outputs = ['actionBegin', 'actionComplete', 'actionFailure', 'scroll', 'select'];
|
|
31
|
+
var twoWays = [''];
|
|
32
|
+
/**
|
|
33
|
+
* Represents Angular ListView Component
|
|
34
|
+
* ```
|
|
35
|
+
* <ejs-listview [dataSource]='data'></ejs-listview>
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
var ListViewComponent = /** @class */ (function (_super) {
|
|
39
|
+
__extends(ListViewComponent, _super);
|
|
40
|
+
/**
|
|
41
|
+
* @param {?} ngEle
|
|
42
|
+
* @param {?} srenderer
|
|
43
|
+
* @param {?} viewContainerRef
|
|
44
|
+
* @param {?} injector
|
|
45
|
+
*/
|
|
46
|
+
function ListViewComponent(ngEle, srenderer, viewContainerRef, injector) {
|
|
47
|
+
var _this = _super.call(this) || this;
|
|
48
|
+
_this.ngEle = ngEle;
|
|
49
|
+
_this.srenderer = srenderer;
|
|
50
|
+
_this.viewContainerRef = viewContainerRef;
|
|
51
|
+
_this.injector = injector;
|
|
52
|
+
_this.element = _this.ngEle.nativeElement;
|
|
53
|
+
_this.injectedModules = _this.injectedModules || [];
|
|
54
|
+
try {
|
|
55
|
+
var mod = _this.injector.get('ListsVirtualization');
|
|
56
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
57
|
+
_this.injectedModules.push(mod);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
catch (_a) { }
|
|
61
|
+
_this.registerEvents(outputs);
|
|
62
|
+
_this.addTwoWay.call(_this, twoWays);
|
|
63
|
+
setValue('currentInstance', _this, _this.viewContainerRef);
|
|
64
|
+
_this.context = new ComponentBase();
|
|
65
|
+
return _this;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* @return {?}
|
|
69
|
+
*/
|
|
70
|
+
ListViewComponent.prototype.ngOnInit = function () {
|
|
71
|
+
this.context.ngOnInit(this);
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* @return {?}
|
|
75
|
+
*/
|
|
76
|
+
ListViewComponent.prototype.ngAfterViewInit = function () {
|
|
77
|
+
this.context.ngAfterViewInit(this);
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* @return {?}
|
|
81
|
+
*/
|
|
82
|
+
ListViewComponent.prototype.ngOnDestroy = function () {
|
|
83
|
+
this.context.ngOnDestroy(this);
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* @return {?}
|
|
87
|
+
*/
|
|
88
|
+
ListViewComponent.prototype.ngAfterContentChecked = function () {
|
|
89
|
+
this.context.ngAfterContentChecked(this);
|
|
90
|
+
};
|
|
91
|
+
return ListViewComponent;
|
|
92
|
+
}(ListView));
|
|
93
|
+
ListViewComponent.decorators = [
|
|
94
|
+
{ type: Component, args: [{
|
|
95
|
+
selector: 'ejs-listview',
|
|
96
|
+
inputs: inputs,
|
|
97
|
+
outputs: outputs,
|
|
98
|
+
template: '',
|
|
99
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
100
|
+
queries: {}
|
|
101
|
+
},] },
|
|
102
|
+
];
|
|
103
|
+
/**
|
|
104
|
+
* @nocollapse
|
|
105
|
+
*/
|
|
106
|
+
ListViewComponent.ctorParameters = function () { return [
|
|
107
|
+
{ type: ElementRef, },
|
|
108
|
+
{ type: Renderer2, },
|
|
109
|
+
{ type: ViewContainerRef, },
|
|
110
|
+
{ type: Injector, },
|
|
111
|
+
]; };
|
|
112
|
+
ListViewComponent.propDecorators = {
|
|
113
|
+
'template': [{ type: ContentChild, args: ['template',] },],
|
|
114
|
+
'groupTemplate': [{ type: ContentChild, args: ['groupTemplate',] },],
|
|
115
|
+
'headerTemplate': [{ type: ContentChild, args: ['headerTemplate',] },],
|
|
116
|
+
};
|
|
117
|
+
__decorate([
|
|
118
|
+
Template(),
|
|
119
|
+
__metadata("design:type", Object)
|
|
120
|
+
], ListViewComponent.prototype, "template", void 0);
|
|
121
|
+
__decorate([
|
|
122
|
+
Template(),
|
|
123
|
+
__metadata("design:type", Object)
|
|
124
|
+
], ListViewComponent.prototype, "groupTemplate", void 0);
|
|
125
|
+
__decorate([
|
|
126
|
+
Template(),
|
|
127
|
+
__metadata("design:type", Object)
|
|
128
|
+
], ListViewComponent.prototype, "headerTemplate", void 0);
|
|
129
|
+
ListViewComponent = __decorate([
|
|
130
|
+
ComponentMixins([ComponentBase]),
|
|
131
|
+
__metadata("design:paramtypes", [ElementRef,
|
|
132
|
+
Renderer2,
|
|
133
|
+
ViewContainerRef,
|
|
134
|
+
Injector])
|
|
135
|
+
], ListViewComponent);
|
|
136
|
+
/**
|
|
137
|
+
* NgModule definition for the ListView component.
|
|
138
|
+
*/
|
|
139
|
+
var ListViewModule = /** @class */ (function () {
|
|
140
|
+
function ListViewModule() {
|
|
141
|
+
}
|
|
142
|
+
return ListViewModule;
|
|
143
|
+
}());
|
|
144
|
+
ListViewModule.decorators = [
|
|
145
|
+
{ type: NgModule, args: [{
|
|
146
|
+
imports: [CommonModule],
|
|
147
|
+
declarations: [
|
|
148
|
+
ListViewComponent
|
|
149
|
+
],
|
|
150
|
+
exports: [
|
|
151
|
+
ListViewComponent
|
|
152
|
+
]
|
|
153
|
+
},] },
|
|
154
|
+
];
|
|
155
|
+
/**
|
|
156
|
+
* @nocollapse
|
|
157
|
+
*/
|
|
158
|
+
ListViewModule.ctorParameters = function () { return []; };
|
|
159
|
+
var VirtualizationService = { provide: 'ListsVirtualization', useValue: Virtualization };
|
|
160
|
+
/**
|
|
161
|
+
* NgModule definition for the ListView component with providers.
|
|
162
|
+
*/
|
|
163
|
+
var ListViewAllModule = /** @class */ (function () {
|
|
164
|
+
function ListViewAllModule() {
|
|
165
|
+
}
|
|
166
|
+
return ListViewAllModule;
|
|
167
|
+
}());
|
|
168
|
+
ListViewAllModule.decorators = [
|
|
169
|
+
{ type: NgModule, args: [{
|
|
170
|
+
imports: [CommonModule, ListViewModule],
|
|
171
|
+
exports: [
|
|
172
|
+
ListViewModule
|
|
173
|
+
],
|
|
174
|
+
providers: [
|
|
175
|
+
VirtualizationService
|
|
176
|
+
]
|
|
177
|
+
},] },
|
|
178
|
+
];
|
|
179
|
+
/**
|
|
180
|
+
* @nocollapse
|
|
181
|
+
*/
|
|
182
|
+
ListViewAllModule.ctorParameters = function () { return []; };
|
|
183
|
+
/**
|
|
184
|
+
* Generated bundle index. Do not edit.
|
|
185
|
+
*/
|
|
186
|
+
export { ListViewComponent, ListViewModule, ListViewAllModule, VirtualizationService, inputs as ɵa, outputs as ɵb };
|
|
187
|
+
export { classNames, FieldSettings, ListView, Virtualization, cssClass, ListBase, getFieldValues, Sortable, moveTo } from '@syncfusion/ej2-lists';
|
|
188
188
|
//# sourceMappingURL=ej2-angular-lists.es5.js.map
|