@syncfusion/ej2-angular-lists 34.2.8 → 35.1.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -12
- package/fesm2022/syncfusion-ej2-angular-lists.mjs +131 -0
- package/fesm2022/syncfusion-ej2-angular-lists.mjs.map +1 -0
- package/package.json +10 -16
- package/schematics/collection.json +39 -10
- package/schematics/generators/listview-checklist/index.d.ts +3 -0
- package/schematics/generators/listview-checklist/index.js +5 -0
- package/schematics/generators/listview-checklist/index.ts +8 -0
- package/schematics/generators/listview-checklist/sample-details.d.ts +5 -0
- package/schematics/generators/listview-checklist/sample-details.js +5 -0
- package/schematics/generators/listview-checklist/sample-details.ts +5 -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/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +84 -0
- package/schematics/generators/listview-checklist/schema.d.ts +3 -0
- package/schematics/generators/listview-checklist/schema.js +1 -0
- package/schematics/generators/listview-checklist/schema.json +125 -0
- package/schematics/generators/listview-checklist/schema.ts +3 -0
- package/schematics/generators/listview-default/index.d.ts +3 -0
- package/schematics/generators/listview-default/index.js +5 -0
- package/schematics/generators/listview-default/index.ts +8 -0
- package/schematics/generators/listview-default/sample-details.d.ts +5 -0
- package/schematics/generators/listview-default/sample-details.js +5 -0
- package/schematics/generators/listview-default/sample-details.ts +5 -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/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +84 -0
- package/schematics/generators/listview-default/schema.d.ts +3 -0
- package/schematics/generators/listview-default/schema.js +1 -0
- package/schematics/generators/listview-default/schema.json +125 -0
- package/schematics/generators/listview-default/schema.ts +3 -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 +5 -0
- package/schematics/generators/listview-nestedlist/index.ts +8 -0
- package/schematics/generators/listview-nestedlist/sample-details.d.ts +5 -0
- package/schematics/generators/listview-nestedlist/sample-details.js +5 -0
- package/schematics/generators/listview-nestedlist/sample-details.ts +5 -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/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +84 -0
- package/schematics/generators/listview-nestedlist/schema.d.ts +3 -0
- package/schematics/generators/listview-nestedlist/schema.js +1 -0
- package/schematics/generators/listview-nestedlist/schema.json +125 -0
- package/schematics/generators/listview-nestedlist/schema.ts +3 -0
- package/schematics/generators/listview-remotelist/index.d.ts +3 -0
- package/schematics/generators/listview-remotelist/index.js +5 -0
- package/schematics/generators/listview-remotelist/index.ts +8 -0
- package/schematics/generators/listview-remotelist/sample-details.d.ts +5 -0
- package/schematics/generators/listview-remotelist/sample-details.js +5 -0
- package/schematics/generators/listview-remotelist/sample-details.ts +5 -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/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +31 -0
- package/schematics/generators/listview-remotelist/schema.d.ts +3 -0
- package/schematics/generators/listview-remotelist/schema.js +1 -0
- package/schematics/generators/listview-remotelist/schema.json +125 -0
- package/schematics/generators/listview-remotelist/schema.ts +3 -0
- package/schematics/generators/listview-template/index.d.ts +3 -0
- package/schematics/generators/listview-template/index.js +5 -0
- package/schematics/generators/listview-template/index.ts +8 -0
- package/schematics/generators/listview-template/sample-details.d.ts +5 -0
- package/schematics/generators/listview-template/sample-details.js +5 -0
- package/schematics/generators/listview-template/sample-details.ts +5 -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/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +35 -0
- package/schematics/generators/listview-template/schema.d.ts +3 -0
- package/schematics/generators/listview-template/schema.js +1 -0
- package/schematics/generators/listview-template/schema.json +125 -0
- package/schematics/generators/listview-template/schema.ts +3 -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 +5 -0
- package/schematics/generators/listview-virtualization/index.ts +8 -0
- package/schematics/generators/listview-virtualization/sample-details.d.ts +5 -0
- package/schematics/generators/listview-virtualization/sample-details.js +5 -0
- package/schematics/generators/listview-virtualization/sample-details.ts +5 -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/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +94 -0
- package/schematics/generators/listview-virtualization/schema.d.ts +3 -0
- package/schematics/generators/listview-virtualization/schema.js +1 -0
- package/schematics/generators/listview-virtualization/schema.json +125 -0
- package/schematics/generators/listview-virtualization/schema.ts +3 -0
- package/schematics/ng-add/index.js +5 -8
- package/schematics/ng-add/index.ts +10 -10
- package/schematics/ng-add/schema.js +1 -2
- package/schematics/ng-add/schema.json +34 -34
- package/schematics/ng-add/schema.ts +30 -30
- package/schematics/tsconfig.json +33 -25
- package/schematics/utils/lib-details.d.ts +2 -2
- package/schematics/utils/lib-details.js +4 -6
- package/schematics/utils/lib-details.ts +4 -4
- package/types/syncfusion-ej2-angular-lists.d.ts +58 -0
- package/esm2020/public_api.mjs +0 -2
- package/esm2020/src/index.mjs +0 -5
- package/esm2020/src/list-view/listview-all.module.mjs +0 -29
- package/esm2020/src/list-view/listview.component.mjs +0 -85
- package/esm2020/src/list-view/listview.module.mjs +0 -25
- package/esm2020/syncfusion-ej2-angular-lists.mjs +0 -5
- package/fesm2015/syncfusion-ej2-angular-lists.mjs +0 -137
- package/fesm2015/syncfusion-ej2-angular-lists.mjs.map +0 -1
- package/fesm2020/syncfusion-ej2-angular-lists.mjs +0 -137
- package/fesm2020/syncfusion-ej2-angular-lists.mjs.map +0 -1
- package/public_api.d.ts +0 -1
- package/src/index.d.ts +0 -4
- package/src/list-view/listview-all.module.d.ts +0 -13
- package/src/list-view/listview.component.d.ts +0 -71
- package/src/list-view/listview.module.d.ts +0 -11
- package/styles/bds-lite.css +0 -1
- package/styles/bds-lite.scss +0 -1
- package/styles/bds.css +0 -1
- package/styles/bds.scss +0 -2
- package/styles/bootstrap-dark-lite.css +0 -1
- package/styles/bootstrap-dark-lite.scss +0 -1
- package/styles/bootstrap-dark.css +0 -1
- package/styles/bootstrap-dark.scss +0 -2
- package/styles/bootstrap-lite.css +0 -1
- package/styles/bootstrap-lite.scss +0 -1
- package/styles/bootstrap.css +0 -1
- package/styles/bootstrap.scss +0 -2
- package/styles/bootstrap4-lite.css +0 -1
- package/styles/bootstrap4-lite.scss +0 -1
- package/styles/bootstrap4.css +0 -1
- package/styles/bootstrap4.scss +0 -2
- package/styles/bootstrap5-dark-lite.css +0 -1
- package/styles/bootstrap5-dark-lite.scss +0 -1
- package/styles/bootstrap5-dark.css +0 -1
- package/styles/bootstrap5-dark.scss +0 -2
- package/styles/bootstrap5-lite.css +0 -1
- package/styles/bootstrap5-lite.scss +0 -1
- package/styles/bootstrap5.3-lite.css +0 -1
- package/styles/bootstrap5.3-lite.scss +0 -1
- package/styles/bootstrap5.3.css +0 -1
- package/styles/bootstrap5.3.scss +0 -2
- package/styles/bootstrap5.css +0 -1
- package/styles/bootstrap5.scss +0 -2
- package/styles/fabric-dark-lite.css +0 -1
- package/styles/fabric-dark-lite.scss +0 -1
- package/styles/fabric-dark.css +0 -1
- package/styles/fabric-dark.scss +0 -2
- package/styles/fabric-lite.css +0 -1
- package/styles/fabric-lite.scss +0 -1
- package/styles/fabric.css +0 -1
- package/styles/fabric.scss +0 -2
- package/styles/fluent-dark-lite.css +0 -1
- package/styles/fluent-dark-lite.scss +0 -1
- package/styles/fluent-dark.css +0 -1
- package/styles/fluent-dark.scss +0 -2
- package/styles/fluent-lite.css +0 -1
- package/styles/fluent-lite.scss +0 -1
- package/styles/fluent.css +0 -1
- package/styles/fluent.scss +0 -2
- package/styles/fluent2-lite.css +0 -1
- package/styles/fluent2-lite.scss +0 -1
- package/styles/fluent2.css +0 -1
- package/styles/fluent2.scss +0 -2
- package/styles/highcontrast-light-lite.css +0 -1
- package/styles/highcontrast-light-lite.scss +0 -1
- package/styles/highcontrast-light.css +0 -1
- package/styles/highcontrast-light.scss +0 -2
- package/styles/highcontrast-lite.css +0 -1
- package/styles/highcontrast-lite.scss +0 -1
- package/styles/highcontrast.css +0 -1
- package/styles/highcontrast.scss +0 -2
- package/styles/list-view/bds.css +0 -1
- package/styles/list-view/bds.scss +0 -1
- package/styles/list-view/bootstrap-dark.css +0 -1
- package/styles/list-view/bootstrap-dark.scss +0 -1
- package/styles/list-view/bootstrap.css +0 -1
- package/styles/list-view/bootstrap.scss +0 -1
- package/styles/list-view/bootstrap4.css +0 -1
- package/styles/list-view/bootstrap4.scss +0 -1
- package/styles/list-view/bootstrap5-dark.css +0 -1
- package/styles/list-view/bootstrap5-dark.scss +0 -1
- package/styles/list-view/bootstrap5.3.css +0 -1
- package/styles/list-view/bootstrap5.3.scss +0 -1
- package/styles/list-view/bootstrap5.css +0 -1
- package/styles/list-view/bootstrap5.scss +0 -1
- package/styles/list-view/fabric-dark.css +0 -1
- package/styles/list-view/fabric-dark.scss +0 -1
- package/styles/list-view/fabric.css +0 -1
- package/styles/list-view/fabric.scss +0 -1
- package/styles/list-view/fluent-dark.css +0 -1
- package/styles/list-view/fluent-dark.scss +0 -1
- package/styles/list-view/fluent.css +0 -1
- package/styles/list-view/fluent.scss +0 -1
- package/styles/list-view/fluent2.css +0 -1
- package/styles/list-view/fluent2.scss +0 -1
- package/styles/list-view/highcontrast-light.css +0 -1
- package/styles/list-view/highcontrast-light.scss +0 -1
- package/styles/list-view/highcontrast.css +0 -1
- package/styles/list-view/highcontrast.scss +0 -1
- package/styles/list-view/material-dark.css +0 -1
- package/styles/list-view/material-dark.scss +0 -1
- package/styles/list-view/material.css +0 -1
- package/styles/list-view/material.scss +0 -1
- package/styles/list-view/material3-dark.css +0 -1
- package/styles/list-view/material3-dark.scss +0 -1
- package/styles/list-view/material3.css +0 -1
- package/styles/list-view/material3.scss +0 -1
- package/styles/list-view/tailwind-dark.css +0 -1
- package/styles/list-view/tailwind-dark.scss +0 -1
- package/styles/list-view/tailwind.css +0 -1
- package/styles/list-view/tailwind.scss +0 -1
- package/styles/list-view/tailwind3.css +0 -1
- package/styles/list-view/tailwind3.scss +0 -1
- package/styles/material-dark-lite.css +0 -1
- package/styles/material-dark-lite.scss +0 -1
- package/styles/material-dark.css +0 -1
- package/styles/material-dark.scss +0 -2
- package/styles/material-lite.css +0 -1
- package/styles/material-lite.scss +0 -1
- package/styles/material.css +0 -1
- package/styles/material.scss +0 -2
- package/styles/material3-dark-lite.css +0 -1
- package/styles/material3-dark-lite.scss +0 -1
- package/styles/material3-dark.css +0 -1
- package/styles/material3-dark.scss +0 -2
- package/styles/material3-lite.css +0 -1
- package/styles/material3-lite.scss +0 -1
- package/styles/material3.css +0 -1
- package/styles/material3.scss +0 -2
- package/styles/sortable/bds.css +0 -1
- package/styles/sortable/bds.scss +0 -1
- package/styles/sortable/bootstrap-dark.css +0 -1
- package/styles/sortable/bootstrap-dark.scss +0 -1
- package/styles/sortable/bootstrap.css +0 -1
- package/styles/sortable/bootstrap.scss +0 -1
- package/styles/sortable/bootstrap4.css +0 -1
- package/styles/sortable/bootstrap4.scss +0 -1
- package/styles/sortable/bootstrap5-dark.css +0 -1
- package/styles/sortable/bootstrap5-dark.scss +0 -1
- package/styles/sortable/bootstrap5.3.css +0 -1
- package/styles/sortable/bootstrap5.3.scss +0 -1
- package/styles/sortable/bootstrap5.css +0 -1
- package/styles/sortable/bootstrap5.scss +0 -1
- package/styles/sortable/fabric-dark.css +0 -1
- package/styles/sortable/fabric-dark.scss +0 -1
- package/styles/sortable/fabric.css +0 -1
- package/styles/sortable/fabric.scss +0 -1
- package/styles/sortable/fluent-dark.css +0 -1
- package/styles/sortable/fluent-dark.scss +0 -1
- package/styles/sortable/fluent.css +0 -1
- package/styles/sortable/fluent.scss +0 -1
- package/styles/sortable/fluent2.css +0 -1
- package/styles/sortable/fluent2.scss +0 -1
- package/styles/sortable/highcontrast-light.css +0 -1
- package/styles/sortable/highcontrast-light.scss +0 -1
- package/styles/sortable/highcontrast.css +0 -1
- package/styles/sortable/highcontrast.scss +0 -1
- package/styles/sortable/material-dark.css +0 -1
- package/styles/sortable/material-dark.scss +0 -1
- package/styles/sortable/material.css +0 -1
- package/styles/sortable/material.scss +0 -1
- package/styles/sortable/material3-dark.css +0 -1
- package/styles/sortable/material3-dark.scss +0 -1
- package/styles/sortable/material3.css +0 -1
- package/styles/sortable/material3.scss +0 -1
- package/styles/sortable/tailwind-dark.css +0 -1
- package/styles/sortable/tailwind-dark.scss +0 -1
- package/styles/sortable/tailwind.css +0 -1
- package/styles/sortable/tailwind.scss +0 -1
- package/styles/sortable/tailwind3.css +0 -1
- package/styles/sortable/tailwind3.scss +0 -1
- package/styles/tailwind-dark-lite.css +0 -1
- package/styles/tailwind-dark-lite.scss +0 -1
- package/styles/tailwind-dark.css +0 -1
- package/styles/tailwind-dark.scss +0 -2
- package/styles/tailwind-lite.css +0 -1
- package/styles/tailwind-lite.scss +0 -1
- package/styles/tailwind.css +0 -1
- package/styles/tailwind.scss +0 -2
- package/styles/tailwind3-lite.css +0 -1
- package/styles/tailwind3-lite.scss +0 -1
- package/styles/tailwind3.css +0 -1
- package/styles/tailwind3.scss +0 -2
- package/syncfusion-ej2-angular-lists.d.ts +0 -5
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ElementRef, Renderer2, ViewContainerRef, Injector, ValueProvider } from '@angular/core';
|
|
3
|
+
import { IComponentBase } from '@syncfusion/ej2-angular-base';
|
|
4
|
+
import { ListView } from '@syncfusion/ej2-lists';
|
|
5
|
+
export * from '@syncfusion/ej2-lists';
|
|
6
|
+
import * as i1 from '@angular/common';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Represents Angular ListView Component
|
|
10
|
+
* ```
|
|
11
|
+
* <ejs-listview [dataSource]='data'></ejs-listview>
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
declare class ListViewComponent extends ListView implements IComponentBase {
|
|
15
|
+
private ngEle;
|
|
16
|
+
private srenderer;
|
|
17
|
+
private viewContainerRef;
|
|
18
|
+
private injector;
|
|
19
|
+
context: any;
|
|
20
|
+
tagObjects: any;
|
|
21
|
+
actionBegin: any;
|
|
22
|
+
actionComplete: any;
|
|
23
|
+
actionFailure: any;
|
|
24
|
+
scroll: any;
|
|
25
|
+
select: any;
|
|
26
|
+
constructor(ngEle: ElementRef, srenderer: Renderer2, viewContainerRef: ViewContainerRef, injector: Injector);
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
ngAfterViewInit(): void;
|
|
29
|
+
ngOnDestroy(): void;
|
|
30
|
+
ngAfterContentChecked(): void;
|
|
31
|
+
registerEvents: (eventList: string[]) => void;
|
|
32
|
+
addTwoWay: (propList: string[]) => void;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ListViewComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListViewComponent, "ejs-listview", never, { "animation": { "alias": "animation"; "required": false; }; "checkBoxPosition": { "alias": "checkBoxPosition"; "required": false; }; "cssClass": { "alias": "cssClass"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "disableHtmlEncode": { "alias": "disableHtmlEncode"; "required": false; }; "enable": { "alias": "enable"; "required": false; }; "enableHtmlSanitizer": { "alias": "enableHtmlSanitizer"; "required": false; }; "enablePersistence": { "alias": "enablePersistence"; "required": false; }; "enableRtl": { "alias": "enableRtl"; "required": false; }; "enableVirtualization": { "alias": "enableVirtualization"; "required": false; }; "enabled": { "alias": "enabled"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "groupTemplate": { "alias": "groupTemplate"; "required": false; }; "headerTemplate": { "alias": "headerTemplate"; "required": false; }; "headerTitle": { "alias": "headerTitle"; "required": false; }; "height": { "alias": "height"; "required": false; }; "htmlAttributes": { "alias": "htmlAttributes"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "query": { "alias": "query"; "required": false; }; "showCheckBox": { "alias": "showCheckBox"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "showIcon": { "alias": "showIcon"; "required": false; }; "sortOrder": { "alias": "sortOrder"; "required": false; }; "template": { "alias": "template"; "required": false; }; "width": { "alias": "width"; "required": false; }; }, { "actionBegin": "actionBegin"; "actionComplete": "actionComplete"; "actionFailure": "actionFailure"; "scroll": "scroll"; "select": "select"; }, ["template", "groupTemplate", "headerTemplate"], never, true, never>;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* NgModule definition for the ListView component.
|
|
39
|
+
* Re-exports standalone ListView component and directives so existing apps can keep using:
|
|
40
|
+
* `imports: [ListViewModule]`
|
|
41
|
+
*/
|
|
42
|
+
declare class ListViewModule {
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ListViewModule, never>;
|
|
44
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ListViewModule, never, [typeof i1.CommonModule, typeof ListViewComponent], [typeof ListViewComponent]>;
|
|
45
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ListViewModule>;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
declare const VirtualizationService: ValueProvider;
|
|
49
|
+
/**
|
|
50
|
+
* NgModule definition for the ListView component with providers.
|
|
51
|
+
*/
|
|
52
|
+
declare class ListViewAllModule {
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ListViewAllModule, never>;
|
|
54
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ListViewAllModule, never, [typeof i1.CommonModule, typeof ListViewModule], [typeof ListViewModule]>;
|
|
55
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ListViewAllModule>;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export { ListViewAllModule, ListViewComponent, ListViewModule, VirtualizationService };
|
package/esm2020/public_api.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './src/index';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxhQUFhLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3NyYy9pbmRleCc7Il19
|
package/esm2020/src/index.mjs
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { ListViewComponent } from './list-view/listview.component';
|
|
2
|
-
export { ListViewModule } from './list-view/listview.module';
|
|
3
|
-
export { ListViewAllModule, VirtualizationService } from './list-view/listview-all.module';
|
|
4
|
-
export * from '@syncfusion/ej2-lists';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGlCQUFpQixFQUFDLE1BQU0sZ0NBQWdDLENBQUM7QUFDbEUsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLDZCQUE2QixDQUFDO0FBQzdELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxxQkFBcUIsRUFBRSxNQUFNLGlDQUFpQyxDQUFDO0FBQzNGLGNBQWMsdUJBQXVCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBMaXN0Vmlld0NvbXBvbmVudH0gZnJvbSAnLi9saXN0LXZpZXcvbGlzdHZpZXcuY29tcG9uZW50JztcbmV4cG9ydCB7IExpc3RWaWV3TW9kdWxlIH0gZnJvbSAnLi9saXN0LXZpZXcvbGlzdHZpZXcubW9kdWxlJztcbmV4cG9ydCB7IExpc3RWaWV3QWxsTW9kdWxlLCBWaXJ0dWFsaXphdGlvblNlcnZpY2UgfSBmcm9tICcuL2xpc3Qtdmlldy9saXN0dmlldy1hbGwubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJ0BzeW5jZnVzaW9uL2VqMi1saXN0cyc7Il19
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { ListViewModule } from './listview.module';
|
|
4
|
-
import { Virtualization } from '@syncfusion/ej2-lists';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export const VirtualizationService = { provide: 'ListsVirtualization', useValue: Virtualization };
|
|
7
|
-
/**
|
|
8
|
-
* NgModule definition for the ListView component with providers.
|
|
9
|
-
*/
|
|
10
|
-
export class ListViewAllModule {
|
|
11
|
-
}
|
|
12
|
-
ListViewAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13
|
-
ListViewAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewAllModule, imports: [CommonModule, ListViewModule], exports: [ListViewModule] });
|
|
14
|
-
ListViewAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewAllModule, providers: [
|
|
15
|
-
VirtualizationService
|
|
16
|
-
], imports: [[CommonModule, ListViewModule], ListViewModule] });
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewAllModule, decorators: [{
|
|
18
|
-
type: NgModule,
|
|
19
|
-
args: [{
|
|
20
|
-
imports: [CommonModule, ListViewModule],
|
|
21
|
-
exports: [
|
|
22
|
-
ListViewModule
|
|
23
|
-
],
|
|
24
|
-
providers: [
|
|
25
|
-
VirtualizationService
|
|
26
|
-
]
|
|
27
|
-
}]
|
|
28
|
-
}] });
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlzdHZpZXctYWxsLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9saXN0LXZpZXcvbGlzdHZpZXctYWxsLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFpQixNQUFNLGVBQ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BvcnQge1ZpcnR1YWxpemF0aW9ufSBmcm9tICdAc3luY2Z1c2lvbi9lajItbGlzdHMnXG5cblxuZXhwb3J0IGNvbnN0IFZpcnR1YWxpemF0aW9uU2VydmljZTogVmFsdWVQcm92aWRlciA9IHsgcHJvdmlkZTogJ0xpc3RzVmlydHVhbGl6YXRpb24nLCB1c2VWYWx1ZTogVmlydHVhbGl6YXRpb259O1xuXG4vKipcbiAqIE5nTW9kdWxlIGRlZmluaXRpb24gZm9yIHRoZSBMaXN0VmlldyBjb21wb25lbnQgd2l0aCBwcm92aWRlcnMuXG4gKi9cbkBOZ01vZHVsZSh7XG4gICAgaW1wb3J0czogW0NvbW1vbk1vZHVsZSwgTGlzdFZpZXdNb2R1bGVdLFxuICAgIGV4cG9ydHM6IFtcbiAgICAgICAgTGlzdFZpZXdNb2R1bGVcbiAgICBdLFxuICAgIHByb3ZpZGVyczpbXG4gICAgICAgIFZpcnR1YWxpemF0aW9uU2VydmljZVxuICAgIF1cbn0pXG5leHBvcnQgY2xhc3MgTGlzdFZpZXdBbGxNb2R1bGUgeyB9Il19
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { Component, ChangeDetectionStrategy, ContentChild } from '@angular/core';
|
|
3
|
-
import { ComponentBase, ComponentMixins, setValue } from '@syncfusion/ej2-angular-base';
|
|
4
|
-
import { ListView } from '@syncfusion/ej2-lists';
|
|
5
|
-
import { Template } from '@syncfusion/ej2-angular-base';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export const inputs = ['animation', 'checkBoxPosition', 'cssClass', 'dataSource', 'disableHtmlEncode', 'enable', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableVirtualization', 'enabled', 'fields', 'groupTemplate', 'headerTemplate', 'headerTitle', 'height', 'htmlAttributes', 'locale', 'query', 'showCheckBox', 'showHeader', 'showIcon', 'sortOrder', 'template', 'width'];
|
|
8
|
-
export const outputs = ['actionBegin', 'actionComplete', 'actionFailure', 'scroll', 'select'];
|
|
9
|
-
export const twoWays = [''];
|
|
10
|
-
/**
|
|
11
|
-
* Represents Angular ListView Component
|
|
12
|
-
* ```
|
|
13
|
-
* <ejs-listview [dataSource]='data'></ejs-listview>
|
|
14
|
-
* ```
|
|
15
|
-
*/
|
|
16
|
-
let ListViewComponent = class ListViewComponent extends ListView {
|
|
17
|
-
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
18
|
-
super();
|
|
19
|
-
this.ngEle = ngEle;
|
|
20
|
-
this.srenderer = srenderer;
|
|
21
|
-
this.viewContainerRef = viewContainerRef;
|
|
22
|
-
this.injector = injector;
|
|
23
|
-
this.element = this.ngEle.nativeElement;
|
|
24
|
-
this.injectedModules = this.injectedModules || [];
|
|
25
|
-
try {
|
|
26
|
-
let mod = this.injector.get('ListsVirtualization');
|
|
27
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
|
28
|
-
this.injectedModules.push(mod);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
catch { }
|
|
32
|
-
this.registerEvents(outputs);
|
|
33
|
-
this.addTwoWay.call(this, twoWays);
|
|
34
|
-
setValue('currentInstance', this, this.viewContainerRef);
|
|
35
|
-
this.context = new ComponentBase();
|
|
36
|
-
}
|
|
37
|
-
ngOnInit() {
|
|
38
|
-
this.context.ngOnInit(this);
|
|
39
|
-
}
|
|
40
|
-
ngAfterViewInit() {
|
|
41
|
-
this.context.ngAfterViewInit(this);
|
|
42
|
-
}
|
|
43
|
-
ngOnDestroy() {
|
|
44
|
-
this.context.ngOnDestroy(this);
|
|
45
|
-
}
|
|
46
|
-
ngAfterContentChecked() {
|
|
47
|
-
this.context.ngAfterContentChecked(this);
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
ListViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
51
|
-
ListViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ListViewComponent, selector: "ejs-listview", inputs: { animation: "animation", checkBoxPosition: "checkBoxPosition", cssClass: "cssClass", dataSource: "dataSource", disableHtmlEncode: "disableHtmlEncode", enable: "enable", enableHtmlSanitizer: "enableHtmlSanitizer", enablePersistence: "enablePersistence", enableRtl: "enableRtl", enableVirtualization: "enableVirtualization", enabled: "enabled", fields: "fields", groupTemplate: "groupTemplate", headerTemplate: "headerTemplate", headerTitle: "headerTitle", height: "height", htmlAttributes: "htmlAttributes", locale: "locale", query: "query", showCheckBox: "showCheckBox", showHeader: "showHeader", showIcon: "showIcon", sortOrder: "sortOrder", template: "template", width: "width" }, outputs: { actionBegin: "actionBegin", actionComplete: "actionComplete", actionFailure: "actionFailure", scroll: "scroll", select: "select" }, queries: [{ propertyName: "template", first: true, predicate: ["template"], descendants: true }, { propertyName: "groupTemplate", first: true, predicate: ["groupTemplate"], descendants: true }, { propertyName: "headerTemplate", first: true, predicate: ["headerTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
52
|
-
__decorate([
|
|
53
|
-
Template()
|
|
54
|
-
], ListViewComponent.prototype, "template", void 0);
|
|
55
|
-
__decorate([
|
|
56
|
-
Template()
|
|
57
|
-
], ListViewComponent.prototype, "groupTemplate", void 0);
|
|
58
|
-
__decorate([
|
|
59
|
-
Template()
|
|
60
|
-
], ListViewComponent.prototype, "headerTemplate", void 0);
|
|
61
|
-
ListViewComponent = __decorate([
|
|
62
|
-
ComponentMixins([ComponentBase])
|
|
63
|
-
], ListViewComponent);
|
|
64
|
-
export { ListViewComponent };
|
|
65
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewComponent, decorators: [{
|
|
66
|
-
type: Component,
|
|
67
|
-
args: [{
|
|
68
|
-
selector: 'ejs-listview',
|
|
69
|
-
inputs: inputs,
|
|
70
|
-
outputs: outputs,
|
|
71
|
-
template: '',
|
|
72
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
73
|
-
queries: {}
|
|
74
|
-
}]
|
|
75
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; }, propDecorators: { template: [{
|
|
76
|
-
type: ContentChild,
|
|
77
|
-
args: ['template']
|
|
78
|
-
}], groupTemplate: [{
|
|
79
|
-
type: ContentChild,
|
|
80
|
-
args: ['groupTemplate']
|
|
81
|
-
}], headerTemplate: [{
|
|
82
|
-
type: ContentChild,
|
|
83
|
-
args: ['headerTemplate']
|
|
84
|
-
}] } });
|
|
85
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlzdHZpZXcuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2xpc3Qtdmlldy9saXN0dmlldy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQWdDLHVCQUF1QixFQUFpRCxZQUFZLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDOUosT0FBTyxFQUFFLGFBQWEsRUFBK0IsZUFBZSxFQUEwQixRQUFRLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUM3SSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFDakQsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLDhCQUE4QixDQUFDOztBQUd4RCxNQUFNLENBQUMsTUFBTSxNQUFNLEdBQWEsQ0FBQyxXQUFXLEVBQUMsa0JBQWtCLEVBQUMsVUFBVSxFQUFDL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ldFZhbHVlKCdjdXJyZW50SW5zdGFuY2UnLCB0aGlzLCB0aGlzLnZpZXdDb250YWluZXJSZWYpO1xuICAgICAgICB0aGlzLmNvbnRleHQgID0gbmV3IENvbXBvbmVudEJhc2UoKTtcbiAgICB9XG5cbiAgICBwdWJsaWMgbmdPbkluaXQoKSB7XG4gICAgICAgIHRoaXMuY29udGV4dC5uZ09uSW5pdCh0aGlzKTtcbiAgICB9XG5cbiAgICBwdWJsaWMgbmdBZnRlclZpZXdJbml0KCk6IHZvaWQge1xuICAgICAgICB0aGlzLmNvbnRleHQubmdBZnRlclZpZXdJbml0KHRoaXMpO1xuICAgIH1cblxuICAgIHB1YmxpYyBuZ09uRGVzdHJveSgpOiB2b2lkIHtcbiAgICAgICAgdGhpcy5jb250ZXh0Lm5nT25EZXN0cm95KHRoaXMpO1xuICAgIH1cblxuICAgIHB1YmxpYyBuZ0FmdGVyQ29udGVudENoZWNrZWQoKTogdm9pZCB7XG4gICAgICAgIFxuICAgICAgICB0aGlzLmNvbnRleHQubmdBZnRlckNvbnRlbnRDaGVja2VkKHRoaXMpO1xuICAgIH1cblxuICAgIHB1YmxpYyByZWdpc3RlckV2ZW50czogKGV2ZW50TGlzdDogc3RyaW5nW10pID0+IHZvaWQ7XG4gICAgcHVibGljIGFkZFR3b1dheTogKHByb3BMaXN0OiBzdHJpbmdbXSkgPT4gdm9pZDtcbn1cblxuIl19
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { ListViewComponent } from './listview.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* NgModule definition for the ListView component.
|
|
7
|
-
*/
|
|
8
|
-
export class ListViewModule {
|
|
9
|
-
}
|
|
10
|
-
ListViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11
|
-
ListViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewModule, declarations: [ListViewComponent], imports: [CommonModule], exports: [ListViewComponent] });
|
|
12
|
-
ListViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewModule, imports: [[CommonModule]] });
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewModule, decorators: [{
|
|
14
|
-
type: NgModule,
|
|
15
|
-
args: [{
|
|
16
|
-
imports: [CommonModule],
|
|
17
|
-
declarations: [
|
|
18
|
-
ListViewComponent
|
|
19
|
-
],
|
|
20
|
-
exports: [
|
|
21
|
-
ListViewComponent
|
|
22
|
-
]
|
|
23
|
-
}]
|
|
24
|
-
}] });
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlzdHZpZXcubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2xpc3Qtdmlldy9saXN0dmlldy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sc0JBQXNCLENBQUM7O0FBRXpEOztHQUVHO0FBVUgsTUFBTSxPQUFPLGNBQWM7OzJHQUFkLGNBQWM7NEdBQWQsY0FBYyxpQkFObkIsaUJBQWlCLGFBRlgsWUFBWSxhQUtsQixpQkFBaUI7NEdBR1osY0FBYyxZQVJkLENBQUMsWUFBWSxDQUFDOzJGQVFkLGNBQWM7a0JBVDFCLFFBQVE7bUJBQUM7b0JBQ04sT0FBTyxFQUFFLENBQUMsWUFBWSxDQUFDO29CQUN2QixZQUFZLEVBQUU7d0JBQ1YsaUJBQWlCO3FCQUNwQjtvQkFDRCxPQUFPLEVBQUU7d0JBQ0wsaUJBQWlCO3FCQUNwQjtpQkFDSiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xuaW1wb3J0IHsgTGlzdFZpZXdDb21wb25lbnQgfSBmcm9tICcuL2xpc3R2aWV3LmNvbXBvbmVudCc7XG5cbi8qKlxuICogTmdNb2R1bGUgZGVmaW5pdGlvbiBmb3IgdGhlIExpc3RWaWV3IGNvbXBvbmVudC5cbiAqL1xuQE5nTW9kdWxlKHtcbiAgICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlXSxcbiAgICBkZWNsYXJhdGlvbnM6IFtcbiAgICAgICAgTGlzdFZpZXdDb21wb25lbnRcbiAgICBdLFxuICAgIGV4cG9ydHM6IFtcbiAgICAgICAgTGlzdFZpZXdDb21wb25lbnRcbiAgICBdXG59KVxuZXhwb3J0IGNsYXNzIExpc3RWaWV3TW9kdWxlIHsgfSJdfQ==
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public_api';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3luY2Z1c2lvbi1lajItYW5ndWxhci1saXN0cy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3N5bmNmdXNpb24tZWoyLWFuZ3VsYXItbGlzdHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWNfYXBpJztcbiJdfQ==
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
import { __decorate } from 'tslib';
|
|
2
|
-
import * as i0 from '@angular/core';
|
|
3
|
-
import { Component, ChangeDetectionStrategy, ContentChild, NgModule } from '@angular/core';
|
|
4
|
-
import { setValue, ComponentBase, Template, ComponentMixins } from '@syncfusion/ej2-angular-base';
|
|
5
|
-
import { ListView, Virtualization } from '@syncfusion/ej2-lists';
|
|
6
|
-
export * from '@syncfusion/ej2-lists';
|
|
7
|
-
import { CommonModule } from '@angular/common';
|
|
8
|
-
|
|
9
|
-
const inputs = ['animation', 'checkBoxPosition', 'cssClass', 'dataSource', 'disableHtmlEncode', 'enable', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableVirtualization', 'enabled', 'fields', 'groupTemplate', 'headerTemplate', 'headerTitle', 'height', 'htmlAttributes', 'locale', 'query', 'showCheckBox', 'showHeader', 'showIcon', 'sortOrder', 'template', 'width'];
|
|
10
|
-
const outputs = ['actionBegin', 'actionComplete', 'actionFailure', 'scroll', 'select'];
|
|
11
|
-
const twoWays = [''];
|
|
12
|
-
/**
|
|
13
|
-
* Represents Angular ListView Component
|
|
14
|
-
* ```
|
|
15
|
-
* <ejs-listview [dataSource]='data'></ejs-listview>
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
|
-
let ListViewComponent = class ListViewComponent extends ListView {
|
|
19
|
-
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
20
|
-
super();
|
|
21
|
-
this.ngEle = ngEle;
|
|
22
|
-
this.srenderer = srenderer;
|
|
23
|
-
this.viewContainerRef = viewContainerRef;
|
|
24
|
-
this.injector = injector;
|
|
25
|
-
this.element = this.ngEle.nativeElement;
|
|
26
|
-
this.injectedModules = this.injectedModules || [];
|
|
27
|
-
try {
|
|
28
|
-
let mod = this.injector.get('ListsVirtualization');
|
|
29
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
|
30
|
-
this.injectedModules.push(mod);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
catch (_a) { }
|
|
34
|
-
this.registerEvents(outputs);
|
|
35
|
-
this.addTwoWay.call(this, twoWays);
|
|
36
|
-
setValue('currentInstance', this, this.viewContainerRef);
|
|
37
|
-
this.context = new ComponentBase();
|
|
38
|
-
}
|
|
39
|
-
ngOnInit() {
|
|
40
|
-
this.context.ngOnInit(this);
|
|
41
|
-
}
|
|
42
|
-
ngAfterViewInit() {
|
|
43
|
-
this.context.ngAfterViewInit(this);
|
|
44
|
-
}
|
|
45
|
-
ngOnDestroy() {
|
|
46
|
-
this.context.ngOnDestroy(this);
|
|
47
|
-
}
|
|
48
|
-
ngAfterContentChecked() {
|
|
49
|
-
this.context.ngAfterContentChecked(this);
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
ListViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
53
|
-
ListViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ListViewComponent, selector: "ejs-listview", inputs: { animation: "animation", checkBoxPosition: "checkBoxPosition", cssClass: "cssClass", dataSource: "dataSource", disableHtmlEncode: "disableHtmlEncode", enable: "enable", enableHtmlSanitizer: "enableHtmlSanitizer", enablePersistence: "enablePersistence", enableRtl: "enableRtl", enableVirtualization: "enableVirtualization", enabled: "enabled", fields: "fields", groupTemplate: "groupTemplate", headerTemplate: "headerTemplate", headerTitle: "headerTitle", height: "height", htmlAttributes: "htmlAttributes", locale: "locale", query: "query", showCheckBox: "showCheckBox", showHeader: "showHeader", showIcon: "showIcon", sortOrder: "sortOrder", template: "template", width: "width" }, outputs: { actionBegin: "actionBegin", actionComplete: "actionComplete", actionFailure: "actionFailure", scroll: "scroll", select: "select" }, queries: [{ propertyName: "template", first: true, predicate: ["template"], descendants: true }, { propertyName: "groupTemplate", first: true, predicate: ["groupTemplate"], descendants: true }, { propertyName: "headerTemplate", first: true, predicate: ["headerTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
54
|
-
__decorate([
|
|
55
|
-
Template()
|
|
56
|
-
], ListViewComponent.prototype, "template", void 0);
|
|
57
|
-
__decorate([
|
|
58
|
-
Template()
|
|
59
|
-
], ListViewComponent.prototype, "groupTemplate", void 0);
|
|
60
|
-
__decorate([
|
|
61
|
-
Template()
|
|
62
|
-
], ListViewComponent.prototype, "headerTemplate", void 0);
|
|
63
|
-
ListViewComponent = __decorate([
|
|
64
|
-
ComponentMixins([ComponentBase])
|
|
65
|
-
], ListViewComponent);
|
|
66
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewComponent, decorators: [{
|
|
67
|
-
type: Component,
|
|
68
|
-
args: [{
|
|
69
|
-
selector: 'ejs-listview',
|
|
70
|
-
inputs: inputs,
|
|
71
|
-
outputs: outputs,
|
|
72
|
-
template: '',
|
|
73
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
74
|
-
queries: {}
|
|
75
|
-
}]
|
|
76
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; }, propDecorators: { template: [{
|
|
77
|
-
type: ContentChild,
|
|
78
|
-
args: ['template']
|
|
79
|
-
}], groupTemplate: [{
|
|
80
|
-
type: ContentChild,
|
|
81
|
-
args: ['groupTemplate']
|
|
82
|
-
}], headerTemplate: [{
|
|
83
|
-
type: ContentChild,
|
|
84
|
-
args: ['headerTemplate']
|
|
85
|
-
}] } });
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* NgModule definition for the ListView component.
|
|
89
|
-
*/
|
|
90
|
-
class ListViewModule {
|
|
91
|
-
}
|
|
92
|
-
ListViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
93
|
-
ListViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewModule, declarations: [ListViewComponent], imports: [CommonModule], exports: [ListViewComponent] });
|
|
94
|
-
ListViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewModule, imports: [[CommonModule]] });
|
|
95
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewModule, decorators: [{
|
|
96
|
-
type: NgModule,
|
|
97
|
-
args: [{
|
|
98
|
-
imports: [CommonModule],
|
|
99
|
-
declarations: [
|
|
100
|
-
ListViewComponent
|
|
101
|
-
],
|
|
102
|
-
exports: [
|
|
103
|
-
ListViewComponent
|
|
104
|
-
]
|
|
105
|
-
}]
|
|
106
|
-
}] });
|
|
107
|
-
|
|
108
|
-
const VirtualizationService = { provide: 'ListsVirtualization', useValue: Virtualization };
|
|
109
|
-
/**
|
|
110
|
-
* NgModule definition for the ListView component with providers.
|
|
111
|
-
*/
|
|
112
|
-
class ListViewAllModule {
|
|
113
|
-
}
|
|
114
|
-
ListViewAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
115
|
-
ListViewAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewAllModule, imports: [CommonModule, ListViewModule], exports: [ListViewModule] });
|
|
116
|
-
ListViewAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewAllModule, providers: [
|
|
117
|
-
VirtualizationService
|
|
118
|
-
], imports: [[CommonModule, ListViewModule], ListViewModule] });
|
|
119
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewAllModule, decorators: [{
|
|
120
|
-
type: NgModule,
|
|
121
|
-
args: [{
|
|
122
|
-
imports: [CommonModule, ListViewModule],
|
|
123
|
-
exports: [
|
|
124
|
-
ListViewModule
|
|
125
|
-
],
|
|
126
|
-
providers: [
|
|
127
|
-
VirtualizationService
|
|
128
|
-
]
|
|
129
|
-
}]
|
|
130
|
-
}] });
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* Generated bundle index. Do not edit.
|
|
134
|
-
*/
|
|
135
|
-
|
|
136
|
-
export { ListViewAllModule, ListViewComponent, ListViewModule, VirtualizationService };
|
|
137
|
-
//# sourceMappingURL=syncfusion-ej2-angular-lists.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"syncfusion-ej2-angular-lists.mjs","sources":["../../src/list-view/listview.component.ts","../../src/list-view/listview.module.ts","../../src/list-view/listview-all.module.ts","../../syncfusion-ej2-angular-lists.ts"],"sourcesContent":["import { Component, ElementRef, ViewContainerRef, ChangeDetectionStrategy, QueryList, Renderer2, Injector, ValueProvider, ContentChild } from '@angular/core';\nimport { ComponentBase, IComponentBase, applyMixins, ComponentMixins, PropertyCollectionInfo, setValue } from '@syncfusion/ej2-angular-base';\nimport { ListView } from '@syncfusion/ej2-lists';\nimport { Template } from '@syncfusion/ej2-angular-base';\n\n\nexport const inputs: string[] = ['animation','checkBoxPosition','cssClass','dataSource','disableHtmlEncode','enable','enableHtmlSanitizer','enablePersistence','enableRtl','enableVirtualization','enabled','fields','groupTemplate','headerTemplate','headerTitle','height','htmlAttributes','locale','query','showCheckBox','showHeader','showIcon','sortOrder','template','width'];\nexport const outputs: string[] = ['actionBegin','actionComplete','actionFailure','scroll','select'];\nexport const twoWays: string[] = [''];\n\n/**\n * Represents Angular ListView Component\n * ```\n * <ejs-listview [dataSource]='data'></ejs-listview>\n * ```\n */\n@Component({\n selector: 'ejs-listview',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n\n }\n})\n@ComponentMixins([ComponentBase])\nexport class ListViewComponent extends ListView implements IComponentBase {\n public context : any;\n public tagObjects: any;\n\tactionBegin: any;\n\tactionComplete: any;\n\tactionFailure: any;\n\tscroll: any;\n\tpublic select: any;\n\n\n /** \n * The ListView component supports to customize the content of each list items with the help of `template` property.\n * \n * {% codeBlock src='listview/template/index.md' %}{% endcodeBlock %}\n * \n * @default null\n * @angulartype string | object\n * @reacttype string | function | JSX.Element\n * @vuetype string | function\n * @asptype string\n */\n @ContentChild('template')\n @Template()\n public template: any;\n /** \n * The ListView has an option to custom design the group header title with the help of `groupTemplate` property.\n * \n * {% codeBlock src=\"listview/groupTemplate/index.md\" %}{% endcodeBlock %}\n * \n * @default null\n * @angulartype string | object\n * @reacttype string | function | JSX.Element\n * @vuetype string | function\n * @asptype string\n */\n @ContentChild('groupTemplate')\n @Template()\n public groupTemplate: any;\n /** \n * The ListView has an option to custom design the ListView header title with the help of `headerTemplate` property.\n * \n * {% codeBlock src=\"listview/headerTemplate/index.md\" %}{% endcodeBlock %}\n * \n * @default null\n * @angulartype string | object\n * @reacttype string | function | JSX.Element\n * @vuetype string | function\n * @asptype string\n */\n @ContentChild('headerTemplate')\n @Template()\n public headerTemplate: any;\n\n constructor(private ngEle: ElementRef, private srenderer: Renderer2, private viewContainerRef:ViewContainerRef, private injector: Injector) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n try {\n let mod = this.injector.get('ListsVirtualization');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n\r\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n\n public ngOnInit() {\n this.context.ngOnInit(this);\n }\n\n public ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n\n public ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n\n public ngAfterContentChecked(): void {\n \n this.context.ngAfterContentChecked(this);\n }\n\n public registerEvents: (eventList: string[]) => void;\n public addTwoWay: (propList: string[]) => void;\n}\n\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ListViewComponent } from './listview.component';\n\n/**\n * NgModule definition for the ListView component.\n */\n@NgModule({\n imports: [CommonModule],\n declarations: [\n ListViewComponent\n ],\n exports: [\n ListViewComponent\n ]\n})\nexport class ListViewModule { }","import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ListViewComponent } from './listview.component';\nimport { ListViewModule } from './listview.module';\nimport {Virtualization} from '@syncfusion/ej2-lists'\n\n\nexport const VirtualizationService: ValueProvider = { provide: 'ListsVirtualization', useValue: Virtualization};\n\n/**\n * NgModule definition for the ListView component with providers.\n */\n@NgModule({\n imports: [CommonModule, ListViewModule],\n exports: [\n ListViewModule\n ],\n providers:[\n VirtualizationService\n ]\n})\nexport class ListViewAllModule { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;AAMO,MAAM,MAAM,GAAa,CAAC,WAAW,EAAC,kBAAkB,EAAC,UAAU,EAAC,YAAY,EAAC,mBAAmB,EAAC,QAAQ,EAAC,qBAAqB,EAAC,mBAAmB,EAAC,WAAW,EAAC,sBAAsB,EAAC,SAAS,EAAC,QAAQ,EAAC,eAAe,EAAC,gBAAgB,EAAC,aAA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SAAS,EAAC;wBACN,qBAAqB;AACxB,qBAAA;iBACJ,CAAA;;;ACpBD;;AAEG;;;;"}
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
import { __decorate } from 'tslib';
|
|
2
|
-
import * as i0 from '@angular/core';
|
|
3
|
-
import { Component, ChangeDetectionStrategy, ContentChild, NgModule } from '@angular/core';
|
|
4
|
-
import { setValue, ComponentBase, Template, ComponentMixins } from '@syncfusion/ej2-angular-base';
|
|
5
|
-
import { ListView, Virtualization } from '@syncfusion/ej2-lists';
|
|
6
|
-
export * from '@syncfusion/ej2-lists';
|
|
7
|
-
import { CommonModule } from '@angular/common';
|
|
8
|
-
|
|
9
|
-
const inputs = ['animation', 'checkBoxPosition', 'cssClass', 'dataSource', 'disableHtmlEncode', 'enable', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableVirtualization', 'enabled', 'fields', 'groupTemplate', 'headerTemplate', 'headerTitle', 'height', 'htmlAttributes', 'locale', 'query', 'showCheckBox', 'showHeader', 'showIcon', 'sortOrder', 'template', 'width'];
|
|
10
|
-
const outputs = ['actionBegin', 'actionComplete', 'actionFailure', 'scroll', 'select'];
|
|
11
|
-
const twoWays = [''];
|
|
12
|
-
/**
|
|
13
|
-
* Represents Angular ListView Component
|
|
14
|
-
* ```
|
|
15
|
-
* <ejs-listview [dataSource]='data'></ejs-listview>
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
|
-
let ListViewComponent = class ListViewComponent extends ListView {
|
|
19
|
-
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
20
|
-
super();
|
|
21
|
-
this.ngEle = ngEle;
|
|
22
|
-
this.srenderer = srenderer;
|
|
23
|
-
this.viewContainerRef = viewContainerRef;
|
|
24
|
-
this.injector = injector;
|
|
25
|
-
this.element = this.ngEle.nativeElement;
|
|
26
|
-
this.injectedModules = this.injectedModules || [];
|
|
27
|
-
try {
|
|
28
|
-
let mod = this.injector.get('ListsVirtualization');
|
|
29
|
-
if (this.injectedModules.indexOf(mod) === -1) {
|
|
30
|
-
this.injectedModules.push(mod);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
catch { }
|
|
34
|
-
this.registerEvents(outputs);
|
|
35
|
-
this.addTwoWay.call(this, twoWays);
|
|
36
|
-
setValue('currentInstance', this, this.viewContainerRef);
|
|
37
|
-
this.context = new ComponentBase();
|
|
38
|
-
}
|
|
39
|
-
ngOnInit() {
|
|
40
|
-
this.context.ngOnInit(this);
|
|
41
|
-
}
|
|
42
|
-
ngAfterViewInit() {
|
|
43
|
-
this.context.ngAfterViewInit(this);
|
|
44
|
-
}
|
|
45
|
-
ngOnDestroy() {
|
|
46
|
-
this.context.ngOnDestroy(this);
|
|
47
|
-
}
|
|
48
|
-
ngAfterContentChecked() {
|
|
49
|
-
this.context.ngAfterContentChecked(this);
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
ListViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
53
|
-
ListViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ListViewComponent, selector: "ejs-listview", inputs: { animation: "animation", checkBoxPosition: "checkBoxPosition", cssClass: "cssClass", dataSource: "dataSource", disableHtmlEncode: "disableHtmlEncode", enable: "enable", enableHtmlSanitizer: "enableHtmlSanitizer", enablePersistence: "enablePersistence", enableRtl: "enableRtl", enableVirtualization: "enableVirtualization", enabled: "enabled", fields: "fields", groupTemplate: "groupTemplate", headerTemplate: "headerTemplate", headerTitle: "headerTitle", height: "height", htmlAttributes: "htmlAttributes", locale: "locale", query: "query", showCheckBox: "showCheckBox", showHeader: "showHeader", showIcon: "showIcon", sortOrder: "sortOrder", template: "template", width: "width" }, outputs: { actionBegin: "actionBegin", actionComplete: "actionComplete", actionFailure: "actionFailure", scroll: "scroll", select: "select" }, queries: [{ propertyName: "template", first: true, predicate: ["template"], descendants: true }, { propertyName: "groupTemplate", first: true, predicate: ["groupTemplate"], descendants: true }, { propertyName: "headerTemplate", first: true, predicate: ["headerTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
54
|
-
__decorate([
|
|
55
|
-
Template()
|
|
56
|
-
], ListViewComponent.prototype, "template", void 0);
|
|
57
|
-
__decorate([
|
|
58
|
-
Template()
|
|
59
|
-
], ListViewComponent.prototype, "groupTemplate", void 0);
|
|
60
|
-
__decorate([
|
|
61
|
-
Template()
|
|
62
|
-
], ListViewComponent.prototype, "headerTemplate", void 0);
|
|
63
|
-
ListViewComponent = __decorate([
|
|
64
|
-
ComponentMixins([ComponentBase])
|
|
65
|
-
], ListViewComponent);
|
|
66
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewComponent, decorators: [{
|
|
67
|
-
type: Component,
|
|
68
|
-
args: [{
|
|
69
|
-
selector: 'ejs-listview',
|
|
70
|
-
inputs: inputs,
|
|
71
|
-
outputs: outputs,
|
|
72
|
-
template: '',
|
|
73
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
74
|
-
queries: {}
|
|
75
|
-
}]
|
|
76
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; }, propDecorators: { template: [{
|
|
77
|
-
type: ContentChild,
|
|
78
|
-
args: ['template']
|
|
79
|
-
}], groupTemplate: [{
|
|
80
|
-
type: ContentChild,
|
|
81
|
-
args: ['groupTemplate']
|
|
82
|
-
}], headerTemplate: [{
|
|
83
|
-
type: ContentChild,
|
|
84
|
-
args: ['headerTemplate']
|
|
85
|
-
}] } });
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* NgModule definition for the ListView component.
|
|
89
|
-
*/
|
|
90
|
-
class ListViewModule {
|
|
91
|
-
}
|
|
92
|
-
ListViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
93
|
-
ListViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewModule, declarations: [ListViewComponent], imports: [CommonModule], exports: [ListViewComponent] });
|
|
94
|
-
ListViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewModule, imports: [[CommonModule]] });
|
|
95
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewModule, decorators: [{
|
|
96
|
-
type: NgModule,
|
|
97
|
-
args: [{
|
|
98
|
-
imports: [CommonModule],
|
|
99
|
-
declarations: [
|
|
100
|
-
ListViewComponent
|
|
101
|
-
],
|
|
102
|
-
exports: [
|
|
103
|
-
ListViewComponent
|
|
104
|
-
]
|
|
105
|
-
}]
|
|
106
|
-
}] });
|
|
107
|
-
|
|
108
|
-
const VirtualizationService = { provide: 'ListsVirtualization', useValue: Virtualization };
|
|
109
|
-
/**
|
|
110
|
-
* NgModule definition for the ListView component with providers.
|
|
111
|
-
*/
|
|
112
|
-
class ListViewAllModule {
|
|
113
|
-
}
|
|
114
|
-
ListViewAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
115
|
-
ListViewAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewAllModule, imports: [CommonModule, ListViewModule], exports: [ListViewModule] });
|
|
116
|
-
ListViewAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewAllModule, providers: [
|
|
117
|
-
VirtualizationService
|
|
118
|
-
], imports: [[CommonModule, ListViewModule], ListViewModule] });
|
|
119
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewAllModule, decorators: [{
|
|
120
|
-
type: NgModule,
|
|
121
|
-
args: [{
|
|
122
|
-
imports: [CommonModule, ListViewModule],
|
|
123
|
-
exports: [
|
|
124
|
-
ListViewModule
|
|
125
|
-
],
|
|
126
|
-
providers: [
|
|
127
|
-
VirtualizationService
|
|
128
|
-
]
|
|
129
|
-
}]
|
|
130
|
-
}] });
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* Generated bundle index. Do not edit.
|
|
134
|
-
*/
|
|
135
|
-
|
|
136
|
-
export { ListViewAllModule, ListViewComponent, ListViewModule, VirtualizationService };
|
|
137
|
-
//# sourceMappingURL=syncfusion-ej2-angular-lists.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"syncfusion-ej2-angular-lists.mjs","sources":["../../src/list-view/listview.component.ts","../../src/list-view/listview.module.ts","../../src/list-view/listview-all.module.ts","../../syncfusion-ej2-angular-lists.ts"],"sourcesContent":["import { Component, ElementRef, ViewContainerRef, ChangeDetectionStrategy, QueryList, Renderer2, Injector, ValueProvider, ContentChild } from '@angular/core';\nimport { ComponentBase, IComponentBase, applyMixins, ComponentMixins, PropertyCollectionInfo, setValue } from '@syncfusion/ej2-angular-base';\nimport { ListView } from '@syncfusion/ej2-lists';\nimport { Template } from '@syncfusion/ej2-angular-base';\n\n\nexport const inputs: string[] = ['animation','checkBoxPosition','cssClass','dataSource','disableHtmlEncode','enable','enableHtmlSanitizer','enablePersistence','enableRtl','enableVirtualization','enabled','fields','groupTemplate','headerTemplate','headerTitle','height','htmlAttributes','locale','query','showCheckBox','showHeader','showIcon','sortOrder','template','width'];\nexport const outputs: string[] = ['actionBegin','actionComplete','actionFailure','scroll','select'];\nexport const twoWays: string[] = [''];\n\n/**\n * Represents Angular ListView Component\n * ```\n * <ejs-listview [dataSource]='data'></ejs-listview>\n * ```\n */\n@Component({\n selector: 'ejs-listview',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n\n }\n})\n@ComponentMixins([ComponentBase])\nexport class ListViewComponent extends ListView implements IComponentBase {\n public context : any;\n public tagObjects: any;\n\tactionBegin: any;\n\tactionComplete: any;\n\tactionFailure: any;\n\tscroll: any;\n\tpublic select: any;\n\n\n /** \n * The ListView component supports to customize the content of each list items with the help of `template` property.\n * \n * {% codeBlock src='listview/template/index.md' %}{% endcodeBlock %}\n * \n * @default null\n * @angulartype string | object\n * @reacttype string | function | JSX.Element\n * @vuetype string | function\n * @asptype string\n */\n @ContentChild('template')\n @Template()\n public template: any;\n /** \n * The ListView has an option to custom design the group header title with the help of `groupTemplate` property.\n * \n * {% codeBlock src=\"listview/groupTemplate/index.md\" %}{% endcodeBlock %}\n * \n * @default null\n * @angulartype string | object\n * @reacttype string | function | JSX.Element\n * @vuetype string | function\n * @asptype string\n */\n @ContentChild('groupTemplate')\n @Template()\n public groupTemplate: any;\n /** \n * The ListView has an option to custom design the ListView header title with the help of `headerTemplate` property.\n * \n * {% codeBlock src=\"listview/headerTemplate/index.md\" %}{% endcodeBlock %}\n * \n * @default null\n * @angulartype string | object\n * @reacttype string | function | JSX.Element\n * @vuetype string | function\n * @asptype string\n */\n @ContentChild('headerTemplate')\n @Template()\n public headerTemplate: any;\n\n constructor(private ngEle: ElementRef, private srenderer: Renderer2, private viewContainerRef:ViewContainerRef, private injector: Injector) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n try {\n let mod = this.injector.get('ListsVirtualization');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n\r\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n\n public ngOnInit() {\n this.context.ngOnInit(this);\n }\n\n public ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n\n public ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n\n public ngAfterContentChecked(): void {\n \n this.context.ngAfterContentChecked(this);\n }\n\n public registerEvents: (eventList: string[]) => void;\n public addTwoWay: (propList: string[]) => void;\n}\n\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ListViewComponent } from './listview.component';\n\n/**\n * NgModule definition for the ListView component.\n */\n@NgModule({\n imports: [CommonModule],\n declarations: [\n ListViewComponent\n ],\n exports: [\n ListViewComponent\n ]\n})\nexport class ListViewModule { }","import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ListViewComponent } from './listview.component';\nimport { ListViewModule } from './listview.module';\nimport {Virtualization} from '@syncfusion/ej2-lists'\n\n\nexport const VirtualizationService: ValueProvider = { provide: 'ListsVirtualization', useValue: Virtualization};\n\n/**\n * NgModule definition for the ListView component with providers.\n */\n@NgModule({\n imports: [CommonModule, ListViewModule],\n exports: [\n ListViewModule\n ],\n providers:[\n VirtualizationService\n ]\n})\nexport class ListViewAllModule { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;AAMO,MAAM,MAAM,GAAa,CAAC,WAAW,EAAC,kBAAkB,EAAC,UAAU,EAAC,YAAY,EAAC,mBAAmB,EAAC,QAAQ,EAAC,qBAAqB,EAAC,mBAAmB,EAAC,WAAW,EAAC,sBAAsB,EAAC,SAAS,EAAC,QAAQ,EAAC,eAAe,EAAC,gBAAgB,EAAC,aAAa,EAAC,QAAQ,EAAC,gBAAgB,EAAC,QAAQ,EAAC,OAAO,EAAC,cAAc,EAAC,YAAY,EAAC,UAAU,EAAC,WAAW,EAAC,UAAU,EAAC,OAAO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|
|
1
|
-
export * from './src/index';
|
package/src/index.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ValueProvider } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
import * as i2 from "./listview.module";
|
|
5
|
-
export declare const VirtualizationService: ValueProvider;
|
|
6
|
-
/**
|
|
7
|
-
* NgModule definition for the ListView component with providers.
|
|
8
|
-
*/
|
|
9
|
-
export declare class ListViewAllModule {
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ListViewAllModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ListViewAllModule, never, [typeof i1.CommonModule, typeof i2.ListViewModule], [typeof i2.ListViewModule]>;
|
|
12
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ListViewAllModule>;
|
|
13
|
-
}
|