@hicoder/angular-cli
Version:
Angular UI componenets and service generator. It works with the mean-rest-express package to generate the end to end web application. The input to this generator is the Mongoose schema defined for the express application. mean-rest-express exposes the Res
44 lines (36 loc) • 1.06 kB
Plain Text
Four basic list widget that will be used and generated during code generation
- general
- sub
- select
- association
The listWidgetTypes is used to configure the list widgets types:
listWidgetTypes: {
general: 'general',
select: 'select',
sub: 'sub',
association: 'association',
},
Other widgets can be generated when assigned into the "listExtraWidgets" array.
- dropdown-category:
The list can be viewed based on category: listCategoryField, listCategoryField2
Configure the categories by "listCategories".
- sel-add-edit
Embedded add/edit view.
- view-only
No searc, heading, pagination, etc. Very clean list view.
A list widgets inside can contain one or multiple list view widgets.
The view widgets for a list widget can be configured via "listWidgets":
listWidgets: {
general: {
views: ['table', 'list', 'grid'],
},
select: {
views: ['table', 'list'],
},
sub: {
views: ['table', 'list'],
},
view-only: {
views: ['table', 'list'],
}
},