- Sistemato i Referenti (e non Editori), quando crei un nuovo Catalogo ti imposta la proprietà a te, ma chiunque Collaboratore potrebbe cmq modificartelo.
This commit is contained in:
4
.env
4
.env
@@ -1,6 +1,6 @@
|
|||||||
VITE_APP_VERSION="1.2.58"
|
VITE_APP_VERSION="1.2.59"
|
||||||
VITE_LANG_DEFAULT="it"
|
VITE_LANG_DEFAULT="it"
|
||||||
VITE_PAO_APP_ID="KKPPAA5KJK435J3KSS9F9D8S9F8SD98F9SDF"
|
VITE_PAO_APP_ID="KKPPAA5KJK435J3KSS9F9D8S9F8SD98F9SDF"
|
||||||
VITE_SERVICE_WORKER_FILE="sw-1.2.58.js"
|
VITE_SERVICE_WORKER_FILE="sw-1.2.59.js"
|
||||||
VITE_PROJECT_ID_MAIN="5cc0a13fe5c9d156728f400a"
|
VITE_PROJECT_ID_MAIN="5cc0a13fe5c9d156728f400a"
|
||||||
VITE_VUE_ROUTER_MODE="history"
|
VITE_VUE_ROUTER_MODE="history"
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
<meta name="description" content="<%= productDescription %>">
|
<meta name="description" content="<%= productDescription %>">
|
||||||
<meta name="format-detection" content="telephone=no">
|
<meta name="format-detection" content="telephone=no">
|
||||||
<meta name="msapplication-tap-highlight" content="no">
|
<meta name="msapplication-tap-highlight" content="no">
|
||||||
<meta name="version" content="1.2.58">
|
<meta name="version" content="1.2.59">
|
||||||
<meta name="viewport"
|
<meta name="viewport"
|
||||||
content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width<% if (ctx.mode.cordova || ctx.mode.capacitor) { %>, viewport-fit=cover<% } %>">
|
content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width<% if (ctx.mode.cordova || ctx.mode.capacitor) { %>, viewport-fit=cover<% } %>">
|
||||||
|
|
||||||
|
|||||||
14
package.json
14
package.json
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "gruppomacro",
|
"name": "gruppomacro",
|
||||||
"version": "1.2.58",
|
"version": "1.2.59",
|
||||||
"description": "Gruppo Macro",
|
"description": "Gruppo Macro",
|
||||||
"productName": "Gruppo Macro",
|
"productName": "Gruppo Macro",
|
||||||
"author": "Surya",
|
"author": "Surya",
|
||||||
@@ -9,20 +9,20 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "PORT=8089 APP_VERSION='1.2.58' quasar dev",
|
"dev": "PORT=8089 APP_VERSION='1.2.59' quasar dev",
|
||||||
"dev_noCheck": "SKIP_TSC=true quasar dev",
|
"dev_noCheck": "SKIP_TSC=true quasar dev",
|
||||||
"build": "quasar build",
|
"build": "quasar build",
|
||||||
"buildpwa": "NODE_ENV=production APP_VERSION='1.2.58' quasar build -m pwa",
|
"buildpwa": "NODE_ENV=production APP_VERSION='1.2.59' quasar build -m pwa",
|
||||||
"buildpwatest": "NODE_ENV=production APP_VERSION='1.2.58' quasar build -m pwa",
|
"buildpwatest": "NODE_ENV=production APP_VERSION='1.2.59' quasar build -m pwa",
|
||||||
"type-check": "vue-tsc --noEmit",
|
"type-check": "vue-tsc --noEmit",
|
||||||
"type-check:watch": "vue-tsc --noEmit --watch",
|
"type-check:watch": "vue-tsc --noEmit --watch",
|
||||||
"buildspa": "APP_VERSION='1.2.58' quasar build -m spa",
|
"buildspa": "APP_VERSION='1.2.59' quasar build -m spa",
|
||||||
"lint": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\"",
|
"lint": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\"",
|
||||||
"lintfile": "eslint --ext .js,.ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
"lintfile": "eslint --ext .js,.ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
||||||
"lintfileNoJS": "eslint --ext .ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
"lintfileNoJS": "eslint --ext .ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
||||||
"fix": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\" --ignore-pattern .gitignore ./ --fix > file.out.txt",
|
"fix": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\" --ignore-pattern .gitignore ./ --fix > file.out.txt",
|
||||||
"pwa": "NODE_ENV=development PORT=8099 APP_VERSION='1.2.58' quasar dev -m pwa",
|
"pwa": "NODE_ENV=development PORT=8099 APP_VERSION='1.2.59' quasar dev -m pwa",
|
||||||
"spa": "NODE_ENV=development PORT=8089 APP_VERSION='1.2.58' quasar dev",
|
"spa": "NODE_ENV=development PORT=8089 APP_VERSION='1.2.59' quasar dev",
|
||||||
"debug": "quasar dev --mode debug",
|
"debug": "quasar dev --mode debug",
|
||||||
"test": "echo \"No test specified\" && exit 0",
|
"test": "echo \"No test specified\" && exit 0",
|
||||||
"generate-sw": "workbox generateSW workbox-config.js",
|
"generate-sw": "workbox generateSW workbox-config.js",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "cnm",
|
"name": "cnm",
|
||||||
"version": "1.2.58",
|
"version": "1.2.59",
|
||||||
"description": "Comunita Nuovo Mondo",
|
"description": "Comunita Nuovo Mondo",
|
||||||
"productName": "ComunitaNuovoMondo",
|
"productName": "ComunitaNuovoMondo",
|
||||||
"author": "Surya",
|
"author": "Surya",
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "PORT=8083 APP_VERSION='1.2.58' quasar dev",
|
"dev": "PORT=8083 APP_VERSION='1.2.59' quasar dev",
|
||||||
"dev_noCheck": "SKIP_TSC=true quasar dev",
|
"dev_noCheck": "SKIP_TSC=true quasar dev",
|
||||||
"build": "quasar build",
|
"build": "quasar build",
|
||||||
"buildpwa": "NODE_ENV=production quasar build -m pwa",
|
"buildpwa": "NODE_ENV=production quasar build -m pwa",
|
||||||
@@ -21,8 +21,8 @@
|
|||||||
"lintfile": "eslint --ext .js,.ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
"lintfile": "eslint --ext .js,.ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
||||||
"lintfileNoJS": "eslint --ext .ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
"lintfileNoJS": "eslint --ext .ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
||||||
"fix": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\" --ignore-pattern .gitignore ./ --fix > file.out.txt",
|
"fix": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\" --ignore-pattern .gitignore ./ --fix > file.out.txt",
|
||||||
"pwa": "NODE_ENV=development PORT=8093 APP_VERSION='1.2.58' quasar dev -m pwa",
|
"pwa": "NODE_ENV=development PORT=8093 APP_VERSION='1.2.59' quasar dev -m pwa",
|
||||||
"spa": "NODE_ENV=development PORT=8083 APP_VERSION='1.2.58' quasar dev",
|
"spa": "NODE_ENV=development PORT=8083 APP_VERSION='1.2.59' quasar dev",
|
||||||
"debug": "quasar dev --mode debug",
|
"debug": "quasar dev --mode debug",
|
||||||
"test": "echo \"No test specified\" && exit 0",
|
"test": "echo \"No test specified\" && exit 0",
|
||||||
"generate-sw": "workbox generateSW workbox-config.js",
|
"generate-sw": "workbox generateSW workbox-config.js",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "freeplanet",
|
"name": "freeplanet",
|
||||||
"version": "1.2.58",
|
"version": "1.2.59",
|
||||||
"description": "freeplanet",
|
"description": "freeplanet",
|
||||||
"productName": "freeplanet",
|
"productName": "freeplanet",
|
||||||
"author": "Surya",
|
"author": "Surya",
|
||||||
@@ -9,11 +9,11 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "PORT=8087 APP_VERSION='1.2.58' quasar dev",
|
"dev": "PORT=8087 APP_VERSION='1.2.59' quasar dev",
|
||||||
"dev_noCheck": "SKIP_TSC=true quasar dev",
|
"dev_noCheck": "SKIP_TSC=true quasar dev",
|
||||||
"build": "quasar build",
|
"build": "quasar build",
|
||||||
"buildpwa": "NODE_ENV=production APP_VERSION='1.2.58' quasar build -m pwa",
|
"buildpwa": "NODE_ENV=production APP_VERSION='1.2.59' quasar build -m pwa",
|
||||||
"buildpwatest": "NODE_ENV=production APP_VERSION='1.2.58' quasar build -m pwa",
|
"buildpwatest": "NODE_ENV=production APP_VERSION='1.2.59' quasar build -m pwa",
|
||||||
"type-check": "vue-tsc --noEmit",
|
"type-check": "vue-tsc --noEmit",
|
||||||
"type-check:watch": "vue-tsc --noEmit --watch",
|
"type-check:watch": "vue-tsc --noEmit --watch",
|
||||||
"buildspa": "quasar build -m spa",
|
"buildspa": "quasar build -m spa",
|
||||||
@@ -21,8 +21,8 @@
|
|||||||
"lintfile": "eslint --ext .js,.ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
"lintfile": "eslint --ext .js,.ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
||||||
"lintfileNoJS": "eslint --ext .ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
"lintfileNoJS": "eslint --ext .ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
||||||
"fix": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\" --ignore-pattern .gitignore ./ --fix > file.out.txt",
|
"fix": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\" --ignore-pattern .gitignore ./ --fix > file.out.txt",
|
||||||
"pwa": "NODE_ENV=development PORT=8097 APP_VERSION='1.2.58' quasar dev -m pwa",
|
"pwa": "NODE_ENV=development PORT=8097 APP_VERSION='1.2.59' quasar dev -m pwa",
|
||||||
"spa": "NODE_ENV=development PORT=8087 APP_VERSION='1.2.58' quasar dev",
|
"spa": "NODE_ENV=development PORT=8087 APP_VERSION='1.2.59' quasar dev",
|
||||||
"debug": "quasar dev --mode debug",
|
"debug": "quasar dev --mode debug",
|
||||||
"test": "echo \"No test specified\" && exit 0",
|
"test": "echo \"No test specified\" && exit 0",
|
||||||
"generate-sw": "workbox generateSW workbox-config.js",
|
"generate-sw": "workbox generateSW workbox-config.js",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "gruppomacro",
|
"name": "gruppomacro",
|
||||||
"version": "1.2.58",
|
"version": "1.2.59",
|
||||||
"description": "Gruppo Macro",
|
"description": "Gruppo Macro",
|
||||||
"productName": "Gruppo Macro",
|
"productName": "Gruppo Macro",
|
||||||
"author": "Surya",
|
"author": "Surya",
|
||||||
@@ -9,20 +9,20 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "PORT=8089 APP_VERSION='1.2.58' quasar dev",
|
"dev": "PORT=8089 APP_VERSION='1.2.59' quasar dev",
|
||||||
"dev_noCheck": "SKIP_TSC=true quasar dev",
|
"dev_noCheck": "SKIP_TSC=true quasar dev",
|
||||||
"build": "quasar build",
|
"build": "quasar build",
|
||||||
"buildpwa": "NODE_ENV=production APP_VERSION='1.2.58' quasar build -m pwa",
|
"buildpwa": "NODE_ENV=production APP_VERSION='1.2.59' quasar build -m pwa",
|
||||||
"buildpwatest": "NODE_ENV=production APP_VERSION='1.2.58' quasar build -m pwa",
|
"buildpwatest": "NODE_ENV=production APP_VERSION='1.2.59' quasar build -m pwa",
|
||||||
"type-check": "vue-tsc --noEmit",
|
"type-check": "vue-tsc --noEmit",
|
||||||
"type-check:watch": "vue-tsc --noEmit --watch",
|
"type-check:watch": "vue-tsc --noEmit --watch",
|
||||||
"buildspa": "APP_VERSION='1.2.58' quasar build -m spa",
|
"buildspa": "APP_VERSION='1.2.59' quasar build -m spa",
|
||||||
"lint": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\"",
|
"lint": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\"",
|
||||||
"lintfile": "eslint --ext .js,.ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
"lintfile": "eslint --ext .js,.ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
||||||
"lintfileNoJS": "eslint --ext .ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
"lintfileNoJS": "eslint --ext .ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
||||||
"fix": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\" --ignore-pattern .gitignore ./ --fix > file.out.txt",
|
"fix": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\" --ignore-pattern .gitignore ./ --fix > file.out.txt",
|
||||||
"pwa": "NODE_ENV=development PORT=8099 APP_VERSION='1.2.58' quasar dev -m pwa",
|
"pwa": "NODE_ENV=development PORT=8099 APP_VERSION='1.2.59' quasar dev -m pwa",
|
||||||
"spa": "NODE_ENV=development PORT=8089 APP_VERSION='1.2.58' quasar dev",
|
"spa": "NODE_ENV=development PORT=8089 APP_VERSION='1.2.59' quasar dev",
|
||||||
"debug": "quasar dev --mode debug",
|
"debug": "quasar dev --mode debug",
|
||||||
"test": "echo \"No test specified\" && exit 0",
|
"test": "echo \"No test specified\" && exit 0",
|
||||||
"generate-sw": "workbox generateSW workbox-config.js",
|
"generate-sw": "workbox generateSW workbox-config.js",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "kolibrilab",
|
"name": "kolibrilab",
|
||||||
"version": "1.2.58",
|
"version": "1.2.59",
|
||||||
"description": "kolibrilab",
|
"description": "kolibrilab",
|
||||||
"productName": "kolibrilab",
|
"productName": "kolibrilab",
|
||||||
"author": "Surya Paolo",
|
"author": "Surya Paolo",
|
||||||
@@ -8,11 +8,11 @@
|
|||||||
"keywords": [],
|
"keywords": [],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "PORT=8083 APP_VERSION='1.2.58' quasar dev",
|
"dev": "PORT=8083 APP_VERSION='1.2.59' quasar dev",
|
||||||
"dev_noCheck": "SKIP_TSC=true quasar dev",
|
"dev_noCheck": "SKIP_TSC=true quasar dev",
|
||||||
"build": "quasar build",
|
"build": "quasar build",
|
||||||
"buildpwa": "NODE_ENV=production APP_VERSION='1.2.58' quasar build -m pwa",
|
"buildpwa": "NODE_ENV=production APP_VERSION='1.2.59' quasar build -m pwa",
|
||||||
"buildpwatest": "NODE_ENV=production APP_VERSION='1.2.58' quasar build -m pwa",
|
"buildpwatest": "NODE_ENV=production APP_VERSION='1.2.59' quasar build -m pwa",
|
||||||
"type-check": "vue-tsc --noEmit",
|
"type-check": "vue-tsc --noEmit",
|
||||||
"type-check:watch": "vue-tsc --noEmit --watch",
|
"type-check:watch": "vue-tsc --noEmit --watch",
|
||||||
"buildspa": "quasar build -m spa",
|
"buildspa": "quasar build -m spa",
|
||||||
@@ -20,8 +20,8 @@
|
|||||||
"lintfile": "eslint --ext .js,.ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
"lintfile": "eslint --ext .js,.ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
||||||
"lintfileNoJS": "eslint --ext .ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
"lintfileNoJS": "eslint --ext .ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
||||||
"fix": "eslint --ext .ts,.vue --ignore-path .gitignore ./ --fix > file.out.txt",
|
"fix": "eslint --ext .ts,.vue --ignore-path .gitignore ./ --fix > file.out.txt",
|
||||||
"pwa": "NODE_ENV=development PORT=8093 APP_VERSION='1.2.58' quasar dev -m pwa",
|
"pwa": "NODE_ENV=development PORT=8093 APP_VERSION='1.2.59' quasar dev -m pwa",
|
||||||
"spa": "NODE_ENV=development PORT=8083 APP_VERSION='1.2.58' quasar dev",
|
"spa": "NODE_ENV=development PORT=8083 APP_VERSION='1.2.59' quasar dev",
|
||||||
"spanorefresh": "NODE_ENV=development NODE_OPTIONS=--max_old_space_size=4096 DEBUG=v8:* quasar dev -m spa",
|
"spanorefresh": "NODE_ENV=development NODE_OPTIONS=--max_old_space_size=4096 DEBUG=v8:* quasar dev -m spa",
|
||||||
"test": "echo \"No test specified\" && exit 0",
|
"test": "echo \"No test specified\" && exit 0",
|
||||||
"generate-sw": "workbox generateSW workbox-config.js"
|
"generate-sw": "workbox generateSW workbox-config.js"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "nutriben",
|
"name": "nutriben",
|
||||||
"version": "1.2.58",
|
"version": "1.2.59",
|
||||||
"description": "Nutriben",
|
"description": "Nutriben",
|
||||||
"productName": "Nutriben",
|
"productName": "Nutriben",
|
||||||
"author": "Surya",
|
"author": "Surya",
|
||||||
@@ -9,20 +9,20 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "PORT=8093 APP_VERSION='1.2.58' quasar dev",
|
"dev": "PORT=8093 APP_VERSION='1.2.59' quasar dev",
|
||||||
"dev_noCheck": "SKIP_TSC=true quasar dev",
|
"dev_noCheck": "SKIP_TSC=true quasar dev",
|
||||||
"build": "quasar build",
|
"build": "quasar build",
|
||||||
"buildpwa": "NODE_ENV=production APP_VERSION='1.2.58' quasar build -m pwa",
|
"buildpwa": "NODE_ENV=production APP_VERSION='1.2.59' quasar build -m pwa",
|
||||||
"buildpwatest": "NODE_ENV=production APP_VERSION='1.2.58' quasar build -m pwa",
|
"buildpwatest": "NODE_ENV=production APP_VERSION='1.2.59' quasar build -m pwa",
|
||||||
"type-check": "vue-tsc --noEmit",
|
"type-check": "vue-tsc --noEmit",
|
||||||
"type-check:watch": "vue-tsc --noEmit --watch",
|
"type-check:watch": "vue-tsc --noEmit --watch",
|
||||||
"buildspa": "APP_VERSION='1.2.58' quasar build -m spa",
|
"buildspa": "APP_VERSION='1.2.59' quasar build -m spa",
|
||||||
"lint": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\"",
|
"lint": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\"",
|
||||||
"lintfile": "eslint --ext .js,.ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
"lintfile": "eslint --ext .js,.ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
||||||
"lintfileNoJS": "eslint --ext .ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
"lintfileNoJS": "eslint --ext .ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
||||||
"fix": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\" --ignore-pattern .gitignore ./ --fix > file.out.txt",
|
"fix": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\" --ignore-pattern .gitignore ./ --fix > file.out.txt",
|
||||||
"pwa": "NODE_ENV=development PORT=8099 APP_VERSION='1.2.58' quasar dev -m pwa",
|
"pwa": "NODE_ENV=development PORT=8099 APP_VERSION='1.2.59' quasar dev -m pwa",
|
||||||
"spa": "NODE_ENV=development PORT=8093 APP_VERSION='1.2.58' quasar dev",
|
"spa": "NODE_ENV=development PORT=8093 APP_VERSION='1.2.59' quasar dev",
|
||||||
"debug": "quasar dev --mode debug",
|
"debug": "quasar dev --mode debug",
|
||||||
"test": "echo \"No test specified\" && exit 0",
|
"test": "echo \"No test specified\" && exit 0",
|
||||||
"generate-sw": "workbox generateSW workbox-config.js",
|
"generate-sw": "workbox generateSW workbox-config.js",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "piuchebuono",
|
"name": "piuchebuono",
|
||||||
"version": "1.2.58",
|
"version": "1.2.59",
|
||||||
"description": "PiuCheBuono",
|
"description": "PiuCheBuono",
|
||||||
"productName": "PiuCheBuono",
|
"productName": "PiuCheBuono",
|
||||||
"author": "Surya",
|
"author": "Surya",
|
||||||
@@ -9,11 +9,11 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "PORT=8085 APP_VERSION='1.2.58' quasar dev",
|
"dev": "PORT=8085 APP_VERSION='1.2.59' quasar dev",
|
||||||
"dev_noCheck": "SKIP_TSC=true quasar dev",
|
"dev_noCheck": "SKIP_TSC=true quasar dev",
|
||||||
"build": "quasar build",
|
"build": "quasar build",
|
||||||
"buildpwa": "NODE_ENV=production APP_VERSION='1.2.58' quasar build -m pwa",
|
"buildpwa": "NODE_ENV=production APP_VERSION='1.2.59' quasar build -m pwa",
|
||||||
"buildpwatest": "NODE_ENV=production APP_VERSION='1.2.58' quasar build -m pwa",
|
"buildpwatest": "NODE_ENV=production APP_VERSION='1.2.59' quasar build -m pwa",
|
||||||
"type-check": "vue-tsc --noEmit",
|
"type-check": "vue-tsc --noEmit",
|
||||||
"type-check:watch": "vue-tsc --noEmit --watch",
|
"type-check:watch": "vue-tsc --noEmit --watch",
|
||||||
"buildspa": "quasar build -m spa",
|
"buildspa": "quasar build -m spa",
|
||||||
@@ -21,8 +21,8 @@
|
|||||||
"lintfile": "eslint --ext .js,.ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
"lintfile": "eslint --ext .js,.ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
||||||
"lintfileNoJS": "eslint --ext .ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
"lintfileNoJS": "eslint --ext .ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
||||||
"fix": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\" --ignore-pattern .gitignore ./ --fix > file.out.txt",
|
"fix": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\" --ignore-pattern .gitignore ./ --fix > file.out.txt",
|
||||||
"pwa": "NODE_ENV=development PORT=8085 APP_VERSION='1.2.58' quasar dev -m pwa",
|
"pwa": "NODE_ENV=development PORT=8085 APP_VERSION='1.2.59' quasar dev -m pwa",
|
||||||
"spa": "NODE_ENV=development PORT=8085 APP_VERSION='1.2.58' quasar dev",
|
"spa": "NODE_ENV=development PORT=8085 APP_VERSION='1.2.59' quasar dev",
|
||||||
"debug": "quasar dev --mode debug",
|
"debug": "quasar dev --mode debug",
|
||||||
"test": "echo \"No test specified\" && exit 0",
|
"test": "echo \"No test specified\" && exit 0",
|
||||||
"generate-sw": "workbox generateSW workbox-config.js",
|
"generate-sw": "workbox generateSW workbox-config.js",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "riso",
|
"name": "riso",
|
||||||
"version": "1.2.58",
|
"version": "1.2.59",
|
||||||
"description": "Siamo la Rete Italiana di Scambio Orizzontale, abbiamo creato questa piattaforma per metterla al servizio di chi vuole riscoprire il valore della condivisione e della cooperazione. Valori semplici e profondi che ci aiutano a ritrovare il Senso della Vita, perduto in questa società consumista, e riporti quei Sani Pricìpi Naturali ed Umani di Fratellanza che intere popolazioni antiche conoscevano bene.",
|
"description": "Siamo la Rete Italiana di Scambio Orizzontale, abbiamo creato questa piattaforma per metterla al servizio di chi vuole riscoprire il valore della condivisione e della cooperazione. Valori semplici e profondi che ci aiutano a ritrovare il Senso della Vita, perduto in questa società consumista, e riporti quei Sani Pricìpi Naturali ed Umani di Fratellanza che intere popolazioni antiche conoscevano bene.",
|
||||||
"productName": "Riso",
|
"productName": "Riso",
|
||||||
"author": "Surya",
|
"author": "Surya",
|
||||||
@@ -9,11 +9,11 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "APP_VERSION='1.2.58' PORT=8084 quasar dev",
|
"dev": "APP_VERSION='1.2.59' PORT=8084 quasar dev",
|
||||||
"dev_noCheck": "SKIP_TSC=true quasar dev",
|
"dev_noCheck": "SKIP_TSC=true quasar dev",
|
||||||
"build": "quasar build",
|
"build": "quasar build",
|
||||||
"buildpwa": "NODE_ENV=production APP_VERSION='1.2.58' quasar build -m pwa",
|
"buildpwa": "NODE_ENV=production APP_VERSION='1.2.59' quasar build -m pwa",
|
||||||
"buildpwatest": "NODE_ENV=production APP_VERSION='1.2.58' quasar build -m pwa",
|
"buildpwatest": "NODE_ENV=production APP_VERSION='1.2.59' quasar build -m pwa",
|
||||||
"type-check": "vue-tsc --noEmit",
|
"type-check": "vue-tsc --noEmit",
|
||||||
"type-check:watch": "vue-tsc --noEmit --watch",
|
"type-check:watch": "vue-tsc --noEmit --watch",
|
||||||
"buildspa": "quasar build -m spa",
|
"buildspa": "quasar build -m spa",
|
||||||
@@ -21,8 +21,8 @@
|
|||||||
"lintfile": "eslint --ext .js,.ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
"lintfile": "eslint --ext .js,.ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
||||||
"lintfileNoJS": "eslint --ext .ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
"lintfileNoJS": "eslint --ext .ts,.vue --ignore-path .gitignore ./ > file.out.txt",
|
||||||
"fix": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\" --ignore-pattern .gitignore ./ --fix > file.out.txt",
|
"fix": "eslint -c ./eslint.config.js \"./src*/**/*.{ts,js,cjs,mjs,vue}\" --ignore-pattern .gitignore ./ --fix > file.out.txt",
|
||||||
"pwa": "NODE_ENV=development PORT=8094 APP_VERSION='1.2.58' quasar dev -m pwa",
|
"pwa": "NODE_ENV=development PORT=8094 APP_VERSION='1.2.59' quasar dev -m pwa",
|
||||||
"spa": "NODE_ENV=development PORT=8084 APP_VERSION='1.2.58' quasar dev",
|
"spa": "NODE_ENV=development PORT=8084 APP_VERSION='1.2.59' quasar dev",
|
||||||
"debug": "quasar dev --mode debug",
|
"debug": "quasar dev --mode debug",
|
||||||
"test": "echo \"No test specified\" && exit 0",
|
"test": "echo \"No test specified\" && exit 0",
|
||||||
"generate-sw": "workbox generateSW workbox-config.js",
|
"generate-sw": "workbox generateSW workbox-config.js",
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
/* global workbox */
|
/* global workbox */
|
||||||
/* global cfgenv */
|
/* global cfgenv */
|
||||||
|
|
||||||
const VITE_APP_VERSION = '1.2.58';
|
const VITE_APP_VERSION = '1.2.59';
|
||||||
|
|
||||||
// Costanti di configurazione
|
// Costanti di configurazione
|
||||||
const DYNAMIC_CACHE = 'dynamic-cache-v2';
|
const DYNAMIC_CACHE = 'dynamic-cache-v2';
|
||||||
|
|||||||
@@ -177,7 +177,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
v-if="
|
v-if="
|
||||||
(tools.isManager() || tools.isEditor()) &&
|
(tools.isCollaboratore()) &&
|
||||||
!optcatalogo.generazionePDFInCorso &&
|
!optcatalogo.generazionePDFInCorso &&
|
||||||
(editOn || options.show_edit_book)
|
(editOn || options.show_edit_book)
|
||||||
"
|
"
|
||||||
@@ -195,7 +195,7 @@
|
|||||||
color="primary"
|
color="primary"
|
||||||
icon="fas fa-pencil-alt"
|
icon="fas fa-pencil-alt"
|
||||||
v-if="
|
v-if="
|
||||||
(tools.isManager() || tools.isEditor()) &&
|
(tools.isCollaboratore()) &&
|
||||||
!optcatalogo.generazionePDFInCorso &&
|
!optcatalogo.generazionePDFInCorso &&
|
||||||
(editOn || options.show_edit_book)
|
(editOn || options.show_edit_book)
|
||||||
"
|
"
|
||||||
@@ -203,7 +203,7 @@
|
|||||||
<q-list>
|
<q-list>
|
||||||
<q-item
|
<q-item
|
||||||
v-if="
|
v-if="
|
||||||
(tools.isManager() || tools.isEditor()) &&
|
(tools.isCollaboratore()) &&
|
||||||
!optcatalogo.generazionePDFInCorso &&
|
!optcatalogo.generazionePDFInCorso &&
|
||||||
(editOn || options.show_edit_book)
|
(editOn || options.show_edit_book)
|
||||||
"
|
"
|
||||||
@@ -224,7 +224,7 @@
|
|||||||
</q-item>
|
</q-item>
|
||||||
<q-item
|
<q-item
|
||||||
v-if="
|
v-if="
|
||||||
(tools.isManager() || tools.isEditor()) &&
|
(tools.isCollaboratore()) &&
|
||||||
!optcatalogo.generazionePDFInCorso &&
|
!optcatalogo.generazionePDFInCorso &&
|
||||||
(editOn || options.show_edit_book)
|
(editOn || options.show_edit_book)
|
||||||
"
|
"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
v-if="isfinishLoading"
|
v-if="isfinishLoading"
|
||||||
>
|
>
|
||||||
<q-toggle
|
<q-toggle
|
||||||
v-if="(tools.isManager() || tools.isEditor() || tools.isGrafico()) && !showMap && editOn"
|
v-if="(tools.isCollaboratore()) && !showMap && editOn"
|
||||||
v-model="editOn"
|
v-model="editOn"
|
||||||
color="green"
|
color="green"
|
||||||
icon="fas fa-pencil-alt"
|
icon="fas fa-pencil-alt"
|
||||||
|
|||||||
@@ -347,7 +347,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div v-else-if="myel.type === shared_consts.ELEMTYPE.CATALOGLIST">
|
<div v-else-if="myel.type === shared_consts.ELEMTYPE.CATALOGLIST">
|
||||||
<div v-if="editOn" class="elemEdit">Cataloghi</div>
|
<div v-if="editOn" class="elemEdit">Cataloghi</div>
|
||||||
<q-tabs v-if="tools.isEditor() || tools.isGrafico()" v-model="tabcatalogo" dense class="bg-green text-white">
|
<q-tabs v-if="tools.isCollaboratore()" v-model="tabcatalogo" dense class="bg-green text-white">
|
||||||
<q-tab name="griglia" icon="fas fa-eye" label="Griglia"> </q-tab>
|
<q-tab name="griglia" icon="fas fa-eye" label="Griglia"> </q-tab>
|
||||||
<!--<q-tab name="statistiche" icon="fas fa-chart-pie" label="Statistiche"> </q-tab>-->
|
<!--<q-tab name="statistiche" icon="fas fa-chart-pie" label="Statistiche"> </q-tab>-->
|
||||||
<q-tab name="lista" icon="fas fa-list" label="Lista"> </q-tab>
|
<q-tab name="lista" icon="fas fa-list" label="Lista"> </q-tab>
|
||||||
@@ -381,7 +381,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div v-else-if="myel.type === shared_consts.ELEMTYPE.RACCOLTE_CATALOGHI">
|
<div v-else-if="myel.type === shared_consts.ELEMTYPE.RACCOLTE_CATALOGHI">
|
||||||
<div v-if="editOn" class="elemEdit">Raccolte Cataloghi</div>
|
<div v-if="editOn" class="elemEdit">Raccolte Cataloghi</div>
|
||||||
<q-tabs v-if="tools.isEditor() || tools.isGrafico()" v-model="tabcatalogo" dense class="bg-green text-white">
|
<q-tabs v-if="tools.isCollaboratore()" v-model="tabcatalogo" dense class="bg-green text-white">
|
||||||
<q-tab name="griglia" icon="fas fa-eye" label="Griglia"> </q-tab>
|
<q-tab name="griglia" icon="fas fa-eye" label="Griglia"> </q-tab>
|
||||||
<q-tab name="lista" icon="fas fa-list" label="Lista"> </q-tab>
|
<q-tab name="lista" icon="fas fa-list" label="Lista"> </q-tab>
|
||||||
</q-tabs>
|
</q-tabs>
|
||||||
|
|||||||
@@ -146,7 +146,7 @@
|
|||||||
>
|
>
|
||||||
aggiornato al ({{ tools.getstrDate(myrec.data_online_stampa) }})
|
aggiornato al ({{ tools.getstrDate(myrec.data_online_stampa) }})
|
||||||
</div>
|
</div>
|
||||||
<div
|
<!--<div
|
||||||
v-if="!tools.isUtente() && dettagli"
|
v-if="!tools.isUtente() && dettagli"
|
||||||
class="text-caption text-h7 text-grey q-pb-xs"
|
class="text-caption text-h7 text-grey q-pb-xs"
|
||||||
>
|
>
|
||||||
@@ -159,6 +159,20 @@
|
|||||||
da
|
da
|
||||||
{{ myrec.username_lista_generata }}
|
{{ myrec.username_lista_generata }}
|
||||||
</span>
|
</span>
|
||||||
|
</div>-->
|
||||||
|
<div
|
||||||
|
v-if="!tools.isUtente() && dettagli && myrec.data_lista_updated"
|
||||||
|
class="text-caption text-h7 text-grey q-pb-xs"
|
||||||
|
>
|
||||||
|
<q-icon name="fas fa-list" /> Lista aggiornata il:
|
||||||
|
<span
|
||||||
|
:class="
|
||||||
|
`text-` + (tools.isDateValid(myrec.data_lista_updated) ? 'blue' : 'red')
|
||||||
|
"
|
||||||
|
>{{ tools.getstrDate(myrec.data_lista_updated) || '' }}
|
||||||
|
da
|
||||||
|
{{ myrec.username_lista_updated }}
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!--<div class="text-overline text-orange-9">{{collanestr}}</div>-->
|
<!--<div class="text-overline text-orange-9">{{collanestr}}</div>-->
|
||||||
|
|||||||
@@ -234,6 +234,12 @@ export default defineComponent({
|
|||||||
field: 'pdf_online_size',
|
field: 'pdf_online_size',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'data_online',
|
||||||
|
label: 'Data Online',
|
||||||
|
field: 'data_online',
|
||||||
|
align: 'center',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: 'pdf_online_stampa',
|
name: 'pdf_online_stampa',
|
||||||
label: 'PDF OnLine Stampa',
|
label: 'PDF OnLine Stampa',
|
||||||
@@ -246,12 +252,6 @@ export default defineComponent({
|
|||||||
field: 'pdf_online_stampa_size',
|
field: 'pdf_online_stampa_size',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: 'data_online',
|
|
||||||
label: 'Data Online',
|
|
||||||
field: 'data_online',
|
|
||||||
align: 'center',
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: 'data_online_stampa',
|
name: 'data_online_stampa',
|
||||||
label: 'Data Online Stampa',
|
label: 'Data Online Stampa',
|
||||||
|
|||||||
@@ -83,7 +83,7 @@
|
|||||||
v-model="optcatalogo"
|
v-model="optcatalogo"
|
||||||
:idPage="idPage"
|
:idPage="idPage"
|
||||||
:options="{
|
:options="{
|
||||||
show_edit_book: tools.isEditor(),
|
show_edit_book: tools.isCollaboratore(),
|
||||||
}"
|
}"
|
||||||
@selauthor="selauthor"
|
@selauthor="selauthor"
|
||||||
:scheda="optcatalogo.arrSchede[0].scheda"
|
:scheda="optcatalogo.arrSchede[0].scheda"
|
||||||
|
|||||||
@@ -50,7 +50,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div v-if="
|
<div v-if="
|
||||||
tools.isLogged() &&
|
tools.isLogged() &&
|
||||||
(isAdmin() || tools.isEditor() || tools.isGrafico())
|
(isAdmin() || tools.isCollaboratore())
|
||||||
" class="text-h7">
|
" class="text-h7">
|
||||||
<q-toggle :icon="'fas fa-pencil-alt'" v-model="editOn"> </q-toggle>
|
<q-toggle :icon="'fas fa-pencil-alt'" v-model="editOn"> </q-toggle>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -38,6 +38,8 @@ export interface ICatalog {
|
|||||||
pdf_generato_size?: string
|
pdf_generato_size?: string
|
||||||
data_generato?: Date
|
data_generato?: Date
|
||||||
data_lista_generata?: Date
|
data_lista_generata?: Date
|
||||||
|
data_lista_updated?: Date
|
||||||
|
username_lista_updated?: string
|
||||||
username_lista_generata?: string
|
username_lista_generata?: string
|
||||||
pdf_online?: string
|
pdf_online?: string
|
||||||
pdf_online_size?: string
|
pdf_online_size?: string
|
||||||
|
|||||||
@@ -299,4 +299,5 @@ export interface IUserState {
|
|||||||
updateTables?: boolean
|
updateTables?: boolean
|
||||||
|
|
||||||
lista_editori?: IUserShort[] | null
|
lista_editori?: IUserShort[] | null
|
||||||
|
lista_referenti?: IUserShort[] | null
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2057,7 +2057,7 @@ const msg_it = {
|
|||||||
casaeditrice: 'Casa Editrice',
|
casaeditrice: 'Casa Editrice',
|
||||||
numprodotti: 'Libri presenti',
|
numprodotti: 'Libri presenti',
|
||||||
foto_collana: 'Foto Catalogo',
|
foto_collana: 'Foto Catalogo',
|
||||||
referenti: 'Editori',
|
referenti: 'Referenti',
|
||||||
img_bordata: 'Immagine di sfondo',
|
img_bordata: 'Immagine di sfondo',
|
||||||
img_intro: 'Copertina introduttiva',
|
img_intro: 'Copertina introduttiva',
|
||||||
img_bordata_stampa: 'Immagine di sfondo (per STAMPA)',
|
img_bordata_stampa: 'Immagine di sfondo (per STAMPA)',
|
||||||
|
|||||||
@@ -414,7 +414,7 @@ export const costanti = {
|
|||||||
TABLES_ARRAY: ['circuits'],
|
TABLES_ARRAY: ['circuits'],
|
||||||
TABLES_USERNAME_DATE: ['friends', 'friendsandme'],
|
TABLES_USERNAME_DATE: ['friends', 'friendsandme'],
|
||||||
TABLES_IMG_USERNAME: ['friends', 'friendsandme'],
|
TABLES_IMG_USERNAME: ['friends', 'friendsandme'],
|
||||||
TABLES_WITH_STR_TUTTI: ['lista_editori'],
|
TABLES_WITH_STR_TUTTI: ['lista_editori', 'lista_referenti'],
|
||||||
FILTER_SEP: '_',
|
FILTER_SEP: '_',
|
||||||
|
|
||||||
FILTER_TUTTI_STR: '[Tutti]',
|
FILTER_TUTTI_STR: '[Tutti]',
|
||||||
|
|||||||
@@ -188,7 +188,7 @@ export const colTableCatalogList = [
|
|||||||
name: 'referenti',
|
name: 'referenti',
|
||||||
label_trans: 'cataloglist.referenti',
|
label_trans: 'cataloglist.referenti',
|
||||||
fieldtype: costanti.FieldType.multiselect,
|
fieldtype: costanti.FieldType.multiselect,
|
||||||
jointable: 'lista_editori',
|
jointable: 'lista_referenti',
|
||||||
}),
|
}),
|
||||||
AddCol({
|
AddCol({
|
||||||
name: 'idPageAssigned',
|
name: 'idPageAssigned',
|
||||||
@@ -5210,6 +5210,13 @@ export const fieldsTable = {
|
|||||||
colkey: 'username',
|
colkey: 'username',
|
||||||
collabel: 'name',
|
collabel: 'name',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
value: 'lista_referenti',
|
||||||
|
label: 'Referenti',
|
||||||
|
columns: colTableUsersGeneric,
|
||||||
|
colkey: 'username',
|
||||||
|
collabel: 'name',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
value: 'mygroups',
|
value: 'mygroups',
|
||||||
label: 'Organizzazioni',
|
label: 'Organizzazioni',
|
||||||
|
|||||||
@@ -10824,7 +10824,7 @@ export const tools = {
|
|||||||
{
|
{
|
||||||
visible: !this.isUtente(),
|
visible: !this.isUtente(),
|
||||||
label: 'Editore',
|
label: 'Editore',
|
||||||
table: 'lista_editori',
|
table: 'lista_referenti',
|
||||||
key: 'referenti',
|
key: 'referenti',
|
||||||
type: costanti.FieldType.select,
|
type: costanti.FieldType.select,
|
||||||
value: this.isUtente()
|
value: this.isUtente()
|
||||||
@@ -11123,14 +11123,18 @@ export const tools = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
getColorWithTransparency(color: string): string {
|
getColorWithTransparency(color: string): string {
|
||||||
const hex = color.slice(1); // Rimuove il simbolo "#" dal colore
|
if (color) {
|
||||||
const r = parseInt(hex.substring(0, 2), 16);
|
const hex = color.slice(1); // Rimuove il simbolo "#" dal colore
|
||||||
const g = parseInt(hex.substring(2, 4), 16);
|
const r = parseInt(hex.substring(0, 2), 16);
|
||||||
const b = parseInt(hex.substring(4, 6), 16);
|
const g = parseInt(hex.substring(2, 4), 16);
|
||||||
const a = parseInt(hex.substring(6, 8), 16) / 255; // Trasformiamo la trasparenza in formato decimale
|
const b = parseInt(hex.substring(4, 6), 16);
|
||||||
|
const a = parseInt(hex.substring(6, 8), 16) / 255; // Trasformiamo la trasparenza in formato decimale
|
||||||
|
|
||||||
// Restituisce il colore con trasparenza in formato rgba
|
// Restituisce il colore con trasparenza in formato rgba
|
||||||
return `rgba(${r}, ${g}, ${b}, ${a})`;
|
return `rgba(${r}, ${g}, ${b}, ${a})`;
|
||||||
|
} else {
|
||||||
|
return ''
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
// FINE !
|
// FINE !
|
||||||
|
|||||||
@@ -217,6 +217,8 @@ export const useUserStore = defineStore('UserStore', {
|
|||||||
isZoomeri: false,
|
isZoomeri: false,
|
||||||
isTratuttrici: false,
|
isTratuttrici: false,
|
||||||
isEditor: false,
|
isEditor: false,
|
||||||
|
isCommerciale: false,
|
||||||
|
isCollaboratore: false,
|
||||||
isGrafico: false,
|
isGrafico: false,
|
||||||
isTeacher: false,
|
isTeacher: false,
|
||||||
usersList: [],
|
usersList: [],
|
||||||
@@ -224,6 +226,7 @@ export const useUserStore = defineStore('UserStore', {
|
|||||||
lastparamquery: {},
|
lastparamquery: {},
|
||||||
updateTables: false,
|
updateTables: false,
|
||||||
lista_editori: null,
|
lista_editori: null,
|
||||||
|
lista_referenti: null,
|
||||||
}),
|
}),
|
||||||
|
|
||||||
getters: {
|
getters: {
|
||||||
@@ -234,6 +237,9 @@ export const useUserStore = defineStore('UserStore', {
|
|||||||
listaEditori: (state: IUserState): any => {
|
listaEditori: (state: IUserState): any => {
|
||||||
return state.lista_editori;
|
return state.lista_editori;
|
||||||
},
|
},
|
||||||
|
listaReferenti: (state: IUserState): any => {
|
||||||
|
return state.lista_referenti;
|
||||||
|
},
|
||||||
|
|
||||||
getServerCode: (state: IUserState): number =>
|
getServerCode: (state: IUserState): number =>
|
||||||
state.servercode ? state.servercode : 0,
|
state.servercode ? state.servercode : 0,
|
||||||
@@ -2519,5 +2525,12 @@ export const useUserStore = defineStore('UserStore', {
|
|||||||
}
|
}
|
||||||
return this.lista_editori;
|
return this.lista_editori;
|
||||||
},
|
},
|
||||||
|
async loadListaReferenti() {
|
||||||
|
const globalStore = useGlobalStore();
|
||||||
|
if (!this.lista_referenti) {
|
||||||
|
this.lista_referenti = await globalStore.getObjOnServer('lista_referenti');
|
||||||
|
}
|
||||||
|
return this.lista_referenti;
|
||||||
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -564,6 +564,8 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
|||||||
else if (table === 'friends') return userStore.my.profile.friends;
|
else if (table === 'friends') return userStore.my.profile.friends;
|
||||||
else if (table === 'lista_editori') {
|
else if (table === 'lista_editori') {
|
||||||
ris = userStore.listaEditori;
|
ris = userStore.listaEditori;
|
||||||
|
} else if (table === 'lista_referenti') {
|
||||||
|
ris = userStore.listaReferenti;
|
||||||
} else if (table === 'friendsandme')
|
} else if (table === 'friendsandme')
|
||||||
return [{ username: userStore.my.username }, ...userStore.my.profile.friends];
|
return [{ username: userStore.my.username }, ...userStore.my.profile.friends];
|
||||||
// else if (table === 'mygroups')
|
// else if (table === 'mygroups')
|
||||||
@@ -1251,6 +1253,7 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
|||||||
this.clearDataAfterLoginOnlyIfActiveConnection();
|
this.clearDataAfterLoginOnlyIfActiveConnection();
|
||||||
|
|
||||||
await userStore.loadListaEditori();
|
await userStore.loadListaEditori();
|
||||||
|
await userStore.loadListaReferenti();
|
||||||
|
|
||||||
await globalroutines('readall', 'config', null);
|
await globalroutines('readall', 'config', null);
|
||||||
|
|
||||||
@@ -2510,6 +2513,7 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
|||||||
shared_consts.Permissions.Teacher,
|
shared_consts.Permissions.Teacher,
|
||||||
shared_consts.Permissions.Facilitatore,
|
shared_consts.Permissions.Facilitatore,
|
||||||
shared_consts.Permissions.Editor,
|
shared_consts.Permissions.Editor,
|
||||||
|
shared_consts.Permissions.Commerciale,
|
||||||
shared_consts.Permissions.Zoomeri,
|
shared_consts.Permissions.Zoomeri,
|
||||||
shared_consts.Permissions.Department,
|
shared_consts.Permissions.Department,
|
||||||
shared_consts.Permissions.Grafico,
|
shared_consts.Permissions.Grafico,
|
||||||
|
|||||||
@@ -117,7 +117,7 @@ body {
|
|||||||
height: calc(380 * var(--scalecatalogy) * 1px);
|
height: calc(380 * var(--scalecatalogy) * 1px);
|
||||||
line-height: 130%;
|
line-height: 130%;
|
||||||
|
|
||||||
font-weight: bold;
|
font-weight: normal;
|
||||||
|
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
|
|||||||
@@ -1123,6 +1123,12 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async function lista_Aggiornata() {
|
||||||
|
myCatalog.value.data_lista_updated = tools.getDateNow();
|
||||||
|
myCatalog.value.username_lista_updated = userStore.my.username;
|
||||||
|
await saveCatalog();
|
||||||
|
}
|
||||||
|
|
||||||
async function saveCatalog() {
|
async function saveCatalog() {
|
||||||
const catalog = myCatalog.value;
|
const catalog = myCatalog.value;
|
||||||
const mydata = {
|
const mydata = {
|
||||||
@@ -1519,6 +1525,8 @@ export default defineComponent({
|
|||||||
const productIds = myarr.map((product) => product._id);
|
const productIds = myarr.map((product) => product._id);
|
||||||
|
|
||||||
let mydata = {
|
let mydata = {
|
||||||
|
data_lista_updated: tools.getDateNow(),
|
||||||
|
username_lista_updated: userStore.my.username,
|
||||||
lista_prodotti: productIds,
|
lista_prodotti: productIds,
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -1535,6 +1543,8 @@ export default defineComponent({
|
|||||||
if (ricarica) {
|
if (ricarica) {
|
||||||
generatearrProdToViewSorted(true, false);
|
generatearrProdToViewSorted(true, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// lista_Aggiornata();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*function getProducts() {
|
/*function getProducts() {
|
||||||
@@ -2509,7 +2519,6 @@ export default defineComponent({
|
|||||||
|
|
||||||
catalog.data_generato = tools.getDateNow();
|
catalog.data_generato = tools.getDateNow();
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
strout.value = JSON.stringify(ris, null, 2);
|
strout.value = JSON.stringify(ris, null, 2);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
v-if="
|
v-if="
|
||||||
ispageCatalogata &&
|
ispageCatalogata &&
|
||||||
!optcatalogo.showOnlyCatalogoPDF &&
|
!optcatalogo.showOnlyCatalogoPDF &&
|
||||||
(tools.isEditor() || tools.isCommerciale()) &&
|
(tools.isCollaboratore()) &&
|
||||||
myCatalog?.referenti?.length > 0
|
myCatalog?.referenti?.length > 0
|
||||||
"
|
"
|
||||||
class="text-h7 text-center text-red q-ma-sm"
|
class="text-h7 text-center text-red q-ma-sm"
|
||||||
@@ -183,7 +183,7 @@
|
|||||||
</q-inner-loading>
|
</q-inner-loading>
|
||||||
|
|
||||||
<q-btn
|
<q-btn
|
||||||
v-if="!showListaFiltrata && (tools.isEditor() || tools.isCommerciale())"
|
v-if="!showListaFiltrata && (tools.isCollaboratore())"
|
||||||
rounded
|
rounded
|
||||||
icon="fas fa-redo"
|
icon="fas fa-redo"
|
||||||
label="Rigenera Lista"
|
label="Rigenera Lista"
|
||||||
|
|||||||
Reference in New Issue
Block a user