first commit
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"permissions": {
|
||||
"allow": [
|
||||
"Bash(python -)"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
VITE_APP_NAME="MCRM CMS"
|
||||
VITE_APP_VERSION="1.0"
|
||||
VITE_APP_DEMO="mgm_cms"
|
||||
VITE_APP_FULL_NAME="MCRM CMS"
|
||||
VITE_APP_API_URL="http://localhost:9085/crm_api"
|
||||
# VITE_WEB_APP_API_URL="https://mcrm.willtechmacau.com:9086/api"
|
||||
VITE_WEB_APP_API_URL="https://localhost:9086/api"
|
||||
VITE_APP_BOOTSTRAP_DOCS_LINK="https://getbootstrap.com/docs/5.0"
|
||||
VITE_APP_SASS_COMPONENTS_PATH="src/assets/sass/core/components"
|
||||
VITE_APP_PREVIEW_LINK="https://preview.keenthemes.com/metronic8/vue/demo1/#/dashboard"
|
||||
VITE_APP_PURCHASE_LINK="https://themeforest.net/item/metronic-responsive-admin-dashboard-template/4021469"
|
||||
VITE_APP_YOUTUBE_LINK="https://www.youtube.com/c/KeenThemesTuts/videos"
|
||||
VITE_APP_GITHUB_LINK="https://github.com/KeenthemesHub"
|
||||
VITE_APP_TWITTER_LINK="https://twitter.com/keenthemes"
|
||||
VITE_APP_INSTAGRAM_LINK="https://www.instagram.com/keenthemes/"
|
||||
VITE_APP_FACEBOOK="https://www.facebook.com/keenthemes"
|
||||
VITE_APP_DRIBBBLE="https://dribbble.com/keenthemes"
|
||||
VITE_APP_BASE_URL="http://127.0.0.1:5173"
|
||||
VITE_MFA_CLIENT_ID="b4ba794c-cd0d-4033-924e-ace80b93d045"
|
||||
VITE_MFA_AUTH_URL="https://login.microsoftonline.com/common/oauth2/v2.0/authorize"
|
||||
VITE_MFA_REDIECT_URL="http://localhost:5173/mcrm_cms_admin/#/sso-callback"
|
||||
VITE_ADFS_CLIENT_ID="mgm_mobilecrm_cms_dev"
|
||||
VITE_ADFS_AUTH_URL="https://adfs.mgmmacau.com/adfs/ls/"
|
||||
VITE_ADFS_REDIECT_URL="https://mmhcmdevcms11/mcrm_cms_admin/"
|
||||
VITE_ADFS_SIGNOFF_URL="https://mmhcmdevcms11/mcrm_cms_admin/sign-off"
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
VITE_APP_NAME="MCRM CMS"
|
||||
VITE_APP_VERSION="1.0"
|
||||
VITE_APP_DEMO="mgm_cms"
|
||||
VITE_APP_FULL_NAME="MCRM CMS"
|
||||
# VITE_APP_API_URL="https://sep.willtechmo.com/crm_api" #willtech
|
||||
# VITE_APP_API_URL="https://localhost/crm_api"
|
||||
VITE_APP_API_URL="https://mmhcmdevcms11/crm_api" #dev
|
||||
# VITE_APP_API_URL="https://vmhcmprdcms01.mgm.mo/crm_api" #prd
|
||||
# VITE_WEB_APP_API_URL="https://sep.willtechmo.com/api" #willtech
|
||||
VITE_WEB_APP_API_URL="https://dlahcadev.mcmsapoc.com/api" #dev
|
||||
# VITE_WEB_APP_API_URL="https://hostcrmapp.mgm.mo/api" #prd
|
||||
VITE_APP_BOOTSTRAP_DOCS_LINK="https://getbootstrap.com/docs/5.0"
|
||||
VITE_APP_SASS_COMPONENTS_PATH="src/assets/sass/core/components"
|
||||
VITE_APP_PREVIEW_LINK="https://preview.keenthemes.com/metronic8/vue/demo1/#/dashboard"
|
||||
VITE_APP_PURCHASE_LINK="https://themeforest.net/item/metronic-responsive-admin-dashboard-template/4021469"
|
||||
VITE_APP_YOUTUBE_LINK="https://www.youtube.com/c/KeenThemesTuts/videos"
|
||||
VITE_APP_GITHUB_LINK="https://github.com/KeenthemesHub"
|
||||
VITE_APP_TWITTER_LINK="https://twitter.com/keenthemes"
|
||||
VITE_APP_INSTAGRAM_LINK="https://www.instagram.com/keenthemes/"
|
||||
VITE_APP_FACEBOOK="https://www.facebook.com/keenthemes"
|
||||
VITE_APP_DRIBBBLE="https://dribbble.com/keenthemes"
|
||||
# VITE_APP_BASE_URL="https://sep.willtechmo.com/mcrm_cms_admin_daylight" #willtech
|
||||
# VITE_APP_BASE_URL="https://localhost/mcrm_cms_admin"
|
||||
VITE_APP_BASE_URL="https://mmhcmdevcms11/mcrm_cms_admin" #dev
|
||||
# VITE_APP_BASE_URL="https://vmhcmprdcms01.mgm.mo/mcrm_cms_admin" #prd
|
||||
VITE_ADFS_AUTH_URL="https://adfs.mgm.mo/adfs/ls/"
|
||||
VITE_ADFS_CLIENT_ID="mgm_mobilecrm_cms_dev" #dev
|
||||
VITE_ADFS_REDIECT_URL="https://mmhcmdevcms11/mcrm_cms_admin/" #dev
|
||||
VITE_ADFS_SIGNOFF_URL="https://mmhcmdevcms11/mcrm_cms_admin/sign-off" #dev
|
||||
# VITE_ADFS_CLIENT_ID="mgm_mobilecrm_cms_prd" #prd
|
||||
# VITE_ADFS_REDIECT_URL="https://vmhcmprdcms01.mgm.mo/mcrm_cms_admin/" #prd
|
||||
# VITE_ADFS_SIGNOFF_URL="https://vmhcmprdcms01.mgm.mo/mcrm_cms_admin/sign-off" #prd
|
||||
@@ -0,0 +1,2 @@
|
||||
node_modules
|
||||
dist
|
||||
@@ -0,0 +1,46 @@
|
||||
# demo1
|
||||
|
||||
This template should help get you started developing with Vue 3 in Vite.
|
||||
|
||||
## Recommended IDE Setup
|
||||
|
||||
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
|
||||
|
||||
## Type Support for `.vue` Imports in TS
|
||||
|
||||
TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types.
|
||||
|
||||
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps:
|
||||
|
||||
1. Disable the built-in TypeScript Extension
|
||||
1) Run `Extensions: Show Built-in Extensions` from VSCode's command palette
|
||||
2) Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
|
||||
2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.
|
||||
|
||||
## Customize configuration
|
||||
|
||||
See [Vite Configuration Reference](https://vitejs.dev/config/).
|
||||
|
||||
## Project Setup
|
||||
|
||||
```sh
|
||||
npm install
|
||||
```
|
||||
|
||||
### Compile and Hot-Reload for Development
|
||||
|
||||
```sh
|
||||
npm run dev
|
||||
```
|
||||
|
||||
### Type-Check, Compile and Minify for Production
|
||||
|
||||
```sh
|
||||
npm run build
|
||||
```
|
||||
|
||||
### Lint with [ESLint](https://eslint.org/)
|
||||
|
||||
```sh
|
||||
npm run lint
|
||||
```
|
||||
@@ -0,0 +1,43 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="description" content="Mobile CRM CMS" />
|
||||
<link rel="icon" href="/media/mgm/favicon.ico">
|
||||
<link rel="stylesheet" href="/splash-screen.css">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Mobile CRM CMS</title>
|
||||
</head>
|
||||
|
||||
<body class="page-loading">
|
||||
<!--begin::Theme mode setup on page load-->
|
||||
<script>
|
||||
if (document.documentElement) {
|
||||
var defaultThemeMode = "system";
|
||||
|
||||
var themeMode = localStorage.getItem("mgm_theme_mode_value");
|
||||
if (!themeMode) {
|
||||
if (defaultThemeMode === "system") {
|
||||
themeMode =
|
||||
window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
|
||||
} else {
|
||||
themeMode = defaultThemeMode;
|
||||
}
|
||||
}
|
||||
|
||||
document.documentElement.setAttribute("data-bs-theme", themeMode);
|
||||
}
|
||||
</script>
|
||||
<!--end::Theme mode setup on page load-->
|
||||
<div id="app"></div>
|
||||
<!--begin::Loading markup-->
|
||||
<div id="splash-screen" class="splash-screen">
|
||||
<img src="/media/mgm/mgm_logo_1.png" alt="MGM logo" />
|
||||
<span>Loading ...</span>
|
||||
</div>
|
||||
<!--end::Loading markup-->
|
||||
<script type="module" src="/src/main.ts"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,79 @@
|
||||
{
|
||||
"name": "demo1",
|
||||
"version": "8.1.7",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "run-p type-check build-only",
|
||||
"preview": "vite preview",
|
||||
"build-only": "vite build",
|
||||
"type-check": "vue-tsc --noEmit",
|
||||
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fortawesome/fontawesome-free": "^6.1.2",
|
||||
"@fullcalendar/core": "^5.9.0",
|
||||
"@fullcalendar/daygrid": "^5.9.0",
|
||||
"@fullcalendar/interaction": "^5.9.0",
|
||||
"@fullcalendar/list": "^5.9.0",
|
||||
"@fullcalendar/timegrid": "^5.9.0",
|
||||
"@fullcalendar/vue3": "^5.9.0",
|
||||
"@popperjs/core": "2.11.6",
|
||||
"@vee-validate/i18n": "^4.9.6",
|
||||
"@vueform/multiselect": "^1.2.5",
|
||||
"ag-grid-community": "^34.2.0",
|
||||
"ag-grid-vue3": "^34.2.0",
|
||||
"animate.css": "^4.1.1",
|
||||
"ant-design-vue": "^4.2.1",
|
||||
"apexcharts": "^4.0.0",
|
||||
"axios": "^1.1.3",
|
||||
"bootstrap": "5.3.0-alpha1",
|
||||
"bootstrap-icons": "^1.9.1",
|
||||
"clipboard": "^2.0.6",
|
||||
"core-js": "^3.8.3",
|
||||
"deepmerge": "^4.2.2",
|
||||
"dropzone": "^5.9.3",
|
||||
"element-plus": "^2.2.4",
|
||||
"js-base64": "^3.7.7",
|
||||
"line-awesome": "^1.3.0",
|
||||
"moment": "^2.29.1",
|
||||
"nouislider": "^14.6.3",
|
||||
"npm-check-updates": "^18.3.1",
|
||||
"object-path": "^0.11.8",
|
||||
"pinia": "^2.0.23",
|
||||
"prism-themes": "^1.9.0",
|
||||
"prismjs": "^1.25.0",
|
||||
"quill": "^2.0.3",
|
||||
"ramda": "^0.30.0",
|
||||
"socicon": "^3.0.5",
|
||||
"sweetalert2": "^11.6.8",
|
||||
"underscore": "^1.13.6",
|
||||
"vee-validate": "^4.5.11",
|
||||
"vue": "^3.2.41",
|
||||
"vue-axios": "^3.5.0",
|
||||
"vue-currency-input": "^2.1.0",
|
||||
"vue-i18n": "^9.1.8",
|
||||
"vue-inline-svg": "^3.1.0",
|
||||
"vue-router": "^4.1.5",
|
||||
"vue3-apexcharts": "^1.8.0",
|
||||
"yup": "^0.32.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/array-sort": "^1.0.0",
|
||||
"@types/bootstrap": "^5.2.6",
|
||||
"@types/node": "^18.0.0",
|
||||
"@types/object-path": "^0.11.0",
|
||||
"@types/prismjs": "^1.26.0",
|
||||
"@types/quill": "^2.0.9",
|
||||
"@vitejs/plugin-vue": "^5.2.4",
|
||||
"@vue/tsconfig": "^0.1.3",
|
||||
"array-sort": "^1.0.0",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"prettier": "^2.7.1",
|
||||
"sass": "1.55.0",
|
||||
"sass-loader": "13.2.0",
|
||||
"typescript": "^5.9.2",
|
||||
"vite": "^6.3.6",
|
||||
"vue-tsc": "^2.2.12"
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 9.7 KiB |
|
After Width: | Height: | Size: 8.5 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 9.0 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 8.9 KiB |
|
After Width: | Height: | Size: 24 KiB |
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 59 KiB |
|
After Width: | Height: | Size: 58 KiB |
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 63 KiB |
|
After Width: | Height: | Size: 67 KiB |
|
After Width: | Height: | Size: 84 KiB |
|
After Width: | Height: | Size: 40 KiB |
|
After Width: | Height: | Size: 67 KiB |
|
After Width: | Height: | Size: 34 KiB |
|
After Width: | Height: | Size: 59 KiB |
|
After Width: | Height: | Size: 47 KiB |
|
After Width: | Height: | Size: 56 KiB |
|
After Width: | Height: | Size: 53 KiB |
|
After Width: | Height: | Size: 44 KiB |
|
After Width: | Height: | Size: 68 KiB |
|
After Width: | Height: | Size: 103 KiB |
|
After Width: | Height: | Size: 138 KiB |
|
After Width: | Height: | Size: 95 KiB |
|
After Width: | Height: | Size: 83 KiB |
|
After Width: | Height: | Size: 42 KiB |
|
After Width: | Height: | Size: 9.7 KiB |
|
After Width: | Height: | Size: 9.2 KiB |
|
After Width: | Height: | Size: 6.4 KiB |
|
After Width: | Height: | Size: 6.2 KiB |
|
After Width: | Height: | Size: 6.2 KiB |
|
After Width: | Height: | Size: 5.9 KiB |
|
After Width: | Height: | Size: 7.7 KiB |
|
After Width: | Height: | Size: 8.1 KiB |
|
After Width: | Height: | Size: 7.0 KiB |
|
After Width: | Height: | Size: 6.9 KiB |
|
After Width: | Height: | Size: 66 KiB |
|
After Width: | Height: | Size: 110 KiB |
|
After Width: | Height: | Size: 76 KiB |
|
After Width: | Height: | Size: 60 KiB |
|
After Width: | Height: | Size: 87 KiB |
|
After Width: | Height: | Size: 101 KiB |
|
After Width: | Height: | Size: 64 KiB |
|
After Width: | Height: | Size: 102 KiB |
|
After Width: | Height: | Size: 71 KiB |
|
After Width: | Height: | Size: 84 KiB |
|
After Width: | Height: | Size: 72 KiB |
|
After Width: | Height: | Size: 60 KiB |
|
After Width: | Height: | Size: 83 KiB |
|
After Width: | Height: | Size: 87 KiB |
|
After Width: | Height: | Size: 83 KiB |
|
After Width: | Height: | Size: 65 KiB |
|
After Width: | Height: | Size: 119 KiB |
|
After Width: | Height: | Size: 79 KiB |
|
After Width: | Height: | Size: 79 KiB |
|
After Width: | Height: | Size: 8.5 KiB |
|
After Width: | Height: | Size: 31 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 78 KiB |
|
After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 80 KiB |
|
After Width: | Height: | Size: 69 KiB |
|
After Width: | Height: | Size: 58 KiB |
|
After Width: | Height: | Size: 86 KiB |
|
After Width: | Height: | Size: 71 KiB |
|
After Width: | Height: | Size: 108 KiB |
|
After Width: | Height: | Size: 78 KiB |
|
After Width: | Height: | Size: 280 KiB |
|
After Width: | Height: | Size: 62 KiB |
|
After Width: | Height: | Size: 213 KiB |
|
After Width: | Height: | Size: 233 KiB |
|
After Width: | Height: | Size: 113 KiB |
|
After Width: | Height: | Size: 233 KiB |
|
After Width: | Height: | Size: 158 KiB |
|
After Width: | Height: | Size: 215 KiB |
|
After Width: | Height: | Size: 167 KiB |
|
After Width: | Height: | Size: 177 KiB |
|
After Width: | Height: | Size: 278 KiB |
|
After Width: | Height: | Size: 211 KiB |
|
After Width: | Height: | Size: 138 KiB |
|
After Width: | Height: | Size: 139 KiB |
|
After Width: | Height: | Size: 84 KiB |
|
After Width: | Height: | Size: 135 KiB |
|
After Width: | Height: | Size: 59 KiB |
|
After Width: | Height: | Size: 68 KiB |
|
After Width: | Height: | Size: 106 KiB |