@simitgroup/simpleapp-generator 1.0.20 → 1.0.21
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/backend1/.env +5 -0
- package/backend1/package.json +6 -0
- package/backend1/pnpm-lock.yaml +428 -177
- package/backend1/src/class/SimpleAppController.js +38 -0
- package/backend1/src/class/SimpleAppController.js.map +1 -0
- package/backend1/src/class/SimpleAppController.ts +69 -0
- package/backend1/src/class/SimpleAppService.js +264 -0
- package/backend1/src/class/SimpleAppService.js.map +1 -0
- package/backend1/src/class/SimpleAppService.ts +213 -0
- package/backend1/src/main.js +13 -1
- package/backend1/src/main.js.map +1 -1
- package/backend1/src/main.ts +14 -2
- package/backend1/tsconfig.json +1 -21
- package/dist/framework.js +161 -0
- package/dist/framework.js.map +1 -0
- package/dist/generate.js +2 -2
- package/dist/generate.js.map +1 -1
- package/dist/index.js +44 -28
- package/dist/index.js.map +1 -1
- package/frontend1/README.md +63 -0
- package/frontend1/app.vue +8 -0
- package/frontend1/assets/css/tailwind.css +28 -0
- package/frontend1/components/CrudSimple.vue +112 -0
- package/frontend1/components/DebugDocumentData.vue +20 -0
- package/frontend1/components/EventMonitor.vue +79 -0
- package/frontend1/components/Menus.vue +18 -0
- package/frontend1/layouts/default.vue +10 -0
- package/frontend1/nuxt.config.js +42 -0
- package/frontend1/nuxt.config.js.map +1 -0
- package/frontend1/nuxt.config.ts +42 -0
- package/frontend1/package-lock.json +11877 -0
- package/frontend1/package.json +38 -0
- package/frontend1/pages/index.vue +3 -0
- package/frontend1/plugins/simpleapp.js +73 -0
- package/frontend1/plugins/simpleapp.js.map +1 -0
- package/frontend1/plugins/simpleapp.ts +73 -0
- package/frontend1/pnpm-lock.yaml +8339 -0
- package/frontend1/public/favicon.ico +0 -0
- package/frontend1/server/api/[...].js +117 -0
- package/frontend1/server/api/[...].js.map +1 -0
- package/frontend1/server/api/[...].ts +131 -0
- package/frontend1/server/tsconfig.json +3 -0
- package/frontend1/tailwind.config.js +10 -0
- package/frontend1/tailwind.config.js.map +1 -0
- package/frontend1/tailwind.config.ts +9 -0
- package/frontend1/tsconfig.json +4 -0
- package/package.json +2 -10
- package/src/framework.ts +133 -0
- package/src/generate.ts +2 -2
- package/src/index.ts +22 -42
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<header>
|
|
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>
|
|
12
|
+
</header>
|
|
13
|
+
</template>
|
|
14
|
+
<script setup lang="ts">
|
|
15
|
+
// import MegaMenu from 'primevue/megamenu';
|
|
16
|
+
import Menubar from 'primevue/menubar';
|
|
17
|
+
|
|
18
|
+
</script>
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = defineNuxtConfig({
|
|
4
|
+
// colorMode: {} ,
|
|
5
|
+
runtimeConfig: {
|
|
6
|
+
public: {
|
|
7
|
+
SIMPLEAPP_BACKEND_URL: process.env.SIMPLEAPP_BACKEND_URL,
|
|
8
|
+
APP_URL: process.env.APP_URL,
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
vite: {
|
|
12
|
+
vue: {
|
|
13
|
+
script: {
|
|
14
|
+
defineModel: true,
|
|
15
|
+
propsDestructure: true
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
tailwindcss: {
|
|
20
|
+
// Options
|
|
21
|
+
},
|
|
22
|
+
modules: [
|
|
23
|
+
// '@sidebase/nuxt-auth',
|
|
24
|
+
"nuxt-security",
|
|
25
|
+
'@nuxtjs/tailwindcss',
|
|
26
|
+
'@vueuse/nuxt',
|
|
27
|
+
// '@nuxtjs/color-mode'
|
|
28
|
+
],
|
|
29
|
+
ssr: true,
|
|
30
|
+
security: {
|
|
31
|
+
csrf: true,
|
|
32
|
+
},
|
|
33
|
+
css: [
|
|
34
|
+
"primevue/resources/themes/lara-light-blue/theme.css",
|
|
35
|
+
'primeicons/primeicons.css'
|
|
36
|
+
],
|
|
37
|
+
devtools: { enabled: true },
|
|
38
|
+
build: {
|
|
39
|
+
transpile: ["primevue"]
|
|
40
|
+
},
|
|
41
|
+
});
|
|
42
|
+
//# sourceMappingURL=nuxt.config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nuxt.config.js","sourceRoot":"","sources":["nuxt.config.ts"],"names":[],"mappings":";;AAAA,kBAAe,gBAAgB,CAAC;IAC9B,qBAAqB;IACrB,aAAa,EAAC;QACZ,MAAM,EAAC;YACL,qBAAqB,EAAE,OAAO,CAAC,GAAG,CAAC,qBAAqB;YACxD,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,OAAO;SAC7B;KACF;IACD,IAAI,EAAE;QACJ,GAAG,EAAE;YACD,MAAM,EAAE;gBACJ,WAAW,EAAE,IAAI;gBACjB,gBAAgB,EAAE,IAAI;aACzB;SACJ;KACJ;IACD,WAAW,EAAE;IACT,UAAU;KACX;IACD,OAAO,EAAE;QACX,4BAA4B;QACxB,eAAe;QACf,qBAAqB;QACrB,cAAc;QACd,uBAAuB;KAExB;IACD,GAAG,EAAE,IAAI;IACT,QAAQ,EAAE;QACR,IAAI,EAAE,IAAI;KACX;IACD,GAAG,EAAE;QACH,qDAAqD;QACrD,2BAA2B;KAC5B;IACD,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;IAC3B,KAAK,EAAE;QACO,SAAS,EAAE,CAAC,UAAU,CAAC;KAC9B;CAGR,CAAC,CAAA"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export default defineNuxtConfig({
|
|
2
|
+
// colorMode: {} ,
|
|
3
|
+
runtimeConfig:{
|
|
4
|
+
public:{
|
|
5
|
+
SIMPLEAPP_BACKEND_URL: process.env.SIMPLEAPP_BACKEND_URL,
|
|
6
|
+
APP_URL: process.env.APP_URL,
|
|
7
|
+
}
|
|
8
|
+
},
|
|
9
|
+
vite: {
|
|
10
|
+
vue: {
|
|
11
|
+
script: {
|
|
12
|
+
defineModel: true,
|
|
13
|
+
propsDestructure: true
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
tailwindcss: {
|
|
18
|
+
// Options
|
|
19
|
+
},
|
|
20
|
+
modules: [
|
|
21
|
+
// '@sidebase/nuxt-auth',
|
|
22
|
+
"nuxt-security",
|
|
23
|
+
'@nuxtjs/tailwindcss',
|
|
24
|
+
'@vueuse/nuxt',
|
|
25
|
+
// '@nuxtjs/color-mode'
|
|
26
|
+
|
|
27
|
+
],
|
|
28
|
+
ssr: true,
|
|
29
|
+
security: {
|
|
30
|
+
csrf: true,
|
|
31
|
+
},
|
|
32
|
+
css: [
|
|
33
|
+
"primevue/resources/themes/lara-light-blue/theme.css",
|
|
34
|
+
'primeicons/primeicons.css'
|
|
35
|
+
],
|
|
36
|
+
devtools: { enabled: true },
|
|
37
|
+
build: {
|
|
38
|
+
transpile: ["primevue"]
|
|
39
|
+
},
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
})
|