@syncfusion/ej2-angular-lists 26.1.35 → 26.2.4-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.
Files changed (120) hide show
  1. package/@syncfusion/ej2-angular-lists.es5.js +188 -0
  2. package/@syncfusion/ej2-angular-lists.es5.js.map +1 -0
  3. package/@syncfusion/ej2-angular-lists.js +169 -0
  4. package/@syncfusion/ej2-angular-lists.js.map +1 -0
  5. package/dist/ej2-angular-lists.umd.js +213 -0
  6. package/dist/ej2-angular-lists.umd.js.map +1 -0
  7. package/dist/ej2-angular-lists.umd.min.js +11 -0
  8. package/dist/ej2-angular-lists.umd.min.js.map +1 -0
  9. package/ej2-angular-lists.d.ts +5 -0
  10. package/ej2-angular-lists.metadata.json +1 -0
  11. package/license +10 -0
  12. package/package.json +15 -29
  13. package/schematics/collection.json +0 -30
  14. package/src/list-view/listview-all.module.d.ts +0 -6
  15. package/src/list-view/listview.component.d.ts +0 -3
  16. package/src/list-view/listview.module.d.ts +0 -6
  17. package/styles/list-view/material3-dark.css +1 -1
  18. package/styles/list-view/material3.css +1 -1
  19. package/styles/material3-dark.css +1 -1
  20. package/styles/material3.css +1 -1
  21. package/CHANGELOG.md +0 -530
  22. package/esm2020/public_api.mjs +0 -2
  23. package/esm2020/src/index.mjs +0 -5
  24. package/esm2020/src/list-view/listview-all.module.mjs +0 -29
  25. package/esm2020/src/list-view/listview.component.mjs +0 -85
  26. package/esm2020/src/list-view/listview.module.mjs +0 -25
  27. package/esm2020/syncfusion-ej2-angular-lists.mjs +0 -5
  28. package/fesm2015/syncfusion-ej2-angular-lists.mjs +0 -137
  29. package/fesm2015/syncfusion-ej2-angular-lists.mjs.map +0 -1
  30. package/fesm2020/syncfusion-ej2-angular-lists.mjs +0 -137
  31. package/fesm2020/syncfusion-ej2-angular-lists.mjs.map +0 -1
  32. package/schematics/generators/listview-checklist/index.d.ts +0 -3
  33. package/schematics/generators/listview-checklist/index.js +0 -8
  34. package/schematics/generators/listview-checklist/index.ts +0 -8
  35. package/schematics/generators/listview-checklist/sample-details.d.ts +0 -5
  36. package/schematics/generators/listview-checklist/sample-details.js +0 -7
  37. package/schematics/generators/listview-checklist/sample-details.ts +0 -5
  38. package/schematics/generators/listview-checklist/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -49
  39. package/schematics/generators/listview-checklist/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -12
  40. package/schematics/generators/listview-checklist/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -84
  41. package/schematics/generators/listview-checklist/schema.d.ts +0 -3
  42. package/schematics/generators/listview-checklist/schema.js +0 -2
  43. package/schematics/generators/listview-checklist/schema.json +0 -125
  44. package/schematics/generators/listview-checklist/schema.ts +0 -3
  45. package/schematics/generators/listview-default/index.d.ts +0 -3
  46. package/schematics/generators/listview-default/index.js +0 -8
  47. package/schematics/generators/listview-default/index.ts +0 -8
  48. package/schematics/generators/listview-default/sample-details.d.ts +0 -5
  49. package/schematics/generators/listview-default/sample-details.js +0 -7
  50. package/schematics/generators/listview-default/sample-details.ts +0 -5
  51. package/schematics/generators/listview-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -53
  52. package/schematics/generators/listview-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -12
  53. package/schematics/generators/listview-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -84
  54. package/schematics/generators/listview-default/schema.d.ts +0 -3
  55. package/schematics/generators/listview-default/schema.js +0 -2
  56. package/schematics/generators/listview-default/schema.json +0 -125
  57. package/schematics/generators/listview-default/schema.ts +0 -3
  58. package/schematics/generators/listview-nestedlist/images/__path__/__name@dasherize__/file_icons.png +0 -0
  59. package/schematics/generators/listview-nestedlist/index.d.ts +0 -3
  60. package/schematics/generators/listview-nestedlist/index.js +0 -8
  61. package/schematics/generators/listview-nestedlist/index.ts +0 -8
  62. package/schematics/generators/listview-nestedlist/sample-details.d.ts +0 -5
  63. package/schematics/generators/listview-nestedlist/sample-details.js +0 -7
  64. package/schematics/generators/listview-nestedlist/sample-details.ts +0 -5
  65. package/schematics/generators/listview-nestedlist/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -70
  66. package/schematics/generators/listview-nestedlist/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -5
  67. package/schematics/generators/listview-nestedlist/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -84
  68. package/schematics/generators/listview-nestedlist/schema.d.ts +0 -3
  69. package/schematics/generators/listview-nestedlist/schema.js +0 -2
  70. package/schematics/generators/listview-nestedlist/schema.json +0 -125
  71. package/schematics/generators/listview-nestedlist/schema.ts +0 -3
  72. package/schematics/generators/listview-remotelist/index.d.ts +0 -3
  73. package/schematics/generators/listview-remotelist/index.js +0 -8
  74. package/schematics/generators/listview-remotelist/index.ts +0 -8
  75. package/schematics/generators/listview-remotelist/sample-details.d.ts +0 -5
  76. package/schematics/generators/listview-remotelist/sample-details.js +0 -7
  77. package/schematics/generators/listview-remotelist/sample-details.ts +0 -5
  78. package/schematics/generators/listview-remotelist/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -56
  79. package/schematics/generators/listview-remotelist/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -5
  80. package/schematics/generators/listview-remotelist/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -31
  81. package/schematics/generators/listview-remotelist/schema.d.ts +0 -3
  82. package/schematics/generators/listview-remotelist/schema.js +0 -2
  83. package/schematics/generators/listview-remotelist/schema.json +0 -125
  84. package/schematics/generators/listview-remotelist/schema.ts +0 -3
  85. package/schematics/generators/listview-template/index.d.ts +0 -3
  86. package/schematics/generators/listview-template/index.js +0 -8
  87. package/schematics/generators/listview-template/index.ts +0 -8
  88. package/schematics/generators/listview-template/sample-details.d.ts +0 -5
  89. package/schematics/generators/listview-template/sample-details.js +0 -7
  90. package/schematics/generators/listview-template/sample-details.ts +0 -5
  91. package/schematics/generators/listview-template/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -169
  92. package/schematics/generators/listview-template/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -18
  93. package/schematics/generators/listview-template/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -35
  94. package/schematics/generators/listview-template/schema.d.ts +0 -3
  95. package/schematics/generators/listview-template/schema.js +0 -2
  96. package/schematics/generators/listview-template/schema.json +0 -125
  97. package/schematics/generators/listview-template/schema.ts +0 -3
  98. package/schematics/generators/listview-virtualization/images/__path__/__name@dasherize__/albert.png +0 -0
  99. package/schematics/generators/listview-virtualization/images/__path__/__name@dasherize__/laura.png +0 -0
  100. package/schematics/generators/listview-virtualization/images/__path__/__name@dasherize__/margaret.png +0 -0
  101. package/schematics/generators/listview-virtualization/index.d.ts +0 -3
  102. package/schematics/generators/listview-virtualization/index.js +0 -8
  103. package/schematics/generators/listview-virtualization/index.ts +0 -8
  104. package/schematics/generators/listview-virtualization/sample-details.d.ts +0 -5
  105. package/schematics/generators/listview-virtualization/sample-details.js +0 -7
  106. package/schematics/generators/listview-virtualization/sample-details.ts +0 -5
  107. package/schematics/generators/listview-virtualization/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -83
  108. package/schematics/generators/listview-virtualization/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -37
  109. package/schematics/generators/listview-virtualization/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -94
  110. package/schematics/generators/listview-virtualization/schema.d.ts +0 -3
  111. package/schematics/generators/listview-virtualization/schema.js +0 -2
  112. package/schematics/generators/listview-virtualization/schema.json +0 -125
  113. package/schematics/generators/listview-virtualization/schema.ts +0 -3
  114. package/schematics/ng-add/index.d.ts +0 -3
  115. package/schematics/ng-add/index.js +0 -9
  116. package/schematics/ng-add/schema.d.ts +0 -13
  117. package/schematics/ng-add/schema.js +0 -2
  118. package/schematics/utils/lib-details.d.ts +0 -4
  119. package/schematics/utils/lib-details.js +0 -6
  120. package/syncfusion-ej2-angular-lists.d.ts +0 -5
@@ -1,25 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { ListViewComponent } from './listview.component';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * NgModule definition for the ListView component.
7
- */
8
- export class ListViewModule {
9
- }
10
- ListViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
11
- ListViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewModule, declarations: [ListViewComponent], imports: [CommonModule], exports: [ListViewComponent] });
12
- ListViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewModule, imports: [[CommonModule]] });
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewModule, decorators: [{
14
- type: NgModule,
15
- args: [{
16
- imports: [CommonModule],
17
- declarations: [
18
- ListViewComponent
19
- ],
20
- exports: [
21
- ListViewComponent
22
- ]
23
- }]
24
- }] });
25
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlzdHZpZXcubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2xpc3Qtdmlldy9saXN0dmlldy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sc0JBQXNCLENBQUM7O0FBRXpEOztHQUVHO0FBVUgsTUFBTSxPQUFPLGNBQWM7OzJHQUFkLGNBQWM7NEdBQWQsY0FBYyxpQkFObkIsaUJBQWlCLGFBRlgsWUFBWSxhQUtsQixpQkFBaUI7NEdBR1osY0FBYyxZQVJkLENBQUMsWUFBWSxDQUFDOzJGQVFkLGNBQWM7a0JBVDFCLFFBQVE7bUJBQUM7b0JBQ04sT0FBTyxFQUFFLENBQUMsWUFBWSxDQUFDO29CQUN2QixZQUFZLEVBQUU7d0JBQ1YsaUJBQWlCO3FCQUNwQjtvQkFDRCxPQUFPLEVBQUU7d0JBQ0wsaUJBQWlCO3FCQUNwQjtpQkFDSiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xuaW1wb3J0IHsgTGlzdFZpZXdDb21wb25lbnQgfSBmcm9tICcuL2xpc3R2aWV3LmNvbXBvbmVudCc7XG5cbi8qKlxuICogTmdNb2R1bGUgZGVmaW5pdGlvbiBmb3IgdGhlIExpc3RWaWV3IGNvbXBvbmVudC5cbiAqL1xuQE5nTW9kdWxlKHtcbiAgICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlXSxcbiAgICBkZWNsYXJhdGlvbnM6IFtcbiAgICAgICAgTGlzdFZpZXdDb21wb25lbnRcbiAgICBdLFxuICAgIGV4cG9ydHM6IFtcbiAgICAgICAgTGlzdFZpZXdDb21wb25lbnRcbiAgICBdXG59KVxuZXhwb3J0IGNsYXNzIExpc3RWaWV3TW9kdWxlIHsgfSJdfQ==
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './public_api';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3luY2Z1c2lvbi1lajItYW5ndWxhci1saXN0cy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3N5bmNmdXNpb24tZWoyLWFuZ3VsYXItbGlzdHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWNfYXBpJztcbiJdfQ==
@@ -1,137 +0,0 @@
1
- import { __decorate } from 'tslib';
2
- import * as i0 from '@angular/core';
3
- import { Component, ChangeDetectionStrategy, ContentChild, NgModule } from '@angular/core';
4
- import { setValue, ComponentBase, Template, ComponentMixins } from '@syncfusion/ej2-angular-base';
5
- import { ListView, Virtualization } from '@syncfusion/ej2-lists';
6
- export * from '@syncfusion/ej2-lists';
7
- import { CommonModule } from '@angular/common';
8
-
9
- const inputs = ['animation', 'checkBoxPosition', 'cssClass', 'dataSource', 'enable', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableVirtualization', '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", enable: "enable", enableHtmlSanitizer: "enableHtmlSanitizer", enablePersistence: "enablePersistence", enableRtl: "enableRtl", enableVirtualization: "enableVirtualization", 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','enable','enableHtmlSanitizer','enablePersistence','enableRtl','enableVirtualization','fields','groupTemplate','headerTemplate','headerTitle','height','htmlAttributes','locale','query','showCheckBox','showHeader','showIcon','sortOrder','template','width'];\nexport const outputs: string[] = ['actionBegin','actionComplete','actionFailure','scroll','select'];\nexport const twoWays: string[] = [''];\n\n/**\n * Represents Angular ListView Component\n * ```\n * <ejs-listview [dataSource]='data'></ejs-listview>\n * ```\n */\n@Component({\n selector: 'ejs-listview',\n inputs: inputs,\n outputs: outputs,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n\n }\n})\n@ComponentMixins([ComponentBase])\nexport class ListViewComponent extends ListView implements IComponentBase {\n public context : any;\n public tagObjects: any;\n\tactionBegin: any;\n\tactionComplete: any;\n\tactionFailure: any;\n\tscroll: any;\n\tpublic select: any;\n\n\n /** \n * The ListView component supports to customize the content of each list items with the help of `template` property.\n * \n * {% codeBlock src='listview/template/index.md' %}{% endcodeBlock %}\n * \n * @default null\n * @angulartype string | object\n * @reacttype string | function | JSX.Element\n * @vuetype string | function\n * @asptype string\n */\n @ContentChild('template')\n @Template()\n public template: any;\n /** \n * The ListView has an option to custom design the group header title with the help of `groupTemplate` property.\n * \n * {% codeBlock src=\"listview/groupTemplate/index.md\" %}{% endcodeBlock %}\n * \n * @default null\n * @angulartype string | object\n * @reacttype string | function | JSX.Element\n * @vuetype string | function\n * @asptype string\n */\n @ContentChild('groupTemplate')\n @Template()\n public groupTemplate: any;\n /** \n * The ListView has an option to custom design the ListView header title with the help of `headerTemplate` property.\n * \n * {% codeBlock src=\"listview/headerTemplate/index.md\" %}{% endcodeBlock %}\n * \n * @default null\n * @angulartype string | object\n * @reacttype string | function | JSX.Element\n * @vuetype string | function\n * @asptype string\n */\n @ContentChild('headerTemplate')\n @Template()\n public headerTemplate: any;\n\n constructor(private ngEle: ElementRef, private srenderer: Renderer2, private viewContainerRef:ViewContainerRef, private injector: Injector) {\n super();\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n try {\n let mod = this.injector.get('ListsVirtualization');\n if(this.injectedModules.indexOf(mod) === -1) {\n this.injectedModules.push(mod)\n }\n } catch { }\n\r\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.context = new ComponentBase();\n }\n\n public ngOnInit() {\n this.context.ngOnInit(this);\n }\n\n public ngAfterViewInit(): void {\n this.context.ngAfterViewInit(this);\n }\n\n public ngOnDestroy(): void {\n this.context.ngOnDestroy(this);\n }\n\n public ngAfterContentChecked(): void {\n \n this.context.ngAfterContentChecked(this);\n }\n\n public registerEvents: (eventList: string[]) => void;\n public addTwoWay: (propList: string[]) => void;\n}\n\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ListViewComponent } from './listview.component';\n\n/**\n * NgModule definition for the ListView component.\n */\n@NgModule({\n imports: [CommonModule],\n declarations: [\n ListViewComponent\n ],\n exports: [\n ListViewComponent\n ]\n})\nexport class ListViewModule { }","import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ListViewComponent } from './listview.component';\nimport { ListViewModule } from './listview.module';\nimport {Virtualization} from '@syncfusion/ej2-lists'\n\n\nexport const VirtualizationService: ValueProvider = { provide: 'ListsVirtualization', useValue: Virtualization};\n\n/**\n * NgModule definition for the ListView component with providers.\n */\n@NgModule({\n imports: [CommonModule, ListViewModule],\n exports: [\n ListViewModule\n ],\n providers:[\n VirtualizationService\n ]\n})\nexport class ListViewAllModule { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;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AMT,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAT7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,cAAc,CAAC;AACvC,oBAAA,OAAO,EAAE;wBACL,cAAc;AACjB,qBAAA;AACD,oBAAA,SAAS,EAAC;wBACN,qBAAqB;AACxB,qBAAA;iBACJ,CAAA;;;ACpBD;;AAEG;;;;"}
@@ -1,137 +0,0 @@
1
- import { __decorate } from 'tslib';
2
- import * as i0 from '@angular/core';
3
- import { Component, ChangeDetectionStrategy, ContentChild, NgModule } from '@angular/core';
4
- import { setValue, ComponentBase, Template, ComponentMixins } from '@syncfusion/ej2-angular-base';
5
- import { ListView, Virtualization } from '@syncfusion/ej2-lists';
6
- export * from '@syncfusion/ej2-lists';
7
- import { CommonModule } from '@angular/common';
8
-
9
- const inputs = ['animation', 'checkBoxPosition', 'cssClass', 'dataSource', 'enable', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableVirtualization', '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", enable: "enable", enableHtmlSanitizer: "enableHtmlSanitizer", enablePersistence: "enablePersistence", enableRtl: "enableRtl", enableVirtualization: "enableVirtualization", 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','enable','enableHtmlSanitizer','enablePersistence','enableRtl','enableVirtualization','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,QAAQ,EAAC,qBAAqB,EAAC,mBAAmB,EAAC,WAAW,EAAC,sBAAsB,EAAC,QAA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E;wBACL,cAAc;AACjB,qBAAA;AACD,oBAAA,SAAS,EAAC;wBACN,qBAAqB;AACxB,qBAAA;AACJ,iBAAA,CAAA;;;ACpBD;;AAEG;;;;"}
@@ -1,3 +0,0 @@
1
- import { Rule } from '@angular-devkit/schematics';
2
- import { Schema } from './schema';
3
- export default function (options: Schema): Rule;
@@ -1,8 +0,0 @@
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;
@@ -1,8 +0,0 @@
1
- import { Rule } from '@angular-devkit/schematics';
2
- import { componentBuilder } from "@syncfusion/ej2-angular-base/schematics";
3
- import { Schema } from './schema';
4
- import * as sampleDetails from './sample-details';
5
-
6
- export default function (options: Schema): Rule {
7
- return componentBuilder(options, sampleDetails);
8
- }
@@ -1,5 +0,0 @@
1
- export declare const componentName: string;
2
- export declare const sampleName: string;
3
- export declare const diModules: string;
4
- export declare const packageName: string;
5
- export declare const libModules: string;
@@ -1,7 +0,0 @@
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';
@@ -1,5 +0,0 @@
1
- export const componentName: string = 'listview';
2
- export const sampleName: string = 'checklist';
3
- export const diModules: string = null;
4
- export const packageName: string = '@syncfusion/ej2-angular-lists';
5
- export const libModules: string = 'ListViewModule';
@@ -1,49 +0,0 @@
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
- }
@@ -1,12 +0,0 @@
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>
@@ -1,84 +0,0 @@
1
- /**
2
- * ListView Checklist Sample
3
- */
4
- import { Component } from '@angular/core';
5
-
6
- @Component({
7
- selector: '<%=dasherize(selector)%>',
8
- templateUrl: '<%=dasherize(name)%>.component.html',
9
- styleUrls: ['<%=dasherize(name)%>.component.css']
10
- })
11
-
12
- export class <%= classify(name) %>Component {
13
-
14
- // Define an array of JSON data
15
- public data: Object[] = [
16
- { text: 'Hennessey Venom', id: 'list-01' },
17
- { text: 'Bugatti Chiron', id: 'list-02' },
18
- { text: 'Bugatti Veyron Super Sport', id: 'list-03' },
19
- { text: 'SSC Ultimate Aero', id: 'list-04' },
20
- { text: 'Koenigsegg CCR', id: 'list-05' },
21
- { text: 'McLaren F1', id: 'list-06' },
22
- { text: 'Aston Martin One- 77', id: 'list-07' },
23
- { text: 'Jaguar XJ220', id: 'list-08' },
24
- { text: 'McLaren P1', id: 'list-09' },
25
- { text: 'Ferrari LaFerrari', id: 'list-10' },
26
- ];
27
-
28
- // Define an array of JSON data
29
- public groupData: { [key: string]: Object }[] = [
30
- {
31
- 'text': 'Audi A4',
32
- 'id': '9bdb',
33
- 'category': 'Audi'
34
- },
35
- {
36
- 'text': 'Audi A5',
37
- 'id': '4589',
38
- 'category': 'Audi'
39
- },
40
- {
41
- 'text': 'Audi A6',
42
- 'id': 'e807',
43
- 'category': 'Audi'
44
- },
45
- {
46
- 'text': 'Audi A7',
47
- 'id': 'a0cc',
48
- 'category': 'Audi'
49
- },
50
- {
51
- 'text': 'Audi A8',
52
- 'id': '5e26',
53
- 'category': 'Audi'
54
- },
55
- {
56
- 'text': 'BMW 501',
57
- 'id': 'f849',
58
- 'category': 'BMW'
59
- },
60
- {
61
- 'text': 'BMW 502',
62
- 'id': '7aff',
63
- 'category': 'BMW'
64
- },
65
- {
66
- 'text': 'BMW 503',
67
- 'id': 'b1da',
68
- 'category': 'BMW'
69
- },
70
- {
71
- 'text': 'BMW 507',
72
- 'id': 'de2f',
73
- 'category': 'BMW'
74
- },
75
- {
76
- 'text': 'BMW 3200',
77
- 'id': 'b2b1',
78
- 'category': 'BMW'
79
- }
80
- ];
81
-
82
- // Map the appropriate columns to fields property
83
- public fields: Object = { groupBy: 'category' };
84
- }
@@ -1,3 +0,0 @@
1
- import { Schema as ComponentSchema } from '@schematics/angular/component/schema';
2
- export interface Schema extends ComponentSchema {
3
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });