- pagine RISO
This commit is contained in:
1026
_LIMBO/aaa.scss
Normal file
1026
_LIMBO/aaa.scss
Normal file
File diff suppressed because it is too large
Load Diff
2969
_LIMBO/faq_ris.html
Normal file
2969
_LIMBO/faq_ris.html
Normal file
File diff suppressed because it is too large
Load Diff
@@ -110,18 +110,20 @@
|
||||
}
|
||||
|
||||
.faq-answer {
|
||||
max-height: 0;
|
||||
overflow: hidden;
|
||||
transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
|
||||
display: grid;
|
||||
grid-template-rows: 0fr;
|
||||
transition: grid-template-rows 0.4s ease, opacity 0.3s ease;
|
||||
opacity: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.faq-item.active .faq-answer {
|
||||
max-height: 5000px;
|
||||
grid-template-rows: 1fr;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.faq-content {
|
||||
min-height: 0;
|
||||
padding: 1.25rem;
|
||||
font-size: 0.95rem;
|
||||
line-height: 1.65;
|
||||
@@ -1358,7 +1360,7 @@
|
||||
<p class="page-subtitle">Clicca su ogni domanda per scoprire la risposta</p>
|
||||
</div>
|
||||
|
||||
<div class="faq-item">
|
||||
<details class="faq-item">
|
||||
<div class="faq-question">
|
||||
<i class="material-icons faq-icon">paid</i>
|
||||
<div class="faq-title">Quanto vale 1 RIS?</div>
|
||||
@@ -1396,11 +1398,11 @@
|
||||
RISO.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</details>
|
||||
|
||||
|
||||
<!-- FAQ 2: Come si crea la moneta -->
|
||||
<div class="faq-item">
|
||||
<details class="faq-item">
|
||||
<div class="faq-question">
|
||||
<i class="material-icons faq-icon">account_balance_wallet</i>
|
||||
<div class="faq-title">Come si crea la moneta autonomamente?</div>
|
||||
@@ -1430,11 +1432,11 @@
|
||||
tutti i crediti e debiti in modo trasparente.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</details>
|
||||
|
||||
|
||||
<!-- FAQ 3: Esempio Francesca, Mario, Alice -->
|
||||
<div class="faq-item">
|
||||
<details class="faq-item">
|
||||
<div class="faq-question">
|
||||
<i class="material-icons faq-icon">groups</i>
|
||||
<div class="faq-title">Come funziona nella pratica? Esempio concreto</div>
|
||||
@@ -1571,11 +1573,11 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</details>
|
||||
|
||||
|
||||
<!-- FAQ 4: Gli esercenti possono accettare RIS -->
|
||||
<div class="faq-item">
|
||||
<details class="faq-item">
|
||||
<div class="faq-question">
|
||||
<i class="material-icons faq-icon">store</i>
|
||||
<div class="faq-title">Gli esercenti con partita IVA possono accettare RIS?</div>
|
||||
@@ -1623,11 +1625,11 @@
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</details>
|
||||
|
||||
|
||||
<!-- FAQ 5: I privati possono accettare RIS -->
|
||||
<div class="faq-item">
|
||||
<details class="faq-item">
|
||||
<div class="faq-question">
|
||||
<i class="material-icons faq-icon">person</i>
|
||||
<div class="faq-title">I privati cittadini possono accettare RIS?</div>
|
||||
@@ -1689,11 +1691,11 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</details>
|
||||
|
||||
|
||||
<!-- FAQ 6: Convertibilità -->
|
||||
<div class="faq-item">
|
||||
<details class="faq-item">
|
||||
<div class="faq-question">
|
||||
<i class="material-icons faq-icon">currency_exchange</i>
|
||||
<div class="faq-title">Il RIS è convertibile in euro?</div>
|
||||
@@ -1740,11 +1742,11 @@
|
||||
debiti ti ripaga in euro. Ma questo è un caso estremo, non il funzionamento normale.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</details>
|
||||
|
||||
|
||||
<!-- FAQ 7: Bollette e tasse -->
|
||||
<div class="faq-item">
|
||||
<details class="faq-item">
|
||||
<div class="faq-question">
|
||||
<i class="material-icons faq-icon">receipt</i>
|
||||
<div class="faq-title">Posso pagare bollette e tasse con i RIS?</div>
|
||||
@@ -1797,11 +1799,11 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</details>
|
||||
|
||||
|
||||
<!-- FAQ 8: Come ottenere RIS senza euro -->
|
||||
<div class="faq-item">
|
||||
<details class="faq-item">
|
||||
<div class="faq-question">
|
||||
<i class="material-icons faq-icon">help</i>
|
||||
<div class="faq-title">Se non ho euro, come posso ottenere RIS?</div>
|
||||
@@ -1852,11 +1854,11 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</details>
|
||||
|
||||
|
||||
<!-- FAQ 9: Differenze da altri sistemi -->
|
||||
<div class="faq-item">
|
||||
<details class="faq-item">
|
||||
<div class="faq-question">
|
||||
<i class="material-icons faq-icon">compare</i>
|
||||
<div class="faq-title">Quali sono le differenze da altri sistemi di moneta alternativa?</div>
|
||||
@@ -1923,11 +1925,11 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</details>
|
||||
|
||||
|
||||
<!-- FAQ 10: Chiusura circuito -->
|
||||
<div class="faq-item">
|
||||
<details class="faq-item">
|
||||
<div class="faq-question">
|
||||
<i class="material-icons faq-icon">exit_to_app</i>
|
||||
<div class="faq-title">Cosa succede se il circuito chiude o voglio uscire?</div>
|
||||
@@ -1969,11 +1971,11 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</details>
|
||||
|
||||
|
||||
<!-- FAQ 11: Accumulo -->
|
||||
<div class="faq-item">
|
||||
<details class="faq-item">
|
||||
<div class="faq-question">
|
||||
<i class="material-icons faq-icon">savings</i>
|
||||
<div class="faq-title">Si può accumulare moneta? Ci sono limiti?</div>
|
||||
@@ -2028,11 +2030,11 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</details>
|
||||
|
||||
|
||||
<!-- FAQ 12: Trasparenza -->
|
||||
<div class="faq-item">
|
||||
<details class="faq-item">
|
||||
<div class="faq-question">
|
||||
<i class="material-icons faq-icon">visibility</i>
|
||||
<div class="faq-title">Come funziona la trasparenza del sistema?</div>
|
||||
@@ -2092,11 +2094,11 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</details>
|
||||
|
||||
|
||||
<!-- FAQ 13: Cosa si può scambiare -->
|
||||
<div class="faq-item">
|
||||
<details class="faq-item">
|
||||
<div class="faq-question">
|
||||
<i class="material-icons faq-icon">sync_alt</i>
|
||||
<div class="faq-title">Cosa si può scambiare nei circuiti RISO?</div>
|
||||
@@ -2146,11 +2148,11 @@
|
||||
darà feedback: se nessuno compra, abbassa; se vendi tutto subito, alza leggermente.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</details>
|
||||
|
||||
|
||||
<!-- FAQ 14: Comunità Territoriali -->
|
||||
<div class="faq-item">
|
||||
<details class="faq-item">
|
||||
<div class="faq-question">
|
||||
<i class="material-icons faq-icon">location_city</i>
|
||||
<div class="faq-title">Cosa sono le Comunità Territoriali?</div>
|
||||
@@ -2202,11 +2204,11 @@
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</details>
|
||||
|
||||
|
||||
<!-- FAQ 15: Come iniziare -->
|
||||
<div class="faq-item">
|
||||
<details class="faq-item">
|
||||
<div class="faq-question">
|
||||
<i class="material-icons faq-icon">rocket_launch</i>
|
||||
<div class="faq-title">Come posso iniziare o creare un circuito?</div>
|
||||
@@ -2251,16 +2253,16 @@
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</details>
|
||||
<div class="row justify-center">
|
||||
<h3 class="video-description">
|
||||
Guarda il video di APPROFONDIMENTO per capire meglio come funziona il <strong>Sistema di Credito
|
||||
Comunitario</strong>
|
||||
</h3>
|
||||
<div class="video-container">
|
||||
<iframe src="https://rumble.com/embed/v1y2xfy/?pub=4" frameborder="0" allowfullscreen></iframe>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row justify-center">
|
||||
<h3 class="video-description">
|
||||
Guarda il video di APPROFONDIMENTO per capire meglio come funziona il <strong>Sistema di Credito
|
||||
Comunitario</strong>
|
||||
</h3>
|
||||
<div class="video-container">
|
||||
<iframe src="https://rumble.com/embed/v1y2xfy/?pub=4" frameborder="0" allowfullscreen></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
99
package.json
99
package.json
@@ -29,27 +29,27 @@
|
||||
"postinstall": "quasar prepare"
|
||||
},
|
||||
"dependencies": {
|
||||
"@cubejs-client/core": "^1.3.21",
|
||||
"@cubejs-client/core": "^1.5.11",
|
||||
"@quasar/extras": "^1.17.0",
|
||||
"@quasar/quasar-ui-qcalendar": "^4.1.2",
|
||||
"@types/jsbarcode": "^3.11.4",
|
||||
"@types/leaflet": "^1.9.18",
|
||||
"@vue/compat": "^3.5.16",
|
||||
"@vue/compiler-sfc": "^3.5.16",
|
||||
"@types/leaflet": "^1.9.21",
|
||||
"@vue/compat": "^3.5.25",
|
||||
"@vue/compiler-sfc": "^3.5.25",
|
||||
"@vuelidate/core": "^2.0.3",
|
||||
"@vuelidate/validators": "^2.0.4",
|
||||
"acorn": "^8.15.0",
|
||||
"animate.css": "^4.1.1",
|
||||
"apexcharts": "^4.7.0",
|
||||
"autoprefixer": "^10.4.21",
|
||||
"axios": "^1.9.0",
|
||||
"bcryptjs": "^3.0.2",
|
||||
"chart.js": "^4.4.9",
|
||||
"core-js": "^3.43.0",
|
||||
"apexcharts": "^5.3.6",
|
||||
"autoprefixer": "^10.4.22",
|
||||
"axios": "^1.13.2",
|
||||
"bcryptjs": "^3.0.3",
|
||||
"chart.js": "^4.5.1",
|
||||
"core-js": "^3.47.0",
|
||||
"crypto-browserify": "^3.12.1",
|
||||
"date-fns": "^4.1.0",
|
||||
"echarts": "5.6.0",
|
||||
"eslint-plugin-n": "^17.19.0",
|
||||
"echarts": "6.0.0",
|
||||
"eslint-plugin-n": "^17.23.1",
|
||||
"eslint-plugin-quasar": "^1.1.0",
|
||||
"gsap": "^3.13.0",
|
||||
"jquery": "^3.7.1",
|
||||
@@ -63,76 +63,77 @@
|
||||
"mongoose-paginate-v2": "^1.9.1",
|
||||
"normalize.css": "^8.0.1",
|
||||
"nprogress": "^0.2.0",
|
||||
"pinia": "^3.0.3",
|
||||
"quasar": "^2.18.1",
|
||||
"pinia": "^3.0.4",
|
||||
"qrcode-vue3": "^1.7.1",
|
||||
"quasar": "^2.18.6",
|
||||
"quasar-extras": "^2.0.9",
|
||||
"register-service-worker": "^1.7.2",
|
||||
"scrollreveal": "^4.0.9",
|
||||
"typescript-eslint": "^8.34.0",
|
||||
"typescript-eslint": "^8.48.1",
|
||||
"vee-validate": "^4.15.1",
|
||||
"vue": "^3.5.16",
|
||||
"vue": "^3.5.25",
|
||||
"vue-class-component": "^8.0.0-rc.1",
|
||||
"vue-country-code": "^1.1.3",
|
||||
"vue-echarts": "^7.0.3",
|
||||
"vue-i18n": "^11.1.5",
|
||||
"vue-echarts": "^8.0.1",
|
||||
"vue-i18n": "^11.2.2",
|
||||
"vue-idb": "^0.2.0",
|
||||
"vue-property-decorator": "^10.0.0-rc.3",
|
||||
"vue-router": "^4.5.1",
|
||||
"vue-router": "^4.6.3",
|
||||
"vue-scroll-reveal": "^2.1.0",
|
||||
"vue-social-sharing": "^4.0.0-alpha4",
|
||||
"vue-svgicon": "^4.0.0-alpha.3",
|
||||
"vue-timeago3": "^2.3.2",
|
||||
"vue2-dragula": "^2.5.5",
|
||||
"vue3-apexcharts": "^1.8.0",
|
||||
"vue3-apexcharts": "^1.10.0",
|
||||
"vue3-qr-reader": "^1.0.0",
|
||||
"vuedraggable": "^4.1.0",
|
||||
"vuex": "^4.1.0",
|
||||
"vuex-router-sync": "^6.0.0-rc.1",
|
||||
"workbox-core": "^7.3.0",
|
||||
"workbox-precaching": "^7.3.0",
|
||||
"workbox-routing": "^7.3.0",
|
||||
"workbox-strategies": "^7.3.0",
|
||||
"workbox-window": "^7.3.0",
|
||||
"workbox-core": "^7.4.0",
|
||||
"workbox-precaching": "^7.4.0",
|
||||
"workbox-routing": "^7.4.0",
|
||||
"workbox-strategies": "^7.4.0",
|
||||
"workbox-window": "^7.4.0",
|
||||
"xlsx": "^0.18.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^9.28.0",
|
||||
"@intlify/unplugin-vue-i18n": "^6.0.8",
|
||||
"@quasar/app-vite": "^2.2.1",
|
||||
"@eslint/js": "^9.39.1",
|
||||
"@intlify/unplugin-vue-i18n": "^11.0.1",
|
||||
"@quasar/app-vite": "^2.4.0",
|
||||
"@types/google.maps": "^3.58.1",
|
||||
"@types/jest": "^29.5.14",
|
||||
"@types/jest": "^30.0.0",
|
||||
"@types/js-cookie": "^3.0.6",
|
||||
"@types/node": "^24.0.1",
|
||||
"@types/node": "^24.10.1",
|
||||
"@types/nprogress": "^0.2.3",
|
||||
"@types/vue-tel-input": "^2.1.7",
|
||||
"@types/vuelidate": "^0.7.22",
|
||||
"@vue/devtools": "^7.7.6",
|
||||
"@vue/devtools": "^8.0.5",
|
||||
"@vue/eslint-config-prettier": "^10.2.0",
|
||||
"@vue/eslint-config-typescript": "^14.5.0",
|
||||
"autoprefixer": "^10.4.21",
|
||||
"@vue/eslint-config-typescript": "^14.6.0",
|
||||
"autoprefixer": "^10.4.22",
|
||||
"eslint": "9",
|
||||
"eslint-plugin-import": "^2.31.0",
|
||||
"eslint-plugin-vue": "^10.2.0",
|
||||
"eslint-plugin-import": "^2.32.0",
|
||||
"eslint-plugin-vue": "^10.6.2",
|
||||
"file-loader": "^6.2.0",
|
||||
"globals": "^16.2.0",
|
||||
"globals": "^16.5.0",
|
||||
"http-proxy-middleware": "^3.0.5",
|
||||
"jest": "^30.0.0",
|
||||
"jest": "^30.2.0",
|
||||
"json-loader": "^0.5.7",
|
||||
"nodemon": "^3.1.10",
|
||||
"npm-check-updates": "^18.0.1",
|
||||
"parcel": "^2.15.2",
|
||||
"postcss": "^8.5.5",
|
||||
"postcss-loader": "^8.1.1",
|
||||
"nodemon": "^3.1.11",
|
||||
"npm-check-updates": "^19.1.2",
|
||||
"parcel": "^2.16.1",
|
||||
"postcss": "^8.5.6",
|
||||
"postcss-loader": "^8.2.0",
|
||||
"prettier": "3",
|
||||
"strip-ansi": "=7.1.0",
|
||||
"ts-jest": "^29.4.0",
|
||||
"typescript": "5.8.3",
|
||||
"vite-plugin-checker": "^0.9.3",
|
||||
"strip-ansi": "=7.1.2",
|
||||
"ts-jest": "^29.4.6",
|
||||
"typescript": "5.9.3",
|
||||
"vite-plugin-checker": "^0.11.0",
|
||||
"vue-cli-plugin-element-ui": "^1.1.4",
|
||||
"vue-eslint-parser": "^10.1.3",
|
||||
"vue-tsc": "^2.2.10",
|
||||
"vue-eslint-parser": "^10.2.0",
|
||||
"vue-tsc": "^3.1.5",
|
||||
"vueify": "^9.4.1",
|
||||
"workbox-build": "^7.3.0"
|
||||
"workbox-build": "^7.4.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^28 || ^26 || ^24 || ^22 || ^20 || ^18",
|
||||
|
||||
329
quasar.config.ts
329
quasar.config.ts
@@ -1,21 +1,9 @@
|
||||
import { defineConfig } from '#q-app/wrappers';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
|
||||
import path from 'path';
|
||||
|
||||
// console.log(process.env)
|
||||
|
||||
export default defineConfig((ctx) => {
|
||||
return {
|
||||
// https://v2.quasar.dev/quasar-cli/supporting-ts
|
||||
|
||||
// https://v2.quasar.dev/quasar-cli/prefetch-feature
|
||||
// preFetch: true,
|
||||
|
||||
// app boot file (/src/boot)
|
||||
// --> boot files are part of "main.js"
|
||||
// https://v2.quasar.dev/quasar-cli/boot-files
|
||||
// boot: ['vue-i18n', 'vue-meta', 'axios', 'vee-validate', 'myconfig', 'local-storage', 'error-handler', 'globalroutines', 'vue-idb', 'dragula', 'guard'],
|
||||
boot: [
|
||||
'i18n',
|
||||
'axios',
|
||||
@@ -31,56 +19,89 @@ export default defineConfig((ctx) => {
|
||||
'trackPageViews',
|
||||
],
|
||||
|
||||
// https://v2.quasar.dev/quasar-cli/quasar-conf-js#Property%3A-css
|
||||
css: [
|
||||
'app.scss',
|
||||
// '~quasar-ui-qcalendar/src/css/calendar-day.sass'
|
||||
],
|
||||
css: ['app.scss'],
|
||||
|
||||
// https://github.com/quasarframework/quasar/tree/dev/extras
|
||||
extras: [
|
||||
// 'ionicons-v4',
|
||||
// 'mdi-v5',
|
||||
// 'eva-icons',
|
||||
// 'themify',
|
||||
// 'line-awesome',
|
||||
'ionicons-v4',
|
||||
// 'mdi-v3',
|
||||
'fontawesome-v5',
|
||||
'roboto-font', // optional, you are not bound to it
|
||||
'material-icons', // optional, you are not bound to it
|
||||
'roboto-font',
|
||||
'material-icons',
|
||||
'material-icons-outlined',
|
||||
],
|
||||
|
||||
// Full list of options: https://v2.quasar.dev/quasar-cli/quasar-conf-js#Property%3A-build
|
||||
|
||||
build: {
|
||||
target: {
|
||||
browser: ['es2021', 'chrome100', 'firefox100', 'safari14'],
|
||||
node: 'node20',
|
||||
},
|
||||
|
||||
// ✅ AGGIUNTO: Importa automaticamente variables.scss ovunque
|
||||
sassVariables: 'src/css/variables.scss',
|
||||
|
||||
vueRouterMode: 'history',
|
||||
analyze: false,
|
||||
transpile: true,
|
||||
transpileDependencies: [/quasar-ui-qcalendar[\\/]src/],
|
||||
|
||||
typescript: {
|
||||
strict: false,
|
||||
vueShim: true,
|
||||
},
|
||||
|
||||
// ✅ AGGIUNTO: Config SCSS globale per Vite
|
||||
extendViteConf(viteConf, { isServer, isClient }) {
|
||||
// Alias puliti
|
||||
viteConf.resolve = {
|
||||
...(viteConf.resolve || {}),
|
||||
alias: {
|
||||
...viteConf.resolve.alias,
|
||||
'#q-app': path.resolve(__dirname, 'node_modules/quasar/app'),
|
||||
|
||||
// Alias essenziali (rimuovi duplicati)
|
||||
'@': path.resolve(__dirname, 'src'),
|
||||
'@components': path.resolve(__dirname, 'src/components'),
|
||||
'@views': path.resolve(__dirname, 'src/views'),
|
||||
'@boot': path.resolve(__dirname, 'src/boot'),
|
||||
'@store': path.resolve(__dirname, 'src/store'),
|
||||
'@storemod': path.resolve(__dirname, 'src/store/Modules'),
|
||||
'@tools': path.resolve(__dirname, 'src/store/Modules/tools.ts'), // ✅ AGGIUNTO
|
||||
'@costanti': path.resolve(__dirname, 'src/store/Modules/costanti.ts'), // ✅ AGGIUNTO
|
||||
'@api': path.resolve(__dirname, 'src/store/Api'),
|
||||
'@utils': path.resolve(__dirname, 'src/utils'),
|
||||
'@model': path.resolve(__dirname, 'src/model'),
|
||||
'@classes': path.resolve(__dirname, 'src/classes'),
|
||||
'@router': path.resolve(__dirname, 'src/router'),
|
||||
'@css': path.resolve(__dirname, 'src/css'),
|
||||
'@paths': path.resolve(__dirname, 'src/store/Api/ApiRoutes.ts'),
|
||||
'@images': path.resolve(__dirname, 'src/assets/images'),
|
||||
'@icons': path.resolve(__dirname, 'src/public/myicons'),
|
||||
},
|
||||
};
|
||||
|
||||
// ✅ AGGIUNTO: SCSS preprocessor con variables.scss globale
|
||||
viteConf.css = {
|
||||
...(viteConf.css || {}),
|
||||
preprocessorOptions: {
|
||||
scss: {
|
||||
additionalData: `@use "sass:color"; @use "@/css/variables.scss" as *;`,
|
||||
},
|
||||
},
|
||||
};
|
||||
},
|
||||
|
||||
viteConf: {
|
||||
server: {
|
||||
hmr: {
|
||||
protocol: 'wss', // o 'ws' se usi HTTP
|
||||
protocol: 'wss',
|
||||
host: 'localhost',
|
||||
port: 8094,
|
||||
},
|
||||
},
|
||||
},
|
||||
target: {
|
||||
browser: ['es2022', 'firefox115', 'chrome115', 'safari14'],
|
||||
node: 'node20',
|
||||
},
|
||||
sassVariables: 'src/css/variables.scss',
|
||||
// env: envparser(),
|
||||
// versionCode: package.version,
|
||||
vueRouterMode: 'history',
|
||||
analyze: false, // true
|
||||
transpile: true,
|
||||
transpileDependencies: [/quasar-ui-qcalendar[\\/]src/],
|
||||
|
||||
beforeDev(api) {
|
||||
// Se la variabile d'ambiente SKIP_TSC è impostata, disabilita il type checking
|
||||
if (process.env.SKIP_TSC === 'true') {
|
||||
console.log('⚠️ TypeScript type checking is disabled');
|
||||
|
||||
// Disattiva TypeScript checking per Vite
|
||||
if (api && api.chainWebpack) {
|
||||
api.chainWebpack((chain) => {
|
||||
chain.plugin('fork-ts-checker').tap((args) => {
|
||||
@@ -91,113 +112,19 @@ export default defineConfig((ctx) => {
|
||||
}
|
||||
}
|
||||
},
|
||||
// @quasar/app-vite v2.0.3+
|
||||
|
||||
envFilter(originalEnv) {
|
||||
const newEnv = {};
|
||||
for (const key in originalEnv) {
|
||||
/* ...decide if it goes in or not... */
|
||||
if (true) {
|
||||
newEnv[key] = originalEnv[key];
|
||||
}
|
||||
}
|
||||
|
||||
// remember to return your processed env
|
||||
return newEnv;
|
||||
},
|
||||
|
||||
typescript: {
|
||||
strict: false,
|
||||
vueShim: true,
|
||||
extendTsConfig(tsConfig) {
|
||||
// You can use this hook to extend tsConfig dynamically
|
||||
// For basic use cases, you can still update the usual tsconfig.json file to override some settings
|
||||
},
|
||||
|
||||
/**
|
||||
* Folder where Quasar CLI should look for .env* files.
|
||||
* Can be an absolute path or a relative path to project root directory.
|
||||
*
|
||||
* @default project root directory
|
||||
*/
|
||||
// envFolder?: string
|
||||
/**
|
||||
* Additional .env* files to be loaded.
|
||||
* Each entry can be an absolute path or a relative path to quasar.config > build > envFolder.
|
||||
*
|
||||
* @example ['.env.somefile', '../.env.someotherfile']
|
||||
*/
|
||||
// envFiles?: string[];
|
||||
},
|
||||
|
||||
extendViteConf(viteConf, { isServer, isClient }) {
|
||||
viteConf.resolve = {
|
||||
...(viteConf.resolve || {}),
|
||||
alias: {
|
||||
...viteConf.resolve.alias,
|
||||
'#q-app': path.resolve(__dirname, 'node_modules/quasar/app'), // Alias per #q-app
|
||||
app: path.resolve(__dirname),
|
||||
boot: path.resolve(__dirname, 'src/boot'),
|
||||
src: path.resolve(__dirname, 'src'),
|
||||
statics: path.resolve(__dirname, 'src/statics'),
|
||||
components: path.resolve(__dirname, 'src/components'),
|
||||
views: path.resolve(__dirname, 'src/views/index.ts'),
|
||||
images: path.resolve(__dirname, 'src/assets/images'),
|
||||
maps: path.resolve(__dirname, 'public/maps'),
|
||||
classes: path.resolve(__dirname, 'src/classes/index.ts'),
|
||||
fonts: path.resolve(__dirname, 'src/assets/fonts'),
|
||||
utils: path.resolve(__dirname, 'src/utils/index.ts'),
|
||||
css: path.resolve(__dirname, 'src/css/variables.scss'),
|
||||
router: path.resolve(__dirname, 'src/router/index.ts'),
|
||||
validators: path.resolve(__dirname, 'src/utils/validators.ts'),
|
||||
methods: path.resolve(__dirname, 'src/utils/methods.ts'),
|
||||
filters: path.resolve(__dirname, 'src/utils/filters.ts'),
|
||||
api: path.resolve(__dirname, 'src/store/Api/index.ts'),
|
||||
paths: path.resolve(__dirname, 'src/store/Api/ApiRoutes.ts'),
|
||||
modules: path.resolve(__dirname, 'src/store/Modules/index.ts'),
|
||||
model: path.resolve(__dirname, 'src/model/index.ts'),
|
||||
'@components': path.resolve(__dirname, 'src/components'),
|
||||
'@boot': path.resolve(__dirname, 'src/boot'),
|
||||
'@costanti': path.resolve(__dirname, 'src/store/Modules/costanti.ts'),
|
||||
'@views': path.resolve(__dirname, 'src/views/index.ts'),
|
||||
'@src': path.resolve(__dirname, 'src'),
|
||||
'@css': path.resolve(__dirname, 'src/public/css/variables.scss'),
|
||||
'@icons': path.resolve(__dirname, 'src/public/public/myicons'),
|
||||
'@images': path.resolve(__dirname, 'src/public/images/*'),
|
||||
'@maps': path.resolve(__dirname, 'src/public/maps/*'),
|
||||
'@classes': path.resolve(__dirname, 'src/classes/index.ts'),
|
||||
'@utils': path.resolve(__dirname, 'src/utils/index.ts'),
|
||||
'@router': path.resolve(__dirname, 'src/router/index.ts'),
|
||||
'@validators': path.resolve(__dirname, 'src/utils/validators.ts'),
|
||||
'@methods': path.resolve(__dirname, 'src/utils/methods.ts'),
|
||||
'@api': path.resolve(__dirname, 'src/store/Api/index.ts'),
|
||||
'@paths': path.resolve(__dirname, 'src/store/Api/ApiRoutes.ts'),
|
||||
'@storemod': path.resolve(__dirname, 'src/store/Modules'),
|
||||
'@store': path.resolve(__dirname, 'src/store'),
|
||||
'@tools': path.resolve(__dirname, 'src/store/Modules/tools.ts'),
|
||||
'@modules': path.resolve(__dirname, 'src/store/Modules/index.ts'),
|
||||
'@model': path.resolve(__dirname, 'src/model/index.ts'),
|
||||
},
|
||||
};
|
||||
return originalEnv; // Ritorna tutto per semplicità
|
||||
},
|
||||
|
||||
vitePlugins: [
|
||||
[
|
||||
'@intlify/unplugin-vue-i18n/vite',
|
||||
{
|
||||
// if you want to use Vue I18n Legacy API, you need to set `compositionOnly: false`
|
||||
// compositionOnly: false,
|
||||
|
||||
// if you want to use named tokens in your Vue I18n messages, such as 'Hello {name}',
|
||||
// you need to set `runtimeOnly: false`
|
||||
// runtimeOnly: false,
|
||||
|
||||
ssr: ctx.modeName === 'ssr',
|
||||
|
||||
// you need to set i18n resource including paths !
|
||||
include: [fileURLToPath(new URL('./src/i18n', import.meta.url))],
|
||||
},
|
||||
],
|
||||
|
||||
[
|
||||
'vite-plugin-checker',
|
||||
{
|
||||
@@ -211,60 +138,25 @@ export default defineConfig((ctx) => {
|
||||
{ server: false },
|
||||
],
|
||||
],
|
||||
|
||||
// polyfillModulePreload: true,
|
||||
|
||||
// viteVuePluginOptions: {},
|
||||
|
||||
// extractCSS: false,
|
||||
// transpile: false,
|
||||
|
||||
// Add dependencies for transpiling with Babel (Array of string/regex)
|
||||
// (from node_modules, which are by default not transpiled).
|
||||
// Applies only if "transpile" is set to true.
|
||||
// transpileDependencies: [],
|
||||
|
||||
// rtl: true, // https://v2.quasar.dev/options/rtl-supg
|
||||
// preloadChunks: true,
|
||||
// showProgress: false,
|
||||
// gzip: true,
|
||||
// analyze: true,
|
||||
|
||||
// Options below are automatically set depending on the env, set them if you want to override
|
||||
// extractCSS: false,
|
||||
|
||||
// https://v2.quasar.dev/quasar-cli/handling-webpack
|
||||
// "chain" is a webpack-chain object https://github.com/neutrinojs/webpack-chain
|
||||
},
|
||||
|
||||
// Full list of options: https://v2.quasar.dev/quasar-cli/quasar-conf-js#Property%3A-devServer
|
||||
devServer: {
|
||||
https: {
|
||||
key: path.resolve(__dirname, 'localhost-key.pem'),
|
||||
cert: path.resolve(__dirname, 'localhost.pem'),
|
||||
},
|
||||
|
||||
port: parseInt(process.env.PORT, 10),
|
||||
vueDevtools: false, // automatically opening remote Vue Devtools
|
||||
open: false, // opens browser window automatically
|
||||
hot: true, // Enable hot module replacement
|
||||
vueDevtools: false,
|
||||
open: false,
|
||||
hot: true,
|
||||
headers: {
|
||||
'Access-Control-Allow-Origin': '*',
|
||||
'Access-Control-Allow-Headers': '*',
|
||||
},
|
||||
},
|
||||
|
||||
// https://v2.quasar.dev/quasar-cli/quasar-conf-js#Property%3A-framework
|
||||
framework: {
|
||||
config: {},
|
||||
|
||||
// iconSet: 'material-icons', // Quasar icon set
|
||||
// lang: 'en-US', // Quasar language pack
|
||||
|
||||
// For special cases outside of where the auto-import strategy can have an impact
|
||||
// (like functional components as one of the examples),
|
||||
// you can manually specify Quasar components/directives to be available everywhere:
|
||||
//
|
||||
components: [
|
||||
'QLayout',
|
||||
'QDrawer',
|
||||
@@ -332,9 +224,10 @@ export default defineConfig((ctx) => {
|
||||
'QTabPanel',
|
||||
'QTree',
|
||||
'QSeparator',
|
||||
'QPageSticky',
|
||||
],
|
||||
directives: ['Ripple', 'ClosePopup'],
|
||||
_plugins: [
|
||||
plugins: [
|
||||
'Meta',
|
||||
'Dialog',
|
||||
'Notify',
|
||||
@@ -344,59 +237,27 @@ export default defineConfig((ctx) => {
|
||||
'LocalStorage',
|
||||
'SessionStorage',
|
||||
],
|
||||
get plugins_1() {
|
||||
return this._plugins;
|
||||
},
|
||||
set plugins_1(value) {
|
||||
this._plugins = value;
|
||||
},
|
||||
get plugins() {
|
||||
return this._plugins;
|
||||
},
|
||||
set plugins(value) {
|
||||
this._plugins = value;
|
||||
},
|
||||
// iconSet: 'fontawesome-v5',
|
||||
iconSet: 'material-icons',
|
||||
lang: 'it', // Quasar language
|
||||
lang: 'it',
|
||||
},
|
||||
|
||||
animations: 'all', // --- includes all animations
|
||||
// https://v2.quasar.dev/options/animations
|
||||
// animations: [],
|
||||
animations: 'all',
|
||||
|
||||
// https://v2.quasar.dev/quasar-cli/developing-ssr/configuring-ssr
|
||||
ssr: {
|
||||
pwa: false,
|
||||
|
||||
// manualStoreHydration: true,
|
||||
// manualPostHydrationTrigger: true,
|
||||
|
||||
prodPort: 3000, // The default port that the production server should use
|
||||
// (gets superseded if import.meta.env.PORT is specified at runtime)
|
||||
|
||||
prodPort: 3000,
|
||||
maxAge: 1000 * 60 * 60 * 24 * 30,
|
||||
// Tell browser when a file from the server should expire from cache (in ms)
|
||||
|
||||
middlewares: [
|
||||
ctx.prod ? 'compression' : '',
|
||||
'render', // keep this as last one
|
||||
],
|
||||
middlewares: [ctx.prod ? 'compression' : '', 'render'],
|
||||
},
|
||||
|
||||
// https://v2.quasar.dev/quasar-cli/developing-pwa/configuring-pwa
|
||||
pwa: {
|
||||
workboxMode: 'InjectManifest', // 'GenerateSW' or 'InjectManifest'
|
||||
workboxMode: 'InjectManifest',
|
||||
swFilename: 'sw-' + process.env.APP_VERSION + '.js',
|
||||
workboxOptions: {
|
||||
swSrc: 'src-pwa/custom-service-worker.js', // Assicurati che il file esista
|
||||
include: [/\.html$/, /\.js$/, /\.css$/, /\.png$/, /\.svg$/, /\.json$/], // File da precacheare
|
||||
swSrc: 'src-pwa/custom-service-worker.js',
|
||||
include: [/\.html$/, /\.js$/, /\.css$/, /\.png$/, /\.svg$/, /\.json$/],
|
||||
},
|
||||
suppressWarnings: true,
|
||||
/*extendGenerateSWOptions(cfg) {
|
||||
cfg.skipWaiting = false
|
||||
cfg.clientsClaim = false
|
||||
},*/
|
||||
},
|
||||
|
||||
sourceFiles: {
|
||||
@@ -405,36 +266,12 @@ export default defineConfig((ctx) => {
|
||||
pwaManifestFile: 'src-pwa/manifest.json',
|
||||
},
|
||||
|
||||
// Full list of options: https://v2.quasar.dev/quasar-cli/developing-cordova-apps/configuring-cordova
|
||||
cordova: {
|
||||
// noIosLegacyBuildFlag: true, // uncomment only if you know what you are doing
|
||||
},
|
||||
|
||||
// Full list of options: https://v2.quasar.dev/quasar-cli/developing-capacitor-apps/configuring-capacitor
|
||||
capacitor: {
|
||||
hideSplashscreen: true,
|
||||
},
|
||||
|
||||
// Full list of options: https://v2.quasar.dev/quasar-cli/developing-electron-apps/configuring-electron
|
||||
cordova: {},
|
||||
capacitor: { hideSplashscreen: true },
|
||||
electron: {
|
||||
bundler: 'packager', // 'packager' or 'builder'
|
||||
|
||||
packager: {
|
||||
// https://github.com/electron-userland/electron-packager/blob/master/docs/api.md#options
|
||||
// OS X / Mac App Store
|
||||
// appBundleId: '',
|
||||
// appCategoryType: '',
|
||||
// osxSign: '',
|
||||
// protocol: 'myapp://path',
|
||||
// Windows only
|
||||
// win32metadata: { ... }
|
||||
},
|
||||
|
||||
builder: {
|
||||
// https://www.electron.build/configuration/configuration
|
||||
|
||||
appId: '-',
|
||||
},
|
||||
bundler: 'packager',
|
||||
packager: {},
|
||||
builder: { appId: '-' },
|
||||
},
|
||||
};
|
||||
});
|
||||
|
||||
@@ -36,7 +36,7 @@ const firstPage = {
|
||||
path: '/',
|
||||
materialIcon: 'home',
|
||||
name: 'pages.home',
|
||||
component: () => import('@src/root/mainview/mainview.vue'),
|
||||
component: () => import('@/root/mainview/mainview.vue'),
|
||||
reqauth: false,
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -51,7 +51,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/',
|
||||
materialIcon: 'home',
|
||||
name: 'pages.home',
|
||||
component: () => import('@src/root/mainview/mainview.vue'),
|
||||
component: () => import('@/root/mainview/mainview.vue'),
|
||||
reqauth: false,
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -62,7 +62,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/test',
|
||||
materialIcon: 'fas fa-test',
|
||||
name: 'mypages.test',
|
||||
component: () => import('@src/views/testServer/testServer.vue'),
|
||||
component: () => import('@/views/testServer/testServer.vue'),
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
},
|
||||
@@ -72,7 +72,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/goods',
|
||||
materialIcon: 'fas fa-tshirt',
|
||||
name: 'mypages.goods',
|
||||
component: () => import('@src/root/goods/goods.vue'),
|
||||
component: () => import('@/root/goods/goods.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -83,7 +83,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/services',
|
||||
materialIcon: 'fas fa-house-user',
|
||||
name: 'mypages.services',
|
||||
component: () => import('@src/root/services/services.vue'),
|
||||
component: () => import('@/root/services/services.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -94,7 +94,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/activities',
|
||||
materialIcon: 'fas fa-house-user',
|
||||
name: 'mypages.activities',
|
||||
component: () => import('@src/root/activities/activities.vue'),
|
||||
component: () => import('@/root/activities/activities.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -105,7 +105,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/provapao',
|
||||
materialIcon: 'fas fa-house-user',
|
||||
name: 'mypages.provapao',
|
||||
component: () => import('@src/root/provapao/provapao.vue'),
|
||||
component: () => import('@/root/provapao/provapao.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -116,7 +116,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/hosps',
|
||||
materialIcon: 'fas fa-bed',
|
||||
name: 'mypages.hosp',
|
||||
component: () => import('@src/root/hosp/hosp.vue'),
|
||||
component: () => import('@/root/hosp/hosp.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -127,7 +127,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/circuits',
|
||||
materialIcon: 'fas fa-coins',
|
||||
name: 'mypages.circuits',
|
||||
component: () => import('@src/views/user/mycircuits/mycircuits.vue'),
|
||||
component: () => import('@/views/user/mycircuits/mycircuits.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -138,7 +138,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/events',
|
||||
materialIcon: 'fas fa-bullhorn',
|
||||
name: 'mypages.events',
|
||||
component: () => import('@src/root/eventi/eventi.vue'),
|
||||
component: () => import('@/root/eventi/eventi.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -149,7 +149,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/install_site',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'pages.install_site',
|
||||
component: () => import('@src/views/admin/install_site/install_site.vue'),
|
||||
component: () => import('@/views/admin/install_site/install_site.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -160,7 +160,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/myprofile',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'pages.profile',
|
||||
component: () => import('@src/views/user/myprofile/myprofile.vue'),
|
||||
component: () => import('@/views/user/myprofile/myprofile.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -171,7 +171,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/editprofile',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'pages.profile3',
|
||||
component: () => import('@src/views/user/editprofile/editprofile.vue'),
|
||||
component: () => import('@/views/user/editprofile/editprofile.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -182,7 +182,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/friends',
|
||||
materialIcon: 'fas fa-user-friends',
|
||||
name: 'mypages.iscritti',
|
||||
component: () => import('@src/views/user/myfriends/myfriends.vue'),
|
||||
component: () => import('@/views/user/myfriends/myfriends.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -193,7 +193,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/groups',
|
||||
materialIcon: 'fas fa-users',
|
||||
name: 'mypages.groups',
|
||||
component: () => import('@src/views/user/mygroups/mygroups.vue'),
|
||||
component: () => import('@/views/user/mygroups/mygroups.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: false,
|
||||
@@ -204,7 +204,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/grp/:groupname',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'proj.group2',
|
||||
component: () => import('@src/views/user/mygroup/mygroup.vue'),
|
||||
component: () => import('@/views/user/mygroup/mygroup.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -215,7 +215,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/circuit/:path',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'proj.circuit2',
|
||||
component: () => import('@src/views/user/mycircuit/mycircuit.vue'),
|
||||
component: () => import('@/views/user/mycircuit/mycircuit.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -234,7 +234,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/mypage/:idBacheca',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'pages.mypage2',
|
||||
component: () => import('@src/views/user/mypagebacheca/mypagebacheca.vue'),
|
||||
component: () => import('@/views/user/mypagebacheca/mypagebacheca.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -245,7 +245,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/myservice/:idSkill',
|
||||
materialIcon: '',
|
||||
name: 'pages.myservice2',
|
||||
component: () => import('@src/views/user/myservice/myservice.vue'),
|
||||
component: () => import('@/views/user/myservice/myservice.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -256,7 +256,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/myhosps/:idHosp',
|
||||
materialIcon: '',
|
||||
name: 'pages.myhosps2',
|
||||
component: () => import('@src/views/user/mypagehosp/mypagehosp.vue'),
|
||||
component: () => import('@/views/user/mypagehosp/mypagehosp.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -267,7 +267,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/mygood/:idGood',
|
||||
materialIcon: '',
|
||||
name: 'pages.mygood2',
|
||||
component: () => import('@src/views/user/mypagegood/mypagegood.vue'),
|
||||
component: () => import('@/views/user/mypagegood/mypagegood.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -278,7 +278,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/sostieniilprogetto',
|
||||
materialIcon: 'fas fa-hand-holding-heart',
|
||||
name: 'pages.fundraising',
|
||||
component: () => import('@src/root/fundraising/fundraising.vue'),
|
||||
component: () => import('@/root/fundraising/fundraising.vue'),
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
},
|
||||
@@ -288,7 +288,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/calendario-eventi',
|
||||
materialIcon: 'event',
|
||||
name: 'ris.calendario_eventi_riso',
|
||||
component: () => import('@src/root/calendarioeventi/calendarioeventi.vue'),
|
||||
component: () => import('@/root/calendarioeventi/calendarioeventi.vue'),
|
||||
extraclass: 'isCalendar',
|
||||
inmenu: false,
|
||||
infooter: false
|
||||
|
||||
@@ -62,7 +62,7 @@ const routes_admin: IListRoutes[] = [
|
||||
path: '/admin/sites',
|
||||
materialIcon: 'event_seat',
|
||||
name: 'pages.Sites',
|
||||
component: () => import('@src/rootgen/admin/sites/sites.vue'),
|
||||
component: () => import('@/rootgen/admin/sites/sites.vue'),
|
||||
level_parent: 0.0,
|
||||
level_child: 0.5,
|
||||
inmenu: true,
|
||||
@@ -75,7 +75,7 @@ const routes_admin: IListRoutes[] = [
|
||||
path: '/admin/cfgserv',
|
||||
materialIcon: 'event_seat',
|
||||
name: 'pages.Admin',
|
||||
component: () => import('@src/views/admin/cfgServer/cfgServer.vue'),
|
||||
component: () => import('@/views/admin/cfgServer/cfgServer.vue'),
|
||||
level_parent: 0.0,
|
||||
level_child: 0.5,
|
||||
inmenu: true,
|
||||
@@ -88,7 +88,7 @@ const routes_admin: IListRoutes[] = [
|
||||
path: '/admin/dbop',
|
||||
materialIcon: 'event_seat',
|
||||
name: 'pages.dbop',
|
||||
component: () => import('@src/views/admin/dbop/dbop.vue'),
|
||||
component: () => import('@/views/admin/dbop/dbop.vue'),
|
||||
level_parent: 0.0,
|
||||
level_child: 0.5,
|
||||
inmenu: true,
|
||||
@@ -101,7 +101,7 @@ const routes_admin: IListRoutes[] = [
|
||||
path: '/admin/importfile',
|
||||
materialIcon: 'event_seat',
|
||||
name: 'otherpages.manage.importfile',
|
||||
component: () => import('@src/rootgen/admin/importdata/importdata.vue'),
|
||||
component: () => import('@/rootgen/admin/importdata/importdata.vue'),
|
||||
level_parent: 0.0,
|
||||
level_child: 0.5,
|
||||
inmenu: true,
|
||||
@@ -117,7 +117,7 @@ const routes_manager: IListRoutes[] = [
|
||||
path: '/admin/usereventlist',
|
||||
materialIcon: 'edit',
|
||||
name: 'otherpages.admin.usereventlist',
|
||||
component: () => import('@src/rootgen/admin/eventlist/eventlist.vue'),
|
||||
component: () => import('@/rootgen/admin/eventlist/eventlist.vue'),
|
||||
inmenu: true,
|
||||
submenu: true,
|
||||
level_parent: 0,
|
||||
@@ -133,7 +133,7 @@ const routes_manager: IListRoutes[] = [
|
||||
path: '/admin/userlist',
|
||||
materialIcon: 'fas fa-users',
|
||||
name: 'otherpages.admin.userlist',
|
||||
component: () => import('@src/rootgen/admin/usersList/usersList.vue'),
|
||||
component: () => import('@/rootgen/admin/usersList/usersList.vue'),
|
||||
inmenu: true,
|
||||
submenu: true,
|
||||
level_parent: 0,
|
||||
@@ -148,7 +148,7 @@ const routes_manager: IListRoutes[] = [
|
||||
path: '/admin/iscritticonacreis',
|
||||
materialIcon: 'fas fa-users',
|
||||
name: 'otherpages.admin.iscritticonacreis',
|
||||
component: () => import('@src/rootgen/admin/iscritticonacreis/iscritticonacreis.vue'),
|
||||
component: () => import('@/rootgen/admin/iscritticonacreis/iscritticonacreis.vue'),
|
||||
inmenu: true,
|
||||
submenu: true,
|
||||
level_parent: 0,
|
||||
@@ -164,7 +164,7 @@ const routes_manager: IListRoutes[] = [
|
||||
path: '/admin/zoomlist',
|
||||
materialIcon: 'fas fa-users',
|
||||
name: 'otherpages.admin.zoomlist',
|
||||
component: () => import('@src/rootgen/admin/zoomList/zoomList.vue'),
|
||||
component: () => import('@/rootgen/admin/zoomList/zoomList.vue'),
|
||||
inmenu: true,
|
||||
submenu: true,
|
||||
level_parent: 0,
|
||||
@@ -178,7 +178,7 @@ const routes_manager: IListRoutes[] = [
|
||||
path: '/admin/tableslist',
|
||||
materialIcon: 'fas fa-users',
|
||||
name: 'otherpages.admin.tableslist',
|
||||
component: () => import('@src/rootgen/admin/tablesList/tablesList.vue'),
|
||||
component: () => import('@/rootgen/admin/tablesList/tablesList.vue'),
|
||||
inmenu: true,
|
||||
submenu: true,
|
||||
level_parent: 0,
|
||||
@@ -192,7 +192,7 @@ const routes_manager: IListRoutes[] = [
|
||||
path: '/admin/pages',
|
||||
materialIcon: 'fas fa-file-alt',
|
||||
name: 'otherpages.admin.pages',
|
||||
component: () => import('@src/rootgen/admin/pages/pages.vue'),
|
||||
component: () => import('@/rootgen/admin/pages/pages.vue'),
|
||||
inmenu: true,
|
||||
submenu: true,
|
||||
level_parent: 0,
|
||||
@@ -206,7 +206,7 @@ const routes_manager: IListRoutes[] = [
|
||||
path: '/admin/bot',
|
||||
materialIcon: 'fas fa-file-alt',
|
||||
name: 'otherpages.admin.bot',
|
||||
component: () => import('@src/rootgen/admin/bot/bot.vue'),
|
||||
component: () => import('@/rootgen/admin/bot/bot.vue'),
|
||||
inmenu: true,
|
||||
submenu: true,
|
||||
level_parent: 0,
|
||||
@@ -240,7 +240,7 @@ const routes_manager: IListRoutes[] = [
|
||||
path: '/admin/msg_template',
|
||||
materialIcon: 'fas fa-file-alt',
|
||||
name: 'msgs.messages',
|
||||
component: () => import('@src/rootgen/admin/msg_template/msg_template.vue'),
|
||||
component: () => import('@/rootgen/admin/msg_template/msg_template.vue'),
|
||||
inmenu: true,
|
||||
submenu: true,
|
||||
level_parent: 0,
|
||||
@@ -255,7 +255,7 @@ const routes_manager: IListRoutes[] = [
|
||||
path: '/admin/sendpushnotif',
|
||||
materialIcon: 'event_seat',
|
||||
name: 'otherpages.manage.sendpushnotif',
|
||||
component: () => import('@src/rootgen/admin/sendpushnotif/sendpushnotif.vue'),
|
||||
component: () => import('@/rootgen/admin/sendpushnotif/sendpushnotif.vue'),
|
||||
level_parent: 0.0,
|
||||
level_child: 0.5,
|
||||
inmenu: true,
|
||||
@@ -269,7 +269,7 @@ const routes_manager: IListRoutes[] = [
|
||||
path: '/admin/gallery',
|
||||
materialIcon: 'fas fa-file-alt',
|
||||
name: 'otherpages.admin.gallery',
|
||||
component: () => import('@src/rootgen/admin/gallery/gallery.vue'),
|
||||
component: () => import('@/rootgen/admin/gallery/gallery.vue'),
|
||||
inmenu: true,
|
||||
submenu: true,
|
||||
level_parent: 0,
|
||||
@@ -283,7 +283,7 @@ const routes_manager: IListRoutes[] = [
|
||||
path: '/admin/media',
|
||||
materialIcon: 'fas fa-file-alt',
|
||||
name: 'otherpages.admin.media',
|
||||
component: () => import('@src/rootgen/admin/uploader/uploader.vue'),
|
||||
component: () => import('@/rootgen/admin/uploader/uploader.vue'),
|
||||
inmenu: true,
|
||||
submenu: true,
|
||||
level_parent: 0,
|
||||
@@ -301,7 +301,7 @@ const baseroutes: IListRoutes[] = [
|
||||
path: '/',
|
||||
materialIcon: 'home',
|
||||
name: 'pages.home',
|
||||
component: () => import('@src/root/mainview/mainview.vue'),
|
||||
component: () => import('@/root/mainview/mainview.vue'),
|
||||
reqauth: false,
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -312,7 +312,7 @@ const baseroutes: IListRoutes[] = [
|
||||
path: '/events',
|
||||
materialIcon: 'fas fa-bullhorn',
|
||||
name: 'mypages.events',
|
||||
component: () => import('@src/root/eventi/eventi.vue'),
|
||||
component: () => import('@/root/eventi/eventi.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -323,7 +323,7 @@ const baseroutes: IListRoutes[] = [
|
||||
path: '/goods',
|
||||
materialIcon: 'fas fa-briefcase',
|
||||
name: 'mypages.goods',
|
||||
component: () => import('@src/root/goods/goods.vue'),
|
||||
component: () => import('@/root/goods/goods.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -334,7 +334,7 @@ const baseroutes: IListRoutes[] = [
|
||||
path: '/services',
|
||||
materialIcon: 'fas fa-briefcase',
|
||||
name: 'mypages.services',
|
||||
component: () => import('@src/root/services/services.vue'),
|
||||
component: () => import('@/root/services/services.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -345,7 +345,7 @@ const baseroutes: IListRoutes[] = [
|
||||
path: '/presentazione',
|
||||
materialIcon: 'fas fa-info',
|
||||
name: 'pages.presentazione',
|
||||
component: () => import('@src/root/presentazione/presentazione.vue'),
|
||||
component: () => import('@/root/presentazione/presentazione.vue'),
|
||||
reqauth: false,
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -356,7 +356,7 @@ const baseroutes: IListRoutes[] = [
|
||||
path: '/myprofile',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'pages.profile',
|
||||
component: () => import('@src/views/user/myprofile/myprofile.vue'),
|
||||
component: () => import('@/views/user/myprofile/myprofile.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -367,7 +367,7 @@ const baseroutes: IListRoutes[] = [
|
||||
path: '/editprofile',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'pages.profile3',
|
||||
component: () => import('@src/views/user/editprofile/editprofile.vue'),
|
||||
component: () => import('@/views/user/editprofile/editprofile.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -378,7 +378,7 @@ const baseroutes: IListRoutes[] = [
|
||||
path: '/friends',
|
||||
materialIcon: 'fas fa-user-friends',
|
||||
name: 'mypages.friends',
|
||||
component: () => import('@src/views/user/myfriends/myfriends.vue'),
|
||||
component: () => import('@/views/user/myfriends/myfriends.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -389,7 +389,7 @@ const baseroutes: IListRoutes[] = [
|
||||
path: '/groups',
|
||||
materialIcon: 'fas fa-users',
|
||||
name: 'mypages.groups',
|
||||
component: () => import('@src/views/user/mygroups/mygroups.vue'),
|
||||
component: () => import('@/views/user/mygroups/mygroups.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -400,7 +400,7 @@ const baseroutes: IListRoutes[] = [
|
||||
path: '/my/:username',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'pages.profile2',
|
||||
component: () => import('@src/views/user/myprofile/myprofile.vue'),
|
||||
component: () => import('@/views/user/myprofile/myprofile.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -411,7 +411,7 @@ const baseroutes: IListRoutes[] = [
|
||||
path: '/grp/:groupname',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'proj.group2',
|
||||
component: () => import('@src/views/user/mygroup/mygroup.vue'),
|
||||
component: () => import('@/views/user/mygroup/mygroup.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -422,7 +422,7 @@ const baseroutes: IListRoutes[] = [
|
||||
path: '/mypage/:idBacheca',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'pages.mypage2',
|
||||
component: () => import('@src/views/user/mypagebacheca/mypagebacheca.vue'),
|
||||
component: () => import('@/views/user/mypagebacheca/mypagebacheca.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -433,7 +433,7 @@ const baseroutes: IListRoutes[] = [
|
||||
path: '/myservice/:idSkill',
|
||||
materialIcon: '',
|
||||
name: 'pages.myservice2',
|
||||
component: () => import('@src/views/user/myservice/myservice.vue'),
|
||||
component: () => import('@/views/user/myservice/myservice.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -444,7 +444,7 @@ const baseroutes: IListRoutes[] = [
|
||||
path: '/test',
|
||||
materialIcon: 'fas fa-test',
|
||||
name: 'mypages.test',
|
||||
component: () => import('@src/views/testServer/testServer.vue'),
|
||||
component: () => import('@/views/testServer/testServer.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -484,7 +484,7 @@ const baseroutes: IListRoutes[] = [
|
||||
path: '/404error',
|
||||
materialIcon: 'fas fa-calendar-plus',
|
||||
name: 'otherpages.error404',
|
||||
component: () => import('@src/root/My404page/My404page.vue'),
|
||||
component: () => import('@/root/My404page/My404page.vue'),
|
||||
inmenu: false,
|
||||
infooter: false
|
||||
},
|
||||
@@ -494,7 +494,7 @@ const baseroutes: IListRoutes[] = [
|
||||
order: 8,
|
||||
path: '/policy',
|
||||
name: 'pages.policy',
|
||||
component: () => import('@src/root/policy/policy.vue'),
|
||||
component: () => import('@/root/policy/policy.vue'),
|
||||
},*/
|
||||
{
|
||||
active: functionality.ENABLE_REGISTRATION,
|
||||
@@ -502,7 +502,7 @@ const baseroutes: IListRoutes[] = [
|
||||
path: '/signup/:invited',
|
||||
materialIcon: 'how_to_reg',
|
||||
name: 'pages.SignUp',
|
||||
component: () => import('@src/views/login/signup/signup.vue'),
|
||||
component: () => import('@/views/login/signup/signup.vue'),
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
separator: false
|
||||
@@ -513,7 +513,7 @@ const baseroutes: IListRoutes[] = [
|
||||
path: '/regok',
|
||||
materialIcon: 'how_to_reg',
|
||||
name: 'pages.regok',
|
||||
component: () => import('@src/views/login/regok/regok.vue'),
|
||||
component: () => import('@/views/login/regok/regok.vue'),
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
separator: false,
|
||||
@@ -524,7 +524,7 @@ const baseroutes: IListRoutes[] = [
|
||||
path: '/signin',
|
||||
materialIcon: 'account_circle',
|
||||
name: 'pages.SignIn',
|
||||
component: () => import('@src/views/login/signin_noreg/signin_noreg.vue'),
|
||||
component: () => import('@/views/login/signin_noreg/signin_noreg.vue'),
|
||||
inmenu: true,
|
||||
infooter: true
|
||||
},
|
||||
@@ -533,28 +533,28 @@ const baseroutes: IListRoutes[] = [
|
||||
order: 1000,
|
||||
path: '/vreg',
|
||||
name: 'pages.vreg',
|
||||
component: () => import('@src/views/login/vreg/vreg.vue')
|
||||
component: () => import('@/views/login/vreg/vreg.vue')
|
||||
},
|
||||
{
|
||||
active: true,
|
||||
order: 1000,
|
||||
path: '/requestresetpwd',
|
||||
name: 'pages.requestresetpwd',
|
||||
component: () => import('@src/views/requestresetpwd/requestresetpwd.vue')
|
||||
component: () => import('@/views/requestresetpwd/requestresetpwd.vue')
|
||||
},
|
||||
{
|
||||
active: true,
|
||||
order: 1000,
|
||||
path: '/updatepassword',
|
||||
name: 'pages.updatepassword',
|
||||
component: () => import('@src/views/updatepassword/updatepassword.vue')
|
||||
component: () => import('@/views/updatepassword/updatepassword.vue')
|
||||
},
|
||||
{
|
||||
active: true,
|
||||
order: 1000,
|
||||
path: '/offline',
|
||||
name: 'Offline',
|
||||
component: () => import('@src/views/offline/offline.vue')
|
||||
component: () => import('@/views/offline/offline.vue')
|
||||
},
|
||||
{
|
||||
active: true,
|
||||
@@ -570,7 +570,7 @@ const baseroutes: IListRoutes[] = [
|
||||
path: '/calendario-eventi',
|
||||
materialIcon: 'event',
|
||||
name: 'pages.calendarioeventi',
|
||||
component: () => import('@src/root/calendarioeventi/calendarioeventi.vue'),
|
||||
component: () => import('@/root/calendarioeventi/calendarioeventi.vue'),
|
||||
extraclass: 'isCalendar',
|
||||
inmenu: true,
|
||||
infooter: true
|
||||
@@ -581,7 +581,7 @@ const baseroutes: IListRoutes[] = [
|
||||
path: '/admin/newsletter/:idparam',
|
||||
materialIcon: 'event',
|
||||
name: 'pages.newsletter.menu',
|
||||
component: () => import('@src/rootgen/admin/newsletter/newsletter.vue'),
|
||||
component: () => import('@/rootgen/admin/newsletter/newsletter.vue'),
|
||||
inmenu: false,
|
||||
infooter: false
|
||||
},
|
||||
@@ -591,7 +591,7 @@ const baseroutes: IListRoutes[] = [
|
||||
path: '/event/:typol/:eventid',
|
||||
materialIcon: 'event',
|
||||
name: 'pages.evento',
|
||||
component: () => import('@src/root/evento/evento.vue'),
|
||||
component: () => import('@/root/evento/evento.vue'),
|
||||
inmenu: false,
|
||||
infooter: false
|
||||
},
|
||||
@@ -601,7 +601,7 @@ const baseroutes: IListRoutes[] = [
|
||||
path: '/event/:typol',
|
||||
materialIcon: 'event',
|
||||
name: 'pages.eventodef',
|
||||
component: () => import('@src/root/evento/evento.vue'),
|
||||
component: () => import('@/root/evento/evento.vue'),
|
||||
inmenu: false,
|
||||
infooter: false
|
||||
},
|
||||
|
||||
@@ -38,7 +38,7 @@ const firstPage = {
|
||||
path: '/',
|
||||
materialIcon: 'home',
|
||||
name: 'pages.home',
|
||||
component: () => import('@src/root/mainview/mainview.vue'),
|
||||
component: () => import('@/root/mainview/mainview.vue'),
|
||||
reqauth: false,
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -53,7 +53,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/',
|
||||
materialIcon: 'home',
|
||||
name: 'pages.home',
|
||||
component: () => import('@src/root/mainview/mainview.vue'),
|
||||
component: () => import('@/root/mainview/mainview.vue'),
|
||||
reqauth: false,
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -64,7 +64,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/test',
|
||||
materialIcon: 'fas fa-test',
|
||||
name: 'mypages.test',
|
||||
component: () => import('@src/views/testServer/testServer.vue'),
|
||||
component: () => import('@/views/testServer/testServer.vue'),
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
},
|
||||
@@ -74,7 +74,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/goods',
|
||||
materialIcon: 'fas fa-tshirt',
|
||||
name: 'mypages.goods',
|
||||
component: () => import('@src/root/goods/goods.vue'),
|
||||
component: () => import('@/root/goods/goods.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -85,7 +85,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/services',
|
||||
materialIcon: 'fas fa-house-user',
|
||||
name: 'mypages.services',
|
||||
component: () => import('@src/root/services/services.vue'),
|
||||
component: () => import('@/root/services/services.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -96,7 +96,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/activities',
|
||||
materialIcon: 'fas fa-house-user',
|
||||
name: 'mypages.activities',
|
||||
component: () => import('@src/root/activities/activities.vue'),
|
||||
component: () => import('@/root/activities/activities.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -107,7 +107,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/provapao',
|
||||
materialIcon: 'fas fa-house-user',
|
||||
name: 'mypages.provapao',
|
||||
component: () => import('@src/root/provapao/provapao.vue'),
|
||||
component: () => import('@/root/provapao/provapao.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -118,7 +118,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/hosps',
|
||||
materialIcon: 'fas fa-bed',
|
||||
name: 'mypages.hosp',
|
||||
component: () => import('@src/root/hosp/hosp.vue'),
|
||||
component: () => import('@/root/hosp/hosp.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -129,7 +129,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/circuits',
|
||||
materialIcon: 'fas fa-coins',
|
||||
name: 'mypages.circuits',
|
||||
component: () => import('@src/views/user/mycircuits/mycircuits.vue'),
|
||||
component: () => import('@/views/user/mycircuits/mycircuits.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -140,7 +140,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/events',
|
||||
materialIcon: 'fas fa-bullhorn',
|
||||
name: 'mypages.events',
|
||||
component: () => import('@src/root/eventi/eventi.vue'),
|
||||
component: () => import('@/root/eventi/eventi.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -151,7 +151,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/install_site',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'pages.install_site',
|
||||
component: () => import('@src/views/admin/install_site/install_site.vue'),
|
||||
component: () => import('@/views/admin/install_site/install_site.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -162,7 +162,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/myprofile',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'pages.profile',
|
||||
component: () => import('@src/views/user/myprofile/myprofile.vue'),
|
||||
component: () => import('@/views/user/myprofile/myprofile.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -184,7 +184,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/friends',
|
||||
materialIcon: 'fas fa-user-friends',
|
||||
name: 'mypages.iscritti',
|
||||
component: () => import('@src/views/user/myfriends/myfriends.vue'),
|
||||
component: () => import('@/views/user/myfriends/myfriends.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -195,7 +195,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/groups',
|
||||
materialIcon: 'fas fa-users',
|
||||
name: 'mypages.groups',
|
||||
component: () => import('@src/views/user/mygroups/mygroups.vue'),
|
||||
component: () => import('@/views/user/mygroups/mygroups.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: false,
|
||||
@@ -206,7 +206,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/grp/:groupname',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'proj.group2',
|
||||
component: () => import('@src/views/user/mygroup/mygroup.vue'),
|
||||
component: () => import('@/views/user/mygroup/mygroup.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -217,7 +217,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/circuit/:path',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'proj.circuit2',
|
||||
component: () => import('@src/views/user/mycircuit/mycircuit.vue'),
|
||||
component: () => import('@/views/user/mycircuit/mycircuit.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -236,7 +236,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/mypage/:idBacheca',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'pages.mypage2',
|
||||
component: () => import('@src/views/user/mypagebacheca/mypagebacheca.vue'),
|
||||
component: () => import('@/views/user/mypagebacheca/mypagebacheca.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -247,7 +247,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/myservice/:idSkill',
|
||||
materialIcon: '',
|
||||
name: 'pages.myservice2',
|
||||
component: () => import('@src/views/user/myservice/myservice.vue'),
|
||||
component: () => import('@/views/user/myservice/myservice.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -258,7 +258,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/myhosps/:idHosp',
|
||||
materialIcon: '',
|
||||
name: 'pages.myhosps2',
|
||||
component: () => import('@src/views/user/mypagehosp/mypagehosp.vue'),
|
||||
component: () => import('@/views/user/mypagehosp/mypagehosp.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -269,7 +269,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/mygood/:idGood',
|
||||
materialIcon: '',
|
||||
name: 'pages.mygood2',
|
||||
component: () => import('@src/views/user/mypagegood/mypagegood.vue'),
|
||||
component: () => import('@/views/user/mypagegood/mypagegood.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -280,7 +280,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/sostieniilprogetto',
|
||||
materialIcon: 'fas fa-hand-holding-heart',
|
||||
name: 'pages.fundraising',
|
||||
component: () => import('@src/root/fundraising/fundraising.vue'),
|
||||
component: () => import('@/root/fundraising/fundraising.vue'),
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
},
|
||||
@@ -290,7 +290,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/calendario-eventi',
|
||||
materialIcon: 'event',
|
||||
name: 'ris.calendario_eventi_riso',
|
||||
component: () => import('@src/root/calendarioeventi/calendarioeventi.vue'),
|
||||
component: () => import('@/root/calendarioeventi/calendarioeventi.vue'),
|
||||
extraclass: 'isCalendar',
|
||||
inmenu: false,
|
||||
infooter: false
|
||||
|
||||
@@ -38,7 +38,7 @@ const firstPage = {
|
||||
path: '/',
|
||||
materialIcon: 'home',
|
||||
name: 'pages.home',
|
||||
component: () => import('@src/root/mainview/mainview.vue'),
|
||||
component: () => import('@/root/mainview/mainview.vue'),
|
||||
reqauth: false,
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -54,7 +54,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/',
|
||||
materialIcon: 'home',
|
||||
name: 'pages.home',
|
||||
component: () => import('@src/root/mainview/mainview.vue'),
|
||||
component: () => import('@/root/mainview/mainview.vue'),
|
||||
reqauth: false,
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -65,7 +65,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/test',
|
||||
materialIcon: 'fas fa-test',
|
||||
name: 'mypages.test',
|
||||
component: () => import('@src/views/testServer/testServer.vue'),
|
||||
component: () => import('@/views/testServer/testServer.vue'),
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
},
|
||||
@@ -75,7 +75,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/test-lungo',
|
||||
materialIcon: 'fas fa-test',
|
||||
name: 'mypages.test_lungo',
|
||||
component: () => import('@src/views/testLungo/testLungo.vue'),
|
||||
component: () => import('@/views/testLungo/testLungo.vue'),
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
},
|
||||
@@ -85,7 +85,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/provapao',
|
||||
materialIcon: 'fas fa-house-user',
|
||||
name: 'mypages.provapao',
|
||||
component: () => import('@src/root/provapao/provapao.vue'),
|
||||
component: () => import('@/root/provapao/provapao.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -96,7 +96,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/circuits',
|
||||
materialIcon: 'fas fa-coins',
|
||||
name: 'mypages.circuits',
|
||||
component: () => import('@src/views/user/mycircuits/mycircuits.vue'),
|
||||
component: () => import('@/views/user/mycircuits/mycircuits.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -107,7 +107,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/events',
|
||||
materialIcon: 'fas fa-bullhorn',
|
||||
name: 'mypages.events',
|
||||
component: () => import('@src/root/eventi/eventi.vue'),
|
||||
component: () => import('@/root/eventi/eventi.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -118,7 +118,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/install_site',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'pages.install_site',
|
||||
component: () => import('@src/views/admin/install_site/install_site.vue'),
|
||||
component: () => import('@/views/admin/install_site/install_site.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -129,7 +129,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/myprofile',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'pages.profile',
|
||||
component: () => import('@src/views/user/myprofile/myprofile.vue'),
|
||||
component: () => import('@/views/user/myprofile/myprofile.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -140,7 +140,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/friends',
|
||||
materialIcon: 'fas fa-user-friends',
|
||||
name: 'mypages.iscritti',
|
||||
component: () => import('@src/views/user/myfriends/myfriends.vue'),
|
||||
component: () => import('@/views/user/myfriends/myfriends.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -151,7 +151,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/groups',
|
||||
materialIcon: 'fas fa-users',
|
||||
name: 'mypages.groups',
|
||||
component: () => import('@src/views/user/mygroups/mygroups.vue'),
|
||||
component: () => import('@/views/user/mygroups/mygroups.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: false,
|
||||
@@ -162,7 +162,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/grp/:groupname',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'proj.group2',
|
||||
component: () => import('@src/views/user/mygroup/mygroup.vue'),
|
||||
component: () => import('@/views/user/mygroup/mygroup.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -173,7 +173,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/circuit/:path',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'proj.circuit2',
|
||||
component: () => import('@src/views/user/mycircuit/mycircuit.vue'),
|
||||
component: () => import('@/views/user/mycircuit/mycircuit.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -192,7 +192,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/mypage/:idBacheca',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'pages.mypage2',
|
||||
component: () => import('@src/views/user/mypagebacheca/mypagebacheca.vue'),
|
||||
component: () => import('@/views/user/mypagebacheca/mypagebacheca.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -203,7 +203,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/myservice/:idSkill',
|
||||
materialIcon: '',
|
||||
name: 'pages.myservice2',
|
||||
component: () => import('@src/views/user/myservice/myservice.vue'),
|
||||
component: () => import('@/views/user/myservice/myservice.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -214,7 +214,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/myhosps/:idHosp',
|
||||
materialIcon: '',
|
||||
name: 'pages.myhosps2',
|
||||
component: () => import('@src/views/user/mypagehosp/mypagehosp.vue'),
|
||||
component: () => import('@/views/user/mypagehosp/mypagehosp.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -225,7 +225,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/mygood/:idGood',
|
||||
materialIcon: '',
|
||||
name: 'pages.mygood2',
|
||||
component: () => import('@src/views/user/mypagegood/mypagegood.vue'),
|
||||
component: () => import('@/views/user/mypagegood/mypagegood.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -236,7 +236,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/calendario-eventi',
|
||||
materialIcon: 'event',
|
||||
name: 'ris.calendario_eventi_riso',
|
||||
component: () => import('@src/root/calendarioeventi/calendarioeventi.vue'),
|
||||
component: () => import('@/root/calendarioeventi/calendarioeventi.vue'),
|
||||
extraclass: 'isCalendar',
|
||||
inmenu: false,
|
||||
infooter: false
|
||||
|
||||
@@ -14,7 +14,7 @@ const firstPage = {
|
||||
path: '/',
|
||||
materialIcon: 'home',
|
||||
name: 'pages.home',
|
||||
component: () => import('@src/root/mainview/mainview.vue'),
|
||||
component: () => import('@/root/mainview/mainview.vue'),
|
||||
reqauth: false,
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -29,7 +29,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/',
|
||||
materialIcon: 'home',
|
||||
name: 'pages.home',
|
||||
component: () => import('@src/root/mainview/mainview.vue'),
|
||||
component: () => import('@/root/mainview/mainview.vue'),
|
||||
reqauth: false,
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -40,7 +40,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/test',
|
||||
materialIcon: 'fas fa-test',
|
||||
name: 'mypages.test',
|
||||
component: () => import('@src/views/testServer/testServer.vue'),
|
||||
component: () => import('@/views/testServer/testServer.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -52,7 +52,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/events',
|
||||
materialIcon: 'fas fa-bullhorn',
|
||||
name: 'mypages.events',
|
||||
component: () => import('@src/root/eventi/eventi.vue'),
|
||||
component: () => import('@/root/eventi/eventi.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -63,7 +63,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/myprofile',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'pages.profile',
|
||||
component: () => import('@src/views/user/myprofile/myprofile.vue'),
|
||||
component: () => import('@/views/user/myprofile/myprofile.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -74,7 +74,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/install_site',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'pages.install_site',
|
||||
component: () => import('@src/views/admin/install_site/install_site.vue'),
|
||||
component: () => import('@/views/admin/install_site/install_site.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -85,7 +85,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/editprofile',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'pages.profile3',
|
||||
component: () => import('@src/views/user/editprofile/editprofile.vue'),
|
||||
component: () => import('@/views/user/editprofile/editprofile.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -96,7 +96,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/friends',
|
||||
materialIcon: 'fas fa-user-friends',
|
||||
name: 'mypages.iscritti',
|
||||
component: () => import('@src/views/user/myfriends/myfriends.vue'),
|
||||
component: () => import('@/views/user/myfriends/myfriends.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -107,7 +107,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/circuits',
|
||||
materialIcon: 'fas fa-coins',
|
||||
name: 'mypages.circuits',
|
||||
component: () => import('@src/views/user/mycircuits/mycircuits.vue'),
|
||||
component: () => import('@/views/user/mycircuits/mycircuits.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -120,7 +120,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/groups',
|
||||
materialIcon: 'fas fa-users',
|
||||
name: 'mypages.groups',
|
||||
component: () => import('@src/views/user/mygroups/mygroups.vue'),
|
||||
component: () => import('@/views/user/mygroups/mygroups.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: false,
|
||||
@@ -133,7 +133,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/grp/:groupname',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'proj.group2',
|
||||
component: () => import('@src/views/user/mygroup/mygroup.vue'),
|
||||
component: () => import('@/views/user/mygroup/mygroup.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -144,7 +144,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/circuit/:path',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'proj.circuit2',
|
||||
component: () => import('@src/views/user/mycircuit/mycircuit.vue'),
|
||||
component: () => import('@/views/user/mycircuit/mycircuit.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -163,7 +163,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/mypage/:idBacheca',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'pages.mypage2',
|
||||
component: () => import('@src/views/user/mypagebacheca/mypagebacheca.vue'),
|
||||
component: () => import('@/views/user/mypagebacheca/mypagebacheca.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -174,7 +174,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/myservice/:idSkill',
|
||||
materialIcon: '',
|
||||
name: 'pages.myservice2',
|
||||
component: () => import('@src/views/user/myservice/myservice.vue'),
|
||||
component: () => import('@/views/user/myservice/myservice.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -185,7 +185,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/myhosps/:idHosp',
|
||||
materialIcon: '',
|
||||
name: 'pages.myhosps2',
|
||||
component: () => import('@src/views/user/mypagehosp/mypagehosp.vue'),
|
||||
component: () => import('@/views/user/mypagehosp/mypagehosp.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -196,7 +196,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/mygood/:idGood',
|
||||
materialIcon: '',
|
||||
name: 'pages.mygood2',
|
||||
component: () => import('@src/views/user/mypagegood/mypagegood.vue'),
|
||||
component: () => import('@/views/user/mypagegood/mypagegood.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -207,7 +207,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/fundraising',
|
||||
materialIcon: 'fas fa-hand-holding-heart',
|
||||
name: 'pages.fundraising',
|
||||
component: () => import('@src/root/fundraising/fundraising.vue'),
|
||||
component: () => import('@/root/fundraising/fundraising.vue'),
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
},
|
||||
@@ -217,7 +217,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/calendario-eventi',
|
||||
materialIcon: 'event',
|
||||
name: 'ris.calendario_eventi_riso',
|
||||
component: () => import('@src/root/calendarioeventi/calendarioeventi.vue'),
|
||||
component: () => import('@/root/calendarioeventi/calendarioeventi.vue'),
|
||||
extraclass: 'isCalendar',
|
||||
inmenu: false,
|
||||
infooter: false
|
||||
|
||||
@@ -38,7 +38,7 @@ const firstPage = {
|
||||
path: '/',
|
||||
materialIcon: 'home',
|
||||
name: 'pages.home',
|
||||
component: () => import('@src/root/nutriben/home/home.vue'),
|
||||
component: () => import('@/root/nutriben/home/home.vue'),
|
||||
reqauth: false,
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -54,7 +54,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/',
|
||||
materialIcon: 'home',
|
||||
name: 'pages.home',
|
||||
component: () => import('@src/root/mainview/mainview.vue'),
|
||||
component: () => import('@/root/mainview/mainview.vue'),
|
||||
reqauth: false,
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -65,7 +65,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/test',
|
||||
materialIcon: 'fas fa-test',
|
||||
name: 'mypages.test',
|
||||
component: () => import('@src/views/testServer/testServer.vue'),
|
||||
component: () => import('@/views/testServer/testServer.vue'),
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
},
|
||||
@@ -75,7 +75,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/provapao',
|
||||
materialIcon: 'fas fa-house-user',
|
||||
name: 'mypages.provapao',
|
||||
component: () => import('@src/root/provapao/provapao.vue'),
|
||||
component: () => import('@/root/provapao/provapao.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -86,7 +86,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/circuits',
|
||||
materialIcon: 'fas fa-coins',
|
||||
name: 'mypages.circuits',
|
||||
component: () => import('@src/views/user/mycircuits/mycircuits.vue'),
|
||||
component: () => import('@/views/user/mycircuits/mycircuits.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -97,7 +97,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/events',
|
||||
materialIcon: 'fas fa-bullhorn',
|
||||
name: 'mypages.events',
|
||||
component: () => import('@src/root/eventi/eventi.vue'),
|
||||
component: () => import('@/root/eventi/eventi.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -108,7 +108,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/install_site',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'pages.install_site',
|
||||
component: () => import('@src/views/admin/install_site/install_site.vue'),
|
||||
component: () => import('@/views/admin/install_site/install_site.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -119,7 +119,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/myprofile',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'pages.profile',
|
||||
component: () => import('@src/views/user/myprofile/myprofile.vue'),
|
||||
component: () => import('@/views/user/myprofile/myprofile.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -130,7 +130,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/editprofile',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'pages.profile3',
|
||||
component: () => import('@src/views/user/editprofile/editprofile.vue'),
|
||||
component: () => import('@/views/user/editprofile/editprofile.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -141,7 +141,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/friends',
|
||||
materialIcon: 'fas fa-user-friends',
|
||||
name: 'mypages.iscritti',
|
||||
component: () => import('@src/views/user/myfriends/myfriends.vue'),
|
||||
component: () => import('@/views/user/myfriends/myfriends.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -152,7 +152,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/groups',
|
||||
materialIcon: 'fas fa-users',
|
||||
name: 'mypages.groups',
|
||||
component: () => import('@src/views/user/mygroups/mygroups.vue'),
|
||||
component: () => import('@/views/user/mygroups/mygroups.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: false,
|
||||
@@ -163,7 +163,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/grp/:groupname',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'proj.group2',
|
||||
component: () => import('@src/views/user/mygroup/mygroup.vue'),
|
||||
component: () => import('@/views/user/mygroup/mygroup.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -174,7 +174,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/circuit/:path',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'proj.circuit2',
|
||||
component: () => import('@src/views/user/mycircuit/mycircuit.vue'),
|
||||
component: () => import('@/views/user/mycircuit/mycircuit.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -193,7 +193,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/mypage/:idBacheca',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'pages.mypage2',
|
||||
component: () => import('@src/views/user/mypagebacheca/mypagebacheca.vue'),
|
||||
component: () => import('@/views/user/mypagebacheca/mypagebacheca.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -204,7 +204,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/myservice/:idSkill',
|
||||
materialIcon: '',
|
||||
name: 'pages.myservice2',
|
||||
component: () => import('@src/views/user/myservice/myservice.vue'),
|
||||
component: () => import('@/views/user/myservice/myservice.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -215,7 +215,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/myhosps/:idHosp',
|
||||
materialIcon: '',
|
||||
name: 'pages.myhosps2',
|
||||
component: () => import('@src/views/user/mypagehosp/mypagehosp.vue'),
|
||||
component: () => import('@/views/user/mypagehosp/mypagehosp.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -226,7 +226,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/mygood/:idGood',
|
||||
materialIcon: '',
|
||||
name: 'pages.mygood2',
|
||||
component: () => import('@src/views/user/mypagegood/mypagegood.vue'),
|
||||
component: () => import('@/views/user/mypagegood/mypagegood.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -237,7 +237,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/calendario-eventi',
|
||||
materialIcon: 'event',
|
||||
name: 'ris.calendario_eventi_riso',
|
||||
component: () => import('@src/root/calendarioeventi/calendarioeventi.vue'),
|
||||
component: () => import('@/root/calendarioeventi/calendarioeventi.vue'),
|
||||
extraclass: 'isCalendar',
|
||||
inmenu: false,
|
||||
infooter: false
|
||||
|
||||
@@ -14,7 +14,7 @@ const firstPage = {
|
||||
path: '/',
|
||||
materialIcon: 'home',
|
||||
name: 'pages.home',
|
||||
component: () => import('@src/root/mainview/mainview.vue'),
|
||||
component: () => import('@/root/mainview/mainview.vue'),
|
||||
reqauth: false,
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -29,7 +29,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/',
|
||||
materialIcon: 'home',
|
||||
name: 'pages.home',
|
||||
component: () => import('@src/root/mainview/mainview.vue'),
|
||||
component: () => import('@/root/mainview/mainview.vue'),
|
||||
reqauth: false,
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -40,7 +40,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/test',
|
||||
materialIcon: 'fas fa-test',
|
||||
name: 'mypages.test',
|
||||
component: () => import('@src/views/testServer/testServer.vue'),
|
||||
component: () => import('@/views/testServer/testServer.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -52,7 +52,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/events',
|
||||
materialIcon: 'fas fa-bullhorn',
|
||||
name: 'mypages.events',
|
||||
component: () => import('@src/root/eventi/eventi.vue'),
|
||||
component: () => import('@/root/eventi/eventi.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -63,7 +63,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/myprofile',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'pages.profile',
|
||||
component: () => import('@src/views/user/myprofile/myprofile.vue'),
|
||||
component: () => import('@/views/user/myprofile/myprofile.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -74,7 +74,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/install_site',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'pages.install_site',
|
||||
component: () => import('@src/views/admin/install_site/install_site.vue'),
|
||||
component: () => import('@/views/admin/install_site/install_site.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -85,7 +85,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/editprofile',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'pages.profile3',
|
||||
component: () => import('@src/views/user/editprofile/editprofile.vue'),
|
||||
component: () => import('@/views/user/editprofile/editprofile.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -96,7 +96,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/friends',
|
||||
materialIcon: 'fas fa-user-friends',
|
||||
name: 'mypages.iscritti',
|
||||
component: () => import('@src/views/user/myfriends/myfriends.vue'),
|
||||
component: () => import('@/views/user/myfriends/myfriends.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -107,7 +107,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/circuits',
|
||||
materialIcon: 'fas fa-coins',
|
||||
name: 'mypages.circuits',
|
||||
component: () => import('@src/views/user/mycircuits/mycircuits.vue'),
|
||||
component: () => import('@/views/user/mycircuits/mycircuits.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -120,7 +120,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/groups',
|
||||
materialIcon: 'fas fa-users',
|
||||
name: 'mypages.groups',
|
||||
component: () => import('@src/views/user/mygroups/mygroups.vue'),
|
||||
component: () => import('@/views/user/mygroups/mygroups.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: false,
|
||||
@@ -133,7 +133,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/grp/:groupname',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'proj.group2',
|
||||
component: () => import('@src/views/user/mygroup/mygroup.vue'),
|
||||
component: () => import('@/views/user/mygroup/mygroup.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -144,7 +144,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/circuit/:path',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'proj.circuit2',
|
||||
component: () => import('@src/views/user/mycircuit/mycircuit.vue'),
|
||||
component: () => import('@/views/user/mycircuit/mycircuit.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -163,7 +163,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/mypage/:idBacheca',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'pages.mypage2',
|
||||
component: () => import('@src/views/user/mypagebacheca/mypagebacheca.vue'),
|
||||
component: () => import('@/views/user/mypagebacheca/mypagebacheca.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -174,7 +174,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/myservice/:idSkill',
|
||||
materialIcon: '',
|
||||
name: 'pages.myservice2',
|
||||
component: () => import('@src/views/user/myservice/myservice.vue'),
|
||||
component: () => import('@/views/user/myservice/myservice.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -185,7 +185,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/myhosps/:idHosp',
|
||||
materialIcon: '',
|
||||
name: 'pages.myhosps2',
|
||||
component: () => import('@src/views/user/mypagehosp/mypagehosp.vue'),
|
||||
component: () => import('@/views/user/mypagehosp/mypagehosp.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -196,7 +196,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/mygood/:idGood',
|
||||
materialIcon: '',
|
||||
name: 'pages.mygood2',
|
||||
component: () => import('@src/views/user/mypagegood/mypagegood.vue'),
|
||||
component: () => import('@/views/user/mypagegood/mypagegood.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -207,7 +207,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/fundraising',
|
||||
materialIcon: 'fas fa-hand-holding-heart',
|
||||
name: 'pages.fundraising',
|
||||
component: () => import('@src/root/fundraising/fundraising.vue'),
|
||||
component: () => import('@/root/fundraising/fundraising.vue'),
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
},
|
||||
@@ -217,7 +217,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/calendario-eventi',
|
||||
materialIcon: 'event',
|
||||
name: 'ris.calendario_eventi_riso',
|
||||
component: () => import('@src/root/calendarioeventi/calendarioeventi.vue'),
|
||||
component: () => import('@/root/calendarioeventi/calendarioeventi.vue'),
|
||||
extraclass: 'isCalendar',
|
||||
inmenu: false,
|
||||
infooter: false
|
||||
|
||||
@@ -38,7 +38,7 @@ const firstPage = {
|
||||
path: '/',
|
||||
materialIcon: 'home',
|
||||
name: 'pages.home',
|
||||
component: () => import('@src/root/mainview/mainview.vue'),
|
||||
component: () => import('@/root/mainview/mainview.vue'),
|
||||
reqauth: false,
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -53,7 +53,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/',
|
||||
materialIcon: 'home',
|
||||
name: 'pages.home',
|
||||
component: () => import('@src/root/mainview/mainview.vue'),
|
||||
component: () => import('@/root/mainview/mainview.vue'),
|
||||
reqauth: false,
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -64,7 +64,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/test',
|
||||
materialIcon: 'fas fa-test',
|
||||
name: 'mypages.test',
|
||||
component: () => import('@src/views/testServer/testServer.vue'),
|
||||
component: () => import('@/views/testServer/testServer.vue'),
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
},
|
||||
@@ -74,7 +74,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/goods',
|
||||
materialIcon: 'fas fa-tshirt',
|
||||
name: 'mypages.goods',
|
||||
component: () => import('@src/root/goods/goods.vue'),
|
||||
component: () => import('@/root/goods/goods.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -85,7 +85,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/services',
|
||||
materialIcon: 'fas fa-house-user',
|
||||
name: 'mypages.services',
|
||||
component: () => import('@src/root/services/services.vue'),
|
||||
component: () => import('@/root/services/services.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -96,7 +96,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/activities',
|
||||
materialIcon: 'fas fa-house-user',
|
||||
name: 'mypages.activities',
|
||||
component: () => import('@src/root/activities/activities.vue'),
|
||||
component: () => import('@/root/activities/activities.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -107,7 +107,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/provapao',
|
||||
materialIcon: 'fas fa-house-user',
|
||||
name: 'mypages.provapao',
|
||||
component: () => import('@src/root/provapao/provapao.vue'),
|
||||
component: () => import('@/root/provapao/provapao.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -118,7 +118,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/hosps',
|
||||
materialIcon: 'fas fa-bed',
|
||||
name: 'mypages.hosp',
|
||||
component: () => import('@src/root/hosp/hosp.vue'),
|
||||
component: () => import('@/root/hosp/hosp.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -129,7 +129,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/circuits',
|
||||
materialIcon: 'fas fa-coins',
|
||||
name: 'mypages.circuits',
|
||||
component: () => import('@src/views/user/mycircuits/mycircuits.vue'),
|
||||
component: () => import('@/views/user/mycircuits/mycircuits.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -140,7 +140,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/events',
|
||||
materialIcon: 'fas fa-bullhorn',
|
||||
name: 'mypages.events',
|
||||
component: () => import('@src/root/eventi/eventi.vue'),
|
||||
component: () => import('@/root/eventi/eventi.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -151,7 +151,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/install_site',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'pages.install_site',
|
||||
component: () => import('@src/views/admin/install_site/install_site.vue'),
|
||||
component: () => import('@/views/admin/install_site/install_site.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -162,7 +162,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/myprofile',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'pages.profile',
|
||||
component: () => import('@src/views/user/myprofile/myprofile.vue'),
|
||||
component: () => import('@/views/user/myprofile/myprofile.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -184,7 +184,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/friends',
|
||||
materialIcon: 'fas fa-user-friends',
|
||||
name: 'mypages.iscritti',
|
||||
component: () => import('@src/views/user/myfriends/myfriends.vue'),
|
||||
component: () => import('@/views/user/myfriends/myfriends.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
@@ -195,7 +195,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/groups',
|
||||
materialIcon: 'fas fa-users',
|
||||
name: 'mypages.groups',
|
||||
component: () => import('@src/views/user/mygroups/mygroups.vue'),
|
||||
component: () => import('@/views/user/mygroups/mygroups.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: false,
|
||||
@@ -206,7 +206,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/grp/:groupname',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'proj.group2',
|
||||
component: () => import('@src/views/user/mygroup/mygroup.vue'),
|
||||
component: () => import('@/views/user/mygroup/mygroup.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -217,7 +217,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/circuit/:path',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'proj.circuit2',
|
||||
component: () => import('@src/views/user/mycircuit/mycircuit.vue'),
|
||||
component: () => import('@/views/user/mycircuit/mycircuit.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -236,7 +236,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/mypage/:idBacheca',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'pages.mypage2',
|
||||
component: () => import('@src/views/user/mypagebacheca/mypagebacheca.vue'),
|
||||
component: () => import('@/views/user/mypagebacheca/mypagebacheca.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -247,7 +247,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/myservice/:idSkill',
|
||||
materialIcon: '',
|
||||
name: 'pages.myservice2',
|
||||
component: () => import('@src/views/user/myservice/myservice.vue'),
|
||||
component: () => import('@/views/user/myservice/myservice.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -258,7 +258,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/myhosps/:idHosp',
|
||||
materialIcon: '',
|
||||
name: 'pages.myhosps2',
|
||||
component: () => import('@src/views/user/mypagehosp/mypagehosp.vue'),
|
||||
component: () => import('@/views/user/mypagehosp/mypagehosp.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -269,7 +269,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/mygood/:idGood',
|
||||
materialIcon: '',
|
||||
name: 'pages.mygood2',
|
||||
component: () => import('@src/views/user/mypagegood/mypagegood.vue'),
|
||||
component: () => import('@/views/user/mypagegood/mypagegood.vue'),
|
||||
meta: { requiresAuth: true, newpage: true },
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
@@ -280,7 +280,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/sostieniilprogetto',
|
||||
materialIcon: 'fas fa-hand-holding-heart',
|
||||
name: 'pages.fundraising',
|
||||
component: () => import('@src/root/fundraising/fundraising.vue'),
|
||||
component: () => import('@/root/fundraising/fundraising.vue'),
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
},
|
||||
@@ -290,7 +290,7 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
||||
path: '/calendario-eventi',
|
||||
materialIcon: 'event',
|
||||
name: 'ris.calendario_eventi_riso',
|
||||
component: () => import('@src/root/calendarioeventi/calendarioeventi.vue'),
|
||||
component: () => import('@/root/calendarioeventi/calendarioeventi.vue'),
|
||||
extraclass: 'isCalendar',
|
||||
inmenu: false,
|
||||
infooter: false
|
||||
|
||||
12
src/App.ts
12
src/App.ts
@@ -1,15 +1,15 @@
|
||||
import { useRoute, useRouter } from 'vue-router';
|
||||
import { useQuasar } from 'quasar';
|
||||
import { BannerCookies } from '@src/components/BannerCookies';
|
||||
import { BannerCookies } from '@/components/BannerCookies';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { useGlobalStore } from '@store/globalStore';
|
||||
import { useUserStore } from '@store/UserStore';
|
||||
import { MyHeader } from '@src/components/MyHeader';
|
||||
import { MyFooter } from '@src/components/MyFooter';
|
||||
import { CCheckUpdatesPWA } from '@src/components/CCheckUpdatesPWA';
|
||||
import { CFirstPageApp } from '@src/components/CFirstPageApp';
|
||||
import { MyHeader } from '@/components/MyHeader';
|
||||
import { MyFooter } from '@/components/MyFooter';
|
||||
import { CCheckUpdatesPWA } from '@/components/CCheckUpdatesPWA';
|
||||
import { CFirstPageApp } from '@/components/CFirstPageApp';
|
||||
import { computed, onMounted, ref, watch } from 'vue';
|
||||
import { CProvaPao } from '@src/components/CProvaPao';
|
||||
import { CProvaPao } from '@/components/CProvaPao';
|
||||
import { tools } from '@tools';
|
||||
import { toolsext } from '@store/Modules/toolsext';
|
||||
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
// import something here
|
||||
|
||||
// import { isEqual } from 'lodash'
|
||||
// import { ProgressBar } from '@src/store/Modules/Interface'
|
||||
// import { ProgressBar } from '@/store/Modules/Interface'
|
||||
// import { UserStore } from "@store"
|
||||
|
||||
// @ts-ignore
|
||||
import { boot } from 'quasar/wrappers'
|
||||
|
||||
import { useGlobalStore } from '@src/store/globalStore';
|
||||
import { useUserStore } from '@src/store/UserStore';
|
||||
import { tools } from '@src/store/Modules/tools';
|
||||
import { useGlobalStore } from '@/store/globalStore';
|
||||
import { useUserStore } from '@/store/UserStore';
|
||||
import { tools } from '@/store/Modules/tools';
|
||||
|
||||
export default boot(({ app, router }) => {
|
||||
// ******************************************
|
||||
@@ -35,7 +35,7 @@ export default boot(({ app, router }) => {
|
||||
globalStore.editOn = tools.getCookie('edn_' + pageKey, '0') === '1'
|
||||
}
|
||||
} catch(e) {
|
||||
|
||||
|
||||
}
|
||||
|
||||
next()
|
||||
@@ -53,10 +53,10 @@ export default boot(({ app, router }) => {
|
||||
//} else {
|
||||
// next()
|
||||
//}
|
||||
|
||||
|
||||
|
||||
// Continue with the navigation
|
||||
|
||||
|
||||
});
|
||||
|
||||
/* router.beforeEach((to, from, next) => {
|
||||
|
||||
@@ -5,7 +5,7 @@ import axios, {
|
||||
} from 'axios'
|
||||
|
||||
// import { default as VueRouter } from 'vue-router'
|
||||
import { serv_constants } from '@src/store/Modules/serv_constants'
|
||||
import { serv_constants } from '@/store/Modules/serv_constants'
|
||||
// import { TokenHelper } from "./token-helper";
|
||||
|
||||
let initialized = false
|
||||
|
||||
@@ -5,7 +5,7 @@ import axios, {
|
||||
} from 'axios'
|
||||
|
||||
// import { default as VueRouter } from 'vue-router'
|
||||
import { serv_constants } from '@src/store/Modules/serv_constants'
|
||||
import { serv_constants } from '@/store/Modules/serv_constants'
|
||||
// import { TokenHelper } from "./token-helper";
|
||||
|
||||
let initialized = false
|
||||
|
||||
@@ -190,7 +190,9 @@ export const shared_consts = {
|
||||
PAGE_SECTION: 1500,
|
||||
PROFILE_COMPLETITION: 1510,
|
||||
RISOHOME: 1600,
|
||||
RISOHOME_MODERN: 1610
|
||||
RISOHOME_MODERN: 1610,
|
||||
PAGERIS: 1620,
|
||||
CMYCIRCUITS: 1630,
|
||||
},
|
||||
|
||||
QUERYTYPE_MYGROUP: 1,
|
||||
@@ -1837,8 +1839,8 @@ export const shared_consts = {
|
||||
icon: 'fas fa-list',
|
||||
},
|
||||
{
|
||||
value: 150,
|
||||
label: 'SendCoinTo',
|
||||
value: 150, // CSENDRISTO
|
||||
label: 'Bott (Invia/Ricevi RIS)',
|
||||
icon: 'fas fa-wallet',
|
||||
},
|
||||
{
|
||||
@@ -1949,6 +1951,16 @@ export const shared_consts = {
|
||||
label: 'RISO Home Modern',
|
||||
icon: 'fas fa-home',
|
||||
},
|
||||
{
|
||||
value: 1620, // PAGERIS
|
||||
label: 'Pagina RIS',
|
||||
icon: 'fas fa-home',
|
||||
},
|
||||
{
|
||||
value: 1630, // CMYCIRCUITS
|
||||
label: 'CMyCircuits (Old Page)',
|
||||
icon: 'fas fa-home',
|
||||
},
|
||||
{
|
||||
value: 258,
|
||||
label: 'Registration',
|
||||
|
||||
@@ -3,7 +3,7 @@ import { useI18n } from 'vue-i18n'
|
||||
|
||||
import { tools } from '../../store/Modules/tools'
|
||||
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
|
||||
import { useUserStore } from '@store/UserStore'
|
||||
import { useGlobalStore } from '@store/globalStore'
|
||||
|
||||
@@ -5,9 +5,9 @@ import { useUserStore } from '@store/UserStore'
|
||||
import { useQuasar } from 'quasar'
|
||||
import type { IAccomodation} from 'model';
|
||||
import { IGallery, IImgGallery } from 'model'
|
||||
import { CMyPage } from '@src/components/CMyPage'
|
||||
import { CMyPage } from '@/components/CMyPage'
|
||||
import { tools } from '@tools'
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
import { useGlobalStore } from '@store/globalStore'
|
||||
import { costanti } from '@costanti'
|
||||
import { CMySelect } from '../CMySelect'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { defineComponent, onMounted, ref, toRef, watch, toRefs } from 'vue'
|
||||
import { tools } from '@src/store/Modules/tools'
|
||||
import { tools } from '@/store/Modules/tools'
|
||||
|
||||
import { useQuasar } from 'quasar'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
|
||||
@@ -5,7 +5,7 @@ import { tools } from '../../store/Modules/tools'
|
||||
|
||||
import { fieldsTable } from '@store/Modules/fieldsTable'
|
||||
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
|
||||
import type {
|
||||
ISearchList
|
||||
@@ -35,11 +35,11 @@ import { useUserStore } from '@store/UserStore'
|
||||
import { useGlobalStore } from '@store/globalStore'
|
||||
import { useQuasar, exportFile } from 'quasar'
|
||||
import { costanti } from '@costanti'
|
||||
import translate from '@src/globalroutines/util'
|
||||
import translate from '@/globalroutines/util'
|
||||
import { toolsext } from '@store/Modules/toolsext'
|
||||
import { CMyCardPopup } from '@src/components/CMyCardPopup'
|
||||
import { CMyCardGrpPopup } from '@src/components/CMyCardGrpPopup'
|
||||
import { CMyCardCircuitPopup } from '@src/components/CMyCardCircuitPopup'
|
||||
import { CMyCardPopup } from '@/components/CMyCardPopup'
|
||||
import { CMyCardGrpPopup } from '@/components/CMyCardGrpPopup'
|
||||
import { CMyCardCircuitPopup } from '@/components/CMyCardCircuitPopup'
|
||||
import { useRouter } from 'vue-router'
|
||||
import { table } from 'console'
|
||||
import { globals } from 'jest.config'
|
||||
|
||||
@@ -6,9 +6,9 @@ import { IOperators, ISize } from 'model'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useQuasar } from 'quasar'
|
||||
|
||||
import { CMySlider } from '@src/components/CMySlider'
|
||||
import { CMySlider } from '@/components/CMySlider'
|
||||
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'CBorders',
|
||||
|
||||
@@ -2,9 +2,9 @@ import { ref, computed, defineComponent, onMounted } from 'vue';
|
||||
import { useQuasar } from 'quasar';
|
||||
|
||||
import { tools } from '@tools';
|
||||
import { IMyCard, IMyPage, IOperators } from '@src/model';
|
||||
import { IMyCard, IMyPage, IOperators } from '@/model';
|
||||
|
||||
import objectId from '@src/js/objectId';
|
||||
import objectId from '@/js/objectId';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'ElementComponent',
|
||||
|
||||
@@ -6,7 +6,7 @@ import type { IDiscipline, IEvents } from 'model'
|
||||
|
||||
import { useCalendarStore } from '@store/CalendarStore'
|
||||
|
||||
import { CMyTeacher } from '@src/components/CMyTeacher'
|
||||
import { CMyTeacher } from '@/components/CMyTeacher'
|
||||
|
||||
// @ts-ignore
|
||||
import MixinOperator from '../../mixins/mixin-operator'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { CCard } from '@src/components/CCard'
|
||||
import { CCard } from '@/components/CCard'
|
||||
import MixinOperator from '../../mixins/mixin-operator'
|
||||
import { defineComponent, ref } from 'vue'
|
||||
|
||||
|
||||
@@ -8,14 +8,14 @@ import { useI18n } from 'vue-i18n';
|
||||
import { toolsext } from '@store/Modules/toolsext';
|
||||
import { useQuasar } from 'quasar';
|
||||
import { costanti } from '@costanti';
|
||||
import type { ICart, IOrder, IOrderCart, IProduct } from '@src/model/Products';
|
||||
import { IShareWithUs } from '@src/model/Products';
|
||||
import type { ICart, IOrder, IOrderCart, IProduct } from '@/model/Products';
|
||||
import { IShareWithUs } from '@/model/Products';
|
||||
|
||||
import { shared_consts } from '@src/common/shared_vuejs';
|
||||
import { shared_consts } from '@/common/shared_vuejs';
|
||||
|
||||
import { CSingleCart } from '../CSingleCart';
|
||||
import { CTitleBanner } from '@src/components/CTitleBanner';
|
||||
import { CSelectUserActive } from '@src/components/CSelectUserActive';
|
||||
import { CTitleBanner } from '@/components/CTitleBanner';
|
||||
import { CSelectUserActive } from '@/components/CSelectUserActive';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'CCart',
|
||||
|
||||
@@ -12,13 +12,13 @@ import {
|
||||
} from 'vue';
|
||||
|
||||
import { tools } from '@tools';
|
||||
import { CMyFieldDb } from '@src/components/CMyFieldDb';
|
||||
import { CMyFieldDb } from '@/components/CMyFieldDb';
|
||||
import { costanti } from '@costanti';
|
||||
import { useGlobalStore } from '@store/globalStore';
|
||||
import { useUserStore } from '@store/UserStore';
|
||||
|
||||
import { CTitlePage } from '@src/components/CTitlePage';
|
||||
import { CGridTableRec } from '@src/components/CGridTableRec';
|
||||
import { CTitlePage } from '@/components/CTitlePage';
|
||||
import { CGridTableRec } from '@/components/CGridTableRec';
|
||||
import type { ICatalog, IColGridTable, INewCatalog, ISearchList } from 'model';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { toolsext } from '@store/Modules/toolsext';
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import type { PropType} from 'vue';
|
||||
import { defineComponent, ref, watch } from 'vue'
|
||||
|
||||
import { Catalogo } from '@src/views/ecommerce/catalogo'
|
||||
import type { IOptCatalogo } from '@src/model'
|
||||
import { Catalogo } from '@/views/ecommerce/catalogo'
|
||||
import type { IOptCatalogo } from '@/model'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'CCatalogo',
|
||||
|
||||
@@ -21,9 +21,9 @@ import { CViewTable } from '../CViewTable';
|
||||
import { CMyValueDb } from '../CMyValueDb';
|
||||
import { CPrice } from '../CPrice';
|
||||
import { CText } from '../CText';
|
||||
import { CLabel } from '@src/components/CLabel';
|
||||
import { CSchedaProdotto } from '@src/components/CSchedaProdotto';
|
||||
import { CModifTrafiletto } from '@src/components/CModifTrafiletto';
|
||||
import { CLabel } from '@/components/CLabel';
|
||||
import { CSchedaProdotto } from '@/components/CSchedaProdotto';
|
||||
import { CModifTrafiletto } from '@/components/CModifTrafiletto';
|
||||
|
||||
import { CBarCode } from '../CBarCode';
|
||||
import { CTableCupleLabelValue } from '../CTableCupleLabelValue';
|
||||
@@ -40,12 +40,12 @@ import type {
|
||||
IVariazione,
|
||||
IRecFields,
|
||||
ICatalog,
|
||||
} from '@src/model';
|
||||
import { IBaseOrder } from '@src/model';
|
||||
} from '@/model';
|
||||
import { IBaseOrder } from '@/model';
|
||||
import { tools } from '@tools';
|
||||
import { useProducts } from '@store/Products';
|
||||
|
||||
import { shared_consts } from '@src/common/shared_vuejs';
|
||||
import { shared_consts } from '@/common/shared_vuejs';
|
||||
import { useRouter } from 'vue-router';
|
||||
|
||||
import { costanti } from '@costanti';
|
||||
|
||||
@@ -5,8 +5,8 @@ import { useGlobalStore } from '@store/globalStore'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { tools } from '@tools'
|
||||
import { costanti } from '@store/Modules/costanti'
|
||||
import { static_data } from '@src/db/static_data'
|
||||
import { CRegistration } from '@src/components/CRegistration'
|
||||
import { static_data } from '@/db/static_data'
|
||||
import { CRegistration } from '@/components/CRegistration'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'CCheckIfIsLogged',
|
||||
|
||||
@@ -6,9 +6,9 @@ import { useGlobalStore } from '@store/globalStore'
|
||||
import type { PropType} from 'vue';
|
||||
import { defineComponent, computed, ref } from 'vue'
|
||||
import type { IUserFields } from 'model'
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import { CLabel } from '@src/components/CLabel'
|
||||
import { CSendCoins } from '@src/components/CSendCoins'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
import { CLabel } from '@/components/CLabel'
|
||||
import { CSendCoins } from '@/components/CSendCoins'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'CContactUser',
|
||||
|
||||
@@ -12,11 +12,11 @@ import { func_tools, toolsext } from '@store/Modules/toolsext'
|
||||
import { tools } from '@tools'
|
||||
import { useProducts } from '@store/Products'
|
||||
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
import { useRouter } from 'vue-router'
|
||||
|
||||
import { costanti } from '@costanti'
|
||||
import type { IOptCatalogo, IMyScheda, IProduct, ICatalog } from '@src/model'
|
||||
import type { IOptCatalogo, IMyScheda, IProduct, ICatalog } from '@/model'
|
||||
|
||||
|
||||
export default defineComponent({
|
||||
|
||||
@@ -4,7 +4,7 @@ import { useI18n } from 'vue-i18n'
|
||||
import { useUserStore } from '@store/UserStore'
|
||||
import { useGlobalStore } from '@store/globalStore'
|
||||
import { defineComponent } from 'vue'
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'CCopyBtnSmall',
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import { defineComponent, onMounted, PropType, ref, watch } from 'vue'
|
||||
import { tools } from '@src/store/Modules/tools'
|
||||
import { tools } from '@/store/Modules/tools'
|
||||
|
||||
import { date, useQuasar } from 'quasar'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { CCurrencyValue } from '@src/components/CCurrencyValue'
|
||||
import { CMyFieldDb } from '@src/components/CMyFieldDb'
|
||||
import { CCurrencyValue } from '@/components/CCurrencyValue'
|
||||
import { CMyFieldDb } from '@/components/CMyFieldDb'
|
||||
|
||||
|
||||
import { costanti } from '@costanti'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { defineComponent, onMounted, PropType, ref, watch } from 'vue'
|
||||
import { tools } from '@src/store/Modules/tools'
|
||||
import { tools } from '@/store/Modules/tools'
|
||||
|
||||
import { date, useQuasar } from 'quasar'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
|
||||
@@ -6,7 +6,7 @@ import { useRouter } from 'vue-router'
|
||||
import { useGlobalStore } from '../../store/globalStore'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
import type { IMainCard } from '@store/Modules/costanti';
|
||||
import { costanti } from '@store/Modules/costanti'
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ import { useRouter } from 'vue-router'
|
||||
import { useGlobalStore } from '../../store/globalStore'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
import type { IMainCard } from '@costanti';
|
||||
import { costanti } from '@costanti'
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { defineComponent, onMounted, PropType, ref, watch } from 'vue'
|
||||
import { tools } from '@src/store/Modules/tools'
|
||||
import { tools } from '@/store/Modules/tools'
|
||||
|
||||
import { date, useQuasar } from 'quasar'
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { defineComponent, ref, watch, computed } from 'vue';
|
||||
import { useQuasar } from 'quasar';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { tools } from '@src/store/Modules/tools';
|
||||
import { tools } from '@/store/Modules/tools';
|
||||
import { toolsext } from '@store/Modules/toolsext';
|
||||
|
||||
export default defineComponent({
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { defineComponent, ref, watch, computed } from 'vue';
|
||||
import { useQuasar } from 'quasar';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { tools } from '@src/store/Modules/tools';
|
||||
import { tools } from '@/store/Modules/tools';
|
||||
import { toolsext } from '@store/Modules/toolsext';
|
||||
|
||||
function toTS(s: string | null): number | null {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { defineComponent } from 'vue'
|
||||
|
||||
import { ProductsList } from '@src/views/ecommerce'
|
||||
import { ProductsList } from '@/views/ecommerce'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'CECommerce',
|
||||
|
||||
@@ -198,7 +198,7 @@ $gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
|
||||
.stat-value {
|
||||
letter-spacing: -0.03em;
|
||||
font-size: 2rem;
|
||||
font-size: 1.5rem;
|
||||
font-weight: 800;
|
||||
background: $gradient-primary;
|
||||
-webkit-background-clip: text;
|
||||
|
||||
@@ -12,10 +12,10 @@ import { LandingFooter } from '../LandingFooter'
|
||||
import { CTitle } from '../CTitle'
|
||||
import { CImgText } from '../CImgText'
|
||||
import { CMyEditor } from '../CMyEditor'
|
||||
import { CDateTime } from '@src/components/CDateTime'
|
||||
import { CDateTime } from '@/components/CDateTime'
|
||||
import { CMyAvatar } from '../CMyAvatar'
|
||||
import { CMySingleEvent } from '@src/components/CMySingleEvent'
|
||||
import { CMyTeacher } from '@src/components/CMyTeacher'
|
||||
import { CMySingleEvent } from '@/components/CMySingleEvent'
|
||||
import { CMyTeacher } from '@/components/CMyTeacher'
|
||||
import { CMySelect } from '../CMySelect'
|
||||
import { tools } from '@tools'
|
||||
import { costanti } from '@costanti'
|
||||
@@ -26,10 +26,10 @@ import MixinEvents from '../../mixins/mixin-events'
|
||||
import { useCalendarStore } from '@store/CalendarStore'
|
||||
import { func_tools, toolsext } from '@store/Modules/toolsext'
|
||||
import { useMessageStore } from '@store/MessageStore'
|
||||
import { static_data } from '@src/db/static_data'
|
||||
import { static_data } from '@/db/static_data'
|
||||
import { lists } from '@store/Modules/lists'
|
||||
import translate from '@src/globalroutines/util'
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import translate from '@/globalroutines/util'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'CEventsCalendar',
|
||||
|
||||
@@ -3,9 +3,9 @@ import { useQuasar } from 'quasar'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useUserStore } from '@store/UserStore'
|
||||
import { useGlobalStore } from '@store/globalStore'
|
||||
import { CDownloadJsonFile } from '@src/components/CDownloadJsonFile'
|
||||
import { CDownloadJsonFile } from '@/components/CDownloadJsonFile'
|
||||
import { PropType, defineComponent, onMounted, ref } from 'vue'
|
||||
import type { IMyPage } from '@src/model'
|
||||
import type { IMyPage } from '@/model'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'CExportImportPage',
|
||||
|
||||
@@ -17,7 +17,7 @@ import { useGlobalStore } from '../../store/globalStore';
|
||||
import { useCircuitStore } from '../../store/CircuitStore';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
|
||||
import { shared_consts } from '@src/common/shared_vuejs';
|
||||
import { shared_consts } from '@/common/shared_vuejs';
|
||||
import { costanti, IMainCard } from '@store/Modules/costanti';
|
||||
|
||||
import { CMyUser } from '../CMyUser';
|
||||
|
||||
@@ -4,16 +4,16 @@ import {
|
||||
} from 'vue'
|
||||
|
||||
import { tools } from '@tools'
|
||||
import { CMyFieldDb } from '@src/components/CMyFieldDb'
|
||||
import { CMyFieldDb } from '@/components/CMyFieldDb'
|
||||
import { costanti } from '@costanti'
|
||||
import { useGlobalStore } from '@store/globalStore'
|
||||
import { useUserStore } from '@store/UserStore'
|
||||
|
||||
import { CTitlePage } from '@src/components/CTitlePage'
|
||||
import { CGridTableRec } from '@src/components/CGridTableRec'
|
||||
import { CTitlePage } from '@/components/CTitlePage'
|
||||
import { CGridTableRec } from '@/components/CGridTableRec'
|
||||
import type { IColGridTable, ISearchList} from 'model';
|
||||
import { IMyBacheca, IMySkill, ISkill } from 'model'
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { toolsext } from '@store/Modules/toolsext'
|
||||
import { fieldsTable } from '@store/Modules/fieldsTable'
|
||||
|
||||
@@ -5,10 +5,10 @@ import {
|
||||
|
||||
import { tools } from '@tools'
|
||||
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useRouter } from 'vue-router'
|
||||
import { static_data } from '@src/db/static_data'
|
||||
import { static_data } from '@/db/static_data'
|
||||
import { useGlobalStore } from '@store/globalStore'
|
||||
import { useUserStore } from '@store/UserStore'
|
||||
|
||||
|
||||
@@ -2,8 +2,8 @@ import { defineComponent, ref, computed, PropType, toRef, onMounted, onBeforeUnm
|
||||
import { useGlobalStore } from '@store/globalStore'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { tools } from '@tools'
|
||||
import { LandingFooter } from '@src/components/LandingFooter'
|
||||
import { Logo } from '@src/components/logo'
|
||||
import { LandingFooter } from '@/components/LandingFooter'
|
||||
import { Logo } from '@/components/logo'
|
||||
import type { IMyPage } from 'model'
|
||||
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ import { useUserStore } from '@store/UserStore';
|
||||
import { useQuasar } from 'quasar';
|
||||
import type { IImgGallery } from 'model';
|
||||
import { IGallery } from 'model';
|
||||
import { CMyPage } from '@src/components/CMyPage';
|
||||
import { CMyPage } from '@/components/CMyPage';
|
||||
import { tools } from '@tools';
|
||||
import { useGlobalStore } from '@store/globalStore';
|
||||
import { costanti } from '@costanti';
|
||||
|
||||
@@ -5,7 +5,7 @@ import { useUserStore } from '@store/UserStore'
|
||||
import { useQuasar } from 'quasar'
|
||||
import type { IImgGallery } from 'model';
|
||||
import { IGallery } from 'model'
|
||||
import { CMyPage } from '@src/components/CMyPage'
|
||||
import { CMyPage } from '@/components/CMyPage'
|
||||
import { tools } from '@tools'
|
||||
import { useGlobalStore } from '@store/globalStore'
|
||||
import { costanti } from '@costanti'
|
||||
|
||||
@@ -4,22 +4,22 @@ import {
|
||||
} from 'vue'
|
||||
|
||||
import { tools } from '@tools'
|
||||
import { CMyFieldDb } from '@src/components/CMyFieldDb'
|
||||
import { CMyFieldDb } from '@/components/CMyFieldDb'
|
||||
import { costanti } from '@costanti'
|
||||
import { useGlobalStore } from '@store/globalStore'
|
||||
import { useUserStore } from '@store/UserStore'
|
||||
|
||||
import { CTitlePage } from '@src/components/CTitlePage'
|
||||
import { CGridTableRec } from '@src/components/CGridTableRec'
|
||||
import { CTitlePage } from '@/components/CTitlePage'
|
||||
import { CGridTableRec } from '@/components/CGridTableRec'
|
||||
import type { IColGridTable, ISearchList } from 'model';
|
||||
import { IMyBacheca, IMySkill, ISkill, TipoVisu } from 'model'
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { toolsext } from '@store/Modules/toolsext'
|
||||
import { fieldsTable } from '@store/Modules/fieldsTable'
|
||||
import { useQuasar } from 'quasar'
|
||||
|
||||
import { func } from '@src/store/Modules/fieldsTable'
|
||||
import { func } from '@/store/Modules/fieldsTable'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'CGridOriz',
|
||||
|
||||
@@ -18,7 +18,7 @@ import { tools } from '../../store/Modules/tools';
|
||||
|
||||
import { fieldsTable } from '@store/Modules/fieldsTable';
|
||||
|
||||
import { shared_consts } from '@src/common/shared_vuejs';
|
||||
import { shared_consts } from '@/common/shared_vuejs';
|
||||
|
||||
import type {
|
||||
IColGridTable,
|
||||
@@ -52,20 +52,20 @@ import { useUserStore } from '@store/UserStore';
|
||||
import { useGlobalStore } from '@store/globalStore';
|
||||
import { useQuasar, exportFile } from 'quasar';
|
||||
import { costanti } from '@costanti';
|
||||
import translate from '@src/globalroutines/util';
|
||||
import translate from '@/globalroutines/util';
|
||||
import { toolsext } from '@store/Modules/toolsext';
|
||||
import { CMyCardPopup } from '@src/components/CMyCardPopup';
|
||||
import { CMyCardService } from '@src/components/CMyCardService';
|
||||
import { CSingleMovement } from '@src/components/CSingleMovement';
|
||||
import { CMyCardGrpPopup } from '@src/components/CMyCardGrpPopup';
|
||||
import { CMyCardCircuitPopup } from '@src/components/CMyCardCircuitPopup';
|
||||
import { CMyCardPopup } from '@/components/CMyCardPopup';
|
||||
import { CMyCardService } from '@/components/CMyCardService';
|
||||
import { CSingleMovement } from '@/components/CSingleMovement';
|
||||
import { CMyCardGrpPopup } from '@/components/CMyCardGrpPopup';
|
||||
import { CMyCardCircuitPopup } from '@/components/CMyCardCircuitPopup';
|
||||
import { onBeforeRouteLeave, onBeforeRouteUpdate, useRouter } from 'vue-router';
|
||||
import { useRoute } from 'vue-router';
|
||||
import { NavigationGuardNext, RouteLocationNormalized } from 'vue-router';
|
||||
|
||||
import { Dialog } from 'quasar'; // Assicurati di importare correttamente Dialog da Quasar.
|
||||
|
||||
import { getMapBoundaries } from '@src/store/Modules/geocodingmap';
|
||||
import { getMapBoundaries } from '@/store/Modules/geocodingmap';
|
||||
import { isMap } from 'util/types';
|
||||
|
||||
export default defineComponent({
|
||||
|
||||
@@ -6,7 +6,7 @@ import { tools } from '../../store/Modules/tools'
|
||||
|
||||
import { fieldsTable } from '@store/Modules/fieldsTable'
|
||||
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
|
||||
import type {
|
||||
IColGridTable,
|
||||
@@ -38,7 +38,7 @@ import { useUserStore } from '@store/UserStore'
|
||||
import { useGlobalStore } from '@store/globalStore'
|
||||
import { useQuasar, exportFile } from 'quasar'
|
||||
import { costanti } from '@costanti'
|
||||
import translate from '@src/globalroutines/util'
|
||||
import translate from '@/globalroutines/util'
|
||||
import { toolsext } from '@store/Modules/toolsext'
|
||||
import { useRouter } from 'vue-router'
|
||||
import { useRoute } from 'vue-router'
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
import { colTableHours } from '@src/store/Modules/fieldsTable'
|
||||
import { colTableHours } from '@/store/Modules/fieldsTable'
|
||||
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
import { defineComponent, ref } from 'vue'
|
||||
import type { IPagination } from 'model'
|
||||
import { CImgText } from '@src/components/CImgText'
|
||||
import { CImgText } from '@/components/CImgText'
|
||||
import { CCard } from '../CCard'
|
||||
import { CMyPage } from '@src/components/CMyPage'
|
||||
import { CTitleBanner } from '@src/components/CTitleBanner'
|
||||
import { CGridTableRec } from '@src/components/CGridTableRec'
|
||||
import { CMyPage } from '@/components/CMyPage'
|
||||
import { CTitleBanner } from '@/components/CTitleBanner'
|
||||
import { CGridTableRec } from '@/components/CGridTableRec'
|
||||
import { useUserStore } from '@store/UserStore'
|
||||
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import type { PropType} from 'vue';
|
||||
import { defineComponent, ref } from 'vue'
|
||||
|
||||
import { tools } from '@src/store/Modules/tools'
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import type { IAnim} from '@src/model';
|
||||
import { IElemText } from '@src/model'
|
||||
import { tools } from '@/store/Modules/tools'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
import type { IAnim} from '@/model';
|
||||
import { IElemText } from '@/model'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'CImgPoster',
|
||||
|
||||
@@ -2,7 +2,7 @@ import {
|
||||
defineComponent,
|
||||
} from 'vue'
|
||||
|
||||
import { tools } from '@src/store/Modules/tools'
|
||||
import { tools } from '@/store/Modules/tools'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'CImgText',
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { defineComponent, ref } from 'vue'
|
||||
|
||||
import { tools } from '@src/store/Modules/tools'
|
||||
import { tools } from '@/store/Modules/tools'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'CImgTitle',
|
||||
|
||||
@@ -17,7 +17,7 @@ import { useQuasar } from 'quasar';
|
||||
import { tools } from '@tools';
|
||||
import { useProducts } from '@store/Products';
|
||||
|
||||
import { shared_consts } from '@src/common/shared_vuejs';
|
||||
import { shared_consts } from '@/common/shared_vuejs';
|
||||
import { useRouter } from 'vue-router';
|
||||
|
||||
import { costanti } from '@costanti';
|
||||
|
||||
@@ -4,17 +4,17 @@ import { useUserStore } from '@store/UserStore'
|
||||
import type { IMyGroup, ICircuit, IAccount } from 'model';
|
||||
import { IImgGallery, IUserFields, IUserProfile, IFriends } from 'model'
|
||||
import { costanti } from '@costanti'
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
import { tools } from '@tools'
|
||||
import { useQuasar } from 'quasar'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useRoute, useRouter } from 'vue-router'
|
||||
import { CUserNonVerif } from '@src/components/CUserNonVerif'
|
||||
import { CUserNonVerif } from '@/components/CUserNonVerif'
|
||||
import { toolsext } from '@store/Modules/toolsext'
|
||||
import { CSaldo } from '@src/components/CSaldo'
|
||||
import { CSendCoins } from '@src/components/CSendCoins'
|
||||
import { CCurrencyValue } from '@src/components/CCurrencyValue'
|
||||
import { CCurrencyV2 } from '@src/components/CCurrencyV2'
|
||||
import { CSaldo } from '@/components/CSaldo'
|
||||
import { CSendCoins } from '@/components/CSendCoins'
|
||||
import { CCurrencyValue } from '@/components/CCurrencyValue'
|
||||
import { CCurrencyV2 } from '@/components/CCurrencyV2'
|
||||
import { useCircuitStore } from '@store/CircuitStore'
|
||||
|
||||
export default defineComponent({
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { defineComponent, ref, toRef, watch } from 'vue'
|
||||
import { tools } from '@src/store/Modules/tools'
|
||||
import { tools } from '@/store/Modules/tools'
|
||||
|
||||
import { useQuasar } from 'quasar'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
|
||||
@@ -5,7 +5,7 @@ import { useGlobalStore } from '@store/globalStore'
|
||||
import { fieldsTable } from '@store/Modules/fieldsTable'
|
||||
import { tools } from '@tools'
|
||||
import { costanti } from '@costanti'
|
||||
import { CDateTime } from '@src/components/CDateTime'
|
||||
import { CDateTime } from '@/components/CDateTime'
|
||||
|
||||
|
||||
export default defineComponent({
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { defineComponent, ref, toRef, watch } from 'vue'
|
||||
import { tools } from '@src/store/Modules/tools'
|
||||
import { tools } from '@/store/Modules/tools'
|
||||
|
||||
import { useQuasar } from 'quasar'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
|
||||
@@ -6,7 +6,7 @@ import { useI18n } from 'vue-i18n'
|
||||
import { tools } from '@tools'
|
||||
import type { IMainCard } from '@store/Modules/costanti';
|
||||
import { costanti } from '@store/Modules/costanti'
|
||||
import { CBigBtn } from '@src/components/CBigBtn'
|
||||
import { CBigBtn } from '@/components/CBigBtn'
|
||||
|
||||
|
||||
export default defineComponent({
|
||||
|
||||
@@ -11,10 +11,10 @@ import 'leaflet.markercluster/dist/MarkerCluster.css'
|
||||
import 'leaflet.markercluster/dist/MarkerCluster.Default.css'
|
||||
import 'leaflet.markercluster'
|
||||
|
||||
import { useUserStore } from '@src/store/UserStore'
|
||||
import { useGlobalStore } from '@src/store/globalStore'
|
||||
import { useUserStore } from '@/store/UserStore'
|
||||
import { useGlobalStore } from '@/store/globalStore'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { ICoordGPS } from '@src/model'
|
||||
import { ICoordGPS } from '@/model'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'CMapByTable',
|
||||
|
||||
@@ -10,9 +10,9 @@ import 'leaflet.markercluster/dist/MarkerCluster.Default.css'
|
||||
import 'leaflet.markercluster'
|
||||
import '../../utils/leaflet-extensions'; // Importa le estensioni
|
||||
|
||||
import { useUserStore } from '@src/store/UserStore'
|
||||
import { useGlobalStore } from '@src/store/globalStore'
|
||||
import { setCookie } from '@src/utils/auth'
|
||||
import { useUserStore } from '@/store/UserStore'
|
||||
import { useGlobalStore } from '@/store/globalStore'
|
||||
import { setCookie } from '@/utils/auth'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'CMapComuni',
|
||||
|
||||
@@ -10,12 +10,12 @@ import 'leaflet.markercluster/dist/MarkerCluster.Default.css'
|
||||
import 'leaflet.markercluster'
|
||||
import '../../utils/leaflet-extensions'; // Importa le estensioni
|
||||
|
||||
import { useUserStore } from '@src/store/UserStore'
|
||||
import { useUserStore } from '@/store/UserStore'
|
||||
|
||||
// Importa le immagini dei marker
|
||||
import icon from 'leaflet/dist/images/marker-icon.png'
|
||||
import iconShadow from 'leaflet/dist/images/marker-shadow.png'
|
||||
import type { ICoordGPS, ICoordLatLng } from '@src/model'
|
||||
import type { ICoordGPS, ICoordLatLng } from '@/model'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'CMapEditAddressByCoord',
|
||||
|
||||
@@ -9,7 +9,7 @@ import 'leaflet.markercluster/dist/MarkerCluster.Default.css'
|
||||
import 'leaflet.markercluster'
|
||||
import '../../utils/leaflet-extensions'; // Importa le estensioni
|
||||
|
||||
import { useUserStore } from '@src/store/UserStore'
|
||||
import { useUserStore } from '@/store/UserStore'
|
||||
|
||||
// Importa le immagini dei marker
|
||||
import icon from 'leaflet/dist/images/marker-icon.png'
|
||||
|
||||
@@ -10,7 +10,7 @@ import 'leaflet.markercluster/dist/MarkerCluster.Default.css'
|
||||
import 'leaflet.markercluster'
|
||||
import '../../utils/leaflet-extensions'; // Importa le estensioni
|
||||
|
||||
import { useUserStore } from '@src/store/UserStore'
|
||||
import { useUserStore } from '@/store/UserStore'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'CMapUsers',
|
||||
|
||||
@@ -3,14 +3,14 @@ import draggable from 'vuedraggable';
|
||||
|
||||
import { tools } from '@tools';
|
||||
|
||||
import { useGlobalStore } from '@src/store/globalStore';
|
||||
import { useGlobalStore } from '@/store/globalStore';
|
||||
|
||||
import { CMyEditorAI } from '@src/components/CMyEditorAI';
|
||||
import { CAITools } from '@src/components/CAITools';
|
||||
import { CMyEditorAI } from '@/components/CMyEditorAI';
|
||||
import { CAITools } from '@/components/CAITools';
|
||||
|
||||
import { costanti } from '@costanti';
|
||||
|
||||
import type { IMyScheda, IProduct, IRecFields } from '@src/model';
|
||||
import type { IMyScheda, IProduct, IRecFields } from '@/model';
|
||||
import { shared_consts } from 'app/src/common/shared_vuejs';
|
||||
import { useProducts } from 'app/src/store/Products';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
|
||||
@@ -4,14 +4,14 @@ import { useRouter } from 'vue-router'
|
||||
import { useGlobalStore } from '@store/globalStore'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
|
||||
import { CMyImgUser } from '@src/components/CMyImgUser'
|
||||
import { CSingleMovement } from '@src/components/CSingleMovement'
|
||||
import { CCurrencyValue } from '@src/components/CCurrencyValue'
|
||||
import { CMyImgUser } from '@/components/CMyImgUser'
|
||||
import { CSingleMovement } from '@/components/CSingleMovement'
|
||||
import { CCurrencyValue } from '@/components/CCurrencyValue'
|
||||
import { tools } from '@tools'
|
||||
import type { IMovQuery, IMovVisu} from '@src/model';
|
||||
import { IMovement } from '@src/model'
|
||||
import type { IMovQuery, IMovVisu} from '@/model';
|
||||
import { IMovement } from '@/model'
|
||||
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'CMovements',
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
import { CMyFieldDb } from '@src/components/CMyFieldDb'
|
||||
import { CMyFieldRec } from '@src/components/CMyFieldRec'
|
||||
import { CTitleBanner } from '@src/components/CTitleBanner'
|
||||
import { CProfile } from '@src/components/CProfile'
|
||||
import { CLabel } from '@src/components/CLabel'
|
||||
import { CCopyBtn } from '@src/components/CCopyBtn'
|
||||
import { CSkill } from '@src/components/CSkill'
|
||||
import { CDateTime } from '@src/components/CDateTime'
|
||||
import { CMyGroup } from '@src/components/CMyGroup'
|
||||
import { CMyCircuit } from '@src/components/CMyCircuit'
|
||||
import { CContactUser } from '@src/components/CContactUser'
|
||||
import { CNotifAtTop } from '@src/components/CNotifAtTop'
|
||||
import { CTimeAgo } from '@src/components/CTimeAgo'
|
||||
import { CSendCoins } from '@src/components/CSendCoins'
|
||||
import { CMyUser } from '@src/components/CMyUser'
|
||||
import { CCheckIfIsLogged } from '@src/components/CCheckIfIsLogged'
|
||||
import { CUserNonVerif } from '@src/components/CUserNonVerif'
|
||||
import { CMyFieldDb } from '@/components/CMyFieldDb'
|
||||
import { CMyFieldRec } from '@/components/CMyFieldRec'
|
||||
import { CTitleBanner } from '@/components/CTitleBanner'
|
||||
import { CProfile } from '@/components/CProfile'
|
||||
import { CLabel } from '@/components/CLabel'
|
||||
import { CCopyBtn } from '@/components/CCopyBtn'
|
||||
import { CSkill } from '@/components/CSkill'
|
||||
import { CDateTime } from '@/components/CDateTime'
|
||||
import { CMyGroup } from '@/components/CMyGroup'
|
||||
import { CMyCircuit } from '@/components/CMyCircuit'
|
||||
import { CContactUser } from '@/components/CContactUser'
|
||||
import { CNotifAtTop } from '@/components/CNotifAtTop'
|
||||
import { CTimeAgo } from '@/components/CTimeAgo'
|
||||
import { CSendCoins } from '@/components/CSendCoins'
|
||||
import { CMyUser } from '@/components/CMyUser'
|
||||
import { CCheckIfIsLogged } from '@/components/CCheckIfIsLogged'
|
||||
import { CUserNonVerif } from '@/components/CUserNonVerif'
|
||||
import { tools } from '@tools'
|
||||
import { computed, defineComponent, onMounted, ref, watch } from 'vue'
|
||||
import { useUserStore } from '@store/UserStore'
|
||||
@@ -26,12 +26,12 @@ import { useQuasar } from 'quasar'
|
||||
import { costanti } from '@costanti'
|
||||
import type { IReaction, IMyCircuit, IMyGroup, IUserFields } from 'model';
|
||||
import { IBookmark, ICircuit, IFavorite } from 'model'
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import { static_data } from '@src/db/static_data'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
import { static_data } from '@/db/static_data'
|
||||
import { fieldsTable } from '@store/Modules/fieldsTable'
|
||||
import { useNotifStore } from '@store/NotifStore'
|
||||
import MixinUsers from '@src/mixins/mixin-users'
|
||||
import { useCircuitStore } from '@src/store/CircuitStore'
|
||||
import MixinUsers from '@/mixins/mixin-users'
|
||||
import { useCircuitStore } from '@/store/CircuitStore'
|
||||
|
||||
|
||||
export default defineComponent({
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
import type { PropType} from 'vue';
|
||||
import { computed, defineComponent, onMounted, ref, watch } from 'vue'
|
||||
|
||||
import { CMyFieldDb } from '@src/components/CMyFieldDb'
|
||||
import { CTitleBanner } from '@src/components/CTitleBanner'
|
||||
import { CProfile } from '@src/components/CProfile'
|
||||
import { CDateTime } from '@src/components/CDateTime'
|
||||
import { CMyPage } from '@src/components/CMyPage'
|
||||
import { CCheckIfIsLogged } from '@src/components/CCheckIfIsLogged'
|
||||
import { CMyFieldRec } from '@src/components/CMyFieldRec'
|
||||
import { CMyFieldDb } from '@/components/CMyFieldDb'
|
||||
import { CTitleBanner } from '@/components/CTitleBanner'
|
||||
import { CProfile } from '@/components/CProfile'
|
||||
import { CDateTime } from '@/components/CDateTime'
|
||||
import { CMyPage } from '@/components/CMyPage'
|
||||
import { CCheckIfIsLogged } from '@/components/CCheckIfIsLogged'
|
||||
import { CMyFieldRec } from '@/components/CMyFieldRec'
|
||||
import { tools } from '@tools'
|
||||
import { useUserStore } from '@store/UserStore'
|
||||
import { useGlobalStore } from '@store/globalStore'
|
||||
@@ -17,7 +17,7 @@ import { useQuasar } from 'quasar'
|
||||
import { costanti } from '@costanti'
|
||||
import type { IColGridTable, ICircuit} from 'model';
|
||||
import { IImgGallery, IUserFields } from 'model'
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
import { colCitys, fieldsTable } from '@store/Modules/fieldsTable'
|
||||
import { useRoute } from 'vue-router'
|
||||
import { useNotifStore } from '@store/NotifStore'
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
import type { PropType} from 'vue';
|
||||
import { computed, defineComponent, onMounted, ref, watch } from 'vue'
|
||||
|
||||
import { CMyFieldDb } from '@src/components/CMyFieldDb'
|
||||
import { CTitleBanner } from '@src/components/CTitleBanner'
|
||||
import { CProfile } from '@src/components/CProfile'
|
||||
import { CDateTime } from '@src/components/CDateTime'
|
||||
import { CMyPage } from '@src/components/CMyPage'
|
||||
import { CCheckIfIsLogged } from '@src/components/CCheckIfIsLogged'
|
||||
import { CMyFieldRec } from '@src/components/CMyFieldRec'
|
||||
import { CMyFieldDb } from '@/components/CMyFieldDb'
|
||||
import { CTitleBanner } from '@/components/CTitleBanner'
|
||||
import { CProfile } from '@/components/CProfile'
|
||||
import { CDateTime } from '@/components/CDateTime'
|
||||
import { CMyPage } from '@/components/CMyPage'
|
||||
import { CCheckIfIsLogged } from '@/components/CCheckIfIsLogged'
|
||||
import { CMyFieldRec } from '@/components/CMyFieldRec'
|
||||
import { tools } from '@tools'
|
||||
import { useUserStore } from '@store/UserStore'
|
||||
import { useGlobalStore } from '@store/globalStore'
|
||||
@@ -17,7 +17,7 @@ import { useQuasar } from 'quasar'
|
||||
import { costanti } from '@costanti'
|
||||
import type { IColGridTable} from 'model';
|
||||
import { IImgGallery, IUserFields } from 'model'
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
import { colCitys, fieldsTable } from '@store/Modules/fieldsTable'
|
||||
import { useRoute } from 'vue-router'
|
||||
import { useNotifStore } from '@store/NotifStore'
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
import type { PropType } from 'vue';
|
||||
import { computed, defineComponent, onMounted, ref, watch } from 'vue'
|
||||
|
||||
import { CMyFieldDb } from '@src/components/CMyFieldDb'
|
||||
import { CTitleBanner } from '@src/components/CTitleBanner'
|
||||
import { CProfile } from '@src/components/CProfile'
|
||||
import { CDateTime } from '@src/components/CDateTime'
|
||||
import { CMyPage } from '@src/components/CMyPage'
|
||||
import { CMyFieldRec } from '@src/components/CMyFieldRec'
|
||||
import { CAccomodation } from '@src/components/CAccomodation'
|
||||
import { CMyFieldDb } from '@/components/CMyFieldDb'
|
||||
import { CTitleBanner } from '@/components/CTitleBanner'
|
||||
import { CProfile } from '@/components/CProfile'
|
||||
import { CDateTime } from '@/components/CDateTime'
|
||||
import { CMyPage } from '@/components/CMyPage'
|
||||
import { CMyFieldRec } from '@/components/CMyFieldRec'
|
||||
import { CAccomodation } from '@/components/CAccomodation'
|
||||
import { tools } from '@tools'
|
||||
import { useUserStore } from '@store/UserStore'
|
||||
import { useGlobalStore } from '@store/globalStore'
|
||||
@@ -17,7 +17,7 @@ import { useQuasar } from 'quasar'
|
||||
import { costanti } from '@costanti'
|
||||
import type { IColGridTable } from 'model';
|
||||
import { IImgGallery, IUserFields } from 'model'
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
import { colCitys, fieldsTable } from '@store/Modules/fieldsTable'
|
||||
import { useRoute } from 'vue-router'
|
||||
import { useNotifStore } from '@store/NotifStore'
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
import type { PropType } from 'vue';
|
||||
import { computed, defineComponent, onMounted, ref, watch, nextTick } from 'vue'
|
||||
|
||||
import { CMyFieldDb } from '@src/components/CMyFieldDb'
|
||||
import { CTitleBanner } from '@src/components/CTitleBanner'
|
||||
import { CProfile } from '@src/components/CProfile'
|
||||
import { CDateTime } from '@src/components/CDateTime'
|
||||
import { CMyPage } from '@src/components/CMyPage'
|
||||
import { CMyGroup } from '@src/components/CMyGroup'
|
||||
import { CMyChipList } from '@src/components/CMyChipList'
|
||||
import { CGridTableUser } from '@src/components/CGridTableUser'
|
||||
import { CMyFieldRec } from '@src/components/CMyFieldRec'
|
||||
import { CMyUser } from '@src/components/CMyUser'
|
||||
import { CLabel } from '@src/components/CLabel'
|
||||
import { CGalleryImages } from '@src/components/CGalleryImages'
|
||||
import { CAccomodation } from '@src/components/CAccomodation'
|
||||
import { CMyFieldDb } from '@/components/CMyFieldDb'
|
||||
import { CTitleBanner } from '@/components/CTitleBanner'
|
||||
import { CProfile } from '@/components/CProfile'
|
||||
import { CDateTime } from '@/components/CDateTime'
|
||||
import { CMyPage } from '@/components/CMyPage'
|
||||
import { CMyGroup } from '@/components/CMyGroup'
|
||||
import { CMyChipList } from '@/components/CMyChipList'
|
||||
import { CGridTableUser } from '@/components/CGridTableUser'
|
||||
import { CMyFieldRec } from '@/components/CMyFieldRec'
|
||||
import { CMyUser } from '@/components/CMyUser'
|
||||
import { CLabel } from '@/components/CLabel'
|
||||
import { CGalleryImages } from '@/components/CGalleryImages'
|
||||
import { CAccomodation } from '@/components/CAccomodation'
|
||||
import { tools } from '@tools'
|
||||
import { useUserStore } from '@store/UserStore'
|
||||
import { useCalendarStore } from '@store/CalendarStore'
|
||||
@@ -24,14 +24,14 @@ import { useQuasar } from 'quasar'
|
||||
import { costanti } from '@costanti'
|
||||
import type { IReaction, IBookedEventPage, IColGridTable, IBookedEvent, IEvents, IMessage, IMessagePage, IParamDialog, ISearchList } from '@model';
|
||||
import { EState } from '@model'
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
import { colCitys, fieldsTable } from '@store/Modules/fieldsTable'
|
||||
import { useRoute, useRouter } from 'vue-router'
|
||||
import { useNotifStore } from '@store/NotifStore'
|
||||
import { lists } from '@store/Modules/lists'
|
||||
import translate from '@src/globalroutines/util'
|
||||
import { useMessageStore } from '@src/store/MessageStore'
|
||||
import mixinEvents from '@src/mixins/mixin-events'
|
||||
import translate from '@/globalroutines/util'
|
||||
import { useMessageStore } from '@/store/MessageStore'
|
||||
import mixinEvents from '@/mixins/mixin-events'
|
||||
|
||||
import { colmyUserPeople } from '@store/Modules/fieldsTable';
|
||||
|
||||
|
||||
@@ -4,9 +4,9 @@ import { CCardState } from '../CCardState';
|
||||
import { computed, defineComponent } from 'vue';
|
||||
import { useGlobalStore } from '@store/globalStore';
|
||||
import { useProducts } from '@store/Products';
|
||||
import { CCopyBtn } from '@src/components/CCopyBtn';
|
||||
import { CSingleCart } from '@src/components/CSingleCart';
|
||||
import { CTitleBanner } from '@src/components/CTitleBanner';
|
||||
import { CCopyBtn } from '@/components/CCopyBtn';
|
||||
import { CSingleCart } from '@/components/CSingleCart';
|
||||
import { CTitleBanner } from '@/components/CTitleBanner';
|
||||
import { tools } from '@store/Modules/tools';
|
||||
|
||||
import { useI18n } from 'vue-i18n';
|
||||
|
||||
@@ -6,14 +6,14 @@ import { useCircuitStore } from '@store/CircuitStore';
|
||||
import type { ICircuit, IMyCircuit, IMyGroup } from 'model';
|
||||
import { IImgGallery, IUserFields, IUserProfile, IFriends, IAccount } from 'model';
|
||||
import { costanti } from '@costanti';
|
||||
import { shared_consts } from '@src/common/shared_vuejs';
|
||||
import { shared_consts } from '@/common/shared_vuejs';
|
||||
import { tools } from '@tools';
|
||||
import { useQuasar } from 'quasar';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { useRoute, useRouter } from 'vue-router';
|
||||
import { CUserNonVerif } from '@src/components/CUserNonVerif';
|
||||
import { CSaldo } from '@src/components/CSaldo';
|
||||
import { CTitleBanner } from '@src/components/CTitleBanner';
|
||||
import { CUserNonVerif } from '@/components/CUserNonVerif';
|
||||
import { CSaldo } from '@/components/CSaldo';
|
||||
import { CTitleBanner } from '@/components/CTitleBanner';
|
||||
import { toolsext } from '@store/Modules/toolsext';
|
||||
import { useGlobalStore } from '@store/globalStore';
|
||||
import { userPanel } from 'app/src/rootgen/admin/userPanel';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { CMyCircuit } from '@src/components/CMyCircuit'
|
||||
import { CMyCircuit } from '@/components/CMyCircuit'
|
||||
import type { PropType } from 'vue';
|
||||
import { computed, defineComponent, onMounted, ref, toRef, watch } from 'vue'
|
||||
import { useUserStore } from '@store/UserStore'
|
||||
@@ -9,12 +9,12 @@ import { useQuasar } from 'quasar'
|
||||
import { costanti } from '@costanti'
|
||||
import type { ICircuit } from 'model';
|
||||
import { ISearchList, IUserFields } from 'model'
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
import { tools } from '@tools'
|
||||
import { CUserNonVerif } from '@src/components/CUserNonVerif'
|
||||
import { CTitleBanner } from '@src/components/CTitleBanner'
|
||||
import { CMovements } from '@src/components/CMovements'
|
||||
import { CSendRISTo } from '@src/components/CSendRISTo'
|
||||
import { CUserNonVerif } from '@/components/CUserNonVerif'
|
||||
import { CTitleBanner } from '@/components/CTitleBanner'
|
||||
import { CMovements } from '@/components/CMovements'
|
||||
import { CSendRISTo } from '@/components/CSendRISTo'
|
||||
|
||||
|
||||
export default defineComponent({
|
||||
@@ -77,16 +77,16 @@ export default defineComponent({
|
||||
|
||||
const listcircuitsfind = computed(() => {
|
||||
// console.log('list modif')
|
||||
return updateListCircuit(costanti.FIND_CIRCUIT)
|
||||
return circuitStore.updateListCircuit(costanti.FIND_CIRCUIT)
|
||||
})
|
||||
const listcircuitsmy = computed(() => {
|
||||
// console.log('list modif')
|
||||
return updateListCircuit(costanti.MY_CIRCUITS)
|
||||
return circuitStore.updateListCircuit(costanti.MY_CIRCUITS)
|
||||
})
|
||||
|
||||
const listcircuitsfiltered = computed(() => {
|
||||
// console.log('list modif')
|
||||
return updateListCircuit(visu.value)
|
||||
return circuitStore.updateListCircuit(visu.value)
|
||||
})
|
||||
|
||||
const myoptions = computed(() => {
|
||||
@@ -127,34 +127,6 @@ export default defineComponent({
|
||||
}
|
||||
}
|
||||
|
||||
function updateListCircuit(visu: number) {
|
||||
let arr: any[] = []
|
||||
try {
|
||||
if (visu === costanti.CIRCUITS) {
|
||||
arr = circuitStore.listcircuits
|
||||
} else if (visu === costanti.MY_CIRCUITS) {
|
||||
arr = circuitStore.listcircuits.filter((circ: any) => userStore.my.profile.mycircuits.findIndex((rec: any) => circ.name === rec.circuitname) >= 0)
|
||||
} else if (visu === costanti.ASK_SENT_CIRCUIT) {
|
||||
arr = userStore.my.profile.asked_circuits
|
||||
}
|
||||
} catch (e) {
|
||||
arr = []
|
||||
}
|
||||
|
||||
if (visu === costanti.MY_CIRCUITS) {
|
||||
const arrtoinsert: any = circuitStore.listcircuits.filter((circ: any) => circ.isCircItalia)
|
||||
for (const rec of arrtoinsert) {
|
||||
if (arr.findIndex(myrec => myrec._id === rec._id) < 0) {
|
||||
// Se non c'è il circuito Nazionale, glielo aggiungo
|
||||
arr.push(rec)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return arr
|
||||
}
|
||||
|
||||
|
||||
async function load() {
|
||||
if (init.value)
|
||||
return // Gia inizializzato
|
||||
|
||||
@@ -5,7 +5,7 @@ import { useI18n } from 'vue-i18n'
|
||||
import { toolsext } from '@store/Modules/toolsext'
|
||||
import { costanti } from '@costanti'
|
||||
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'CMyDialog',
|
||||
|
||||
@@ -6,15 +6,15 @@ import { IOperators, ISize } from 'model'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useQuasar } from 'quasar'
|
||||
|
||||
import { CMySize } from '@src/components/CMySize'
|
||||
import { CBorders } from '@src/components/CBorders'
|
||||
import { CMyFieldRec } from '@src/components/CMyFieldRec'
|
||||
import { CMySize } from '@/components/CMySize'
|
||||
import { CBorders } from '@/components/CBorders'
|
||||
import { CMyFieldRec } from '@/components/CMyFieldRec'
|
||||
|
||||
import { tools } from '@tools'
|
||||
|
||||
import { costanti } from '@costanti'
|
||||
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'CMyDimensioni',
|
||||
|
||||
@@ -11,46 +11,46 @@ import type {
|
||||
IMyScheda,
|
||||
ISchedaSingola,
|
||||
IText,
|
||||
} from '@src/model';
|
||||
import { IImgGallery, ILabelValue, IMyPage, IOperators } from '@src/model';
|
||||
} from '@/model';
|
||||
import { IImgGallery, ILabelValue, IMyPage, IOperators } from '@/model';
|
||||
import { useGlobalStore } from '@store/globalStore';
|
||||
import { useCatalogStore } from '@store/CatalogStore';
|
||||
|
||||
import { CImgTitle } from '@src/components/CImgTitle';
|
||||
import { CImgPoster } from '@src/components/CImgPoster';
|
||||
import { CMyElemAdd } from '@src/components/CMyElemAdd';
|
||||
import { CTitle } from '@src/components/CTitle/index';
|
||||
import { CImgTitle } from '@/components/CImgTitle';
|
||||
import { CImgPoster } from '@/components/CImgPoster';
|
||||
import { CMyElemAdd } from '@/components/CMyElemAdd';
|
||||
import { CTitle } from '@/components/CTitle/index';
|
||||
import { tools } from '@tools';
|
||||
import { useRouter } from 'vue-router';
|
||||
import { shared_consts } from '@src/common/shared_vuejs';
|
||||
import { LandingFooter } from '@src/components/LandingFooter';
|
||||
import { COpenStreetMap } from '@src/components/COpenStreetMap';
|
||||
import { CCardCarousel } from '@src/components/CCardCarousel';
|
||||
import { CMyPage } from '@src/components/CMyPage';
|
||||
import { CMyPageIntro } from '@src/components/CMyPageIntro';
|
||||
import { CEventsCalendar } from '@src/components/CEventsCalendar';
|
||||
import { CMyEditor } from '@src/components/CMyEditor';
|
||||
import { CMySlider } from '@src/components/CMySlider';
|
||||
import { CMySlideNumber } from '@src/components/CMySlideNumber';
|
||||
import { CMyFieldRec } from '@src/components/CMyFieldRec';
|
||||
import { CSelectImage } from '@src/components/CSelectImage';
|
||||
import { CSelectAnimation } from '@src/components/CSelectAnimation';
|
||||
import { CSelectColor } from '@src/components/CSelectColor';
|
||||
import { CSelectFontSize } from '@src/components/CSelectFontSize';
|
||||
import { CMySize } from '@src/components/CMySize';
|
||||
import { CBorders } from '@src/components/CBorders';
|
||||
import { CMyDimensioni } from '@src/components/CMyDimensioni';
|
||||
import { CMyText } from '@src/components/CMyText';
|
||||
import { CPickColor } from '@src/components/CPickColor';
|
||||
import { shared_consts } from '@/common/shared_vuejs';
|
||||
import { LandingFooter } from '@/components/LandingFooter';
|
||||
import { COpenStreetMap } from '@/components/COpenStreetMap';
|
||||
import { CCardCarousel } from '@/components/CCardCarousel';
|
||||
import { CMyPage } from '@/components/CMyPage';
|
||||
import { CMyPageIntro } from '@/components/CMyPageIntro';
|
||||
import { CEventsCalendar } from '@/components/CEventsCalendar';
|
||||
import { CMyEditor } from '@/components/CMyEditor';
|
||||
import { CMySlider } from '@/components/CMySlider';
|
||||
import { CMySlideNumber } from '@/components/CMySlideNumber';
|
||||
import { CMyFieldRec } from '@/components/CMyFieldRec';
|
||||
import { CSelectImage } from '@/components/CSelectImage';
|
||||
import { CSelectAnimation } from '@/components/CSelectAnimation';
|
||||
import { CSelectColor } from '@/components/CSelectColor';
|
||||
import { CSelectFontSize } from '@/components/CSelectFontSize';
|
||||
import { CMySize } from '@/components/CMySize';
|
||||
import { CBorders } from '@/components/CBorders';
|
||||
import { CMyDimensioni } from '@/components/CMyDimensioni';
|
||||
import { CMyText } from '@/components/CMyText';
|
||||
import { CPickColor } from '@/components/CPickColor';
|
||||
|
||||
import MixinMetaTags from '@src/mixins/mixin-metatags';
|
||||
import MixinBase from '@src/mixins/mixin-base';
|
||||
import MixinMetaTags from '@/mixins/mixin-metatags';
|
||||
import MixinBase from '@/mixins/mixin-base';
|
||||
import { useQuasar } from 'quasar';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { emitKeypressEvents } from 'readline';
|
||||
import { costanti } from '@costanti';
|
||||
import objectId from '@src/js/objectId';
|
||||
import { useProducts } from '@src/store/Products';
|
||||
import objectId from '@/js/objectId';
|
||||
import { useProducts } from '@/store/Products';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'CMyEditElem',
|
||||
@@ -829,13 +829,95 @@ export default defineComponent({
|
||||
myel.value.features.push({
|
||||
name: 'Titolo',
|
||||
description: 'sottotitolo',
|
||||
icon: 'fas fa-heading',});
|
||||
icon: 'fas fa-heading',
|
||||
});
|
||||
saveElem();
|
||||
}
|
||||
|
||||
const styleDialogOpen = ref(false);
|
||||
const scriptDialogOpen = ref(false);
|
||||
const tempStyle = ref('');
|
||||
const tempScript = ref('');
|
||||
const originalStyle = ref('');
|
||||
const originalScript = ref('');
|
||||
|
||||
function openStyleDialog() {
|
||||
originalStyle.value = myel.value.container2 || '';
|
||||
tempStyle.value = myel.value.container2 || '';
|
||||
styleDialogOpen.value = true;
|
||||
}
|
||||
|
||||
function openScriptDialog() {
|
||||
originalScript.value = myel.value.container3 || '';
|
||||
tempScript.value = myel.value.container3 || '';
|
||||
scriptDialogOpen.value = true;
|
||||
}
|
||||
|
||||
function updateStylePreview() {
|
||||
myel.value.container2 = tempStyle.value;
|
||||
modifElem();
|
||||
}
|
||||
|
||||
function updateScriptPreview() {
|
||||
myel.value.container3 = tempScript.value;
|
||||
modifElem();
|
||||
}
|
||||
|
||||
function confirmCancel(type: 'style' | 'script') {
|
||||
let modificato = false;
|
||||
|
||||
if (type === 'style') {
|
||||
modificato = myel.value.container2 !== originalStyle.value;
|
||||
} else {
|
||||
modificato = myel.value.container3 !== originalScript.value;
|
||||
}
|
||||
|
||||
if (modificato) {
|
||||
$q.dialog({
|
||||
title: 'Conferma',
|
||||
message: 'Vuoi scartare le modifiche fatte?',
|
||||
cancel: true,
|
||||
persistent: true,
|
||||
}).onOk(() => {
|
||||
if (type === 'style') {
|
||||
myel.value.container2 = originalStyle.value;
|
||||
modifElem();
|
||||
styleDialogOpen.value = false;
|
||||
} else {
|
||||
myel.value.container3 = originalScript.value;
|
||||
modifElem();
|
||||
scriptDialogOpen.value = false;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
styleDialogOpen.value = false;
|
||||
scriptDialogOpen.value = false;
|
||||
}
|
||||
}
|
||||
|
||||
function saveStyle() {
|
||||
originalStyle.value = tempStyle.value;
|
||||
styleDialogOpen.value = false;
|
||||
}
|
||||
|
||||
function saveScript() {
|
||||
originalScript.value = tempScript.value;
|
||||
scriptDialogOpen.value = false;
|
||||
}
|
||||
onMounted(mounted);
|
||||
|
||||
return {
|
||||
tempStyle,
|
||||
tempScript,
|
||||
saveScript,
|
||||
saveStyle,
|
||||
confirmCancel,
|
||||
updateScriptPreview,
|
||||
updateStylePreview,
|
||||
styleDialogOpen,
|
||||
scriptDialogOpen,
|
||||
openScriptDialog,
|
||||
openStyleDialog,
|
||||
tools,
|
||||
shared_consts,
|
||||
getArrDisciplines,
|
||||
|
||||
@@ -945,29 +945,22 @@
|
||||
</CMyEditor>
|
||||
|
||||
<q-card-section>
|
||||
<q-input
|
||||
label="Stile Pagina <style>...</style>:"
|
||||
v-model="myel.container2"
|
||||
filled
|
||||
style="max-height: 200px"
|
||||
dense
|
||||
class="scroll-input"
|
||||
v-on:keyup.enter="saveElem"
|
||||
@update:model-value="modifElem"
|
||||
/>
|
||||
</q-card-section>
|
||||
<q-card-section>
|
||||
<q-input
|
||||
label="Script:"
|
||||
v-model="myel.container3"
|
||||
autogrow
|
||||
filled
|
||||
dense
|
||||
style="max-height: 200px"
|
||||
class="scroll-input"
|
||||
v-on:keyup.enter="saveElem"
|
||||
@update:model-value="modifElem"
|
||||
/>
|
||||
<div class="row items-center q-gutter-sm">
|
||||
<q-btn
|
||||
label="Stile Pagina"
|
||||
:color="myel.container2 ? 'green' : 'grey'"
|
||||
dense
|
||||
@click="openStyleDialog"
|
||||
icon="edit"
|
||||
/>
|
||||
<q-btn
|
||||
label="Script"
|
||||
:color="myel.container3 ? 'secondary' : 'grey'"
|
||||
dense
|
||||
@click="openScriptDialog"
|
||||
icon="code"
|
||||
/>
|
||||
</div>
|
||||
</q-card-section>
|
||||
</div>
|
||||
</div>
|
||||
@@ -2943,6 +2936,120 @@
|
||||
</CMyElemAdd>
|
||||
</q-dialog>
|
||||
</div>
|
||||
|
||||
<!-- Dialog per Stile -->
|
||||
<q-dialog
|
||||
v-model="styleDialogOpen"
|
||||
seamless
|
||||
position="right"
|
||||
>
|
||||
<q-card
|
||||
style="
|
||||
min-width: 600px;
|
||||
max-width: 600px;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
"
|
||||
>
|
||||
<q-card-section class="row items-center q-pb-none">
|
||||
<div class="text-h6">Stile Pagina</div>
|
||||
<q-space />
|
||||
<q-btn
|
||||
icon="close"
|
||||
flat
|
||||
round
|
||||
dense
|
||||
@click="confirmCancel('style')"
|
||||
/>
|
||||
</q-card-section>
|
||||
|
||||
<q-card-section class="col scroll">
|
||||
<q-input
|
||||
v-model="tempStyle"
|
||||
type="textarea"
|
||||
filled
|
||||
autogrow
|
||||
rows="10"
|
||||
label="<style>...</style>"
|
||||
@update:model-value="updateStylePreview"
|
||||
/>
|
||||
</q-card-section>
|
||||
|
||||
<q-card-actions
|
||||
align="right"
|
||||
class="q-pa-md"
|
||||
>
|
||||
<q-btn
|
||||
flat
|
||||
label="Annulla"
|
||||
@click="confirmCancel('style')"
|
||||
/>
|
||||
<q-btn
|
||||
color="primary"
|
||||
label="Ok"
|
||||
@click="saveStyle"
|
||||
/>
|
||||
</q-card-actions>
|
||||
</q-card>
|
||||
</q-dialog>
|
||||
|
||||
<!-- Dialog per Script -->
|
||||
<q-dialog
|
||||
v-model="scriptDialogOpen"
|
||||
seamless
|
||||
position="right"
|
||||
>
|
||||
<q-card
|
||||
style="
|
||||
min-width: 600px;
|
||||
max-width: 600px;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
"
|
||||
>
|
||||
<q-card-section class="row items-center q-pb-none">
|
||||
<div class="text-h6">Script</div>
|
||||
<q-space />
|
||||
<q-btn
|
||||
icon="close"
|
||||
flat
|
||||
round
|
||||
dense
|
||||
@click="confirmCancel('script')"
|
||||
/>
|
||||
</q-card-section>
|
||||
|
||||
<q-card-section class="col scroll">
|
||||
<q-input
|
||||
v-model="tempScript"
|
||||
type="textarea"
|
||||
filled
|
||||
autogrow
|
||||
rows="10"
|
||||
label="JavaScript"
|
||||
@update:model-value="updateScriptPreview"
|
||||
/>
|
||||
</q-card-section>
|
||||
|
||||
<q-card-actions
|
||||
align="right"
|
||||
class="q-pa-md"
|
||||
>
|
||||
<q-btn
|
||||
flat
|
||||
label="Annulla"
|
||||
@click="confirmCancel('script')"
|
||||
/>
|
||||
<q-btn
|
||||
color="primary"
|
||||
label="Ok"
|
||||
@click="saveScript"
|
||||
/>
|
||||
</q-card-actions>
|
||||
</q-card>
|
||||
</q-dialog>
|
||||
</template>
|
||||
|
||||
<script lang="ts" src="./CMyEditElem.ts"></script>
|
||||
|
||||
@@ -11,77 +11,79 @@ import {
|
||||
onUpdated,
|
||||
} from 'vue';
|
||||
|
||||
import type { IOptCatalogo, ICoordGPS, IMyElem, ISocial } from '@src/model';
|
||||
import { IMyCard, IMyPage, IOperators } from '@src/model';
|
||||
import type { IOptCatalogo, ICoordGPS, IMyElem, ISocial } from '@/model';
|
||||
import { IMyCard, IMyPage, IOperators } from '@/model';
|
||||
import { useGlobalStore } from '@store/globalStore';
|
||||
|
||||
import { CImgTitle } from '../CImgTitle/index';
|
||||
import { FeaturesSection } from '../FeaturesSection/index';
|
||||
import { CImgPoster } from '@src/components/CImgPoster';
|
||||
import CSection from '@src/components/CSection/CSection.vue';
|
||||
import CRow from '@src/components/CRow/CRow.vue';
|
||||
import CColumn from '@src/components/CColumn/CColumn.vue';
|
||||
import { CProfileCompletitionBanner } from '@src/components/CProfileCompletitionBanner/index';
|
||||
import { CTitle } from '@src/components/CTitle/index';
|
||||
import { CGridOriz } from '@src/components/CGridOriz/index';
|
||||
import { ChatBot } from '@src/components/ChatBot/index';
|
||||
import { CCatalogList } from '@src/components/CCatalogList/index';
|
||||
import { CRaccoltaCataloghi } from '@src/components/CRaccoltaCataloghi/index';
|
||||
import { CImgPoster } from '@/components/CImgPoster';
|
||||
import CSection from '@/components/CSection/CSection.vue';
|
||||
import CRow from '@/components/CRow/CRow.vue';
|
||||
import CColumn from '@/components/CColumn/CColumn.vue';
|
||||
import { CProfileCompletitionBanner } from '@/components/CProfileCompletitionBanner/index';
|
||||
import { CTitle } from '@/components/CTitle/index';
|
||||
import { CGridOriz } from '@/components/CGridOriz/index';
|
||||
import { ChatBot } from '@/components/ChatBot/index';
|
||||
import { CCatalogList } from '@/components/CCatalogList/index';
|
||||
import { CRaccoltaCataloghi } from '@/components/CRaccoltaCataloghi/index';
|
||||
import { tools } from '@tools';
|
||||
import { shared_consts } from '@src/common/shared_vuejs';
|
||||
import { LandingFooter } from '@src/components/LandingFooter';
|
||||
import { CMyActivities } from '@src/components/CMyActivities';
|
||||
import { CECommerce } from '@src/components/CECommerce';
|
||||
import { HomeRiso } from '@src/components/HomeRiso';
|
||||
import { Riso_Home_Modern } from '@src/components/Riso_Home_Modern';
|
||||
import { InvitaAmico } from '@src/components/InvitaAmico';
|
||||
import { CMyVideoYoutube } from '@src/components/CMyVideoYoutube';
|
||||
import { editprofile } from '@src/components/editprofile';
|
||||
import { CStatMacro } from '@src/components/CStatMacro';
|
||||
import { CSearchProduct } from '@src/components/CSearchProduct';
|
||||
import { CPageViewStats } from '@src/components/CPageViewStats';
|
||||
import { shared_consts } from '@/common/shared_vuejs';
|
||||
import { LandingFooter } from '@/components/LandingFooter';
|
||||
import { CMyActivities } from '@/components/CMyActivities';
|
||||
import { CECommerce } from '@/components/CECommerce';
|
||||
import { HomeRiso } from '@/components/HomeRiso';
|
||||
import mycircuits from '@/views/user/mycircuits/mycircuits.vue';
|
||||
import PageRis from '@/components/pageris/pageris.vue';
|
||||
import { Riso_Home_Modern } from '@/components/Riso_Home_Modern';
|
||||
import { InvitaAmico } from '@/components/InvitaAmico';
|
||||
import { CMyVideoYoutube } from '@/components/CMyVideoYoutube';
|
||||
import { editprofile } from '@/components/editprofile';
|
||||
import { CStatMacro } from '@/components/CStatMacro';
|
||||
import { CSearchProduct } from '@/components/CSearchProduct';
|
||||
import { CPageViewStats } from '@/components/CPageViewStats';
|
||||
import { CCardCarouselComp } from 'app/src/components/CCardCarouselComp';
|
||||
import { CQRCode } from '@src/components/CQRCode';
|
||||
import { CAITools } from '@src/components/CAITools';
|
||||
import { CCatalogo } from '@src/components/CCatalogo';
|
||||
import { CRaccolta } from '@src/components/CRaccolta';
|
||||
// import { CMapMarker } from '@src/components/CMapMarker.off'
|
||||
import { CMapUsers } from '@src/components/CMapUsers';
|
||||
import { CMapGetCoordinates } from '@src/components/CMapGetCoordinates';
|
||||
import { CMapEditAddressByCoord } from '@src/components/CMapEditAddressByCoord';
|
||||
import { CMapComuni } from '@src/components/CMapComuni';
|
||||
import { COpenStreetMap } from '@src/components/COpenStreetMap';
|
||||
import { CCardCarousel } from '@src/components/CCardCarousel';
|
||||
import { CMyPage } from '@src/components/CMyPage';
|
||||
import { CMyPageIntro } from '@src/components/CMyPageIntro';
|
||||
import { CEventsCalendar } from '@src/components/CEventsCalendar';
|
||||
import { CMyEditor } from '@src/components/CMyEditor';
|
||||
import { CMyFieldRec } from '@src/components/CMyFieldRec';
|
||||
import { CSelectColor } from '@src/components/CSelectColor';
|
||||
import { CMainView } from '@src/components/CMainView';
|
||||
import { CMyProfileTutorial } from '@src/components/CMyProfileTutorial';
|
||||
import { CSendRISTo } from '@src/components/CSendRISTo';
|
||||
import { CDashboard } from '@src/components/CDashboard';
|
||||
import { CDashGroup } from '@src/components/CDashGroup';
|
||||
import { CMovements } from '@src/components/CMovements';
|
||||
import { CCheckAppRunning } from '@src/components/CCheckAppRunning';
|
||||
import { CStatusReg } from '@src/components/CStatusReg';
|
||||
import { CTitleBanner } from '@src/components/CTitleBanner';
|
||||
import { CCheckIfIsLogged } from '@src/components/CCheckIfIsLogged';
|
||||
import { CSelectFontSize } from '@src/components/CSelectFontSize';
|
||||
import { CNotifAtTop } from '@src/components/CNotifAtTop';
|
||||
import { CPresentazione } from '@src/components/CPresentazione';
|
||||
import { CRegistration } from '@src/components/CRegistration';
|
||||
import { CShareSocial } from '@src/components/CShareSocial';
|
||||
import { CMyImageGallery } from '@src/components/CMyImageGallery';
|
||||
import { CMyHeading } from '@src/components/CMyHeading';
|
||||
import { CMyList } from '@src/components/CMyList';
|
||||
import { CMyCode } from '@src/components/CMyCode';
|
||||
import { CMyDivider } from '@src/components/CMyDivider';
|
||||
import { CVisuVideoPromoAndPDF } from '@src/components/CVisuVideoPromoAndPDF';
|
||||
import { CQRCode } from '@/components/CQRCode';
|
||||
import { CAITools } from '@/components/CAITools';
|
||||
import { CCatalogo } from '@/components/CCatalogo';
|
||||
import { CRaccolta } from '@/components/CRaccolta';
|
||||
// import { CMapMarker } from '@/components/CMapMarker.off'
|
||||
import { CMapUsers } from '@/components/CMapUsers';
|
||||
import { CMapGetCoordinates } from '@/components/CMapGetCoordinates';
|
||||
import { CMapEditAddressByCoord } from '@/components/CMapEditAddressByCoord';
|
||||
import { CMapComuni } from '@/components/CMapComuni';
|
||||
import { COpenStreetMap } from '@/components/COpenStreetMap';
|
||||
import { CCardCarousel } from '@/components/CCardCarousel';
|
||||
import { CMyPage } from '@/components/CMyPage';
|
||||
import { CMyPageIntro } from '@/components/CMyPageIntro';
|
||||
import { CEventsCalendar } from '@/components/CEventsCalendar';
|
||||
import { CMyEditor } from '@/components/CMyEditor';
|
||||
import { CMyFieldRec } from '@/components/CMyFieldRec';
|
||||
import { CSelectColor } from '@/components/CSelectColor';
|
||||
import { CMainView } from '@/components/CMainView';
|
||||
import { CMyProfileTutorial } from '@/components/CMyProfileTutorial';
|
||||
import { CSendRISTo } from '@/components/CSendRISTo';
|
||||
import { CDashboard } from '@/components/CDashboard';
|
||||
import { CDashGroup } from '@/components/CDashGroup';
|
||||
import { CMovements } from '@/components/CMovements';
|
||||
import { CCheckAppRunning } from '@/components/CCheckAppRunning';
|
||||
import { CStatusReg } from '@/components/CStatusReg';
|
||||
import { CTitleBanner } from '@/components/CTitleBanner';
|
||||
import { CCheckIfIsLogged } from '@/components/CCheckIfIsLogged';
|
||||
import { CSelectFontSize } from '@/components/CSelectFontSize';
|
||||
import { CNotifAtTop } from '@/components/CNotifAtTop';
|
||||
import { CPresentazione } from '@/components/CPresentazione';
|
||||
import { CRegistration } from '@/components/CRegistration';
|
||||
import { CShareSocial } from '@/components/CShareSocial';
|
||||
import { CMyImageGallery } from '@/components/CMyImageGallery';
|
||||
import { CMyHeading } from '@/components/CMyHeading';
|
||||
import { CMyList } from '@/components/CMyList';
|
||||
import { CMyCode } from '@/components/CMyCode';
|
||||
import { CMyDivider } from '@/components/CMyDivider';
|
||||
import { CVisuVideoPromoAndPDF } from '@/components/CVisuVideoPromoAndPDF';
|
||||
|
||||
import MixinMetaTags from '@src/mixins/mixin-metatags';
|
||||
import MixinBase from '@src/mixins/mixin-base';
|
||||
import MixinMetaTags from '@/mixins/mixin-metatags';
|
||||
import MixinBase from '@/mixins/mixin-base';
|
||||
import { useQuasar } from 'quasar';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { useRouter } from 'vue-router';
|
||||
@@ -95,6 +97,7 @@ export default defineComponent({
|
||||
components: {
|
||||
CImgTitle,
|
||||
CTitle,
|
||||
PageRis,
|
||||
LandingFooter,
|
||||
CEventsCalendar,
|
||||
CCardCarousel,
|
||||
@@ -106,6 +109,7 @@ export default defineComponent({
|
||||
HomeRiso,
|
||||
Riso_Home_Modern,
|
||||
CMyEditor,
|
||||
mycircuits,
|
||||
editprofile,
|
||||
CMyFieldRec,
|
||||
CSelectColor,
|
||||
@@ -451,18 +455,22 @@ export default defineComponent({
|
||||
|
||||
const executeScript = () => {
|
||||
if (myel.value.container3 && htmlContainer.value) {
|
||||
try {
|
||||
console.log('Script da eseguire:', myel.value.container3);
|
||||
nextTick(() => {
|
||||
try {
|
||||
console.log('S guire:', myel.value.container3);
|
||||
|
||||
const fn = new Function('element', myel.value.container3);
|
||||
fn(htmlContainer.value);
|
||||
} catch (e) {
|
||||
console.error('Script execution error:', e);
|
||||
}
|
||||
const fn = new Function('element', myel.value.container3);
|
||||
fn(htmlContainer.value);
|
||||
} catch (e) {
|
||||
console.error('Script execution error:', e);
|
||||
}
|
||||
})
|
||||
}
|
||||
};
|
||||
|
||||
watch(() => myel.value.container3, executeScript, { flush: 'post' });
|
||||
watch(() => myel.value.container3, executeScript);
|
||||
watch(() => myel.value.containerHtml, executeScript); // AGGIUNGI ANCHE QUESTO
|
||||
|
||||
|
||||
onUpdated(executeScript);
|
||||
|
||||
|
||||
@@ -91,6 +91,18 @@
|
||||
>
|
||||
<HomeRiso />
|
||||
</div>
|
||||
<div
|
||||
v-else-if="myel.type === shared_consts.ELEMTYPE.PAGERIS"
|
||||
class="myElemBase"
|
||||
>
|
||||
<PageRis />
|
||||
</div>
|
||||
<div
|
||||
v-else-if="myel.type === shared_consts.ELEMTYPE.CMYCIRCUITS"
|
||||
class="myElemBase"
|
||||
>
|
||||
<mycircuits />
|
||||
</div>
|
||||
<div
|
||||
v-else-if="myel.type === shared_consts.ELEMTYPE.RISOHOME_MODERN"
|
||||
class="myElemBase"
|
||||
@@ -603,7 +615,7 @@
|
||||
v-if="editOn"
|
||||
class="elemEdit"
|
||||
>
|
||||
CSendRISTo
|
||||
Bottoni (Invia/Ricevi RIS) CSendRISTo
|
||||
</div>
|
||||
<CSendRISTo></CSendRISTo>
|
||||
</div>
|
||||
|
||||
@@ -11,23 +11,23 @@ import type {
|
||||
IMyScheda,
|
||||
ISchedaSingola,
|
||||
IText,
|
||||
} from '@src/model';
|
||||
import { IImgGallery, ILabelValue, IMyPage, IOperators } from '@src/model';
|
||||
} from '@/model';
|
||||
import { IImgGallery, ILabelValue, IMyPage, IOperators } from '@/model';
|
||||
import { useGlobalStore } from '@store/globalStore';
|
||||
import { useCatalogStore } from '@store/CatalogStore';
|
||||
|
||||
import { tools } from '@tools';
|
||||
import { useRouter } from 'vue-router';
|
||||
import { shared_consts } from '@src/common/shared_vuejs';
|
||||
import { shared_consts } from '@/common/shared_vuejs';
|
||||
|
||||
import MixinMetaTags from '@src/mixins/mixin-metatags';
|
||||
import MixinBase from '@src/mixins/mixin-base';
|
||||
import MixinMetaTags from '@/mixins/mixin-metatags';
|
||||
import MixinBase from '@/mixins/mixin-base';
|
||||
import { useQuasar } from 'quasar';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { emitKeypressEvents } from 'readline';
|
||||
import { costanti } from '@costanti';
|
||||
import objectId from '@src/js/objectId';
|
||||
import { useProducts } from '@src/store/Products';
|
||||
import objectId from '@/js/objectId';
|
||||
import { useProducts } from '@/store/Products';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'CMyElemAdd',
|
||||
|
||||
@@ -6,10 +6,10 @@ import { useGlobalStore } from '@store/globalStore'
|
||||
import { fieldsTable } from '@store/Modules/fieldsTable'
|
||||
import { tools } from '@tools'
|
||||
import { costanti } from '@costanti'
|
||||
import { CMyPopupEdit } from '@src/components/CMyPopupEdit'
|
||||
import { CMyPopupEdit } from '@/components/CMyPopupEdit'
|
||||
import type { IColGridTable, ISpecialField } from 'model';
|
||||
import { IOperators } from 'model'
|
||||
import MixinBase from '@src/mixins/mixin-base'
|
||||
import MixinBase from '@/mixins/mixin-base'
|
||||
|
||||
|
||||
export default defineComponent({
|
||||
|
||||
@@ -6,10 +6,10 @@ import { useGlobalStore } from '@store/globalStore'
|
||||
import { fieldsTable } from '@store/Modules/fieldsTable'
|
||||
import { tools } from '@tools'
|
||||
import { costanti } from '@costanti'
|
||||
import { CMyPopupEdit } from '@src/components/CMyPopupEdit'
|
||||
import { CMyPopupEdit } from '@/components/CMyPopupEdit'
|
||||
import type { ISpecialField } from 'model';
|
||||
import { IColGridTable } from 'model'
|
||||
import MixinBase from '@src/mixins/mixin-base'
|
||||
import MixinBase from '@/mixins/mixin-base'
|
||||
|
||||
|
||||
export default defineComponent({
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { CMyUser } from '@src/components/CMyUser'
|
||||
import { CUserNonVerif } from '@src/components/CUserNonVerif'
|
||||
import { CMyUser } from '@/components/CMyUser'
|
||||
import { CUserNonVerif } from '@/components/CUserNonVerif'
|
||||
import type { PropType} from 'vue';
|
||||
import { computed, defineComponent, onMounted, ref, toRef } from 'vue'
|
||||
import { useUserStore } from '@store/UserStore'
|
||||
@@ -8,7 +8,7 @@ import { useQuasar } from 'quasar'
|
||||
import { costanti } from '@costanti'
|
||||
import type { IUserFields } from 'model';
|
||||
import { IFriends, ISearchList } from 'model'
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
import { tools } from '@tools'
|
||||
|
||||
|
||||
|
||||
@@ -4,17 +4,17 @@ import { useUserStore } from '@store/UserStore'
|
||||
import type { IMyGroup, ICircuit } from 'model';
|
||||
import { IImgGallery, IUserFields, IUserProfile, IFriends, IAccount } from 'model'
|
||||
import { costanti } from '@costanti'
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
import { tools } from '@tools'
|
||||
import { useQuasar } from 'quasar'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useRoute, useRouter } from 'vue-router'
|
||||
import { CUserNonVerif } from '@src/components/CUserNonVerif'
|
||||
import { CUserNonVerif } from '@/components/CUserNonVerif'
|
||||
import { toolsext } from '@store/Modules/toolsext'
|
||||
import { CSaldo } from '@src/components/CSaldo'
|
||||
import { CInfoAccount } from '@src/components/CInfoAccount'
|
||||
import { CSendCoins } from '@src/components/CSendCoins'
|
||||
import { CCurrencyValue } from '@src/components/CCurrencyValue'
|
||||
import { CSaldo } from '@/components/CSaldo'
|
||||
import { CInfoAccount } from '@/components/CInfoAccount'
|
||||
import { CSendCoins } from '@/components/CSendCoins'
|
||||
import { CCurrencyValue } from '@/components/CCurrencyValue'
|
||||
import { useCircuitStore } from '@store/CircuitStore'
|
||||
|
||||
export default defineComponent({
|
||||
|
||||
@@ -4,7 +4,7 @@ import { useUserStore } from '@store/UserStore'
|
||||
import type { IMyGroup, ICircuit} from 'model';
|
||||
import { IImgGallery, IUserFields, IUserProfile, IFriends, IAccount } from 'model'
|
||||
import { costanti } from '@costanti'
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
import { tools } from '@tools'
|
||||
import { useQuasar } from 'quasar'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { CMyGroup } from '@src/components/CMyGroup'
|
||||
import { CMyGroup } from '@/components/CMyGroup'
|
||||
import type { PropType } from 'vue';
|
||||
import { computed, defineComponent, onMounted, ref, toRef } from 'vue'
|
||||
import { useUserStore } from '@store/UserStore'
|
||||
@@ -7,9 +7,9 @@ import { useQuasar } from 'quasar'
|
||||
import { costanti } from '@costanti'
|
||||
import type { IMyGroup } from 'model';
|
||||
import { ISearchList, IUserFields } from 'model'
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
import { tools } from '@tools'
|
||||
import { CUserNonVerif } from '@src/components/CUserNonVerif'
|
||||
import { CUserNonVerif } from '@/components/CUserNonVerif'
|
||||
|
||||
|
||||
export default defineComponent({
|
||||
|
||||
@@ -4,12 +4,12 @@ import { useUserStore } from '@store/UserStore'
|
||||
import type { ICircuit, IMovQuery, IUserFields} from 'model';
|
||||
import { IImgGallery, IUserProfile } from 'model'
|
||||
import { costanti } from '@costanti'
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
import { tools } from '@tools'
|
||||
import { useQuasar } from 'quasar'
|
||||
import { CSendCoins } from '@src/components/CSendCoins'
|
||||
import { CSaldo } from '@src/components/CSaldo'
|
||||
import { CUserInfoAccount } from '@src/components/CUserInfoAccount'
|
||||
import { CSendCoins } from '@/components/CSendCoins'
|
||||
import { CSaldo } from '@/components/CSaldo'
|
||||
import { CUserInfoAccount } from '@/components/CUserInfoAccount'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useRoute, useRouter } from 'vue-router'
|
||||
import { useCircuitStore } from '@store/CircuitStore'
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import { defineComponent, ref, onMounted } from 'vue'
|
||||
import type { IMyPage } from 'model'
|
||||
import { useGlobalStore } from '@store/globalStore'
|
||||
import { CImgText } from '@src/components/CImgText'
|
||||
import { CCard } from '@src/components/CCard'
|
||||
import { CMyPage } from '@src/components/CMyPage'
|
||||
import { CTitleBanner } from '@src/components/CTitleBanner'
|
||||
import { CImgText } from '@/components/CImgText'
|
||||
import { CCard } from '@/components/CCard'
|
||||
import { CMyPage } from '@/components/CMyPage'
|
||||
import { CTitleBanner } from '@/components/CTitleBanner'
|
||||
import { useRouter } from 'vue-router'
|
||||
|
||||
export default defineComponent({
|
||||
|
||||
@@ -2,9 +2,9 @@ import {
|
||||
defineComponent, onMounted, ref, toRef, watch,
|
||||
} from 'vue'
|
||||
|
||||
import type { IMyPage } from '@src/model'
|
||||
import type { IMyPage } from '@/model'
|
||||
import { useGlobalStore } from '@store/globalStore'
|
||||
import { LandingFooter } from '@src/components/LandingFooter'
|
||||
import { LandingFooter } from '@/components/LandingFooter'
|
||||
|
||||
import { CImgTitle } from '../CImgTitle/index'
|
||||
import { CTitle } from '../CTitle/index'
|
||||
|
||||
@@ -1,22 +1,22 @@
|
||||
import { computed, defineComponent, onMounted, ref, toRef, watch } from 'vue';
|
||||
|
||||
import type { IMyElem, IMyPage } from '@src/model';
|
||||
import type { IMyElem, IMyPage } from '@/model';
|
||||
import { useGlobalStore } from '@store/globalStore';
|
||||
import { LandingFooter } from '@src/components/LandingFooter';
|
||||
import { CMyElem } from '@src/components/CMyElem';
|
||||
import { CMyElemAdd } from '@src/components/CMyElemAdd';
|
||||
import { CTitleBanner } from '@src/components/CTitleBanner';
|
||||
import { CMyEditElem } from '@src/components/CMyEditElem';
|
||||
import { CMyPageElem2 } from '@src/components/CMyPageElem2';
|
||||
import { CExportImportPage } from '@src/components/CExportImportPage';
|
||||
import { LandingFooter } from '@/components/LandingFooter';
|
||||
import { CMyElem } from '@/components/CMyElem';
|
||||
import { CMyElemAdd } from '@/components/CMyElemAdd';
|
||||
import { CTitleBanner } from '@/components/CTitleBanner';
|
||||
import { CMyEditElem } from '@/components/CMyEditElem';
|
||||
import { CMyPageElem2 } from '@/components/CMyPageElem2';
|
||||
import { CExportImportPage } from '@/components/CExportImportPage';
|
||||
|
||||
import { CImgTitle } from '../CImgTitle/index';
|
||||
import { CTitle } from '../CTitle/index';
|
||||
import { tools } from '@tools';
|
||||
import { useQuasar } from 'quasar';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { shared_consts } from '@src/common/shared_vuejs';
|
||||
import objectId from '@src/js/objectId';
|
||||
import { shared_consts } from '@/common/shared_vuejs';
|
||||
import objectId from '@/js/objectId';
|
||||
import { useRouter, useRoute } from 'vue-router';
|
||||
|
||||
export default defineComponent({
|
||||
|
||||
@@ -3,19 +3,19 @@ import {
|
||||
defineComponent, onMounted, ref, toRef, watch,
|
||||
} from 'vue'
|
||||
|
||||
import type { IMyElem, IMyPage } from '@src/model'
|
||||
import type { IMyElem, IMyPage } from '@/model'
|
||||
import { useGlobalStore } from '@store/globalStore'
|
||||
import { LandingFooter } from '@src/components/LandingFooter'
|
||||
import { CMyElem } from '@src/components/CMyElem'
|
||||
import { CMyEditElem } from '@src/components/CMyEditElem'
|
||||
import { LandingFooter } from '@/components/LandingFooter'
|
||||
import { CMyElem } from '@/components/CMyElem'
|
||||
import { CMyEditElem } from '@/components/CMyEditElem'
|
||||
|
||||
import { CImgTitle } from '../CImgTitle/index'
|
||||
import { CTitle } from '../CTitle/index'
|
||||
import { tools } from '@tools'
|
||||
import { useQuasar } from 'quasar'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import objectId from '@src/js/objectId'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
import objectId from '@/js/objectId'
|
||||
|
||||
import { useRouter } from 'vue-router'
|
||||
|
||||
|
||||
@@ -2,9 +2,9 @@ import {
|
||||
defineComponent, onMounted, ref, toRef, watch,
|
||||
} from 'vue'
|
||||
|
||||
import type { IMyPage } from '@src/model'
|
||||
import type { IMyPage } from '@/model'
|
||||
import { useGlobalStore } from '@store/globalStore'
|
||||
import { LandingFooter } from '@src/components/LandingFooter'
|
||||
import { LandingFooter } from '@/components/LandingFooter'
|
||||
|
||||
import { CImgTitle } from '../CImgTitle/index'
|
||||
import { CTitle } from '../CTitle/index'
|
||||
|
||||
@@ -37,10 +37,10 @@ import { costanti } from '@costanti';
|
||||
// import 'vue3-tel-input/dist/vue3-tel-input.css'
|
||||
|
||||
import { fieldsTable } from '@store/Modules/fieldsTable';
|
||||
import MixinBase from '@src/mixins/mixin-base';
|
||||
import MixinUsers from '@src/mixins/mixin-users';
|
||||
import MixinBase from '@/mixins/mixin-base';
|
||||
import MixinUsers from '@/mixins/mixin-users';
|
||||
import { toolsext } from '@store/Modules/toolsext';
|
||||
import { shared_consts } from '@src/common/shared_vuejs';
|
||||
import { shared_consts } from '@/common/shared_vuejs';
|
||||
import { useRouter } from 'vue-router';
|
||||
|
||||
export default defineComponent({
|
||||
|
||||
@@ -5,21 +5,21 @@ import { useGlobalStore } from '@store/globalStore'
|
||||
import type { ICircuit, IUserFields } from 'model';
|
||||
import { IImgGallery, IUserProfile } from 'model'
|
||||
import { costanti } from '@costanti'
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
import { tools } from '@tools'
|
||||
import { useQuasar } from 'quasar'
|
||||
import { CTitleBanner } from '@src/components/CTitleBanner'
|
||||
import { CSendCoins } from '@src/components/CSendCoins'
|
||||
import { CSkill } from '@src/components/CSkill'
|
||||
import { CMyFieldRec } from '@src/components/CMyFieldRec'
|
||||
import { CSaldo } from '@src/components/CSaldo'
|
||||
import { CMySelectCity } from '@src/components/CMySelectCity'
|
||||
import { CMyFieldDb } from '@src/components/CMyFieldDb'
|
||||
import { CMyCircuit } from '@src/components/CMyCircuit'
|
||||
import { CMySelect } from '@src/components/CMySelect'
|
||||
import { CMyUserOnlyView } from '@src/components/CMyUserOnlyView'
|
||||
import { CMyUser } from '@src/components/CMyUser'
|
||||
import { CUserInfoAccount } from '@src/components/CUserInfoAccount'
|
||||
import { CTitleBanner } from '@/components/CTitleBanner'
|
||||
import { CSendCoins } from '@/components/CSendCoins'
|
||||
import { CSkill } from '@/components/CSkill'
|
||||
import { CMyFieldRec } from '@/components/CMyFieldRec'
|
||||
import { CSaldo } from '@/components/CSaldo'
|
||||
import { CMySelectCity } from '@/components/CMySelectCity'
|
||||
import { CMyFieldDb } from '@/components/CMyFieldDb'
|
||||
import { CMyCircuit } from '@/components/CMyCircuit'
|
||||
import { CMySelect } from '@/components/CMySelect'
|
||||
import { CMyUserOnlyView } from '@/components/CMyUserOnlyView'
|
||||
import { CMyUser } from '@/components/CMyUser'
|
||||
import { CUserInfoAccount } from '@/components/CUserInfoAccount'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { useRoute, useRouter } from 'vue-router'
|
||||
import { useCircuitStore } from '@store/CircuitStore'
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user