@syncfusion/ej2-angular-lists 20.2.39 → 20.2.43-ngcc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@syncfusion/ej2-angular-lists.es5.js +188 -0
- package/@syncfusion/ej2-angular-lists.es5.js.map +1 -0
- package/@syncfusion/ej2-angular-lists.js +169 -0
- package/@syncfusion/ej2-angular-lists.js.map +1 -0
- package/CHANGELOG.md +505 -0
- package/dist/ej2-angular-lists.umd.js +213 -0
- package/dist/ej2-angular-lists.umd.js.map +1 -0
- package/dist/ej2-angular-lists.umd.min.js +11 -0
- package/dist/ej2-angular-lists.umd.min.js.map +1 -0
- package/ej2-angular-lists.d.ts +5 -0
- package/ej2-angular-lists.metadata.json +1 -0
- package/package.json +15 -29
- package/postinstall/tagchange.js +18 -0
- package/schematics/collection.json +40 -0
- package/schematics/generators/listview-checklist/index.d.ts +3 -0
- package/schematics/generators/listview-checklist/index.js +8 -0
- package/schematics/generators/listview-checklist/sample-details.d.ts +5 -0
- package/schematics/generators/listview-checklist/sample-details.js +7 -0
- package/schematics/generators/listview-checklist/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +49 -0
- package/schematics/generators/listview-checklist/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +12 -0
- package/schematics/generators/listview-checklist/schema.d.ts +3 -0
- package/schematics/generators/listview-checklist/schema.js +2 -0
- package/schematics/generators/listview-checklist/schema.json +125 -0
- package/schematics/generators/listview-default/index.d.ts +3 -0
- package/schematics/generators/listview-default/index.js +8 -0
- package/schematics/generators/listview-default/sample-details.d.ts +5 -0
- package/schematics/generators/listview-default/sample-details.js +7 -0
- package/schematics/generators/listview-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +53 -0
- package/schematics/generators/listview-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +12 -0
- package/schematics/generators/listview-default/schema.d.ts +3 -0
- package/schematics/generators/listview-default/schema.js +2 -0
- package/schematics/generators/listview-default/schema.json +125 -0
- package/schematics/generators/listview-nestedlist/images/__path__/__name@dasherize__/file_icons.png +0 -0
- package/schematics/generators/listview-nestedlist/index.d.ts +3 -0
- package/schematics/generators/listview-nestedlist/index.js +8 -0
- package/schematics/generators/listview-nestedlist/sample-details.d.ts +5 -0
- package/schematics/generators/listview-nestedlist/sample-details.js +7 -0
- package/schematics/generators/listview-nestedlist/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +70 -0
- package/schematics/generators/listview-nestedlist/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +5 -0
- package/schematics/generators/listview-nestedlist/schema.d.ts +3 -0
- package/schematics/generators/listview-nestedlist/schema.js +2 -0
- package/schematics/generators/listview-nestedlist/schema.json +125 -0
- package/schematics/generators/listview-remotelist/index.d.ts +3 -0
- package/schematics/generators/listview-remotelist/index.js +8 -0
- package/schematics/generators/listview-remotelist/sample-details.d.ts +5 -0
- package/schematics/generators/listview-remotelist/sample-details.js +7 -0
- package/schematics/generators/listview-remotelist/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +56 -0
- package/schematics/generators/listview-remotelist/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +5 -0
- package/schematics/generators/listview-remotelist/schema.d.ts +3 -0
- package/schematics/generators/listview-remotelist/schema.js +2 -0
- package/schematics/generators/listview-remotelist/schema.json +125 -0
- package/schematics/generators/listview-template/index.d.ts +3 -0
- package/schematics/generators/listview-template/index.js +8 -0
- package/schematics/generators/listview-template/sample-details.d.ts +5 -0
- package/schematics/generators/listview-template/sample-details.js +7 -0
- package/schematics/generators/listview-template/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +169 -0
- package/schematics/generators/listview-template/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +18 -0
- package/schematics/generators/listview-template/schema.d.ts +3 -0
- package/schematics/generators/listview-template/schema.js +2 -0
- package/schematics/generators/listview-template/schema.json +125 -0
- package/schematics/generators/listview-virtualization/images/__path__/__name@dasherize__/albert.png +0 -0
- package/schematics/generators/listview-virtualization/images/__path__/__name@dasherize__/laura.png +0 -0
- package/schematics/generators/listview-virtualization/images/__path__/__name@dasherize__/margaret.png +0 -0
- package/schematics/generators/listview-virtualization/index.d.ts +3 -0
- package/schematics/generators/listview-virtualization/index.js +8 -0
- package/schematics/generators/listview-virtualization/sample-details.d.ts +5 -0
- package/schematics/generators/listview-virtualization/sample-details.js +7 -0
- package/schematics/generators/listview-virtualization/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +83 -0
- package/schematics/generators/listview-virtualization/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +37 -0
- package/schematics/generators/listview-virtualization/schema.d.ts +3 -0
- package/schematics/generators/listview-virtualization/schema.js +2 -0
- package/schematics/generators/listview-virtualization/schema.json +125 -0
- package/schematics/ng-add/index.d.ts +3 -0
- package/schematics/ng-add/index.js +9 -0
- package/schematics/ng-add/schema.d.ts +13 -0
- package/schematics/ng-add/schema.js +2 -0
- package/schematics/ng-add/schema.json +34 -0
- package/schematics/tsconfig.json +25 -0
- package/schematics/utils/lib-details.d.ts +4 -0
- package/schematics/utils/lib-details.js +6 -0
- package/schematics/utils/lib-details.ts +2 -2
- package/src/list-view/listview-all.module.d.ts +0 -6
- package/src/list-view/listview.component.d.ts +3 -6
- package/src/list-view/listview.module.d.ts +0 -6
- package/styles/bootstrap-dark.css +1 -5
- package/styles/bootstrap.css +1 -5
- package/styles/bootstrap4.css +1 -5
- package/styles/bootstrap5-dark.css +1 -5
- package/styles/bootstrap5.css +1 -5
- package/styles/fabric-dark.css +1 -5
- package/styles/fabric.css +1 -5
- package/styles/fluent-dark.css +1 -5
- package/styles/fluent.css +1 -5
- package/styles/highcontrast-light.css +1 -5
- package/styles/highcontrast.css +1 -5
- package/styles/list-view/bootstrap-dark.css +0 -1
- package/styles/list-view/bootstrap-dark.scss +1 -5
- package/styles/list-view/bootstrap.css +0 -1
- package/styles/list-view/bootstrap.scss +1 -5
- package/styles/list-view/bootstrap4.css +0 -1
- package/styles/list-view/bootstrap4.scss +1 -5
- package/styles/list-view/bootstrap5-dark.css +0 -1
- package/styles/list-view/bootstrap5-dark.scss +1 -5
- package/styles/list-view/bootstrap5.css +0 -1
- package/styles/list-view/bootstrap5.scss +1 -5
- package/styles/list-view/fabric-dark.css +0 -1
- package/styles/list-view/fabric-dark.scss +1 -5
- package/styles/list-view/fabric.css +0 -1
- package/styles/list-view/fabric.scss +1 -5
- package/styles/list-view/fluent-dark.css +0 -1
- package/styles/list-view/fluent-dark.scss +1 -5
- package/styles/list-view/fluent.css +0 -1
- package/styles/list-view/fluent.scss +1 -5
- package/styles/list-view/highcontrast-light.css +0 -1
- package/styles/list-view/highcontrast-light.scss +1 -5
- package/styles/list-view/highcontrast.css +0 -1
- package/styles/list-view/highcontrast.scss +1 -5
- package/styles/list-view/material-dark.css +0 -1
- package/styles/list-view/material-dark.scss +1 -5
- package/styles/list-view/material.css +0 -1
- package/styles/list-view/material.scss +1 -5
- package/styles/list-view/tailwind-dark.css +0 -1
- package/styles/list-view/tailwind-dark.scss +1 -5
- package/styles/list-view/tailwind.css +0 -1
- package/styles/list-view/tailwind.scss +1 -5
- package/styles/material-dark.css +1 -5
- package/styles/material.css +1 -5
- package/styles/sortable/bootstrap-dark.css +1 -4
- package/styles/sortable/bootstrap-dark.scss +1 -2
- package/styles/sortable/bootstrap.css +1 -4
- package/styles/sortable/bootstrap.scss +1 -2
- package/styles/sortable/bootstrap4.css +1 -4
- package/styles/sortable/bootstrap4.scss +1 -2
- package/styles/sortable/bootstrap5-dark.css +1 -4
- package/styles/sortable/bootstrap5-dark.scss +1 -2
- package/styles/sortable/bootstrap5.css +1 -4
- package/styles/sortable/bootstrap5.scss +1 -2
- package/styles/sortable/fabric-dark.css +1 -4
- package/styles/sortable/fabric-dark.scss +1 -2
- package/styles/sortable/fabric.css +1 -4
- package/styles/sortable/fabric.scss +1 -2
- package/styles/sortable/fluent-dark.css +1 -4
- package/styles/sortable/fluent-dark.scss +1 -2
- package/styles/sortable/fluent.css +1 -4
- package/styles/sortable/fluent.scss +1 -2
- package/styles/sortable/highcontrast-light.css +1 -4
- package/styles/sortable/highcontrast-light.scss +1 -2
- package/styles/sortable/highcontrast.css +1 -4
- package/styles/sortable/highcontrast.scss +1 -2
- package/styles/sortable/material-dark.css +1 -4
- package/styles/sortable/material-dark.scss +1 -2
- package/styles/sortable/material.css +1 -4
- package/styles/sortable/material.scss +1 -2
- package/styles/sortable/tailwind-dark.css +1 -4
- package/styles/sortable/tailwind-dark.scss +1 -2
- package/styles/sortable/tailwind.css +1 -4
- package/styles/sortable/tailwind.scss +1 -2
- package/styles/tailwind-dark.css +1 -5
- package/styles/tailwind.css +1 -5
- package/esm2020/public_api.mjs +0 -3
- package/esm2020/src/index.mjs +0 -5
- package/esm2020/src/list-view/listview-all.module.mjs +0 -29
- package/esm2020/src/list-view/listview.component.mjs +0 -85
- package/esm2020/src/list-view/listview.module.mjs +0 -25
- package/esm2020/syncfusion-ej2-angular-lists.mjs +0 -5
- package/fesm2015/syncfusion-ej2-angular-lists.mjs +0 -139
- package/fesm2015/syncfusion-ej2-angular-lists.mjs.map +0 -1
- package/fesm2020/syncfusion-ej2-angular-lists.mjs +0 -139
- package/fesm2020/syncfusion-ej2-angular-lists.mjs.map +0 -1
- package/styles/list-view/_all.scss +0 -2
- package/styles/list-view/_bootstrap-dark-definition.scss +0 -111
- package/styles/list-view/_bootstrap-definition.scss +0 -104
- package/styles/list-view/_bootstrap4-definition.scss +0 -107
- package/styles/list-view/_bootstrap5-dark-definition.scss +0 -1
- package/styles/list-view/_bootstrap5-definition.scss +0 -132
- package/styles/list-view/_fabric-dark-definition.scss +0 -111
- package/styles/list-view/_fabric-definition.scss +0 -104
- package/styles/list-view/_fluent-dark-definition.scss +0 -1
- package/styles/list-view/_fluent-definition.scss +0 -138
- package/styles/list-view/_fusionnew-definition.scss +0 -132
- package/styles/list-view/_highcontrast-definition.scss +0 -104
- package/styles/list-view/_highcontrast-light-definition.scss +0 -111
- package/styles/list-view/_layout.scss +0 -599
- package/styles/list-view/_material-dark-definition.scss +0 -111
- package/styles/list-view/_material-definition.scss +0 -104
- package/styles/list-view/_material3-definition.scss +0 -132
- package/styles/list-view/_tailwind-dark-definition.scss +0 -1
- package/styles/list-view/_tailwind-definition.scss +0 -124
- package/styles/list-view/_theme.scss +0 -322
- package/styles/list-view/icons/_bootstrap-dark.scss +0 -12
- package/styles/list-view/icons/_bootstrap.scss +0 -8
- package/styles/list-view/icons/_bootstrap4.scss +0 -8
- package/styles/list-view/icons/_bootstrap5-dark.scss +0 -1
- package/styles/list-view/icons/_bootstrap5.scss +0 -8
- package/styles/list-view/icons/_fabric-dark.scss +0 -12
- package/styles/list-view/icons/_fabric.scss +0 -8
- package/styles/list-view/icons/_fluent-dark.scss +0 -1
- package/styles/list-view/icons/_fluent.scss +0 -8
- package/styles/list-view/icons/_fusionnew.scss +0 -8
- package/styles/list-view/icons/_highcontrast-light.scss +0 -12
- package/styles/list-view/icons/_highcontrast.scss +0 -8
- package/styles/list-view/icons/_material-dark.scss +0 -11
- package/styles/list-view/icons/_material.scss +0 -7
- package/styles/list-view/icons/_material3.scss +0 -8
- package/styles/list-view/icons/_tailwind-dark.scss +0 -8
- package/styles/list-view/icons/_tailwind.scss +0 -8
- package/styles/sortable/_all.scss +0 -1
- package/styles/sortable/_layout.scss +0 -28
- package/syncfusion-ej2-angular-lists.d.ts +0 -5
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "EJ2SchemaTemplateID",
|
|
4
|
+
"title": "listview-default",
|
|
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-default"
|
|
125
|
+
}
|
package/schematics/generators/listview-nestedlist/images/__path__/__name@dasherize__/file_icons.png
ADDED
|
Binary file
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const schematics_1 = require("@syncfusion/ej2-angular-base/schematics");
|
|
4
|
+
const sampleDetails = require("./sample-details");
|
|
5
|
+
function default_1(options) {
|
|
6
|
+
return schematics_1.componentBuilder(options, sampleDetails);
|
|
7
|
+
}
|
|
8
|
+
exports.default = default_1;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.componentName = 'listview';
|
|
4
|
+
exports.sampleName = 'nestedlist';
|
|
5
|
+
exports.diModules = null;
|
|
6
|
+
exports.packageName = '@syncfusion/ej2-angular-lists';
|
|
7
|
+
exports.libModules = 'ListViewModule';
|
|
@@ -0,0 +1,70 @@
|
|
|
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: 50%;
|
|
21
|
+
padding: 10px;
|
|
22
|
+
margin: auto;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
#flat-list {
|
|
26
|
+
float: left;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
#group-list {
|
|
30
|
+
float: right;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
#flat-list h4,
|
|
34
|
+
#group-list h4 {
|
|
35
|
+
padding-left: 15px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.e-listview .e-list-icon {
|
|
39
|
+
height: 24px;
|
|
40
|
+
width: 30px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
#listview {
|
|
44
|
+
max-width: 500px;
|
|
45
|
+
margin: auto;
|
|
46
|
+
border: 1px solid #dddddd;
|
|
47
|
+
border-radius: 3px;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.folder {
|
|
51
|
+
background-repeat: no-repeat;
|
|
52
|
+
background-image: url('/assets/listview/nestedlist/file_icons.png');
|
|
53
|
+
background-position: -5px -466px;
|
|
54
|
+
background-size: 302%;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.file {
|
|
58
|
+
background-repeat: no-repeat;
|
|
59
|
+
background-image: url('/assets/listview/nestedlist/file_icons.png');
|
|
60
|
+
background-position: -5px -151px;
|
|
61
|
+
background-size: 302%;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@media (max-width: 590px) {
|
|
65
|
+
|
|
66
|
+
#flat-list,
|
|
67
|
+
#group-list {
|
|
68
|
+
width: 100%;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "EJ2SchemaTemplateID",
|
|
4
|
+
"title": "listview-nestedlist",
|
|
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-nestedlist"
|
|
125
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const schematics_1 = require("@syncfusion/ej2-angular-base/schematics");
|
|
4
|
+
const sampleDetails = require("./sample-details");
|
|
5
|
+
function default_1(options) {
|
|
6
|
+
return schematics_1.componentBuilder(options, sampleDetails);
|
|
7
|
+
}
|
|
8
|
+
exports.default = default_1;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.componentName = 'listview';
|
|
4
|
+
exports.sampleName = 'remotelist';
|
|
5
|
+
exports.diModules = null;
|
|
6
|
+
exports.packageName = '@syncfusion/ej2-angular-lists';
|
|
7
|
+
exports.libModules = 'ListViewModule';
|
|
@@ -0,0 +1,56 @@
|
|
|
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: 50%;
|
|
21
|
+
padding: 10px;
|
|
22
|
+
margin: auto;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
#flat-list {
|
|
26
|
+
float: left;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
#group-list {
|
|
30
|
+
float: right;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
#flat-list h4,
|
|
34
|
+
#group-list h4 {
|
|
35
|
+
padding-left: 15px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.e-listview .e-list-icon {
|
|
39
|
+
height: 24px;
|
|
40
|
+
width: 30px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
#listview {
|
|
44
|
+
max-width: 500px;
|
|
45
|
+
margin: auto;
|
|
46
|
+
border: 1px solid #dddddd;
|
|
47
|
+
border-radius: 3px;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@media (max-width: 590px) {
|
|
51
|
+
|
|
52
|
+
#flat-list,
|
|
53
|
+
#group-list {
|
|
54
|
+
width: 100%;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "EJ2SchemaTemplateID",
|
|
4
|
+
"title": "listview-remotelist",
|
|
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-remotelist"
|
|
125
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const schematics_1 = require("@syncfusion/ej2-angular-base/schematics");
|
|
4
|
+
const sampleDetails = require("./sample-details");
|
|
5
|
+
function default_1(options) {
|
|
6
|
+
return schematics_1.componentBuilder(options, sampleDetails);
|
|
7
|
+
}
|
|
8
|
+
exports.default = default_1;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.componentName = 'listview';
|
|
4
|
+
exports.sampleName = 'template';
|
|
5
|
+
exports.diModules = null;
|
|
6
|
+
exports.packageName = '@syncfusion/ej2-angular-lists';
|
|
7
|
+
exports.libModules = 'ListViewModule';
|