2019-10-14 09:32:20 +02:00
|
|
|
{
|
|
|
|
"_lib": "./dist/index.js",
|
|
|
|
"_generators": {
|
|
|
|
"_lib": "./dist/generators.js",
|
|
|
|
"app": {
|
|
|
|
"name": "App",
|
|
|
|
"description": "Generate app based on your backend"
|
|
|
|
},
|
|
|
|
"forms": {
|
|
|
|
"name": "Forms",
|
|
|
|
"description": "Generate forms, based on your records"
|
|
|
|
},
|
|
|
|
"buttons": {
|
|
|
|
"name": "Buttons",
|
|
|
|
"description": "Generate some styled buttons"
|
|
|
|
},
|
|
|
|
"headers": {
|
|
|
|
"name": "Headers",
|
|
|
|
"description": "Generate some styled headings"
|
|
|
|
},
|
|
|
|
"nav": {
|
|
|
|
"name": "Nav bar",
|
|
|
|
"description": "Generate a nav bar, based n your root records"
|
|
|
|
},
|
|
|
|
"indexTables": {
|
|
|
|
"name": "Nav bar",
|
|
|
|
"description": "Generate a table based on an index"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"form" : {
|
|
|
|
"importPath": "Form",
|
|
|
|
"name": "Form",
|
|
|
|
"description": "A form - allgned fields with labels",
|
|
|
|
"props" : {
|
|
|
|
"containerClass": "string",
|
|
|
|
"formControls": {
|
|
|
|
"type":"array",
|
|
|
|
"elementDefinition": {
|
|
|
|
"label": "string",
|
|
|
|
"control":"component",
|
2019-10-16 06:38:45 +02:00
|
|
|
"controlPosition": {
|
|
|
|
"type":"options",
|
|
|
|
"options": ["Before Label","After Label"],
|
|
|
|
"default": "After Label"
|
|
|
|
}
|
2019-10-14 09:32:20 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2019-10-16 06:38:45 +02:00
|
|
|
"tags": ["form"]
|
2019-10-14 09:32:20 +02:00
|
|
|
},
|
|
|
|
"nav": {
|
|
|
|
"importPath": "Nav",
|
|
|
|
"name": "Nav",
|
|
|
|
"description": "A nav - a side bar of buttons that control the currently active component",
|
|
|
|
"props" : {
|
|
|
|
"navBarBackground": {"type" :"string", "default":"silver"},
|
|
|
|
"navBarBorder": "string",
|
|
|
|
"navBarColor": {"type" :"string", "default":"black"},
|
|
|
|
"selectedItemBackground": {"type" :"string", "default":"white"},
|
|
|
|
"selectedItemColor": {"type" :"string", "default":"black"},
|
|
|
|
"selectedItemBorder": "string",
|
|
|
|
"itemHoverBackground": {"type" :"string", "default":"gainsboro"},
|
|
|
|
"itemHoverColor": {"type" :"string", "default":"black"},
|
|
|
|
"items": {
|
|
|
|
"type": "array",
|
|
|
|
"elementDefinition" : {
|
|
|
|
"title": "string",
|
|
|
|
"component": "component"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"selectedItem":"string",
|
|
|
|
"hideNavBar":"bool"
|
|
|
|
|
|
|
|
},
|
|
|
|
"tags": ["nav", "navigation", "sidebar"]
|
|
|
|
}
|
|
|
|
}
|