CSS Animations
This commit is contained in:
@@ -125,6 +125,7 @@ export const colgallery = [
|
||||
|
||||
export const colmylistcards = [
|
||||
AddCol({ name: 'imagefile', label_trans: 'imagefile', fieldtype: costanti.FieldType.string }),
|
||||
AddCol({ name: 'image', label_trans: 'image', fieldtype: costanti.FieldType.string }),
|
||||
AddCol({ name: 'alt', label_trans: 'alt', fieldtype: costanti.FieldType.string }),
|
||||
AddCol({ name: 'description', label_trans: 'description', fieldtype: costanti.FieldType.string }),
|
||||
AddCol({ name: 'style', label_trans: 'style' }),
|
||||
@@ -146,6 +147,7 @@ export const colmyelems = [
|
||||
AddCol({ name: 'container3', label_trans: 'myelems.container3' }),
|
||||
AddCol({ name: 'img', label_trans: 'myelems.img' }),
|
||||
AddCol({ name: 'align', label_trans: 'myelems.align', fieldtype: costanti.FieldType.number }),
|
||||
AddCol({ name: 'vertalign', label_trans: 'myelems.vertalign', fieldtype: costanti.FieldType.number }),
|
||||
AddCol({ name: 'fit', label_trans: 'myelems.fit', fieldtype: costanti.FieldType.string }),
|
||||
AddCol({ name: 'parambool', label_trans: 'myelems.parambool', fieldtype: costanti.FieldType.boolean }),
|
||||
AddCol({ name: 'parambool2', label_trans: 'myelems.parambool2', fieldtype: costanti.FieldType.boolean }),
|
||||
@@ -163,6 +165,7 @@ export const colmyelems = [
|
||||
AddCol({ name: 'width', label_trans: 'myelems.width', fieldtype: costanti.FieldType.number }),
|
||||
AddCol({ name: 'onlyif_logged', label_trans: 'myelems.onlyif_logged', fieldtype: costanti.FieldType.boolean }),
|
||||
AddCol({ name: 'color', label_trans: 'myelems.color' }),
|
||||
AddCol({ name: 'colorsub', label_trans: 'myelems.colorsub' }),
|
||||
AddCol({ name: 'class', label_trans: 'myelems.class' }),
|
||||
AddCol({ name: 'styleadd', label_trans: 'myelems.styleadd' }),
|
||||
AddCol({
|
||||
@@ -1460,6 +1463,56 @@ export const colTableSites = [
|
||||
fieldtype: costanti.FieldType.binary,
|
||||
jointable: 'confsite_opt',
|
||||
}),
|
||||
AddCol({
|
||||
name: 'contacts.facebook',
|
||||
field: 'contacts',
|
||||
subfield: 'facebook',
|
||||
label_trans: 'reg.facebook',
|
||||
fieldtype: costanti.FieldType.string,
|
||||
}),
|
||||
AddCol({
|
||||
name: 'contacts.instagram',
|
||||
field: 'contacts',
|
||||
subfield: 'instagram',
|
||||
label_trans: 'reg.instagram',
|
||||
}),
|
||||
AddCol({
|
||||
name: 'contacts.whatsapp',
|
||||
field: 'contacts',
|
||||
subfield: 'whatsapp',
|
||||
label_trans: 'reg.whatsapp',
|
||||
}),
|
||||
AddCol({
|
||||
name: 'contacts.whatsapp',
|
||||
field: 'contacts',
|
||||
subfield: 'whatsapp',
|
||||
label_trans: 'reg.whatsapp_home',
|
||||
fieldtype: costanti.FieldType.boolean,
|
||||
}),
|
||||
AddCol({
|
||||
name: 'contacts.telegram',
|
||||
field: 'contacts',
|
||||
subfield: 'telegram',
|
||||
label_trans: 'reg.telegram',
|
||||
}),
|
||||
AddCol({
|
||||
name: 'contacts.email',
|
||||
field: 'contacts',
|
||||
subfield: 'email',
|
||||
label_trans: 'reg.email',
|
||||
}),
|
||||
AddCol({
|
||||
name: 'contacts.address',
|
||||
field: 'contacts',
|
||||
subfield: 'address',
|
||||
label_trans: 'reg.address',
|
||||
}),
|
||||
AddCol({
|
||||
name: 'contacts.map',
|
||||
field: 'contacts',
|
||||
subfield: 'map',
|
||||
label_trans: 'reg.map',
|
||||
}),
|
||||
AddCol(DeleteRec),
|
||||
AddCol(DuplicateRec),
|
||||
]
|
||||
|
||||
@@ -12,7 +12,7 @@ import {
|
||||
ITodo,
|
||||
IUserFields,
|
||||
Privacy,
|
||||
TipoVisu, IGroup, IMySkill, IMyBacheca, IImgGallery, IMsgGlobParam, IUserExport, ISpecialField, IAccount, IMyCircuit, ISendCoin, IMovement, IMovVisu, INotif,
|
||||
TipoVisu, IGroup, IMySkill, IMyBacheca, IImgGallery, IMsgGlobParam, IUserExport, ISpecialField, IAccount, IMyCircuit, ISendCoin, IMovement, IMovVisu, INotif, IMyElem, IMyCard,
|
||||
} from '@model'
|
||||
|
||||
import { fieldsTable } from '@store/Modules/fieldsTable'
|
||||
@@ -593,6 +593,22 @@ export const tools = {
|
||||
},
|
||||
],
|
||||
|
||||
SelectListAnimation: [
|
||||
{
|
||||
label: '[Nessuna]',
|
||||
value: '',
|
||||
},
|
||||
{
|
||||
label: 'Dal basso verso l\'alto',
|
||||
value: 'anim_toBottom',
|
||||
},
|
||||
{
|
||||
label: 'Da sinistra verso Destra',
|
||||
value: 'anim_toRight',
|
||||
},
|
||||
|
||||
],
|
||||
|
||||
SelectListClass: [
|
||||
{
|
||||
label: '[Nessuna]',
|
||||
@@ -632,6 +648,33 @@ export const tools = {
|
||||
},
|
||||
],
|
||||
|
||||
SelectListVertAlign: [
|
||||
{
|
||||
label: '[Nessuno]',
|
||||
value: 0,
|
||||
},
|
||||
{
|
||||
label: 'Alto',
|
||||
value: 1,
|
||||
},
|
||||
{
|
||||
label: 'Centro',
|
||||
value: 2,
|
||||
},
|
||||
{
|
||||
label: 'Basso',
|
||||
value: 3,
|
||||
},
|
||||
{
|
||||
label: 'Basso_Sinistra',
|
||||
value: 4,
|
||||
},
|
||||
{
|
||||
label: 'Alto_Sinistra',
|
||||
value: 5,
|
||||
},
|
||||
],
|
||||
|
||||
SelectListAlign: [
|
||||
{
|
||||
label: '[Nessuno]',
|
||||
@@ -6838,6 +6881,25 @@ export const tools = {
|
||||
return ris
|
||||
},
|
||||
|
||||
getImgFileByFilename(elem: IMyElem, filename: string) {
|
||||
return 'upload/pages/' + elem.path + '/' + filename
|
||||
},
|
||||
|
||||
getImgFileByElem(elem: IMyElem, reccard?: IMyCard) {
|
||||
if (elem) {
|
||||
if (elem.type === shared_consts.ELEMTYPE.CARD) {
|
||||
if (reccard?.imagefile)
|
||||
return 'upload/pages/' + elem.path + '/' + reccard.imagefile
|
||||
else
|
||||
return ''
|
||||
} else if (elem.type === shared_consts.ELEMTYPE.IMAGE) {
|
||||
return 'upload/pages/' + elem.path + '/' + elem.container
|
||||
} else {
|
||||
return 'upload/pages/' + elem.path + '/' + elem.image
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
// getLocale() {
|
||||
// if (navigator.languages && navigator.languages.length > 0) {
|
||||
// return navigator.languages[0]
|
||||
|
||||
Reference in New Issue
Block a user