From 40de7c2b8b04bb72221aa84048d98b05f52bd375 Mon Sep 17 00:00:00 2001 From: Surya Paolo Date: Wed, 28 Feb 2024 23:56:33 +0100 Subject: [PATCH] - zoom dialog immagine --- .env.development | 2 +- .env.example.production | 2 +- .env.prod.pcb | 2 +- .env.test.pcb | 2 +- .env.test.risosrv | 2 +- .env.test_riso.pcb | 2 +- .../fioredellavita.riso.app/.env.development | 2 +- _ALL_SITES/fioredellavita.riso.app/.env.test | 2 +- _ALL_SITES/gruppomacro.app/.env.test | 2 +- _ALL_SITES/piuchebuono.app/.env.test | 2 +- _ALL_SITES/riso.app/.env.development | 2 +- _ALL_SITES/riso.app/.env.production | 2 +- _ALL_SITES/riso.app/.env.test | 2 +- .../terradellavisione.app/.env.development | 2 +- package.json | 5 +- .../CEventsCalendar/CEventsCalendar.ts | 4 +- .../CGalleryImages/CGalleryImages.ts | 17 + .../CGalleryImages/CGalleryImages.vue | 11 + tsconfig.json | 2 +- .../paoloar77/myskills/riso_services.png | Bin 0 -> 127433 bytes yarn.lock | 6092 ++++++++++------- 21 files changed, 3545 insertions(+), 2614 deletions(-) create mode 100644 upload/profile/paoloar77/myskills/riso_services.png diff --git a/.env.development b/.env.development index 2d7d8a8d..c6d79f66 100755 --- a/.env.development +++ b/.env.development @@ -1,4 +1,4 @@ -APP_VERSION="1.0.28" +APP_VERSION="1.0.29" SERVICE_WORKER_FILE="service-worker.js" APP_ID="13" DIRECTORY_LOCAL="newfreeplanet" diff --git a/.env.example.production b/.env.example.production index 1b188c6c..5390862e 100755 --- a/.env.example.production +++ b/.env.example.production @@ -1,4 +1,4 @@ -APP_VERSION="1.0.28" +APP_VERSION="1.0.29" SERVICE_WORKER_FILE="service-worker.js" APP_ID="13" DIRECTORY_LOCAL=newfreeplanet diff --git a/.env.prod.pcb b/.env.prod.pcb index 6d7304ab..7a0b07c7 100644 --- a/.env.prod.pcb +++ b/.env.prod.pcb @@ -1,4 +1,4 @@ -APP_VERSION="1.0.28" +APP_VERSION="1.0.29" SERVICE_WORKER_FILE="service-worker.js" APP_ID="17" DIRECTORY_LOCAL=newfreeplanet diff --git a/.env.test.pcb b/.env.test.pcb index 7d5cf680..3c6c7d55 100755 --- a/.env.test.pcb +++ b/.env.test.pcb @@ -1,4 +1,4 @@ -APP_VERSION="1.0.28" +APP_VERSION="1.0.29" SERVICE_WORKER_FILE="service-worker.js" APP_ID="17" DIRECTORY_LOCAL=newfreeplanet diff --git a/.env.test.risosrv b/.env.test.risosrv index 87cd52ca..dfdfb34b 100755 --- a/.env.test.risosrv +++ b/.env.test.risosrv @@ -1,4 +1,4 @@ -APP_VERSION="1.0.28" +APP_VERSION="1.0.29" SERVICE_WORKER_FILE="service-worker.js" APP_ID="13" DIRECTORY_LOCAL=newfreeplanet diff --git a/.env.test_riso.pcb b/.env.test_riso.pcb index faf1397e..3df98617 100755 --- a/.env.test_riso.pcb +++ b/.env.test_riso.pcb @@ -1,4 +1,4 @@ -APP_VERSION="1.0.28" +APP_VERSION="1.0.29" SERVICE_WORKER_FILE="service-worker.js" APP_ID="13" DIRECTORY_LOCAL=newfreeplanet diff --git a/_ALL_SITES/fioredellavita.riso.app/.env.development b/_ALL_SITES/fioredellavita.riso.app/.env.development index 8792803e..286d9326 100755 --- a/_ALL_SITES/fioredellavita.riso.app/.env.development +++ b/_ALL_SITES/fioredellavita.riso.app/.env.development @@ -1,4 +1,4 @@ -APP_VERSION="1.0.28" +APP_VERSION="1.0.29" SERVICE_WORKER_FILE="service-worker.js" APP_ID="15" DIRECTORY_LOCAL="newfreeplanet" diff --git a/_ALL_SITES/fioredellavita.riso.app/.env.test b/_ALL_SITES/fioredellavita.riso.app/.env.test index f42f4865..55e3b0f7 100755 --- a/_ALL_SITES/fioredellavita.riso.app/.env.test +++ b/_ALL_SITES/fioredellavita.riso.app/.env.test @@ -1,4 +1,4 @@ -APP_VERSION="1.0.28" +APP_VERSION="1.0.29" SERVICE_WORKER_FILE="service-worker.js" APP_ID="15" DIRECTORY_LOCAL=newfreeplanet diff --git a/_ALL_SITES/gruppomacro.app/.env.test b/_ALL_SITES/gruppomacro.app/.env.test index b8815ee6..7c34e9a9 100755 --- a/_ALL_SITES/gruppomacro.app/.env.test +++ b/_ALL_SITES/gruppomacro.app/.env.test @@ -1,4 +1,4 @@ -APP_VERSION="1.0.28" +APP_VERSION="1.0.29" SERVICE_WORKER_FILE="service-worker.js" APP_ID="13" DIRECTORY_LOCAL=newfreeplanet diff --git a/_ALL_SITES/piuchebuono.app/.env.test b/_ALL_SITES/piuchebuono.app/.env.test index b8815ee6..7c34e9a9 100755 --- a/_ALL_SITES/piuchebuono.app/.env.test +++ b/_ALL_SITES/piuchebuono.app/.env.test @@ -1,4 +1,4 @@ -APP_VERSION="1.0.28" +APP_VERSION="1.0.29" SERVICE_WORKER_FILE="service-worker.js" APP_ID="13" DIRECTORY_LOCAL=newfreeplanet diff --git a/_ALL_SITES/riso.app/.env.development b/_ALL_SITES/riso.app/.env.development index 2d7d8a8d..c6d79f66 100755 --- a/_ALL_SITES/riso.app/.env.development +++ b/_ALL_SITES/riso.app/.env.development @@ -1,4 +1,4 @@ -APP_VERSION="1.0.28" +APP_VERSION="1.0.29" SERVICE_WORKER_FILE="service-worker.js" APP_ID="13" DIRECTORY_LOCAL="newfreeplanet" diff --git a/_ALL_SITES/riso.app/.env.production b/_ALL_SITES/riso.app/.env.production index b1a497d2..1190673e 100644 --- a/_ALL_SITES/riso.app/.env.production +++ b/_ALL_SITES/riso.app/.env.production @@ -1,4 +1,4 @@ -APP_VERSION="1.0.28" +APP_VERSION="1.0.29" SERVICE_WORKER_FILE="service-worker.js" APP_ID="13" DIRECTORY_LOCAL=newfreeplanet diff --git a/_ALL_SITES/riso.app/.env.test b/_ALL_SITES/riso.app/.env.test index 6b480719..fdadbd1d 100755 --- a/_ALL_SITES/riso.app/.env.test +++ b/_ALL_SITES/riso.app/.env.test @@ -1,4 +1,4 @@ -APP_VERSION="1.0.28" +APP_VERSION="1.0.29" SERVICE_WORKER_FILE="service-worker.js" APP_ID="16" DIRECTORY_LOCAL=newfreeplanet diff --git a/_ALL_SITES/terradellavisione.app/.env.development b/_ALL_SITES/terradellavisione.app/.env.development index f581818d..08afa581 100755 --- a/_ALL_SITES/terradellavisione.app/.env.development +++ b/_ALL_SITES/terradellavisione.app/.env.development @@ -1,4 +1,4 @@ -APP_VERSION="1.0.28" +APP_VERSION="1.0.29" SERVICE_WORKER_FILE="service-worker.js" APP_ID="14" DIRECTORY_LOCAL="newfreeplanet" diff --git a/package.json b/package.json index ad32c04d..56c1d45a 100755 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "dependencies": { "@cubejs-client/core": "^0.31.0", "@quasar/extras": "^1.16.9", - "@quasar/quasar-ui-qcalendar": "^4.0.0-beta.16", + "@quasar/quasar-ui-qcalendar": "^4.0.0-beta.19", "@vue-leaflet/vue-leaflet": "^0.10.1", "@vue/compat": "^3.3.9", "@vue/compiler-sfc": "^3.3.9", @@ -68,6 +68,7 @@ "vue-echarts": "^6.6.1", "vue-i18n": "^9.8.0", "vue-idb": "^0.2.0", + "vue-image-zoomer": "^2.2.3", "vue-loader": "^17.3.1", "vue-property-decorator": "^10.0.0-rc.3", "vue-router": "^4.2.5", @@ -81,7 +82,7 @@ "vuex-router-sync": "^6.0.0-rc.1" }, "devDependencies": { - "@quasar/app": "^3.3.3", + "@quasar/app-webpack": "^3.12.3", "@types/bcryptjs": "^2.4.6", "@types/dotenv": "^8.2.0", "@types/googlemaps": "^3.43.3", diff --git a/src/components/CEventsCalendar/CEventsCalendar.ts b/src/components/CEventsCalendar/CEventsCalendar.ts index 62e38176..e6332436 100755 --- a/src/components/CEventsCalendar/CEventsCalendar.ts +++ b/src/components/CEventsCalendar/CEventsCalendar.ts @@ -573,7 +573,7 @@ export default defineComponent({ tools.showPositiveNotif($q, t('db.recupdated')) if (update) { - const index = findEventIndex(contextDay) + const index = findEventIndex(contextDay.value) if (index >= 0) { // @ts-ignore calendarStore.eventlist.splice(index, 1, { ...data }) @@ -588,7 +588,7 @@ export default defineComponent({ } else { tools.showNegativeNotif($q, t('db.recfailed')) // Undo... - const index = findEventIndex(contextDay) + const index = findEventIndex(contextDay.value) if (index >= 0) { // @ts-ignore calendarStore.eventlist.splice(index, 1, { ...contextDay }) diff --git a/src/components/CGalleryImages/CGalleryImages.ts b/src/components/CGalleryImages/CGalleryImages.ts index 42cc0af2..8a5c30db 100755 --- a/src/components/CGalleryImages/CGalleryImages.ts +++ b/src/components/CGalleryImages/CGalleryImages.ts @@ -30,7 +30,24 @@ export default defineComponent({ const slide = ref(0) const autoplay = ref(5000) + const dialogVisible = ref(false); + const selectedImage = ref(null); + + const showImage = (item: any) => { + selectedImage.value = item; + dialogVisible.value = true; + }; + + const closeDialog = () => { + selectedImage.value = null; + dialogVisible.value = false; + } + return { + showImage, + closeDialog, + selectedImage, + dialogVisible, tools, costanti, slide, diff --git a/src/components/CGalleryImages/CGalleryImages.vue b/src/components/CGalleryImages/CGalleryImages.vue index 13c7427c..a6526e6f 100755 --- a/src/components/CGalleryImages/CGalleryImages.vue +++ b/src/components/CGalleryImages/CGalleryImages.vue @@ -11,15 +11,26 @@ v-model="slide" :thumbnails="imgGallery.length > 1" infinite + navigation > + + + +