- varie sistemazioni: filtri iscritti, profilo, ecc...

This commit is contained in:
Surya Paolo
2025-01-11 12:08:03 +01:00
parent 298dc4f5a5
commit 2b1fc9b090
52 changed files with 734 additions and 626 deletions

View File

@@ -142,6 +142,7 @@ export const costanti = {
small: false,
showfavorite: true,
showinoptions: true,
showinprofile: true,
},
{
visible: true,
@@ -157,6 +158,7 @@ export const costanti = {
small: false,
showfavorite: true,
showinoptions: true,
showinprofile: true,
},
{
visible: true,
@@ -174,48 +176,20 @@ export const costanti = {
visuonstat: true,
showfavorite: true,
showinoptions: true,
showinprofile: true,
},
{
visible: false,
title: 'Scuola',
strsingolo: 'Scuola',
to: '/school',
icon: 'fas fa-book-open',
color: 'orange-6',
hint: '',
disable: true,
small: false,
table: '',
},
{
visible: false,
title: 'Circuiti RIS',
strsingolo: 'Circuito',
subtitle: 'Strumento di scambio alternativa alle monete',
to: '/circuits',
table: 'circuits',
icon: 'fas fa-coins',
image: 'images/1ris_rosso_100.png',
color: 'orange-6',
hint: '',
disable: true,
small: true,
visuonstat: true,
},
{
visible: false,
title: 'Gruppi',
strsingolo: 'Gruppo',
subtitle: 'Associazioni, progetti, comunità, negozi',
to: '/groups',
table: 'mygroups',
icon: 'fas fa-users',
color: 'blue-6',
hint: '',
disable: true,
small: true,
visuonstat: true,
},
// {
// visible: false,
// title: 'Scuola',
// strsingolo: 'Scuola',
// to: '/school',
// icon: 'fas fa-book-open',
// color: 'orange-6',
// hint: '',
// disable: true,
// small: false,
// table: '',
// },
{
visible: true,
title: 'Eventi',
@@ -231,32 +205,64 @@ export const costanti = {
small: false,
showfavorite: true,
showinoptions: true,
showinprofile: true,
},
{
visible: false,
strsingolo: 'Luogo',
title: 'Luoghi',
to: '/places',
icon: 'fas fa-map-marker-alt',
color: 'blue-6',
hint: '',
disable: true,
small: false,
table: '',
},
{
visible: false,
strsingolo: 'Idea',
title: 'Tue Idee',
to: '/ideas',
icon: 'fas fa-lightbulb',
color: 'red-6',
textcolor: '',
title: 'Circuiti RIS',
strsingolo: 'Circuito',
subtitle: 'Strumento di scambio alternativa alle monete',
to: '/circuits',
table: 'circuits',
icon: 'fas fa-coins',
image: 'images/1ris_rosso_100.png',
color: 'orange-6',
hint: '',
disable: true,
small: true,
table: '',
visuonstat: true,
showinprofile: true,
},
{
visible: false,
title: 'Gruppi',
strsingolo: 'Gruppo',
subtitle: 'Associazioni, progetti, comunità, negozi',
to: '/groups',
table: 'mygroups',
icon: 'fas fa-users',
color: 'blue-6',
hint: '',
disable: true,
small: true,
visuonstat: true,
showinprofile: true,
},
// {
// visible: false,
// strsingolo: 'Luogo',
// title: 'Luoghi',
// to: '/places',
// icon: 'fas fa-map-marker-alt',
// color: 'blue-6',
// hint: '',
// disable: true,
// small: false,
// table: '',
// },
// {
// visible: false,
// strsingolo: 'Idea',
// title: 'Tue Idee',
// to: '/ideas',
// icon: 'fas fa-lightbulb',
// color: 'red-6',
// textcolor: '',
// hint: '',
// disable: true,
// small: true,
// table: '',
// },
/*{
visible: false,
title: 'Sostieni il Progetto',
@@ -281,33 +287,33 @@ export const costanti = {
link: true,
table: '',
},*/
{
visible: false,
title: 'Social',
to: '/socialising',
icon: 'fas fa-users',
color: 'blue-6',
hint: '',
disable: true,
small: true,
table: '',
},
{
visible: false,
title: ' Attività ',
subtitle: 'Artigiani, Aziende, Società, Negozi',
strsingolo: 'Attivita',
to: '/activities',
icon: 'fas fa-tshirt',
color: 'indigo-6',
hint: '',
table: 'attivitas',
visuonstat: true,
small: false,
showfavorite: true,
forgroup: true,
showinoptions: false,
},
// {
// visible: false,
// title: 'Social',
// to: '/socialising',
// icon: 'fas fa-users',
// color: 'blue-6',
// hint: '',
// disable: true,
// small: true,
// table: '',
// },
// {
// visible: false,
// title: ' Attività ',
// subtitle: 'Artigiani, Aziende, Società, Negozi',
// strsingolo: 'Attivita',
// to: '/activities',
// icon: 'fas fa-tshirt',
// color: 'indigo-6',
// hint: '',
// table: 'attivitas',
// visuonstat: true,
// small: false,
// showfavorite: true,
// forgroup: true,
// showinoptions: false,
// },
],
GROUPCARDS: [

View File

@@ -4757,6 +4757,13 @@ export const fieldsTable = {
colkey: 'value',
collabel: 'label',
},
{
value: shared_consts.TABFILTRI_UTENTE,
label: 'Tipi di Filtro',
columns: colTableGeneric,
colkey: 'value',
collabel: 'label',
},
{
value: 'otherfilters',
label: 'Altri Filtri',

View File

@@ -9511,6 +9511,24 @@ export const tools = {
return optcatalogo.areadistampa!.scale
},
getMainLink(url: string) {
try {
// Crea un nuovo oggetto URL a partire dall'input
const parsedUrl = new URL(url);
// Estrae solo il protocollo, l'host e la porta
const { protocol, host } = parsedUrl;
// Ricostruisce il link principale
const mainLink = `${host}`;
return mainLink;
} catch (error) {
console.error('Errore durante l\'elaborazione dell\'URL:', error);
return '';
}
}
// FINE !
// getLocale() {