@syncfusion/ej2-angular-lists 22.1.34 → 22.2.5-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/CHANGELOG.md +543 -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 +15 -51
- package/postinstall/tagchange.js +18 -0
- package/schematics/collection.json +40 -0
- package/schematics/generators/listview-checklist/index.d.ts +3 -0
- package/schematics/generators/listview-checklist/index.js +8 -0
- package/schematics/generators/listview-checklist/sample-details.d.ts +5 -0
- package/schematics/generators/listview-checklist/sample-details.js +7 -0
- package/schematics/generators/listview-checklist/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +49 -0
- package/schematics/generators/listview-checklist/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +12 -0
- package/schematics/generators/listview-checklist/schema.d.ts +3 -0
- package/schematics/generators/listview-checklist/schema.js +2 -0
- package/schematics/generators/listview-checklist/schema.json +125 -0
- package/schematics/generators/listview-default/index.d.ts +3 -0
- package/schematics/generators/listview-default/index.js +8 -0
- package/schematics/generators/listview-default/sample-details.d.ts +5 -0
- package/schematics/generators/listview-default/sample-details.js +7 -0
- package/schematics/generators/listview-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +53 -0
- package/schematics/generators/listview-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +12 -0
- package/schematics/generators/listview-default/schema.d.ts +3 -0
- package/schematics/generators/listview-default/schema.js +2 -0
- package/schematics/generators/listview-default/schema.json +125 -0
- package/schematics/generators/listview-nestedlist/images/__path__/__name@dasherize__/file_icons.png +0 -0
- package/schematics/generators/listview-nestedlist/index.d.ts +3 -0
- package/schematics/generators/listview-nestedlist/index.js +8 -0
- package/schematics/generators/listview-nestedlist/sample-details.d.ts +5 -0
- package/schematics/generators/listview-nestedlist/sample-details.js +7 -0
- package/schematics/generators/listview-nestedlist/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +70 -0
- package/schematics/generators/listview-nestedlist/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +5 -0
- package/schematics/generators/listview-nestedlist/schema.d.ts +3 -0
- package/schematics/generators/listview-nestedlist/schema.js +2 -0
- package/schematics/generators/listview-nestedlist/schema.json +125 -0
- package/schematics/generators/listview-remotelist/index.d.ts +3 -0
- package/schematics/generators/listview-remotelist/index.js +8 -0
- package/schematics/generators/listview-remotelist/sample-details.d.ts +5 -0
- package/schematics/generators/listview-remotelist/sample-details.js +7 -0
- package/schematics/generators/listview-remotelist/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +56 -0
- package/schematics/generators/listview-remotelist/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +5 -0
- package/schematics/generators/listview-remotelist/schema.d.ts +3 -0
- package/schematics/generators/listview-remotelist/schema.js +2 -0
- package/schematics/generators/listview-remotelist/schema.json +125 -0
- package/schematics/generators/listview-template/index.d.ts +3 -0
- package/schematics/generators/listview-template/index.js +8 -0
- package/schematics/generators/listview-template/sample-details.d.ts +5 -0
- package/schematics/generators/listview-template/sample-details.js +7 -0
- package/schematics/generators/listview-template/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +169 -0
- package/schematics/generators/listview-template/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +18 -0
- package/schematics/generators/listview-template/schema.d.ts +3 -0
- package/schematics/generators/listview-template/schema.js +2 -0
- package/schematics/generators/listview-template/schema.json +125 -0
- package/schematics/generators/listview-virtualization/images/__path__/__name@dasherize__/albert.png +0 -0
- package/schematics/generators/listview-virtualization/images/__path__/__name@dasherize__/laura.png +0 -0
- package/schematics/generators/listview-virtualization/images/__path__/__name@dasherize__/margaret.png +0 -0
- package/schematics/generators/listview-virtualization/index.d.ts +3 -0
- package/schematics/generators/listview-virtualization/index.js +8 -0
- package/schematics/generators/listview-virtualization/sample-details.d.ts +5 -0
- package/schematics/generators/listview-virtualization/sample-details.js +7 -0
- package/schematics/generators/listview-virtualization/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +83 -0
- package/schematics/generators/listview-virtualization/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +37 -0
- package/schematics/generators/listview-virtualization/schema.d.ts +3 -0
- package/schematics/generators/listview-virtualization/schema.js +2 -0
- package/schematics/generators/listview-virtualization/schema.json +125 -0
- package/schematics/ng-add/index.d.ts +3 -0
- package/schematics/ng-add/index.js +9 -0
- package/schematics/ng-add/schema.d.ts +13 -0
- package/schematics/ng-add/schema.js +2 -0
- package/schematics/ng-add/schema.json +34 -0
- package/schematics/tsconfig.json +25 -0
- package/schematics/utils/lib-details.d.ts +4 -0
- package/schematics/utils/lib-details.js +6 -0
- package/schematics/utils/lib-details.ts +2 -2
- package/src/list-view/listview-all.module.d.ts +0 -6
- package/src/list-view/listview.component.d.ts +12 -6
- package/src/list-view/listview.module.d.ts +0 -6
- package/styles/list-view/bootstrap-dark.scss +1 -5
- package/styles/list-view/bootstrap.scss +1 -5
- package/styles/list-view/bootstrap4.scss +1 -5
- package/styles/list-view/bootstrap5-dark.scss +1 -5
- package/styles/list-view/bootstrap5.scss +1 -5
- package/styles/list-view/fabric-dark.scss +1 -5
- package/styles/list-view/fabric.scss +1 -5
- package/styles/list-view/fluent-dark.scss +1 -5
- package/styles/list-view/fluent.scss +1 -5
- package/styles/list-view/highcontrast-light.scss +1 -5
- package/styles/list-view/highcontrast.scss +1 -5
- package/styles/list-view/material-dark.scss +1 -5
- package/styles/list-view/material.scss +1 -5
- package/styles/list-view/material3-dark.scss +1 -5
- package/styles/list-view/material3.scss +1 -5
- package/styles/list-view/tailwind-dark.scss +1 -5
- package/styles/list-view/tailwind.scss +1 -5
- package/styles/material3-dark.css +56 -0
- package/styles/material3-dark.scss +0 -1
- package/styles/material3.css +111 -0
- package/styles/material3.scss +0 -1
- package/styles/sortable/bootstrap-dark.scss +1 -3
- package/styles/sortable/bootstrap.scss +1 -3
- package/styles/sortable/bootstrap4.scss +1 -3
- package/styles/sortable/bootstrap5-dark.scss +1 -3
- package/styles/sortable/bootstrap5.scss +1 -3
- package/styles/sortable/fabric-dark.scss +1 -3
- package/styles/sortable/fabric.scss +1 -3
- package/styles/sortable/fluent-dark.scss +1 -3
- package/styles/sortable/fluent.scss +1 -3
- package/styles/sortable/highcontrast-light.scss +1 -3
- package/styles/sortable/highcontrast.scss +1 -3
- package/styles/sortable/material-dark.scss +1 -3
- package/styles/sortable/material.scss +1 -3
- package/styles/sortable/material3-dark.scss +1 -3
- package/styles/sortable/material3.scss +1 -3
- package/styles/sortable/tailwind-dark.scss +1 -3
- package/styles/sortable/tailwind.scss +1 -3
- package/esm2020/public_api.mjs +0 -3
- 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 -139
- package/fesm2015/syncfusion-ej2-angular-lists.mjs.map +0 -1
- package/fesm2020/syncfusion-ej2-angular-lists.mjs +0 -139
- package/fesm2020/syncfusion-ej2-angular-lists.mjs.map +0 -1
- package/styles/list-view/_all.scss +0 -2
- package/styles/list-view/_bootstrap-dark-definition.scss +0 -111
- package/styles/list-view/_bootstrap-definition.scss +0 -104
- package/styles/list-view/_bootstrap4-definition.scss +0 -107
- package/styles/list-view/_bootstrap5-dark-definition.scss +0 -1
- package/styles/list-view/_bootstrap5-definition.scss +0 -132
- package/styles/list-view/_fabric-dark-definition.scss +0 -111
- package/styles/list-view/_fabric-definition.scss +0 -104
- package/styles/list-view/_fluent-dark-definition.scss +0 -1
- package/styles/list-view/_fluent-definition.scss +0 -138
- package/styles/list-view/_fusionnew-definition.scss +0 -132
- package/styles/list-view/_highcontrast-definition.scss +0 -104
- package/styles/list-view/_highcontrast-light-definition.scss +0 -111
- package/styles/list-view/_layout.scss +0 -615
- package/styles/list-view/_material-dark-definition.scss +0 -111
- package/styles/list-view/_material-definition.scss +0 -104
- package/styles/list-view/_material3-dark-definition.scss +0 -1
- package/styles/list-view/_material3-definition.scss +0 -134
- package/styles/list-view/_tailwind-dark-definition.scss +0 -1
- package/styles/list-view/_tailwind-definition.scss +0 -124
- package/styles/list-view/_theme.scss +0 -331
- package/styles/list-view/icons/_bootstrap-dark.scss +0 -12
- package/styles/list-view/icons/_bootstrap.scss +0 -8
- package/styles/list-view/icons/_bootstrap4.scss +0 -8
- package/styles/list-view/icons/_bootstrap5-dark.scss +0 -1
- package/styles/list-view/icons/_bootstrap5.scss +0 -8
- package/styles/list-view/icons/_fabric-dark.scss +0 -12
- package/styles/list-view/icons/_fabric.scss +0 -8
- package/styles/list-view/icons/_fluent-dark.scss +0 -1
- package/styles/list-view/icons/_fluent.scss +0 -8
- package/styles/list-view/icons/_fusionnew.scss +0 -8
- package/styles/list-view/icons/_highcontrast-light.scss +0 -12
- package/styles/list-view/icons/_highcontrast.scss +0 -8
- package/styles/list-view/icons/_material-dark.scss +0 -11
- package/styles/list-view/icons/_material.scss +0 -7
- package/styles/list-view/icons/_material3-dark.scss +0 -1
- package/styles/list-view/icons/_material3.scss +0 -8
- package/styles/list-view/icons/_tailwind-dark.scss +0 -8
- package/styles/list-view/icons/_tailwind.scss +0 -8
- package/styles/sortable/_all.scss +0 -1
- package/styles/sortable/_bootstrap-dark-definition.scss +0 -1
- package/styles/sortable/_bootstrap-definition.scss +0 -1
- package/styles/sortable/_bootstrap4-definition.scss +0 -1
- package/styles/sortable/_bootstrap5-dark-definition.scss +0 -1
- package/styles/sortable/_bootstrap5-definition.scss +0 -1
- package/styles/sortable/_fabric-dark-definition.scss +0 -1
- package/styles/sortable/_fabric-definition.scss +0 -1
- package/styles/sortable/_fluent-dark-definition.scss +0 -1
- package/styles/sortable/_fluent-definition.scss +0 -1
- package/styles/sortable/_fusionnew-definition.scss +0 -1
- package/styles/sortable/_highcontrast-definition.scss +0 -1
- package/styles/sortable/_highcontrast-light-definition.scss +0 -1
- package/styles/sortable/_layout.scss +0 -28
- package/styles/sortable/_material-dark-definition.scss +0 -1
- package/styles/sortable/_material-definition.scss +0 -1
- package/styles/sortable/_material3-dark-definition.scss +0 -1
- package/styles/sortable/_material3-definition.scss +0 -1
- package/styles/sortable/_tailwind-dark-definition.scss +0 -1
- package/styles/sortable/_tailwind-definition.scss +0 -1
- package/syncfusion-ej2-angular-lists.d.ts +0 -5
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* filename: ej2-angular-lists.umd.js
|
|
3
|
+
* version : 22.2.5
|
|
4
|
+
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
5
|
+
* Use of this code is subject to the terms of our license.
|
|
6
|
+
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
|
+
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
8
|
+
* applicable laws.
|
|
9
|
+
*/
|
|
10
|
+
(function (global, factory) {
|
|
11
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@syncfusion/ej2-angular-base'), require('@syncfusion/ej2-lists'), require('@angular/common')) :
|
|
12
|
+
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@syncfusion/ej2-angular-base', '@syncfusion/ej2-lists', '@angular/common'], factory) :
|
|
13
|
+
(factory((global['ej2-angular-lists'] = {}),global.ng.core,global.ej2.angular.base,global.ej2.lists,global.ng.common));
|
|
14
|
+
}(this, (function (exports,core,ej2AngularBase,ej2Lists,common) { 'use strict';
|
|
15
|
+
|
|
16
|
+
var __extends = (this && this.__extends) || (function () {
|
|
17
|
+
var extendStatics = Object.setPrototypeOf ||
|
|
18
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
20
|
+
return function (d, b) {
|
|
21
|
+
extendStatics(d, b);
|
|
22
|
+
function __() { this.constructor = d; }
|
|
23
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
24
|
+
};
|
|
25
|
+
})();
|
|
26
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
27
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
28
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
29
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
30
|
+
else
|
|
31
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
32
|
+
if (d = decorators[i])
|
|
33
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
34
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
35
|
+
};
|
|
36
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
37
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
38
|
+
return Reflect.metadata(k, v);
|
|
39
|
+
};
|
|
40
|
+
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'];
|
|
41
|
+
var outputs = ['actionBegin', 'actionComplete', 'actionFailure', 'select'];
|
|
42
|
+
var twoWays = [''];
|
|
43
|
+
/**
|
|
44
|
+
* Represents Angular ListView Component
|
|
45
|
+
* ```
|
|
46
|
+
* <ejs-listview [dataSource]='data'></ejs-listview>
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
exports.ListViewComponent = /** @class */ (function (_super) {
|
|
50
|
+
__extends(ListViewComponent, _super);
|
|
51
|
+
/**
|
|
52
|
+
* @param {?} ngEle
|
|
53
|
+
* @param {?} srenderer
|
|
54
|
+
* @param {?} viewContainerRef
|
|
55
|
+
* @param {?} injector
|
|
56
|
+
*/
|
|
57
|
+
function ListViewComponent(ngEle, srenderer, viewContainerRef, injector) {
|
|
58
|
+
var _this = _super.call(this) || this;
|
|
59
|
+
_this.ngEle = ngEle;
|
|
60
|
+
_this.srenderer = srenderer;
|
|
61
|
+
_this.viewContainerRef = viewContainerRef;
|
|
62
|
+
_this.injector = injector;
|
|
63
|
+
_this.element = _this.ngEle.nativeElement;
|
|
64
|
+
_this.injectedModules = _this.injectedModules || [];
|
|
65
|
+
try {
|
|
66
|
+
var mod = _this.injector.get('ListsVirtualization');
|
|
67
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
68
|
+
_this.injectedModules.push(mod);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
catch (_a) { }
|
|
72
|
+
_this.registerEvents(outputs);
|
|
73
|
+
_this.addTwoWay.call(_this, twoWays);
|
|
74
|
+
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
75
|
+
_this.context = new ej2AngularBase.ComponentBase();
|
|
76
|
+
return _this;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* @return {?}
|
|
80
|
+
*/
|
|
81
|
+
ListViewComponent.prototype.ngOnInit = function () {
|
|
82
|
+
this.context.ngOnInit(this);
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* @return {?}
|
|
86
|
+
*/
|
|
87
|
+
ListViewComponent.prototype.ngAfterViewInit = function () {
|
|
88
|
+
this.context.ngAfterViewInit(this);
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* @return {?}
|
|
92
|
+
*/
|
|
93
|
+
ListViewComponent.prototype.ngOnDestroy = function () {
|
|
94
|
+
this.context.ngOnDestroy(this);
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* @return {?}
|
|
98
|
+
*/
|
|
99
|
+
ListViewComponent.prototype.ngAfterContentChecked = function () {
|
|
100
|
+
this.context.ngAfterContentChecked(this);
|
|
101
|
+
};
|
|
102
|
+
return ListViewComponent;
|
|
103
|
+
}(ej2Lists.ListView));
|
|
104
|
+
exports.ListViewComponent.decorators = [
|
|
105
|
+
{ type: core.Component, args: [{
|
|
106
|
+
selector: 'ejs-listview',
|
|
107
|
+
inputs: inputs,
|
|
108
|
+
outputs: outputs,
|
|
109
|
+
template: '',
|
|
110
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
111
|
+
queries: {}
|
|
112
|
+
},] },
|
|
113
|
+
];
|
|
114
|
+
/**
|
|
115
|
+
* @nocollapse
|
|
116
|
+
*/
|
|
117
|
+
exports.ListViewComponent.ctorParameters = function () { return [
|
|
118
|
+
{ type: core.ElementRef, },
|
|
119
|
+
{ type: core.Renderer2, },
|
|
120
|
+
{ type: core.ViewContainerRef, },
|
|
121
|
+
{ type: core.Injector, },
|
|
122
|
+
]; };
|
|
123
|
+
exports.ListViewComponent.propDecorators = {
|
|
124
|
+
'template': [{ type: core.ContentChild, args: ['template',] },],
|
|
125
|
+
'groupTemplate': [{ type: core.ContentChild, args: ['groupTemplate',] },],
|
|
126
|
+
'headerTemplate': [{ type: core.ContentChild, args: ['headerTemplate',] },],
|
|
127
|
+
};
|
|
128
|
+
__decorate([
|
|
129
|
+
ej2AngularBase.Template(),
|
|
130
|
+
__metadata("design:type", Object)
|
|
131
|
+
], exports.ListViewComponent.prototype, "template", void 0);
|
|
132
|
+
__decorate([
|
|
133
|
+
ej2AngularBase.Template(),
|
|
134
|
+
__metadata("design:type", Object)
|
|
135
|
+
], exports.ListViewComponent.prototype, "groupTemplate", void 0);
|
|
136
|
+
__decorate([
|
|
137
|
+
ej2AngularBase.Template(),
|
|
138
|
+
__metadata("design:type", Object)
|
|
139
|
+
], exports.ListViewComponent.prototype, "headerTemplate", void 0);
|
|
140
|
+
exports.ListViewComponent = __decorate([
|
|
141
|
+
ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]),
|
|
142
|
+
__metadata("design:paramtypes", [core.ElementRef,
|
|
143
|
+
core.Renderer2,
|
|
144
|
+
core.ViewContainerRef,
|
|
145
|
+
core.Injector])
|
|
146
|
+
], exports.ListViewComponent);
|
|
147
|
+
/**
|
|
148
|
+
* NgModule definition for the ListView component.
|
|
149
|
+
*/
|
|
150
|
+
var ListViewModule = /** @class */ (function () {
|
|
151
|
+
function ListViewModule() {
|
|
152
|
+
}
|
|
153
|
+
return ListViewModule;
|
|
154
|
+
}());
|
|
155
|
+
ListViewModule.decorators = [
|
|
156
|
+
{ type: core.NgModule, args: [{
|
|
157
|
+
imports: [common.CommonModule],
|
|
158
|
+
declarations: [
|
|
159
|
+
exports.ListViewComponent
|
|
160
|
+
],
|
|
161
|
+
exports: [
|
|
162
|
+
exports.ListViewComponent
|
|
163
|
+
]
|
|
164
|
+
},] },
|
|
165
|
+
];
|
|
166
|
+
/**
|
|
167
|
+
* @nocollapse
|
|
168
|
+
*/
|
|
169
|
+
ListViewModule.ctorParameters = function () { return []; };
|
|
170
|
+
var VirtualizationService = { provide: 'ListsVirtualization', useValue: ej2Lists.Virtualization };
|
|
171
|
+
/**
|
|
172
|
+
* NgModule definition for the ListView component with providers.
|
|
173
|
+
*/
|
|
174
|
+
var ListViewAllModule = /** @class */ (function () {
|
|
175
|
+
function ListViewAllModule() {
|
|
176
|
+
}
|
|
177
|
+
return ListViewAllModule;
|
|
178
|
+
}());
|
|
179
|
+
ListViewAllModule.decorators = [
|
|
180
|
+
{ type: core.NgModule, args: [{
|
|
181
|
+
imports: [common.CommonModule, ListViewModule],
|
|
182
|
+
exports: [
|
|
183
|
+
ListViewModule
|
|
184
|
+
],
|
|
185
|
+
providers: [
|
|
186
|
+
VirtualizationService
|
|
187
|
+
]
|
|
188
|
+
},] },
|
|
189
|
+
];
|
|
190
|
+
/**
|
|
191
|
+
* @nocollapse
|
|
192
|
+
*/
|
|
193
|
+
ListViewAllModule.ctorParameters = function () { return []; };
|
|
194
|
+
|
|
195
|
+
exports.ListViewModule = ListViewModule;
|
|
196
|
+
exports.ListViewAllModule = ListViewAllModule;
|
|
197
|
+
exports.VirtualizationService = VirtualizationService;
|
|
198
|
+
exports.ɵa = inputs;
|
|
199
|
+
exports.ɵb = outputs;
|
|
200
|
+
exports.classNames = ej2Lists.classNames;
|
|
201
|
+
exports.FieldSettings = ej2Lists.FieldSettings;
|
|
202
|
+
exports.ListView = ej2Lists.ListView;
|
|
203
|
+
exports.Virtualization = ej2Lists.Virtualization;
|
|
204
|
+
exports.cssClass = ej2Lists.cssClass;
|
|
205
|
+
exports.ListBase = ej2Lists.ListBase;
|
|
206
|
+
exports.getFieldValues = ej2Lists.getFieldValues;
|
|
207
|
+
exports.Sortable = ej2Lists.Sortable;
|
|
208
|
+
exports.moveTo = ej2Lists.moveTo;
|
|
209
|
+
|
|
210
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
211
|
+
|
|
212
|
+
})));
|
|
213
|
+
//# sourceMappingURL=ej2-angular-lists.umd.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ej2-angular-lists.umd.js","sources":["~/@syncfusion/ej2-angular-lists/src/list-view/listview-all.module.ts","~/@syncfusion/ej2-angular-lists/src/list-view/listview.module.ts","~/@syncfusion/ej2-angular-lists/src/list-view/listview.component.ts"],"sourcesContent":["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 /** @type {?} */ VirtualizationService: ValueProvider = { provide: 'ListsVirtualization', useValue: Virtualization};\n/**\n * NgModule definition for the ListView component with providers.\n */\nexport class ListViewAllModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule, ListViewModule],\n exports: [\n ListViewModule\n ],\n providers:[\n VirtualizationService\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction ListViewAllModule_tsickle_Closure_declarations() {\n/** @type {?} */\nListViewAllModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nListViewAllModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ListViewComponent } from './listview.component';\n/**\n * NgModule definition for the ListView component.\n */\nexport class ListViewModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule],\n declarations: [\n ListViewComponent\n ],\n exports: [\n ListViewComponent\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction ListViewModule_tsickle_Closure_declarations() {\n/** @type {?} */\nListViewModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nListViewModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","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 /** @type {?} */ inputs: string[] = ['animation','checkBoxPosition','cssClass','dataSource','enable','enableHtmlSanitizer','enablePersistence','enableRtl','enableVirtualization','fields','groupTemplate','headerTemplate','headerTitle','height','htmlAttributes','locale','query','showCheckBox','showHeader','showIcon','sortOrder','template','width'];\nexport const /** @type {?} */ outputs: string[] = ['actionBegin','actionComplete','actionFailure','select'];\nexport const /** @type {?} */ twoWays: string[] = [''];\n/**\n * Represents Angular ListView Component\n * ```\n * <ejs-listview [dataSource]='data'></ejs-listview>\n * ```\n */\n@ComponentMixins([ComponentBase])\nexport class ListViewComponent extends ListView implements IComponentBase {\npublic context : any;\npublic tagObjects: any;\n\tactionBegin: any;\n\tactionComplete: any;\n\tactionFailure: any;\npublic select: any;\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 * @deprecated\n */\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 * @deprecated\n */\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 * @deprecated\n */\n@Template()\n public headerTemplate: any;\n/**\n * @param {?} ngEle\n * @param {?} srenderer\n * @param {?} viewContainerRef\n * @param {?} injector\n */\nconstructor(private ngEle: ElementRef,\nprivate srenderer: Renderer2,\nprivate viewContainerRef:ViewContainerRef,\nprivate 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\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n/**\n * @return {?}\n */\npublic ngOnInit() {\n this.context.ngOnInit(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n/**\n * @return {?}\n */\npublic ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterContentChecked(): void {\n \n this.context.ngAfterContentChecked(this);\n }\npublic registerEvents: (eventList: string[]) => void;\npublic addTwoWay: (propList: string[]) => void;\nstatic decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n selector: 'ejs-listview',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ElementRef, },\n{type: Renderer2, },\n{type: ViewContainerRef, },\n{type: Injector, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'template': [{ type: ContentChild, args: ['template', ] },],\n'groupTemplate': [{ type: ContentChild, args: ['groupTemplate', ] },],\n'headerTemplate': [{ type: ContentChild, args: ['headerTemplate', ] },],\n};\n}\n\nfunction ListViewComponent_tsickle_Closure_declarations() {\n/** @type {?} */\nListViewComponent.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nListViewComponent.ctorParameters;\n/** @type {?} */\nListViewComponent.propDecorators;\n/** @type {?} */\nListViewComponent.prototype.context;\n/** @type {?} */\nListViewComponent.prototype.tagObjects;\n/** @type {?} */\nListViewComponent.prototype.actionBegin;\n/** @type {?} */\nListViewComponent.prototype.actionComplete;\n/** @type {?} */\nListViewComponent.prototype.actionFailure;\n/** @type {?} */\nListViewComponent.prototype.select;\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 * @deprecated\n * @type {?}\n */\nListViewComponent.prototype.template;\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 * @deprecated\n * @type {?}\n */\nListViewComponent.prototype.groupTemplate;\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 * @deprecated\n * @type {?}\n */\nListViewComponent.prototype.headerTemplate;\n/** @type {?} */\nListViewComponent.prototype.registerEvents;\n/** @type {?} */\nListViewComponent.prototype.addTwoWay;\n/** @type {?} */\nListViewComponent.prototype.ngEle;\n/** @type {?} */\nListViewComponent.prototype.srenderer;\n/** @type {?} */\nListViewComponent.prototype.viewContainerRef;\n/** @type {?} */\nListViewComponent.prototype.injector;\n}\n\n\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"],"names":["CommonModule","NgModule","Virtualization","ListViewComponent","Injector","ViewContainerRef","Renderer2","ElementRef","ComponentMixins","ComponentBase","Template","ContentChild","ChangeDetectionStrategy","Component","ListView","setValue"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AEAA,IAMa,MAAA,GAAmB,CAAA,WAAE,EAAW,kBAAC,EAAkB,UAAC,EAAU,YAAC,EAAY,QAAC,EAAQ,qBAAC,EAAqB,mBAAC,EAAmB,WAAC,EAAW,sBAAC,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mBAAE,CAAY;gBADvB,YAAY,EAEE;oBADVG,yBAAiB;iBACpB;gBACD,OAAO,EAEE;oBADLA,yBAAiB;iBACpB;aACJ,EAEC,EAAG;CADJ,CAEC;;;;AAED,cAAD,CAAA,cAAC,GAAA,YAAD,EAAC,OAAA,EACA,CADD,EACC,CAAC;ADdK,IAAM,qBAAA,GAAuC,EAAE,OAAA,EAAS,qBAAA,EAAuB,QAAA,EAAUD,uBAAA,EAAe,CAAC;;;;AAIhH,IAAA,iBAAA,kBAAA,YAAA;IAAA,SAAA,iBAAA,GAAA;;;CAAA,EAAA,CAAA,CAAA;AAEwC,iBAAxC,CAAA,UAAwC,GAAoC;IAD5E,EAEE,IAAA,EAAMD,aAAA,EAAU,IAAA,EAAM,CAAA;gBADpB,OAAO,EAEE,CAAAD,mBAAE,EAAa,cAAA,CAAe;gBADvC,OAAO,EAEE;oBADL,cAAc;iBACjB;gBACD,SAAS,EAEC;oBADN,qBAAqB;iBACxB;aACJ,EAEC,EAAG;CADJ,CAEC;;;;AAED,iBAAD,CAAA,cAAC,GAAA,YAAD,EAAC,OAAA,EACA,CADD,EACC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* filename: ej2-angular-lists.umd.min.js
|
|
3
|
+
* version : 22.2.5
|
|
4
|
+
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
5
|
+
* Use of this code is subject to the terms of our license.
|
|
6
|
+
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
|
+
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
8
|
+
* applicable laws.
|
|
9
|
+
*/
|
|
10
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@syncfusion/ej2-angular-base"),require("@syncfusion/ej2-lists"),require("@angular/common")):"function"==typeof define&&define.amd?define(["exports","@angular/core","@syncfusion/ej2-angular-base","@syncfusion/ej2-lists","@angular/common"],t):t(e["ej2-angular-lists"]={},e.ng.core,e.ej2.angular.base,e.ej2.lists,e.ng.common)}(this,function(e,t,n,o,i){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),s=this&&this.__decorate||function(e,t,n,o){var i,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,n,s):i(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},c=["animation","checkBoxPosition","cssClass","dataSource","enable","enableHtmlSanitizer","enablePersistence","enableRtl","enableVirtualization","fields","groupTemplate","headerTemplate","headerTitle","height","htmlAttributes","locale","query","showCheckBox","showHeader","showIcon","sortOrder","template","width"],l=["actionBegin","actionComplete","actionFailure","select"],p=[""];e.ListViewComponent=function(e){function t(t,o,i,r){var s=e.call(this)||this;s.ngEle=t,s.srenderer=o,s.viewContainerRef=i,s.injector=r,s.element=s.ngEle.nativeElement,s.injectedModules=s.injectedModules||[];try{var a=s.injector.get("ListsVirtualization");-1===s.injectedModules.indexOf(a)&&s.injectedModules.push(a)}catch(c){}return s.registerEvents(l),s.addTwoWay.call(s,p),n.setValue("currentInstance",s,s.viewContainerRef),s.context=new n.ComponentBase,s}return r(t,e),t.prototype.ngOnInit=function(){this.context.ngOnInit(this)},t.prototype.ngAfterViewInit=function(){this.context.ngAfterViewInit(this)},t.prototype.ngOnDestroy=function(){this.context.ngOnDestroy(this)},t.prototype.ngAfterContentChecked=function(){this.context.ngAfterContentChecked(this)},t}(o.ListView),e.ListViewComponent.decorators=[{type:t.Component,args:[{selector:"ejs-listview",inputs:c,outputs:l,template:"",changeDetection:t.ChangeDetectionStrategy.OnPush,queries:{}}]}],e.ListViewComponent.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2},{type:t.ViewContainerRef},{type:t.Injector}]},e.ListViewComponent.propDecorators={template:[{type:t.ContentChild,args:["template"]}],groupTemplate:[{type:t.ContentChild,args:["groupTemplate"]}],headerTemplate:[{type:t.ContentChild,args:["headerTemplate"]}]},s([n.Template(),a("design:type",Object)],e.ListViewComponent.prototype,"template",void 0),s([n.Template(),a("design:type",Object)],e.ListViewComponent.prototype,"groupTemplate",void 0),s([n.Template(),a("design:type",Object)],e.ListViewComponent.prototype,"headerTemplate",void 0),e.ListViewComponent=s([n.ComponentMixins([n.ComponentBase]),a("design:paramtypes",[t.ElementRef,t.Renderer2,t.ViewContainerRef,t.Injector])],e.ListViewComponent);var u=function(){return function(){}}();u.decorators=[{type:t.NgModule,args:[{imports:[i.CommonModule],declarations:[e.ListViewComponent],exports:[e.ListViewComponent]}]}],u.ctorParameters=function(){return[]};var d={provide:"ListsVirtualization",useValue:o.Virtualization},f=function(){return function(){}}();f.decorators=[{type:t.NgModule,args:[{imports:[i.CommonModule,u],exports:[u],providers:[d]}]}],f.ctorParameters=function(){return[]},e.ListViewModule=u,e.ListViewAllModule=f,e.VirtualizationService=d,e.ɵa=c,e.ɵb=l,e.classNames=o.classNames,e.FieldSettings=o.FieldSettings,e.ListView=o.ListView,e.Virtualization=o.Virtualization,e.cssClass=o.cssClass,e.ListBase=o.ListBase,e.getFieldValues=o.getFieldValues,e.Sortable=o.Sortable,e.moveTo=o.moveTo,Object.defineProperty(e,"__esModule",{value:!0})});
|
|
11
|
+
//# sourceMappingURL=ej2-angular-lists.umd.min.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ej2-angular-lists.umd.min.js","sources":["~/@syncfusion/ej2-angular-lists/src/list-view/listview.component.ts","~/@syncfusion/ej2-angular-lists/src/list-view/listview.module.ts","~/@syncfusion/ej2-angular-lists/src/list-view/listview-all.module.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 /** @type {?} */ inputs: string[] = ['animation','checkBoxPosition','cssClass','dataSource','enable','enableHtmlSanitizer','enablePersistence','enableRtl','enableVirtualization','fields','groupTemplate','headerTemplate','headerTitle','height','htmlAttributes','locale','query','showCheckBox','showHeader','showIcon','sortOrder','template','width'];\nexport const /** @type {?} */ outputs: string[] = ['actionBegin','actionComplete','actionFailure','select'];\nexport const /** @type {?} */ twoWays: string[] = [''];\n/**\n * Represents Angular ListView Component\n * ```\n * <ejs-listview [dataSource]='data'></ejs-listview>\n * ```\n */\n@ComponentMixins([ComponentBase])\nexport class ListViewComponent extends ListView implements IComponentBase {\npublic context : any;\npublic tagObjects: any;\n\tactionBegin: any;\n\tactionComplete: any;\n\tactionFailure: any;\npublic select: any;\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 * @deprecated\n */\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 * @deprecated\n */\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 * @deprecated\n */\n@Template()\n public headerTemplate: any;\n/**\n * @param {?} ngEle\n * @param {?} srenderer\n * @param {?} viewContainerRef\n * @param {?} injector\n */\nconstructor(private ngEle: ElementRef,\nprivate srenderer: Renderer2,\nprivate viewContainerRef:ViewContainerRef,\nprivate 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\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n/**\n * @return {?}\n */\npublic ngOnInit() {\n this.context.ngOnInit(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n/**\n * @return {?}\n */\npublic ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n/**\n * @return {?}\n */\npublic ngAfterContentChecked(): void {\n \n this.context.ngAfterContentChecked(this);\n }\npublic registerEvents: (eventList: string[]) => void;\npublic addTwoWay: (propList: string[]) => void;\nstatic decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n selector: 'ejs-listview',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n\n }\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ElementRef, },\n{type: Renderer2, },\n{type: ViewContainerRef, },\n{type: Injector, },\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'template': [{ type: ContentChild, args: ['template', ] },],\n'groupTemplate': [{ type: ContentChild, args: ['groupTemplate', ] },],\n'headerTemplate': [{ type: ContentChild, args: ['headerTemplate', ] },],\n};\n}\n\nfunction ListViewComponent_tsickle_Closure_declarations() {\n/** @type {?} */\nListViewComponent.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nListViewComponent.ctorParameters;\n/** @type {?} */\nListViewComponent.propDecorators;\n/** @type {?} */\nListViewComponent.prototype.context;\n/** @type {?} */\nListViewComponent.prototype.tagObjects;\n/** @type {?} */\nListViewComponent.prototype.actionBegin;\n/** @type {?} */\nListViewComponent.prototype.actionComplete;\n/** @type {?} */\nListViewComponent.prototype.actionFailure;\n/** @type {?} */\nListViewComponent.prototype.select;\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 * @deprecated\n * @type {?}\n */\nListViewComponent.prototype.template;\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 * @deprecated\n * @type {?}\n */\nListViewComponent.prototype.groupTemplate;\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 * @deprecated\n * @type {?}\n */\nListViewComponent.prototype.headerTemplate;\n/** @type {?} */\nListViewComponent.prototype.registerEvents;\n/** @type {?} */\nListViewComponent.prototype.addTwoWay;\n/** @type {?} */\nListViewComponent.prototype.ngEle;\n/** @type {?} */\nListViewComponent.prototype.srenderer;\n/** @type {?} */\nListViewComponent.prototype.viewContainerRef;\n/** @type {?} */\nListViewComponent.prototype.injector;\n}\n\n\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ListViewComponent } from './listview.component';\n/**\n * NgModule definition for the ListView component.\n */\nexport class ListViewModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule],\n declarations: [\n ListViewComponent\n ],\n exports: [\n ListViewComponent\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction ListViewModule_tsickle_Closure_declarations() {\n/** @type {?} */\nListViewModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nListViewModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","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 /** @type {?} */ VirtualizationService: ValueProvider = { provide: 'ListsVirtualization', useValue: Virtualization};\n/**\n * NgModule definition for the ListView component with providers.\n */\nexport class ListViewAllModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule, ListViewModule],\n exports: [\n ListViewModule\n ],\n providers:[\n VirtualizationService\n ]\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction ListViewAllModule_tsickle_Closure_declarations() {\n/** @type {?} */\nListViewAllModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nListViewAllModule.ctorParameters;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"],"names":["inputs","outputs","twoWays","exports","ListViewComponent","_super","ngEle","srenderer","viewContainerRef","injector","_this","call","this","element","nativeElement","injectedModules","mod","get","indexOf","push","_a","registerEvents","addTwoWay","setValue","context","ComponentBase","__extends","prototype","ngOnInit","ngAfterViewInit","ngOnDestroy","ngAfterContentChecked","ListView","decorators","type","Component","args","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","queries","ctorParameters","ElementRef","Renderer2","ViewContainerRef","Injector","propDecorators","ContentChild","groupTemplate","headerTemplate","__decorate","Template","ComponentMixins","__metadata","ListViewModule","NgModule","imports","CommonModule","declarations","VirtualizationService","provide","useValue","Virtualization","ListViewAllModule","providers"],"mappings":"owCAMaA,GAAmB,YAAa,mBAAmB,WAAW,aAAa,SAAS,sBAAsB,oBAAoB,YAAY,uBAAuB,SAAS,gBAAgB,iBAAiB,cAAc,SAAS,iBAAiB,SAAS,QAAQ,eAAe,aAAa,WAAW,YAAY,WAAW,SAClUC,GAAoB,cAAe,iBAAiB,gBAAgB,UACpEC,GAAoB,IAQjCC,EAAAC,kBAAA,SAAAC,GAoDA,SAAAD,EAEwBE,EAA2BC,EAA8BC,EAA2CC,GAF5H,IAAAC,EAIQL,EAJRM,KAAAC,OAAAA,KAEwBF,EAAxBJ,MAAwBA,EAA2BI,EAAnDH,UAAmDA,EAA8BG,EAAjFF,iBAAiFA,EAA2CE,EAA5HD,SAA4HA,EAGpHC,EAAKG,QAAUH,EAAKJ,MAAMQ,cAC1BJ,EAAKK,gBAAkBL,EAAKK,oBAC5B,IACQ,IAAIC,EAAMN,EAAKD,SAASQ,IAAI,wBACc,IAAvCP,EAAKK,gBAAgBG,QAAQF,IAC5BN,EAAKK,gBAAgBI,KAAKH,GAEhC,MAAOI,WAEbV,EAAKW,eAAepB,GACpBS,EAAKY,UAAUX,KAAKD,EAAMR,GAC1BqB,EAAAA,SAAS,kBAAmBb,EAAMA,EAAKF,kBACvCE,EAAKc,QAAW,IAAIC,EAAAA,gBAuD5B,OA5HuCC,EAAvCtB,EAAAC,GAuEKD,EAALuB,UAAAC,SAAK,WAIGhB,KAHKY,QAAQI,SAAShB,OAGzBR,E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AAA,GAEwCA,EAAxChC,aACEC,KAAMuB,EAAAA,SAAUrB,OADdsB,SAESC,EAAAA,aAAeH,GADxBrD,SACIqD,GAEJU,WACIL,OAOPI,EAADtB,eAAC,WAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"__symbolic":"module","version":3,"exports":[{"from":"@syncfusion/ej2-lists"}],"metadata":{"ɵa":["animation","checkBoxPosition","cssClass","dataSource","enable","enableHtmlSanitizer","enablePersistence","enableRtl","enableVirtualization","fields","groupTemplate","headerTemplate","headerTitle","height","htmlAttributes","locale","query","showCheckBox","showHeader","showIcon","sortOrder","template","width"],"ɵb":["actionBegin","actionComplete","actionFailure","select"],"ListViewComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@syncfusion/ej2-lists","name":"ListView"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"ejs-listview","inputs":{"__symbolic":"reference","name":"ɵa"},"outputs":{"__symbolic":"reference","name":"ɵb"},"template":"","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy"},"member":"OnPush"},"queries":{}}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@syncfusion/ej2-angular-base","name":"ComponentMixins"},"arguments":[[{"__symbolic":"reference","module":"@syncfusion/ej2-angular-base","name":"ComponentBase"}]]}],"members":{"template":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":["template"]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@syncfusion/ej2-angular-base","name":"Template"}}]}],"groupTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":["groupTemplate"]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@syncfusion/ej2-angular-base","name":"Template"}}]}],"headerTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild"},"arguments":["headerTemplate"]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@syncfusion/ej2-angular-base","name":"Template"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2"},{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"},{"__symbolic":"reference","module":"@angular/core","name":"Injector"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"ngAfterContentChecked":[{"__symbolic":"method"}]}},"ListViewModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"}],"declarations":[{"__symbolic":"reference","name":"ListViewComponent"}],"exports":[{"__symbolic":"reference","name":"ListViewComponent"}]}]}],"members":{}},"ListViewAllModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"},{"__symbolic":"reference","name":"ListViewModule"}],"exports":[{"__symbolic":"reference","name":"ListViewModule"}],"providers":[{"__symbolic":"reference","name":"VirtualizationService"}]}]}],"members":{}},"VirtualizationService":{"provide":"ListsVirtualization","useValue":{"__symbolic":"reference","module":"@syncfusion/ej2-lists","name":"Virtualization"}}},"origins":{"ɵa":"./src/list-view/listview.component","ɵb":"./src/list-view/listview.component","ListViewComponent":"./src/list-view/listview.component","ListViewModule":"./src/list-view/listview.module","ListViewAllModule":"./src/list-view/listview-all.module","VirtualizationService":"./src/list-view/listview-all.module"},"importAs":"@syncfusion/ej2-angular-lists"}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-angular-lists@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-angular-lists@
|
|
3
|
+
"_id": "@syncfusion/ej2-angular-lists@22.1.34",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512
|
|
5
|
+
"_integrity": "sha512-/Jlo6iVyRCMbQQycpmFs/OeCdrXFUGs+nX/0ewFBUgXO7i3t/DfzzeeVjTB640mn7+jOkoqTYbAy5apPxmaymA==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-angular-lists",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/"
|
|
21
21
|
],
|
|
22
|
-
"_resolved": "https://nexus.syncfusion.com/repository/ej2-
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-angular-lists/-/ej2-angular-lists-22.1.34.tgz",
|
|
23
|
+
"_shasum": "e628705fccdc7beb9edba9cea2a919b06953d21e",
|
|
24
24
|
"_spec": "@syncfusion/ej2-angular-lists@*",
|
|
25
|
-
"_where": "/jenkins/workspace/elease-automation_release_21.1.1/
|
|
25
|
+
"_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
|
|
26
26
|
"author": {
|
|
27
27
|
"name": "Syncfusion Inc."
|
|
28
28
|
},
|
|
@@ -31,54 +31,16 @@
|
|
|
31
31
|
},
|
|
32
32
|
"bundleDependencies": false,
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@syncfusion/ej2-angular-base": "~22.
|
|
35
|
-
"@syncfusion/ej2-base": "~22.
|
|
36
|
-
"@syncfusion/ej2-lists": "22.
|
|
37
|
-
"tslib": "^2.3.0"
|
|
34
|
+
"@syncfusion/ej2-angular-base": "~22.2.5",
|
|
35
|
+
"@syncfusion/ej2-base": "~22.2.5",
|
|
36
|
+
"@syncfusion/ej2-lists": "22.2.5"
|
|
38
37
|
},
|
|
39
38
|
"deprecated": false,
|
|
40
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",
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"exports": {
|
|
44
|
-
"./package.json": {
|
|
45
|
-
"default": "./package.json"
|
|
46
|
-
},
|
|
47
|
-
".": {
|
|
48
|
-
"types": "./syncfusion-ej2-angular-lists.d.ts",
|
|
49
|
-
"esm2020": "./esm2020/syncfusion-ej2-angular-lists.mjs",
|
|
50
|
-
"es2020": "./fesm2020/syncfusion-ej2-angular-lists.mjs",
|
|
51
|
-
"es2015": "./fesm2015/syncfusion-ej2-angular-lists.mjs",
|
|
52
|
-
"node": "./fesm2015/syncfusion-ej2-angular-lists.mjs",
|
|
53
|
-
"default": "./fesm2020/syncfusion-ej2-angular-lists.mjs"
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
"fesm2015": "fesm2015/syncfusion-ej2-angular-lists.mjs",
|
|
57
|
-
"fesm2020": "fesm2020/syncfusion-ej2-angular-lists.mjs",
|
|
40
|
+
"devDependencies": {},
|
|
41
|
+
"es2015": "@syncfusion/ej2-angular-lists.js",
|
|
58
42
|
"homepage": "https://www.syncfusion.com/angular-components",
|
|
59
43
|
"keywords": [
|
|
60
|
-
"ej2",
|
|
61
|
-
"Syncfusion",
|
|
62
|
-
"web components",
|
|
63
|
-
"virtualization",
|
|
64
|
-
"group list",
|
|
65
|
-
"check list",
|
|
66
|
-
"listview with checkbox",
|
|
67
|
-
"listview template",
|
|
68
|
-
"material list",
|
|
69
|
-
"ui listview",
|
|
70
|
-
"remote listview",
|
|
71
|
-
"nested view",
|
|
72
|
-
"data list",
|
|
73
|
-
"infinite list",
|
|
74
|
-
"sort",
|
|
75
|
-
"todo",
|
|
76
|
-
"list widget",
|
|
77
|
-
"list component",
|
|
78
|
-
"mobile list",
|
|
79
|
-
"list gestures",
|
|
80
|
-
"es6 list",
|
|
81
|
-
"dynamic list",
|
|
82
44
|
"angular listview",
|
|
83
45
|
"ej2 ng lists",
|
|
84
46
|
"list component",
|
|
@@ -86,7 +48,9 @@
|
|
|
86
48
|
"angular6"
|
|
87
49
|
],
|
|
88
50
|
"license": "SEE LICENSE IN license",
|
|
89
|
-
"
|
|
51
|
+
"main": "dist/ej2-angular-lists.umd.js",
|
|
52
|
+
"metadata": "ej2-angular-lists.metadata.json",
|
|
53
|
+
"module": "@syncfusion/ej2-angular-lists.es5.js",
|
|
90
54
|
"name": "@syncfusion/ej2-angular-lists",
|
|
91
55
|
"repository": {
|
|
92
56
|
"type": "git",
|
|
@@ -94,6 +58,6 @@
|
|
|
94
58
|
},
|
|
95
59
|
"schematics": "./schematics/collection.json",
|
|
96
60
|
"sideEffects": false,
|
|
97
|
-
"typings": "
|
|
98
|
-
"version": "22.
|
|
61
|
+
"typings": "ej2-angular-lists.d.ts",
|
|
62
|
+
"version": "22.2.5-ngcc"
|
|
99
63
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
var fs = require("fs");
|
|
2
|
+
var glob = require("glob");
|
|
3
|
+
|
|
4
|
+
var selectors = ['ejs-listview'];
|
|
5
|
+
|
|
6
|
+
if (process.env.tagName !== undefined) {
|
|
7
|
+
var newTagPrefix = process.env.tagName.trim();
|
|
8
|
+
var files = glob.sync("./@syncfusion/*");
|
|
9
|
+
for (var i = 0; i < files.length; i++) {
|
|
10
|
+
var sourceFile = fs.readFileSync(files[i], "utf8");
|
|
11
|
+
for (var j = 0; j < selectors.length; j++) {
|
|
12
|
+
selectors[j] = selectors[j].replace('[','').replace(']','');
|
|
13
|
+
var tagRegex = new RegExp(selectors[j], "g");
|
|
14
|
+
sourceFile = sourceFile.replace(tagRegex,selectors[j].replace("ejs", newTagPrefix));
|
|
15
|
+
}
|
|
16
|
+
fs.writeFileSync(files[i], sourceFile, "utf8");
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "./node_modules/@angular-devkit/schematics/collection-schema.json",
|
|
3
|
+
"schematics": {
|
|
4
|
+
"ng-add": {
|
|
5
|
+
"description": "Adds Essential JS 2 specific Angular package to an application",
|
|
6
|
+
"factory": "./ng-add",
|
|
7
|
+
"schema": "./ng-add/schema.json"
|
|
8
|
+
},
|
|
9
|
+
"listview-checklist": {
|
|
10
|
+
"description": "Create an Angular ListView component with checkbox feature",
|
|
11
|
+
"factory": "./generators/listview-checklist",
|
|
12
|
+
"schema": "./generators/listview-checklist/schema.json"
|
|
13
|
+
},
|
|
14
|
+
"listview-default": {
|
|
15
|
+
"description": "Create an Angular ListView component as simple flat list",
|
|
16
|
+
"factory": "./generators/listview-default",
|
|
17
|
+
"schema": "./generators/listview-default/schema.json"
|
|
18
|
+
},
|
|
19
|
+
"listview-nestedlist": {
|
|
20
|
+
"description": "Create an Angular ListView component with nested navigation feature",
|
|
21
|
+
"factory": "./generators/listview-nestedlist",
|
|
22
|
+
"schema": "./generators/listview-nestedlist/schema.json"
|
|
23
|
+
},
|
|
24
|
+
"listview-remotelist": {
|
|
25
|
+
"description": "Loading remote data into Angular ListView component",
|
|
26
|
+
"factory": "./generators/listview-remotelist",
|
|
27
|
+
"schema": "./generators/listview-remotelist/schema.json"
|
|
28
|
+
},
|
|
29
|
+
"listview-template": {
|
|
30
|
+
"description": "Create an Angular component with EJ2 listview with template",
|
|
31
|
+
"factory": "./generators/listview-template",
|
|
32
|
+
"schema": "./generators/listview-template/schema.json"
|
|
33
|
+
},
|
|
34
|
+
"listview-virtualization": {
|
|
35
|
+
"description": "Enabling virtualization feature in Angular ListView component",
|
|
36
|
+
"factory": "./generators/listview-virtualization",
|
|
37
|
+
"schema": "./generators/listview-virtualization/schema.json"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const schematics_1 = require("@syncfusion/ej2-angular-base/schematics");
|
|
4
|
+
const sampleDetails = require("./sample-details");
|
|
5
|
+
function default_1(options) {
|
|
6
|
+
return schematics_1.componentBuilder(options, sampleDetails);
|
|
7
|
+
}
|
|
8
|
+
exports.default = default_1;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.componentName = 'listview';
|
|
4
|
+
exports.sampleName = 'checklist';
|
|
5
|
+
exports.diModules = null;
|
|
6
|
+
exports.packageName = '@syncfusion/ej2-angular-lists';
|
|
7
|
+
exports.libModules = 'ListViewModule';
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
#sample-list-flat,
|
|
2
|
+
#sample-list-group {
|
|
3
|
+
border: 1px solid #dddddd;
|
|
4
|
+
border-radius: 3px;
|
|
5
|
+
margin: auto;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.control-section {
|
|
9
|
+
overflow: auto;
|
|
10
|
+
padding-bottom: 10px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
#flat-list,
|
|
14
|
+
#group-list {
|
|
15
|
+
width: 40%;
|
|
16
|
+
padding: 10px;
|
|
17
|
+
margin: auto;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
#flat-list,
|
|
21
|
+
#group-list {
|
|
22
|
+
float: left;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
#flat-list h4,
|
|
27
|
+
#group-list h4 {
|
|
28
|
+
padding-left: 15px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.e-listview .e-list-icon {
|
|
32
|
+
height: 24px;
|
|
33
|
+
width: 30px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
#listview {
|
|
37
|
+
max-width: 500px;
|
|
38
|
+
margin: auto;
|
|
39
|
+
border: 1px solid #dddddd;
|
|
40
|
+
border-radius: 3px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@media (max-width: 590px) {
|
|
44
|
+
|
|
45
|
+
#flat-list,
|
|
46
|
+
#group-list {
|
|
47
|
+
width: 100%;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<div class="control-section">
|
|
2
|
+
<div id='flat-list'>
|
|
3
|
+
<h4>Flat List</h4>
|
|
4
|
+
<!-- ListView element -->
|
|
5
|
+
<ejs-listview id='sample-list-flat' [dataSource]='data' [showCheckBox]='true'></ejs-listview>
|
|
6
|
+
</div>
|
|
7
|
+
<div id='group-list'>
|
|
8
|
+
<h4>Group List</h4>
|
|
9
|
+
<!-- Group ListView element -->
|
|
10
|
+
<ejs-listview id='sample-list-group' [dataSource]='groupData' [fields]='fields' [showCheckBox]='true'></ejs-listview>
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|