@solidxai/solidctl 0.1.1 → 0.1.3
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/dist/commands/create-app/create-app.command.js +14 -13
- package/dist/commands/create-app/create-app.command.js.map +1 -1
- package/dist/commands/create-app/helpers.d.ts +7 -14
- package/dist/commands/create-app/helpers.js +9 -17
- package/dist/commands/create-app/helpers.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/templates/api-template/dot-templates/dot.gitignore.template +82 -0
- package/templates/{nest-template → api-template}/package.json +3 -3
- package/templates/{nest-template → api-template}/test/app.e2e-spec.ts +1 -1
- package/templates/ui-template/README.md +73 -0
- package/templates/ui-template/dist/assets/Footerbg-8Co6YRm2.png +0 -0
- package/templates/ui-template/dist/assets/SF-Pro-Display-Black-85SZiFK-.otf +0 -0
- package/templates/ui-template/dist/assets/SF-Pro-Display-Bold-CkqE-6tD.otf +0 -0
- package/templates/ui-template/dist/assets/SF-Pro-Display-Heavy-Cj-4znqf.otf +0 -0
- package/templates/ui-template/dist/assets/SF-Pro-Display-Light-aDlMluiV.otf +0 -0
- package/templates/ui-template/dist/assets/SF-Pro-Display-Medium-DSttQARu.otf +0 -0
- package/templates/ui-template/dist/assets/SF-Pro-Display-Regular-DF_3XEGl.otf +0 -0
- package/templates/ui-template/dist/assets/SF-Pro-Display-Semibold-Dg2-djaL.otf +0 -0
- package/templates/ui-template/dist/assets/SF-Pro-Display-Thin-Dlj_0ZL0.otf +0 -0
- package/templates/ui-template/dist/assets/SF-Pro-Display-Ultralight-Dvb4Y4p6.otf +0 -0
- package/templates/ui-template/dist/assets/index-ByqcKjdb.js +3912 -0
- package/templates/ui-template/dist/assets/index-wnEWlFcj.css +1 -0
- package/templates/ui-template/dist/assets/primeicons-C6QP2o4f.woff2 +0 -0
- package/templates/ui-template/dist/assets/primeicons-DMOk5skT.eot +0 -0
- package/templates/ui-template/dist/assets/primeicons-Dr5RGzOO.svg +345 -0
- package/templates/ui-template/dist/assets/primeicons-MpK4pl85.ttf +0 -0
- package/templates/ui-template/dist/assets/primeicons-WjwUDZjB.woff +0 -0
- package/templates/ui-template/dist/assets/quill-DooZuM6F.js +49 -0
- package/templates/ui-template/dist/assets/solid-left-layout-bg-CTFSpGKh.png +0 -0
- package/templates/ui-template/dist/assets/solid-right-layout-bg-HyBzctm7.png +0 -0
- package/templates/ui-template/dist/index.html +19 -0
- package/templates/{next-template/public → ui-template/dist}/themes/solid-dark-purple/theme.css +7 -2
- package/templates/ui-template/dist/themes/solid-light-purple/solid-login-light.png +0 -0
- package/templates/{next-template/public → ui-template/dist}/themes/solid-light-purple/theme.css +10 -3
- package/templates/ui-template/dist/vite.svg +1 -0
- package/templates/ui-template/dot-templates/dot.gitignore.template +83 -0
- package/templates/ui-template/eslint.config.js +23 -0
- package/templates/ui-template/index.html +18 -0
- package/templates/ui-template/package-lock.json +11931 -0
- package/templates/ui-template/package.json +42 -0
- package/templates/ui-template/public/themes/solid-dark-purple/theme.css +6208 -0
- package/templates/ui-template/public/themes/solid-light-purple/solid-login-light.png +0 -0
- package/templates/ui-template/public/themes/solid-light-purple/theme.css +6263 -0
- package/templates/ui-template/public/vite.svg +1 -0
- package/templates/ui-template/src/App.css +42 -0
- package/templates/ui-template/src/App.tsx +44 -0
- package/templates/ui-template/src/assets/react.svg +1 -0
- package/templates/ui-template/src/extensions/solid-extensions.ts +82 -0
- package/templates/ui-template/src/extensions/venue/call-log/custom-widgets/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/call-log/form-buttons/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/call-log/form-event-listeners/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/call-log/form-event-listeners/callLogsDispositionHandler.ts +47 -0
- package/templates/ui-template/src/extensions/venue/call-log/list-buttons/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/call-log/list-event-listeners/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/call-log/row-buttons/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/hierarchy-import-transaction/custom-widgets/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/hierarchy-import-transaction/form-buttons/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/hierarchy-import-transaction/form-buttons/ImportHierarchyComponent.tsx +377 -0
- package/templates/ui-template/src/extensions/venue/hierarchy-import-transaction/form-buttons/SolidCustomImportHeader.tsx +14 -0
- package/templates/ui-template/src/extensions/venue/hierarchy-import-transaction/form-event-listeners/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/hierarchy-import-transaction/form-event-listeners/CallLogsDispositionHandler.ts +47 -0
- package/templates/ui-template/src/extensions/venue/hierarchy-import-transaction/form-event-listeners/onHierarchyImportFormLoadHandler.ts +45 -0
- package/templates/ui-template/src/extensions/venue/hierarchy-import-transaction/list-buttons/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/hierarchy-import-transaction/list-event-listeners/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/hierarchy-import-transaction/row-buttons/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/venue-master/custom-widgets/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/venue-master/form-buttons/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/venue-master/form-event-listeners/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/venue-master/form-event-listeners/venueMasterFormViewLoadHandler.ts +57 -0
- package/templates/ui-template/src/extensions/venue/venue-master/list-buttons/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/venue-master/list-event-listeners/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/venue-master/row-buttons/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/venue-user/custom-widgets/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/venue-user/form-buttons/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/venue-user/form-event-listeners/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/venue-user/form-event-listeners/venueUserFormViewChangeHandler.ts +21 -0
- package/templates/ui-template/src/extensions/venue/venue-user/form-event-listeners/venueUserFormViewLoadHandler.ts +97 -0
- package/templates/ui-template/src/extensions/venue/venue-user/list-buttons/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/venue-user/list-event-listeners/.gitkeep +0 -0
- package/templates/ui-template/src/extensions/venue/venue-user/row-buttons/.gitkeep +0 -0
- package/templates/ui-template/src/index.css +10 -0
- package/templates/ui-template/src/main.tsx +10 -0
- package/templates/ui-template/src/pages/admin/AdminInfoPage.tsx +15 -0
- package/templates/ui-template/src/pages/auth/HelloAuthPage.tsx +15 -0
- package/templates/ui-template/src/pages/auth/VenueAppLoginPage.tsx +10 -0
- package/templates/ui-template/src/pages/static/AboutPage.tsx +17 -0
- package/templates/ui-template/src/redux/hierarchyImportTransactionApi.tsx +28 -0
- package/templates/ui-template/src/routes/AppRoutes.tsx +34 -0
- package/templates/ui-template/tsconfig.app.json +29 -0
- package/templates/ui-template/tsconfig.json +7 -0
- package/templates/ui-template/tsconfig.node.json +26 -0
- package/templates/ui-template/venue-admin.logicloop.io.conf +81 -0
- package/templates/ui-template/vite.config.ts +15 -0
- package/templates/nest-template/bin/solid +0 -2
- package/templates/nest-template/dot-templates/dot.gitignore.template +0 -56
- package/templates/next-template/README.md +0 -36
- package/templates/next-template/app/GlobalProvider.tsx +0 -23
- package/templates/next-template/app/admin/core/[moduleName]/[modelName]/form/[id]/page.tsx +0 -19
- package/templates/next-template/app/admin/core/[moduleName]/[modelName]/kanban/page.tsx +0 -18
- package/templates/next-template/app/admin/core/[moduleName]/[modelName]/list/page.tsx +0 -18
- package/templates/next-template/app/admin/core/[moduleName]/home/page.tsx +0 -15
- package/templates/next-template/app/admin/core/[moduleName]/settings/[settings]/page.tsx +0 -11
- package/templates/next-template/app/admin/layout.tsx +0 -11
- package/templates/next-template/app/admin/loading.tsx +0 -8
- package/templates/next-template/app/admin/page.tsx +0 -10
- package/templates/next-template/app/api/auth/[...nextauth]/route.ts +0 -6
- package/templates/next-template/app/auth/confirm-forgot-password/page.tsx +0 -12
- package/templates/next-template/app/auth/forgot-password/page.tsx +0 -11
- package/templates/next-template/app/auth/initiate-forgot-password/page.tsx +0 -11
- package/templates/next-template/app/auth/initiate-forgot-password-thank-you/page.tsx +0 -11
- package/templates/next-template/app/auth/initiate-google-oauth/page.tsx +0 -9
- package/templates/next-template/app/auth/initiate-login/page.tsx +0 -13
- package/templates/next-template/app/auth/initiate-register/page.tsx +0 -14
- package/templates/next-template/app/auth/layout.tsx +0 -10
- package/templates/next-template/app/auth/login/page.tsx +0 -12
- package/templates/next-template/app/auth/otp-verify/page.tsx +0 -12
- package/templates/next-template/app/auth/register/page.tsx +0 -12
- package/templates/next-template/app/auth/reset-password/page.tsx +0 -13
- package/templates/next-template/app/auth/sso/page.tsx +0 -80
- package/templates/next-template/app/layout.tsx +0 -56
- package/templates/next-template/app/solid-extensions.ts +0 -8
- package/templates/next-template/dot-templates/dot.gitignore.template +0 -44
- package/templates/next-template/eslint.config.mjs +0 -16
- package/templates/next-template/middleware.ts +0 -23
- package/templates/next-template/next-env.d.ts +0 -5
- package/templates/next-template/next-solidx-run.js +0 -18
- package/templates/next-template/next.config.js +0 -47
- package/templates/next-template/package.json +0 -79
- package/templates/next-template/public/favicon.ico +0 -0
- package/templates/next-template/public/file.svg +0 -1
- package/templates/next-template/public/globe.svg +0 -1
- package/templates/next-template/public/next.svg +0 -1
- package/templates/next-template/public/vercel.svg +0 -1
- package/templates/next-template/public/window.svg +0 -1
- package/templates/next-template/redux/store.ts +0 -52
- package/templates/next-template/tsconfig.json +0 -33
- package/templates/next-template/types/index.d.ts +0 -7
- package/templates/next-template/types/layout.d.ts +0 -94
- package/templates/next-template/types/next.d.ts +0 -46
- /package/templates/{nest-template → api-template}/README.md +0 -0
- /package/templates/{nest-template → api-template}/dot-templates/dot.dockerignore.template +0 -0
- /package/templates/{nest-template → api-template}/dot-templates/dot.eslintrc.template.js +0 -0
- /package/templates/{nest-template → api-template}/dot-templates/dot.prettierrc.template +0 -0
- /package/templates/{nest-template → api-template}/nest-cli.json +0 -0
- /package/templates/{nest-template → api-template}/nodemon.json +0 -0
- /package/templates/{nest-template → api-template}/src/app-default-database.module.ts +0 -0
- /package/templates/{nest-template → api-template}/src/app.controller.spec.ts +0 -0
- /package/templates/{nest-template → api-template}/src/app.module.ts +0 -0
- /package/templates/{nest-template → api-template}/src/app.service.ts +0 -0
- /package/templates/{nest-template → api-template}/src/database.utils.ts +0 -0
- /package/templates/{nest-template → api-template}/src/main-cli.ts +0 -0
- /package/templates/{nest-template → api-template}/src/main.ts +0 -0
- /package/templates/{nest-template → api-template}/test/jest-e2e.json +0 -0
- /package/templates/{nest-template → api-template}/tsconfig.build.json +0 -0
- /package/templates/{nest-template → api-template}/tsconfig.json +0 -0
- /package/templates/{next-template/public/themes/solid-light-purple/solid-login-light.png → ui-template/dist/assets/solid-login-light-C-F0ch5x.png} +0 -0
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/** @type {import('next').NextConfig} */
|
|
2
|
-
const nextConfig = {
|
|
3
|
-
async redirects() {
|
|
4
|
-
return [
|
|
5
|
-
{
|
|
6
|
-
source: '/',
|
|
7
|
-
destination: '/auth/login',
|
|
8
|
-
permanent: false, // Set to true if you want it to be a permanent redirect (301)
|
|
9
|
-
},
|
|
10
|
-
];
|
|
11
|
-
},
|
|
12
|
-
env: {
|
|
13
|
-
API_URL: process.env.API_URL,
|
|
14
|
-
NEXTAUTH_URL: process.env.NEXTAUTH_URL,
|
|
15
|
-
NEXT_PUBLIC_BACKEND_API_URL: process.env.NEXT_PUBLIC_BACKEND_API_URL,
|
|
16
|
-
SOLIDX_ON_APPLICATION_MOUNT_HANDLER:process.env.SOLIDX_ON_APPLICATION_MOUNT_HANDLER,
|
|
17
|
-
|
|
18
|
-
NEXT_PUBLIC_ENABLE_CUSTOM_HEADER_FOOTER: process.env.NEXT_PUBLIC_ENABLE_CUSTOM_HEADER_FOOTER,
|
|
19
|
-
SOLID_APP_TITLE: process.env.NEXT_PUBLIC_SOLID_APP_TITLE,
|
|
20
|
-
SOLID_APP_DESCRIPTION: process.env.NEXT_PUBLIC_SOLID_APP_DESCRIPTION,
|
|
21
|
-
NEXT_PUBLIC_DEFAULT_MENU_KEY: process.env.NEXT_PUBLIC_DEFAULT_MENU_KEY,
|
|
22
|
-
|
|
23
|
-
NEXTAUTH_SECRET: "KSDFJKLSDJFLKSDFJSLDKF934KJLDJGDLKGFJDF",
|
|
24
|
-
REVALIDATE_TOKEN: "JK34J50JSDKFLJSDKF034I5DKFJSDK4IJFKSDJFL",
|
|
25
|
-
},
|
|
26
|
-
images: {
|
|
27
|
-
remotePatterns: getRemotePatterns(),
|
|
28
|
-
},
|
|
29
|
-
productionBrowserSourceMaps: true,
|
|
30
|
-
transpilePackages: ['@solidxai/core-ui'],
|
|
31
|
-
experimental: {
|
|
32
|
-
externalDir: true,
|
|
33
|
-
},
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
function getRemotePatterns(){
|
|
37
|
-
try {
|
|
38
|
-
return JSON.parse(process.env.NEXT_PUBLIC_REMOTE_PATTERNS || '[]');
|
|
39
|
-
} catch (error) {
|
|
40
|
-
return [];
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
module.exports = nextConfig;
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "next-template",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"private": true,
|
|
5
|
-
"scripts": {
|
|
6
|
-
"postinstall": "copyfiles -u 5 \"node_modules/@solidxai/core-ui/dist/resources/themes/**/*\" public",
|
|
7
|
-
"build": "next build",
|
|
8
|
-
"lint": "next lint",
|
|
9
|
-
"seeder": "tsc seeder/seeder.ts --outDir .temp && node .temp/seeder/seeder.js && rm -rf .temp",
|
|
10
|
-
"dev": "node next-solidx-run.js dev",
|
|
11
|
-
"start": "node next-solidx-run.js start",
|
|
12
|
-
"solidx:dev": "rm -rf .next && npm run dev"
|
|
13
|
-
},
|
|
14
|
-
"dependencies": {
|
|
15
|
-
"@codemirror/lang-javascript": "^6.2.2",
|
|
16
|
-
"@codemirror/theme-one-dark": "^6.1.2",
|
|
17
|
-
"@hello-pangea/dnd": "^17.0.0",
|
|
18
|
-
"@reduxjs/toolkit": "^1.9.5",
|
|
19
|
-
"@solidxai/core-ui": "^1.1.204",
|
|
20
|
-
"@uiw/react-codemirror": "^4.23.3",
|
|
21
|
-
"axios": "^1.7.2",
|
|
22
|
-
"bcryptjs": "^2.4.3",
|
|
23
|
-
"bootstrap": "^5.3.3",
|
|
24
|
-
"change-case": "^5.4.4",
|
|
25
|
-
"chart.js": "^4.4.3",
|
|
26
|
-
"cloudinary": "^1.40.0",
|
|
27
|
-
"codemirror": "^6.0.1",
|
|
28
|
-
"dotenv": "^17.2.3",
|
|
29
|
-
"formik": "^2.4.6",
|
|
30
|
-
"html2canvas": "^1.4.1",
|
|
31
|
-
"jspdf": "^2.5.1",
|
|
32
|
-
"jwt-decode": "^4.0.0",
|
|
33
|
-
"lodash": "^4.17.21",
|
|
34
|
-
"mapbox-gl": "^2.15.0",
|
|
35
|
-
"mdbreact": "^4.6.1",
|
|
36
|
-
"moment": "^2.29.4",
|
|
37
|
-
"moment-range": "^4.0.2",
|
|
38
|
-
"mongoose": "^7.5.0",
|
|
39
|
-
"next-auth": "^4.24.13",
|
|
40
|
-
"next-connect": "^1.0.0",
|
|
41
|
-
"node-geocoder": "^4.2.0",
|
|
42
|
-
"nodemailer": "^7.0.7",
|
|
43
|
-
"pluralize": "^8.0.0",
|
|
44
|
-
"primeflex": "^3.3.1",
|
|
45
|
-
"primeicons": "^7.0.0",
|
|
46
|
-
"primereact": "^10.8.5",
|
|
47
|
-
"qs": "^6.13.0",
|
|
48
|
-
"quill": "^2.0.3",
|
|
49
|
-
"react": "18.2.0",
|
|
50
|
-
"react-chartjs-2": "^5.2.0",
|
|
51
|
-
"react-datepicker": "^4.17.0",
|
|
52
|
-
"react-dom": "18.2.0",
|
|
53
|
-
"react-dropzone": "^14.2.3",
|
|
54
|
-
"react-hot-toast": "^2.4.1",
|
|
55
|
-
"react-js-pagination": "^3.0.2",
|
|
56
|
-
"react-markdown": "^9.0.1",
|
|
57
|
-
"react-quill": "^0.0.2",
|
|
58
|
-
"react-redux": "^8.1.2",
|
|
59
|
-
"react-star-ratings": "^2.3.0",
|
|
60
|
-
"react-transition-group": "^4.4.5",
|
|
61
|
-
"sass": "^1.83.4",
|
|
62
|
-
"stripe": "^13.5.0",
|
|
63
|
-
"typescript": "5.2.2",
|
|
64
|
-
"uuid": "^10.0.0",
|
|
65
|
-
"xlsx": "^0.18.5",
|
|
66
|
-
"yup": "^1.4.0"
|
|
67
|
-
},
|
|
68
|
-
"devDependencies": {
|
|
69
|
-
"@types/lodash": "^4.17.9",
|
|
70
|
-
"@types/pluralize": "^0.0.33",
|
|
71
|
-
"@types/qs": "^6.9.15",
|
|
72
|
-
"@types/react": "18.3.18",
|
|
73
|
-
"@types/react-dom": "18.3.5",
|
|
74
|
-
"@types/react-js-pagination": "^3.0.7",
|
|
75
|
-
"next": "^14.2.35",
|
|
76
|
-
"@types/node": "20.5.9",
|
|
77
|
-
"@types/uuid": "^10.0.0"
|
|
78
|
-
}
|
|
79
|
-
}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg fill="none" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.5 13.5V5.41a1 1 0 0 0-.3-.7L9.8.29A1 1 0 0 0 9.08 0H1.5v13.5A2.5 2.5 0 0 0 4 16h8a2.5 2.5 0 0 0 2.5-2.5m-1.5 0v-7H8v-5H3v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1M9.5 5V2.12L12.38 5zM5.13 5h-.62v1.25h2.12V5zm-.62 3h7.12v1.25H4.5zm.62 3h-.62v1.25h7.12V11z" clip-rule="evenodd" fill="#666" fill-rule="evenodd"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g clip-path="url(#a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M10.27 14.1a6.5 6.5 0 0 0 3.67-3.45q-1.24.21-2.7.34-.31 1.83-.97 3.1M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16m.48-1.52a7 7 0 0 1-.96 0H7.5a4 4 0 0 1-.84-1.32q-.38-.89-.63-2.08a40 40 0 0 0 3.92 0q-.25 1.2-.63 2.08a4 4 0 0 1-.84 1.31zm2.94-4.76q1.66-.15 2.95-.43a7 7 0 0 0 0-2.58q-1.3-.27-2.95-.43a18 18 0 0 1 0 3.44m-1.27-3.54a17 17 0 0 1 0 3.64 39 39 0 0 1-4.3 0 17 17 0 0 1 0-3.64 39 39 0 0 1 4.3 0m1.1-1.17q1.45.13 2.69.34a6.5 6.5 0 0 0-3.67-3.44q.65 1.26.98 3.1M8.48 1.5l.01.02q.41.37.84 1.31.38.89.63 2.08a40 40 0 0 0-3.92 0q.25-1.2.63-2.08a4 4 0 0 1 .85-1.32 7 7 0 0 1 .96 0m-2.75.4a6.5 6.5 0 0 0-3.67 3.44 29 29 0 0 1 2.7-.34q.31-1.83.97-3.1M4.58 6.28q-1.66.16-2.95.43a7 7 0 0 0 0 2.58q1.3.27 2.95.43a18 18 0 0 1 0-3.44m.17 4.71q-1.45-.12-2.69-.34a6.5 6.5 0 0 0 3.67 3.44q-.65-1.27-.98-3.1" fill="#666"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h16v16H0z"/></clipPath></defs></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 394 80"><path fill="#000" d="M262 0h68.5v12.7h-27.2v66.6h-13.6V12.7H262V0ZM149 0v12.7H94v20.4h44.3v12.6H94v21h55v12.6H80.5V0h68.7zm34.3 0h-17.8l63.8 79.4h17.9l-32-39.7 32-39.6h-17.9l-23 28.6-23-28.6zm18.3 56.7-9-11-27.1 33.7h17.8l18.3-22.7z"/><path fill="#000" d="M81 79.3 17 0H0v79.3h13.6V17l50.2 62.3H81Zm252.6-.4c-1 0-1.8-.4-2.5-1s-1.1-1.6-1.1-2.6.3-1.8 1-2.5 1.6-1 2.6-1 1.8.3 2.5 1a3.4 3.4 0 0 1 .6 4.3 3.7 3.7 0 0 1-3 1.8zm23.2-33.5h6v23.3c0 2.1-.4 4-1.3 5.5a9.1 9.1 0 0 1-3.8 3.5c-1.6.8-3.5 1.3-5.7 1.3-2 0-3.7-.4-5.3-1s-2.8-1.8-3.7-3.2c-.9-1.3-1.4-3-1.4-5h6c.1.8.3 1.6.7 2.2s1 1.2 1.6 1.5c.7.4 1.5.5 2.4.5 1 0 1.8-.2 2.4-.6a4 4 0 0 0 1.6-1.8c.3-.8.5-1.8.5-3V45.5zm30.9 9.1a4.4 4.4 0 0 0-2-3.3 7.5 7.5 0 0 0-4.3-1.1c-1.3 0-2.4.2-3.3.5-.9.4-1.6 1-2 1.6a3.5 3.5 0 0 0-.3 4c.3.5.7.9 1.3 1.2l1.8 1 2 .5 3.2.8c1.3.3 2.5.7 3.7 1.2a13 13 0 0 1 3.2 1.8 8.1 8.1 0 0 1 3 6.5c0 2-.5 3.7-1.5 5.1a10 10 0 0 1-4.4 3.5c-1.8.8-4.1 1.2-6.8 1.2-2.6 0-4.9-.4-6.8-1.2-2-.8-3.4-2-4.5-3.5a10 10 0 0 1-1.7-5.6h6a5 5 0 0 0 3.5 4.6c1 .4 2.2.6 3.4.6 1.3 0 2.5-.2 3.5-.6 1-.4 1.8-1 2.4-1.7a4 4 0 0 0 .8-2.4c0-.9-.2-1.6-.7-2.2a11 11 0 0 0-2.1-1.4l-3.2-1-3.8-1c-2.8-.7-5-1.7-6.6-3.2a7.2 7.2 0 0 1-2.4-5.7 8 8 0 0 1 1.7-5 10 10 0 0 1 4.3-3.5c2-.8 4-1.2 6.4-1.2 2.3 0 4.4.4 6.2 1.2 1.8.8 3.2 2 4.3 3.4 1 1.4 1.5 3 1.5 5h-5.8z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 283 64"><path fill="black" d="M141 16c-11 0-19 7-19 18s9 18 20 18c7 0 13-3 16-7l-7-5c-2 3-6 4-9 4-5 0-9-3-10-7h28v-3c0-11-8-18-19-18zm-9 15c1-4 4-7 9-7s8 3 9 7h-18zm117-15c-11 0-19 7-19 18s9 18 20 18c6 0 12-3 16-7l-8-5c-2 3-5 4-8 4-5 0-9-3-11-7h28l1-3c0-11-8-18-19-18zm-10 15c2-4 5-7 10-7s8 3 9 7h-19zm-39 3c0 6 4 10 10 10 4 0 7-2 9-5l8 5c-3 5-9 8-17 8-11 0-19-7-19-18s8-18 19-18c8 0 14 3 17 8l-8 5c-2-3-5-5-9-5-6 0-10 4-10 10zm83-29v46h-9V5h9zM37 0l37 64H0L37 0zm92 5-27 48L74 5h10l18 30 17-30h10zm59 12v10l-3-1c-6 0-10 4-10 10v15h-9V17h9v9c0-5 6-9 13-9z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill-rule="evenodd" clip-rule="evenodd" d="M1.5 2.5h13v10a1 1 0 0 1-1 1h-11a1 1 0 0 1-1-1zM0 1h16v11.5a2.5 2.5 0 0 1-2.5 2.5h-11A2.5 2.5 0 0 1 0 12.5zm3.75 4.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5M7 4.75a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0m1.75.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5" fill="#666"/></svg>
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
// 'use client';
|
|
2
|
-
// @ts-nocheck
|
|
3
|
-
import { configureStore } from "@reduxjs/toolkit";
|
|
4
|
-
import {
|
|
5
|
-
solidApiSlices,
|
|
6
|
-
solidReducers,
|
|
7
|
-
createSolidEntityApi
|
|
8
|
-
} from "@solidxai/core-ui";
|
|
9
|
-
|
|
10
|
-
export function initializeStore(entities: string[] = []) {
|
|
11
|
-
|
|
12
|
-
const reducers = {
|
|
13
|
-
...solidReducers,
|
|
14
|
-
...Object.fromEntries(
|
|
15
|
-
solidApiSlices.map(api => [api.reducerPath, api.reducer])
|
|
16
|
-
),
|
|
17
|
-
//add anditional custom api slice
|
|
18
|
-
//eg. [customImportTransactionApi.reducerPath]: customImportTransactionApi.reducer,
|
|
19
|
-
|
|
20
|
-
// Add any additional reducers here
|
|
21
|
-
// eg.theme: themeReducer,
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const middlewares = [
|
|
26
|
-
...solidApiSlices.map(api => api.middleware),
|
|
27
|
-
//add any additional custom middlewares here
|
|
28
|
-
//eg. customImportTransactionApi.middleware,
|
|
29
|
-
];
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
for (let i = 0; i < entities.length; i++) {
|
|
33
|
-
const entity = entities[i];
|
|
34
|
-
|
|
35
|
-
// Dynamic API slice creation...
|
|
36
|
-
const apiSlice = createSolidEntityApi(entity);
|
|
37
|
-
|
|
38
|
-
// Use the dynamically created slice to register a reducer and middleware.
|
|
39
|
-
//@ts-ignore
|
|
40
|
-
reducers[apiSlice.reducerPath] = apiSlice.reducer;
|
|
41
|
-
middlewares.push(apiSlice.middleware);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
return configureStore({
|
|
45
|
-
reducer: reducers,
|
|
46
|
-
middleware: (getDefaultMiddleware) =>
|
|
47
|
-
getDefaultMiddleware().concat(middlewares),
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
// export type RootState = ReturnType<ReturnType<typeof initializeStore>['getState']>;
|
|
52
|
-
// export type AppDispatch = ReturnType<typeof initializeStore>['dispatch']
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "es5",
|
|
4
|
-
"lib": ["dom", "dom.iterable", "esnext"],
|
|
5
|
-
"allowJs": true,
|
|
6
|
-
"skipLibCheck": true,
|
|
7
|
-
"strict": true,
|
|
8
|
-
"noEmit": true,
|
|
9
|
-
"esModuleInterop": true,
|
|
10
|
-
"module": "esnext",
|
|
11
|
-
"moduleResolution": "bundler",
|
|
12
|
-
"resolveJsonModule": true,
|
|
13
|
-
"isolatedModules": true,
|
|
14
|
-
"jsx": "preserve",
|
|
15
|
-
"incremental": true,
|
|
16
|
-
"plugins": [
|
|
17
|
-
{
|
|
18
|
-
"name": "next"
|
|
19
|
-
}
|
|
20
|
-
],
|
|
21
|
-
"paths": {
|
|
22
|
-
"@/*": ["./*"]
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
"include": [
|
|
26
|
-
"next-env.d.ts",
|
|
27
|
-
"./types/**/*.d.ts",
|
|
28
|
-
"**/*.ts",
|
|
29
|
-
"**/*.tsx",
|
|
30
|
-
".next/types/**/*.ts"
|
|
31
|
-
],
|
|
32
|
-
"exclude": ["node_modules"]
|
|
33
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import React, { ReactElement, Dispatch, SetStateAction, HTMLAttributeAnchorTarget, ReactNode } from 'react';
|
|
2
|
-
import { NextPage } from 'next';
|
|
3
|
-
import { Demo } from './demo';
|
|
4
|
-
import { Toast } from 'primereact/toast';
|
|
5
|
-
|
|
6
|
-
/* Breadcrumb Types */
|
|
7
|
-
export interface AppBreadcrumbProps {
|
|
8
|
-
className?: string;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export interface Breadcrumb {
|
|
12
|
-
labels?: string[];
|
|
13
|
-
to?: string;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export interface BreadcrumbItem {
|
|
17
|
-
label: string;
|
|
18
|
-
to?: string;
|
|
19
|
-
items?: BreadcrumbItem[];
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/* Context Types */
|
|
23
|
-
export type LayoutState = {
|
|
24
|
-
overlayMenuActive: boolean;
|
|
25
|
-
profileSidebarVisible: boolean;
|
|
26
|
-
configSidebarVisible: boolean;
|
|
27
|
-
staticMenuMobileActive: boolean;
|
|
28
|
-
menuHoverActive: boolean;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
export type LayoutConfig = {
|
|
32
|
-
inputStyle: string;
|
|
33
|
-
colorScheme: string;
|
|
34
|
-
theme: string;
|
|
35
|
-
scale: number;
|
|
36
|
-
authLayout : string
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
export interface LayoutContextProps {
|
|
40
|
-
layoutConfig: LayoutConfig;
|
|
41
|
-
setLayoutConfig: Dispatch<SetStateAction<LayoutConfig>>;
|
|
42
|
-
layoutState: LayoutState;
|
|
43
|
-
setLayoutState: Dispatch<SetStateAction<LayoutState>>;
|
|
44
|
-
onMenuToggle: () => void;
|
|
45
|
-
showProfileSidebar: () => void;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export interface MenuContextProps {
|
|
49
|
-
activeMenu: string;
|
|
50
|
-
setActiveMenu: Dispatch<SetStateAction<string>>;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
/* AppConfig Types */
|
|
54
|
-
export interface AppConfigProps {
|
|
55
|
-
simple?: boolean;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/* AppTopbar Types */
|
|
59
|
-
export type NodeRef = MutableRefObject<ReactNode>;
|
|
60
|
-
export interface AppTopbarRef {
|
|
61
|
-
menubutton?: HTMLButtonElement | null;
|
|
62
|
-
topbarmenu?: HTMLDivElement | null;
|
|
63
|
-
topbarmenubutton?: HTMLButtonElement | null;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
/* AppMenu Types */
|
|
67
|
-
type CommandProps = {
|
|
68
|
-
originalEvent: React.MouseEvent<HTMLAnchorElement, MouseEvent>;
|
|
69
|
-
item: MenuModelItem;
|
|
70
|
-
};
|
|
71
|
-
export interface MenuProps {
|
|
72
|
-
model: MenuModel[];
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
export interface MenuModel {
|
|
77
|
-
title: string;
|
|
78
|
-
key?: string;
|
|
79
|
-
children?: MenuModel[];
|
|
80
|
-
path?: string;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
export interface AppMenuItem extends MenuModel {
|
|
84
|
-
children?: AppMenuItem[];
|
|
85
|
-
key?: string
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export interface AppMenuItemProps {
|
|
89
|
-
item?: AppMenuItem;
|
|
90
|
-
parentKey?: string;
|
|
91
|
-
index?: number;
|
|
92
|
-
root?: boolean;
|
|
93
|
-
className?: string;
|
|
94
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { IUser } from "@/backend/models/user";
|
|
2
|
-
import { FetchBaseQueryError } from "@reduxjs/toolkit/query/react";
|
|
3
|
-
import { NextRequest } from "next/server";
|
|
4
|
-
import NextAuth, { DefaultSession, DefaultUser } from 'next-auth';
|
|
5
|
-
import { JWT } from 'next-auth/jwt';
|
|
6
|
-
|
|
7
|
-
declare module "next/server" {
|
|
8
|
-
interface NextRequest {
|
|
9
|
-
user: IUser;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
declare module "@reduxjs/toolkit/query/react" {
|
|
15
|
-
interface FetchBaseQueryError {
|
|
16
|
-
data?: any;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
declare module 'next-auth' {
|
|
23
|
-
interface Session {
|
|
24
|
-
error:string | null,
|
|
25
|
-
user: {
|
|
26
|
-
accessToken: string;
|
|
27
|
-
refreshToken: string;
|
|
28
|
-
accessTokenExpires:number;
|
|
29
|
-
} & DefaultSession['user'];
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
interface User {
|
|
33
|
-
accessToken: string;
|
|
34
|
-
refreshToken: string;
|
|
35
|
-
accessTokenExpires:number;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
declare module 'next-auth/jwt' {
|
|
40
|
-
interface JWT {
|
|
41
|
-
accessToken: string;
|
|
42
|
-
refreshToken: string;
|
|
43
|
-
error:string;
|
|
44
|
-
accessTokenExpires:number;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|