@syncfusion/ej2-angular-lists 21.2.9 → 22.1.34
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/license +10 -0
- package/package.json +30 -8
- package/schematics/utils/lib-details.ts +2 -2
- package/styles/bootstrap-dark.css +1 -1
- package/styles/bootstrap.css +1 -1
- package/styles/bootstrap4.css +1 -1
- package/styles/bootstrap5-dark.css +1 -1
- package/styles/bootstrap5.css +1 -1
- package/styles/fabric-dark.css +1 -1
- package/styles/fabric.css +1 -1
- package/styles/fluent-dark.css +1 -1
- package/styles/fluent.css +1 -1
- package/styles/highcontrast-light.css +1 -1
- package/styles/highcontrast.css +1 -1
- package/styles/list-view/_layout.scss +12 -1
- package/styles/list-view/_material3-dark-definition.scss +1 -0
- package/styles/list-view/_material3-definition.scss +134 -0
- package/styles/list-view/_theme.scss +13 -4
- package/styles/list-view/bootstrap-dark.css +1 -1
- package/styles/list-view/bootstrap.css +1 -1
- package/styles/list-view/bootstrap4.css +1 -1
- package/styles/list-view/bootstrap5-dark.css +1 -1
- package/styles/list-view/bootstrap5.css +1 -1
- package/styles/list-view/fabric-dark.css +1 -1
- package/styles/list-view/fabric.css +1 -1
- package/styles/list-view/fluent-dark.css +1 -1
- package/styles/list-view/fluent.css +1 -1
- package/styles/list-view/highcontrast-light.css +1 -1
- package/styles/list-view/highcontrast.css +1 -1
- package/styles/list-view/icons/_material3-dark.scss +1 -0
- package/styles/list-view/material-dark.css +1 -1
- package/styles/list-view/material.css +1 -1
- package/styles/list-view/material3-dark.css +516 -0
- package/styles/list-view/material3-dark.scss +6 -0
- package/styles/list-view/material3.css +572 -0
- package/styles/list-view/material3.scss +6 -0
- package/styles/list-view/tailwind-dark.css +1 -1
- package/styles/list-view/tailwind.css +1 -1
- package/styles/material-dark.css +1 -1
- package/styles/material.css +1 -1
- package/styles/material3-dark.css +544 -0
- package/styles/material3-dark.scss +4 -0
- package/styles/material3.css +600 -0
- package/styles/material3.scss +4 -0
- package/styles/sortable/_material3-dark-definition.scss +1 -0
- package/styles/sortable/_material3-definition.scss +1 -0
- package/styles/sortable/material3-dark.css +83 -0
- package/styles/sortable/material3-dark.scss +4 -0
- package/styles/sortable/material3.css +139 -0
- package/styles/sortable/material3.scss +4 -0
- package/styles/tailwind-dark.css +1 -1
- package/styles/tailwind.css +1 -1
- package/schematics/collection.json +0 -40
- package/schematics/generators/listview-checklist/index.d.ts +0 -3
- package/schematics/generators/listview-checklist/index.js +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/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/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-default/index.d.ts +0 -3
- package/schematics/generators/listview-default/index.js +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/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/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-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/sample-details.d.ts +0 -5
- package/schematics/generators/listview-nestedlist/sample-details.js +0 -7
- 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/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-remotelist/index.d.ts +0 -3
- package/schematics/generators/listview-remotelist/index.js +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/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/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-template/index.d.ts +0 -3
- package/schematics/generators/listview-template/index.js +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/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/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-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/sample-details.d.ts +0 -5
- package/schematics/generators/listview-virtualization/sample-details.js +0 -7
- 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/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/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/ng-add/schema.json +0 -34
- package/schematics/tsconfig.json +0 -25
- package/schematics/utils/lib-details.d.ts +0 -4
- package/schematics/utils/lib-details.js +0 -6
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,900&display=swap");
|
|
2
|
+
:root {
|
|
3
|
+
--color-sf-black: 0, 0, 0;
|
|
4
|
+
--color-sf-white: 255, 255, 255;
|
|
5
|
+
--color-sf-primary: 103, 80, 164;
|
|
6
|
+
--color-sf-primary-container: 234, 221, 255;
|
|
7
|
+
--color-sf-secondary: 98, 91, 113;
|
|
8
|
+
--color-sf-secondary-container: 232, 222, 248;
|
|
9
|
+
--color-sf-tertiary: 125, 82, 96;
|
|
10
|
+
--color-sf-tertiary-container: 255, 216, 228;
|
|
11
|
+
--color-sf-surface: 255, 255, 255;
|
|
12
|
+
--color-sf-surface-variant: 231, 224, 236;
|
|
13
|
+
--color-sf-background: var(--color-sf-surface);
|
|
14
|
+
--color-sf-on-primary: 255, 255, 255;
|
|
15
|
+
--color-sf-on-primary-container: 33, 0, 94;
|
|
16
|
+
--color-sf-on-secondary: 255, 255, 255;
|
|
17
|
+
--color-sf-on-secondary-container: 30, 25, 43;
|
|
18
|
+
--color-sf-on-tertiary: 255, 255, 255;
|
|
19
|
+
--color-sf-on-tertiary-containe: 55, 11, 30;
|
|
20
|
+
--color-sf-on-surface: 28, 27, 31;
|
|
21
|
+
--color-sf-on-surface-variant: 73, 69, 78;
|
|
22
|
+
--color-sf-on-background: 28, 27, 31;
|
|
23
|
+
--color-sf-outline: 121, 116, 126;
|
|
24
|
+
--color-sf-outline-variant: 196, 199, 197;
|
|
25
|
+
--color-sf-shadow: 0, 0, 0;
|
|
26
|
+
--color-sf-surface-tint-color: 103, 80, 164;
|
|
27
|
+
--color-sf-inverse-surface: 49, 48, 51;
|
|
28
|
+
--color-sf-inverse-on-surface: 244, 239, 244;
|
|
29
|
+
--color-sf-inverse-primary: 208, 188, 255;
|
|
30
|
+
--color-sf-scrim: 0, 0, 0;
|
|
31
|
+
--color-sf-error: 179, 38, 30;
|
|
32
|
+
--color-sf-error-container: 249, 222, 220;
|
|
33
|
+
--color-sf-on-error: 255, 250, 250;
|
|
34
|
+
--color-sf-on-error-container: 65, 14, 11;
|
|
35
|
+
--color-sf-success: 32, 81, 7;
|
|
36
|
+
--color-sf-success-container: 209, 255, 186;
|
|
37
|
+
--color-sf-on-success: 244, 255, 239;
|
|
38
|
+
--color-sf-on-success-container: 13, 39, 0;
|
|
39
|
+
--color-sf-info: 1, 87, 155;
|
|
40
|
+
--color-sf-info-container: 233, 245, 255;
|
|
41
|
+
--color-sf-on-info: 250, 253, 255;
|
|
42
|
+
--color-sf-on-info-container: 0, 51, 91;
|
|
43
|
+
--color-sf-warning: 145, 76, 0;
|
|
44
|
+
--color-sf-warning-container: 254, 236, 222;
|
|
45
|
+
--color-sf-on-warning: 255, 255, 255;
|
|
46
|
+
--color-sf-on-warning-container: 47, 21, 0;
|
|
47
|
+
--color-sf-spreadsheet-gridline: var(--color-sf-surface-variant);
|
|
48
|
+
--color-sf-shadow-focus-ring1: 0 0 0 1px rgb(255, 255, 255), 0 0 0 3px rgb(0, 0, 0);
|
|
49
|
+
--color-sf-diagram-palette-background: --color-sf-white;
|
|
50
|
+
--color-sf-success-text: 255, 255, 255;
|
|
51
|
+
--color-sf-warning-text: 255, 255, 255;
|
|
52
|
+
--color-sf-danger-text: 255, 255, 255;
|
|
53
|
+
--color-sf-info-text: 255, 255, 255;
|
|
54
|
+
--color-sf-content-text-color-alt2: var(--color-sf-on-secondary-container);
|
|
55
|
+
--color-sf-secondary-bg-color: var(--color-sf-surface);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.e-dark-mode {
|
|
59
|
+
--color-sf-black: 0, 0, 0;
|
|
60
|
+
--color-sf-white: 255, 255, 255;
|
|
61
|
+
--color-sf-primary: 208, 188, 255;
|
|
62
|
+
--color-sf-primary-container: 79, 55, 139;
|
|
63
|
+
--color-sf-secondary: 204, 194, 220;
|
|
64
|
+
--color-sf-secondary-container: 74, 68, 88;
|
|
65
|
+
--color-sf-tertiary: 239, 184, 200;
|
|
66
|
+
--color-sf-tertiary-container: 99, 59, 72;
|
|
67
|
+
--color-sf-surface: 28, 27, 31;
|
|
68
|
+
--color-sf-surface-variant: 28, 27, 31;
|
|
69
|
+
--color-sf-background: var(--color-sf-surface);
|
|
70
|
+
--color-sf-on-primary: 55, 30, 115;
|
|
71
|
+
--color-sf-on-primary-container: 234, 221, 255;
|
|
72
|
+
--color-sf-on-secondary: 51, 45, 65;
|
|
73
|
+
--color-sf-on-secondary-container: 232, 222, 248;
|
|
74
|
+
--color-sf-on-tertiary: 73, 37, 50;
|
|
75
|
+
--color-sf-on-tertiary-containe: 255, 216, 228;
|
|
76
|
+
--color-sf-on-surface: 230, 225, 229;
|
|
77
|
+
--color-sf-on-surface-variant: 202, 196, 208;
|
|
78
|
+
--color-sf-on-background: 230, 225, 229;
|
|
79
|
+
--color-sf-outline: 147, 143, 153;
|
|
80
|
+
--color-sf-outline-variant: 68, 71, 70;
|
|
81
|
+
--color-sf-shadow: 0, 0, 0;
|
|
82
|
+
--color-sf-surface-tint-color: 208, 188, 255;
|
|
83
|
+
--color-sf-inverse-surface: 230, 225, 229;
|
|
84
|
+
--color-sf-inverse-on-surface: 49, 48, 51;
|
|
85
|
+
--color-sf-inverse-primary: 103, 80, 164;
|
|
86
|
+
--color-sf-scrim: 0, 0, 0;
|
|
87
|
+
--color-sf-error: 242, 184, 181;
|
|
88
|
+
--color-sf-error-container: 140, 29, 24;
|
|
89
|
+
--color-sf-on-error: 96, 20, 16;
|
|
90
|
+
--color-sf-on-error-container: 249, 222, 220;
|
|
91
|
+
--color-sf-success: 83, 202, 23;
|
|
92
|
+
--color-sf-success-container: 22, 62, 2;
|
|
93
|
+
--color-sf-on-success: 13, 39, 0;
|
|
94
|
+
--color-sf-on-success-container: 183, 250, 150;
|
|
95
|
+
--color-sf-info: 71, 172, 251;
|
|
96
|
+
--color-sf-info-container: 0, 67, 120;
|
|
97
|
+
--color-sf-on-info: 0, 51, 91;
|
|
98
|
+
--color-sf-on-info-container: 173, 219, 255;
|
|
99
|
+
--color-sf-warning: 245, 180, 130;
|
|
100
|
+
--color-sf-warning-container: 123, 65, 0;
|
|
101
|
+
--color-sf-on-warning: 99, 52, 0;
|
|
102
|
+
--color-sf-on-warning-container: 255, 220, 193;
|
|
103
|
+
--color-sf-spreadsheet-gridline: 231, 224, 236;
|
|
104
|
+
--color-sf-shadow-focus-ring1: 0 0 0 1px #000000, 0 0 0 3px #ffffff;
|
|
105
|
+
--color-sf-success-text: 0, 0, 0;
|
|
106
|
+
--color-sf-warning-text: 0, 0, 0;
|
|
107
|
+
--color-sf-info-text: 0, 0, 0;
|
|
108
|
+
--color-sf-danger-text: 0, 0, 0;
|
|
109
|
+
--color-sf-diagram-palette-background: var(--color-sf-inverse-surface);
|
|
110
|
+
--color-sf-content-text-color-alt2: var(--color-sf-on-secondary);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/* stylelint-disable-line no-empty-source */
|
|
114
|
+
.e-sortable {
|
|
115
|
+
outline: none;
|
|
116
|
+
position: relative;
|
|
117
|
+
-webkit-user-select: none;
|
|
118
|
+
-ms-user-select: none;
|
|
119
|
+
user-select: none;
|
|
120
|
+
}
|
|
121
|
+
.e-sortable .e-disabled {
|
|
122
|
+
background-image: none;
|
|
123
|
+
cursor: default;
|
|
124
|
+
filter: alpha(Opacity=35);
|
|
125
|
+
opacity: 0.35;
|
|
126
|
+
}
|
|
127
|
+
.e-sortable * {
|
|
128
|
+
box-sizing: border-box;
|
|
129
|
+
}
|
|
130
|
+
.e-sortable *:focus {
|
|
131
|
+
outline: none;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/* stylelint-disable */
|
|
135
|
+
.e-sortableclone {
|
|
136
|
+
position: fixed !important;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/* stylelint-enable */
|
package/styles/tailwind-dark.css
CHANGED
package/styles/tailwind.css
CHANGED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "./node_modules/@angular-devkit/schematics/collection-schema.json",
|
|
3
|
-
"schematics": {
|
|
4
|
-
"ng-add": {
|
|
5
|
-
"description": "Adds Essential JS 2 specific Angular package to an application",
|
|
6
|
-
"factory": "./ng-add",
|
|
7
|
-
"schema": "./ng-add/schema.json"
|
|
8
|
-
},
|
|
9
|
-
"listview-checklist": {
|
|
10
|
-
"description": "Create an Angular ListView component with checkbox feature",
|
|
11
|
-
"factory": "./generators/listview-checklist",
|
|
12
|
-
"schema": "./generators/listview-checklist/schema.json"
|
|
13
|
-
},
|
|
14
|
-
"listview-default": {
|
|
15
|
-
"description": "Create an Angular ListView component as simple flat list",
|
|
16
|
-
"factory": "./generators/listview-default",
|
|
17
|
-
"schema": "./generators/listview-default/schema.json"
|
|
18
|
-
},
|
|
19
|
-
"listview-nestedlist": {
|
|
20
|
-
"description": "Create an Angular ListView component with nested navigation feature",
|
|
21
|
-
"factory": "./generators/listview-nestedlist",
|
|
22
|
-
"schema": "./generators/listview-nestedlist/schema.json"
|
|
23
|
-
},
|
|
24
|
-
"listview-remotelist": {
|
|
25
|
-
"description": "Loading remote data into Angular ListView component",
|
|
26
|
-
"factory": "./generators/listview-remotelist",
|
|
27
|
-
"schema": "./generators/listview-remotelist/schema.json"
|
|
28
|
-
},
|
|
29
|
-
"listview-template": {
|
|
30
|
-
"description": "Create an Angular component with EJ2 listview with template",
|
|
31
|
-
"factory": "./generators/listview-template",
|
|
32
|
-
"schema": "./generators/listview-template/schema.json"
|
|
33
|
-
},
|
|
34
|
-
"listview-virtualization": {
|
|
35
|
-
"description": "Enabling virtualization feature in Angular ListView component",
|
|
36
|
-
"factory": "./generators/listview-virtualization",
|
|
37
|
-
"schema": "./generators/listview-virtualization/schema.json"
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
@@ -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,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,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,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,125 +0,0 @@
|
|
|
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
DELETED
|
Binary file
|