@syncfusion/ej2-angular-lists 26.1.35 → 26.2.4
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 -0
- package/package.json +7 -7
- package/schematics/collection.json +0 -30
- package/styles/list-view/material3-dark.css +1 -1
- package/styles/list-view/material3.css +1 -1
- package/styles/material3-dark.css +1 -1
- package/styles/material3.css +1 -1
- package/schematics/generators/listview-checklist/index.d.ts +0 -3
- package/schematics/generators/listview-checklist/index.js +0 -8
- package/schematics/generators/listview-checklist/index.ts +0 -8
- package/schematics/generators/listview-checklist/sample-details.d.ts +0 -5
- package/schematics/generators/listview-checklist/sample-details.js +0 -7
- package/schematics/generators/listview-checklist/sample-details.ts +0 -5
- package/schematics/generators/listview-checklist/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -49
- package/schematics/generators/listview-checklist/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -12
- package/schematics/generators/listview-checklist/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -84
- package/schematics/generators/listview-checklist/schema.d.ts +0 -3
- package/schematics/generators/listview-checklist/schema.js +0 -2
- package/schematics/generators/listview-checklist/schema.json +0 -125
- package/schematics/generators/listview-checklist/schema.ts +0 -3
- package/schematics/generators/listview-default/index.d.ts +0 -3
- package/schematics/generators/listview-default/index.js +0 -8
- package/schematics/generators/listview-default/index.ts +0 -8
- package/schematics/generators/listview-default/sample-details.d.ts +0 -5
- package/schematics/generators/listview-default/sample-details.js +0 -7
- package/schematics/generators/listview-default/sample-details.ts +0 -5
- package/schematics/generators/listview-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -53
- package/schematics/generators/listview-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -12
- package/schematics/generators/listview-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -84
- package/schematics/generators/listview-default/schema.d.ts +0 -3
- package/schematics/generators/listview-default/schema.js +0 -2
- package/schematics/generators/listview-default/schema.json +0 -125
- package/schematics/generators/listview-default/schema.ts +0 -3
- package/schematics/generators/listview-nestedlist/images/__path__/__name@dasherize__/file_icons.png +0 -0
- package/schematics/generators/listview-nestedlist/index.d.ts +0 -3
- package/schematics/generators/listview-nestedlist/index.js +0 -8
- package/schematics/generators/listview-nestedlist/index.ts +0 -8
- package/schematics/generators/listview-nestedlist/sample-details.d.ts +0 -5
- package/schematics/generators/listview-nestedlist/sample-details.js +0 -7
- package/schematics/generators/listview-nestedlist/sample-details.ts +0 -5
- package/schematics/generators/listview-nestedlist/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -70
- package/schematics/generators/listview-nestedlist/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -5
- package/schematics/generators/listview-nestedlist/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -84
- package/schematics/generators/listview-nestedlist/schema.d.ts +0 -3
- package/schematics/generators/listview-nestedlist/schema.js +0 -2
- package/schematics/generators/listview-nestedlist/schema.json +0 -125
- package/schematics/generators/listview-nestedlist/schema.ts +0 -3
- package/schematics/generators/listview-remotelist/index.d.ts +0 -3
- package/schematics/generators/listview-remotelist/index.js +0 -8
- package/schematics/generators/listview-remotelist/index.ts +0 -8
- package/schematics/generators/listview-remotelist/sample-details.d.ts +0 -5
- package/schematics/generators/listview-remotelist/sample-details.js +0 -7
- package/schematics/generators/listview-remotelist/sample-details.ts +0 -5
- package/schematics/generators/listview-remotelist/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -56
- package/schematics/generators/listview-remotelist/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -5
- package/schematics/generators/listview-remotelist/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -31
- package/schematics/generators/listview-remotelist/schema.d.ts +0 -3
- package/schematics/generators/listview-remotelist/schema.js +0 -2
- package/schematics/generators/listview-remotelist/schema.json +0 -125
- package/schematics/generators/listview-remotelist/schema.ts +0 -3
- package/schematics/generators/listview-template/index.d.ts +0 -3
- package/schematics/generators/listview-template/index.js +0 -8
- package/schematics/generators/listview-template/index.ts +0 -8
- package/schematics/generators/listview-template/sample-details.d.ts +0 -5
- package/schematics/generators/listview-template/sample-details.js +0 -7
- package/schematics/generators/listview-template/sample-details.ts +0 -5
- package/schematics/generators/listview-template/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -169
- package/schematics/generators/listview-template/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -18
- package/schematics/generators/listview-template/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -35
- package/schematics/generators/listview-template/schema.d.ts +0 -3
- package/schematics/generators/listview-template/schema.js +0 -2
- package/schematics/generators/listview-template/schema.json +0 -125
- package/schematics/generators/listview-template/schema.ts +0 -3
- 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 +0 -3
- package/schematics/generators/listview-virtualization/index.js +0 -8
- package/schematics/generators/listview-virtualization/index.ts +0 -8
- package/schematics/generators/listview-virtualization/sample-details.d.ts +0 -5
- package/schematics/generators/listview-virtualization/sample-details.js +0 -7
- package/schematics/generators/listview-virtualization/sample-details.ts +0 -5
- package/schematics/generators/listview-virtualization/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -83
- package/schematics/generators/listview-virtualization/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -37
- package/schematics/generators/listview-virtualization/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -94
- package/schematics/generators/listview-virtualization/schema.d.ts +0 -3
- package/schematics/generators/listview-virtualization/schema.js +0 -2
- package/schematics/generators/listview-virtualization/schema.json +0 -125
- package/schematics/generators/listview-virtualization/schema.ts +0 -3
- package/schematics/ng-add/index.d.ts +0 -3
- package/schematics/ng-add/index.js +0 -9
- package/schematics/ng-add/schema.d.ts +0 -13
- package/schematics/ng-add/schema.js +0 -2
- package/schematics/utils/lib-details.d.ts +0 -4
- package/schematics/utils/lib-details.js +0 -6
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"_from": "@syncfusion/ej2-angular-lists@*",
|
|
3
3
|
"_id": "@syncfusion/ej2-angular-lists@26.1.35",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512
|
|
5
|
+
"_integrity": "sha512-+dU92pa2V3Jq9KZMOzhE8drZlF4kWWxzePg9gzo/4D7lK2lYi7mqbXEIS/r2VI+IEtFc53D4GeetnGvxi7vf+g==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-angular-lists",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/"
|
|
21
21
|
],
|
|
22
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-angular-
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-angular-hotfix/@syncfusion/ej2-angular-lists/-/ej2-angular-lists-26.1.35.tgz",
|
|
23
|
+
"_shasum": "5ee9b8d9cd83a3dcea527bd552a3fcf2c45d49c3",
|
|
24
24
|
"_spec": "@syncfusion/ej2-angular-lists@*",
|
|
25
25
|
"_where": "/jenkins/workspace/elease-automation_release_26.1.1/ivypackages/included",
|
|
26
26
|
"author": {
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
},
|
|
32
32
|
"bundleDependencies": false,
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@syncfusion/ej2-angular-base": "~26.
|
|
35
|
-
"@syncfusion/ej2-base": "~26.
|
|
36
|
-
"@syncfusion/ej2-lists": "26.
|
|
34
|
+
"@syncfusion/ej2-angular-base": "~26.2.4",
|
|
35
|
+
"@syncfusion/ej2-base": "~26.2.4",
|
|
36
|
+
"@syncfusion/ej2-lists": "26.2.4",
|
|
37
37
|
"tslib": "^2.3.0"
|
|
38
38
|
},
|
|
39
39
|
"deprecated": false,
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"schematics": "./schematics/collection.json",
|
|
74
74
|
"sideEffects": false,
|
|
75
75
|
"typings": "syncfusion-ej2-angular-lists.d.ts",
|
|
76
|
-
"version": "26.
|
|
76
|
+
"version": "26.2.4"
|
|
77
77
|
}
|
|
@@ -5,36 +5,6 @@
|
|
|
5
5
|
"description": "Adds Essential JS 2 specific Angular package to an application",
|
|
6
6
|
"factory": "./ng-add",
|
|
7
7
|
"schema": "./ng-add/schema.json"
|
|
8
|
-
},
|
|
9
|
-
"listview-checklist": {
|
|
10
|
-
"description": "Create an Angular ListView component with checkbox feature",
|
|
11
|
-
"factory": "./generators/listview-checklist",
|
|
12
|
-
"schema": "./generators/listview-checklist/schema.json"
|
|
13
|
-
},
|
|
14
|
-
"listview-default": {
|
|
15
|
-
"description": "Create an Angular ListView component as simple flat list",
|
|
16
|
-
"factory": "./generators/listview-default",
|
|
17
|
-
"schema": "./generators/listview-default/schema.json"
|
|
18
|
-
},
|
|
19
|
-
"listview-nestedlist": {
|
|
20
|
-
"description": "Create an Angular ListView component with nested navigation feature",
|
|
21
|
-
"factory": "./generators/listview-nestedlist",
|
|
22
|
-
"schema": "./generators/listview-nestedlist/schema.json"
|
|
23
|
-
},
|
|
24
|
-
"listview-remotelist": {
|
|
25
|
-
"description": "Loading remote data into Angular ListView component",
|
|
26
|
-
"factory": "./generators/listview-remotelist",
|
|
27
|
-
"schema": "./generators/listview-remotelist/schema.json"
|
|
28
|
-
},
|
|
29
|
-
"listview-template": {
|
|
30
|
-
"description": "Create an Angular component with EJ2 listview with template",
|
|
31
|
-
"factory": "./generators/listview-template",
|
|
32
|
-
"schema": "./generators/listview-template/schema.json"
|
|
33
|
-
},
|
|
34
|
-
"listview-virtualization": {
|
|
35
|
-
"description": "Enabling virtualization feature in Angular ListView component",
|
|
36
|
-
"factory": "./generators/listview-virtualization",
|
|
37
|
-
"schema": "./generators/listview-virtualization/schema.json"
|
|
38
8
|
}
|
|
39
9
|
}
|
|
40
10
|
}
|
|
@@ -458,7 +458,7 @@
|
|
|
458
458
|
left: 0;
|
|
459
459
|
position: absolute;
|
|
460
460
|
margin: 7px 16px 7px 12px;
|
|
461
|
-
background: rgba(var(--color-sf-primary));
|
|
461
|
+
background-color: rgba(var(--color-sf-primary));
|
|
462
462
|
}
|
|
463
463
|
.e-listview.e-list-template .e-list-wrapper.e-list-avatar:not(.e-list-badge) {
|
|
464
464
|
padding-left: 68px;
|
|
@@ -570,7 +570,7 @@
|
|
|
570
570
|
left: 0;
|
|
571
571
|
position: absolute;
|
|
572
572
|
margin: 7px 16px 7px 12px;
|
|
573
|
-
background: rgba(var(--color-sf-primary));
|
|
573
|
+
background-color: rgba(var(--color-sf-primary));
|
|
574
574
|
}
|
|
575
575
|
.e-listview.e-list-template .e-list-wrapper.e-list-avatar:not(.e-list-badge) {
|
|
576
576
|
padding-left: 68px;
|
|
@@ -458,7 +458,7 @@
|
|
|
458
458
|
left: 0;
|
|
459
459
|
position: absolute;
|
|
460
460
|
margin: 7px 16px 7px 12px;
|
|
461
|
-
background: rgba(var(--color-sf-primary));
|
|
461
|
+
background-color: rgba(var(--color-sf-primary));
|
|
462
462
|
}
|
|
463
463
|
.e-listview.e-list-template .e-list-wrapper.e-list-avatar:not(.e-list-badge) {
|
|
464
464
|
padding-left: 68px;
|
package/styles/material3.css
CHANGED
|
@@ -570,7 +570,7 @@
|
|
|
570
570
|
left: 0;
|
|
571
571
|
position: absolute;
|
|
572
572
|
margin: 7px 16px 7px 12px;
|
|
573
|
-
background: rgba(var(--color-sf-primary));
|
|
573
|
+
background-color: rgba(var(--color-sf-primary));
|
|
574
574
|
}
|
|
575
575
|
.e-listview.e-list-template .e-list-wrapper.e-list-avatar:not(.e-list-badge) {
|
|
576
576
|
padding-left: 68px;
|
|
@@ -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,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,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,125 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema",
|
|
3
|
-
"$id": "EJ2SchemaTemplateID",
|
|
4
|
-
"title": "listview-checklist",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"path": {
|
|
8
|
-
"type": "string",
|
|
9
|
-
"format": "path",
|
|
10
|
-
"description": "The path to create the component.",
|
|
11
|
-
"visible": false
|
|
12
|
-
},
|
|
13
|
-
"project": {
|
|
14
|
-
"type": "string",
|
|
15
|
-
"description": "The name of the project.",
|
|
16
|
-
"$default": {
|
|
17
|
-
"$source": "projectName"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"name": {
|
|
21
|
-
"type": "string",
|
|
22
|
-
"description": "The name of the component.",
|
|
23
|
-
"$default": {
|
|
24
|
-
"$source": "argv",
|
|
25
|
-
"index": 0
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
"inlineStyle": {
|
|
29
|
-
"description": "Specifies if the style will be in the ts file.",
|
|
30
|
-
"type": "boolean",
|
|
31
|
-
"default": false,
|
|
32
|
-
"alias": "s"
|
|
33
|
-
},
|
|
34
|
-
"inlineTemplate": {
|
|
35
|
-
"description": "Specifies if the template will be in the ts file.",
|
|
36
|
-
"type": "boolean",
|
|
37
|
-
"default": false,
|
|
38
|
-
"alias": "t"
|
|
39
|
-
},
|
|
40
|
-
"viewEncapsulation": {
|
|
41
|
-
"description": "Specifies the view encapsulation strategy.",
|
|
42
|
-
"enum": [
|
|
43
|
-
"Emulated",
|
|
44
|
-
"Native",
|
|
45
|
-
"None",
|
|
46
|
-
"ShadowDom"
|
|
47
|
-
],
|
|
48
|
-
"type": "string",
|
|
49
|
-
"alias": "v"
|
|
50
|
-
},
|
|
51
|
-
"changeDetection": {
|
|
52
|
-
"description": "Specifies the change detection strategy.",
|
|
53
|
-
"enum": [
|
|
54
|
-
"Default",
|
|
55
|
-
"OnPush"
|
|
56
|
-
],
|
|
57
|
-
"type": "string",
|
|
58
|
-
"default": "Default",
|
|
59
|
-
"alias": "c"
|
|
60
|
-
},
|
|
61
|
-
"prefix": {
|
|
62
|
-
"type": "string",
|
|
63
|
-
"description": "The prefix to apply to generated selectors.",
|
|
64
|
-
"alias": "p",
|
|
65
|
-
"oneOf": [
|
|
66
|
-
{
|
|
67
|
-
"maxLength": 0
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"minLength": 1,
|
|
71
|
-
"format": "html-selector"
|
|
72
|
-
}
|
|
73
|
-
]
|
|
74
|
-
},
|
|
75
|
-
"styleext": {
|
|
76
|
-
"description": "The file extension to be used for style files.",
|
|
77
|
-
"type": "string",
|
|
78
|
-
"default": "css"
|
|
79
|
-
},
|
|
80
|
-
"spec": {
|
|
81
|
-
"type": "boolean",
|
|
82
|
-
"description": "Specifies if a spec file is generated.",
|
|
83
|
-
"default": true
|
|
84
|
-
},
|
|
85
|
-
"flat": {
|
|
86
|
-
"type": "boolean",
|
|
87
|
-
"description": "Flag to indicate if a dir is created.",
|
|
88
|
-
"default": false
|
|
89
|
-
},
|
|
90
|
-
"skipImport": {
|
|
91
|
-
"type": "boolean",
|
|
92
|
-
"description": "Flag to skip the module import.",
|
|
93
|
-
"default": false
|
|
94
|
-
},
|
|
95
|
-
"selector": {
|
|
96
|
-
"type": "string",
|
|
97
|
-
"format": "html-selector",
|
|
98
|
-
"description": "The selector to use for the component."
|
|
99
|
-
},
|
|
100
|
-
"module": {
|
|
101
|
-
"type": "string",
|
|
102
|
-
"description": "Allows specification of the declaring module.",
|
|
103
|
-
"alias": "m"
|
|
104
|
-
},
|
|
105
|
-
"export": {
|
|
106
|
-
"type": "boolean",
|
|
107
|
-
"default": false,
|
|
108
|
-
"description": "Specifies if declaring module exports the component."
|
|
109
|
-
},
|
|
110
|
-
"entryComponent": {
|
|
111
|
-
"type": "boolean",
|
|
112
|
-
"default": false,
|
|
113
|
-
"description": "Specifies if the component is an entry component of declaring module."
|
|
114
|
-
},
|
|
115
|
-
"lintFix": {
|
|
116
|
-
"type": "boolean",
|
|
117
|
-
"default": false,
|
|
118
|
-
"description": "Specifies whether to apply lint fixes after generating the component."
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
"required": [
|
|
122
|
-
"name"
|
|
123
|
-
],
|
|
124
|
-
"id": "listview-checklist"
|
|
125
|
-
}
|
|
@@ -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,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.componentName = 'listview';
|
|
4
|
-
exports.sampleName = 'default';
|
|
5
|
-
exports.diModules = null;
|
|
6
|
-
exports.packageName = '@syncfusion/ej2-angular-lists';
|
|
7
|
-
exports.libModules = 'ListViewModule';
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
#sample-list {
|
|
2
|
-
max-width: 500px;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
#sample-list,
|
|
6
|
-
#sample-list-flat,
|
|
7
|
-
#sample-list-group {
|
|
8
|
-
border: 1px solid #dddddd;
|
|
9
|
-
border-radius: 3px;
|
|
10
|
-
margin: auto;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.control-section {
|
|
14
|
-
overflow: auto;
|
|
15
|
-
padding-bottom: 10px;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
#flat-list,
|
|
19
|
-
#group-list {
|
|
20
|
-
width: 40%;
|
|
21
|
-
padding: 10px;
|
|
22
|
-
margin: auto;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
#flat-list,
|
|
26
|
-
#group-list {
|
|
27
|
-
float: left;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
#flat-list h4,
|
|
31
|
-
#group-list h4 {
|
|
32
|
-
padding-left: 15px;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.e-listview .e-list-icon {
|
|
36
|
-
height: 24px;
|
|
37
|
-
width: 30px;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
#listview {
|
|
41
|
-
max-width: 500px;
|
|
42
|
-
margin: auto;
|
|
43
|
-
border: 1px solid #dddddd;
|
|
44
|
-
border-radius: 3px;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
@media (max-width: 590px) {
|
|
48
|
-
|
|
49
|
-
#flat-list,
|
|
50
|
-
#group-list {
|
|
51
|
-
width: 100%;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
@@ -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'></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'></ejs-listview>
|
|
11
|
-
</div>
|
|
12
|
-
</div>
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ListView Flatlist 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
|
-
}
|