@simitgroup/simpleapp-generator 1.0.14 → 1.0.16

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/README.md CHANGED
@@ -13,14 +13,38 @@ MONGODB_URL='mongodb://mongoadmin:secret@localhost:27017/admin?authMechanism=DEF
13
13
  5.
14
14
 
15
15
  9. beautify default tailwind ui
16
+ 1. front page
17
+ 2. top bar
18
+ 3. menu bars
19
+ 4. default with of each component is it nicely fit
20
+ 5. table layout
21
+ 6. error messages
22
+ 7. error formating
23
+ 7. load backend tsconfig and add more property: **
24
+ 8. add prettier formating option for frontend
25
+ 9. write proper user guide
26
+ 10.add find options
27
+ 11.retain modifications of controller, service, apiclients
28
+ 12.add find records
29
+ 13.add workflow functions
30
+ 14.add permission control
31
+ 16.access right
32
+ 17.setting of tenants
33
+ 18.keep audit trail into db
34
+ 19.function of remain menulist
35
+ 20.security of string input, block xss
36
+ 21.control csrf
37
+
38
+
16
39
  10.plugin for ajv
17
40
  long string format for description
18
41
  errors formating
19
- 7. load backend tsconfig and add more property: **
20
- 8. simpleapp generate currentfolder error **
42
+
43
+
21
44
 
22
45
 
23
46
  # Todo
47
+ x8. simpleapp generate currentfolder error **
24
48
  x1. override app.vue *
25
49
  x2. create layout
26
50
  simpleapp (first time only)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simitgroup/simpleapp-generator",
3
- "version": "1.0.14",
3
+ "version": "1.0.16",
4
4
  "description": "frontend nuxtjs and backend nests code generator using jsonschema",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -1,8 +1,18 @@
1
1
  <template>
2
2
  <header>
3
- <MegaMenu :model="getMenus()" orientation="horizontal" />
3
+ <!-- <MegaMenu :model="getMenus()" orientation="horizontal" /> -->
4
+ <Menubar :model="getMenus()">
5
+ <template #start>
6
+ <h1>[Logo Container]</h1>
7
+ </template>
8
+ <template #end>
9
+ <InputText placeholder="Search" type="text" />
10
+ </template>
11
+ </Menubar>
4
12
  </header>
5
13
  </template>
6
14
  <script setup lang="ts">
7
- import MegaMenu from 'primevue/megamenu';
15
+ // import MegaMenu from 'primevue/megamenu';
16
+ import Menubar from 'primevue/menubar';
17
+
8
18
  </script>
@@ -1,8 +1,9 @@
1
- export const getMenus =()=>
2
- [
3
- {label: 'Home',icon: 'pi pi-fw pi-home',to: '/'},
1
+ export const getMenus =()=>[
2
+ {label: 'Cruds',icon: 'pi pi-fw pi-pencil',items:[
4
3
  <% for(let i=0;i<it.length; i++){ %>
5
4
  <% let obj = it[i]%>
6
5
  {label: '<%=obj.docname.toLowerCase()%>', to:'/<%=obj.docname.toLowerCase()%>'},
7
6
  <%}%>
7
+ ]},
8
+ {label: 'Profile',icon: 'pi pi-fw pi-user'},
8
9
  ]