2019-04-29 01:01:31 +02:00
|
|
|
import { IAction } from '@src/model/Projects'
|
2019-07-18 13:22:23 +02:00
|
|
|
import { Component } from 'vue-router/types/router'
|
2019-10-15 20:40:23 +02:00
|
|
|
import { lists } from '@src/store/Modules/lists'
|
2019-03-11 19:16:39 +01:00
|
|
|
|
2018-12-26 21:02:16 +01:00
|
|
|
export interface IPost {
|
|
|
|
|
title: string
|
|
|
|
|
}
|
|
|
|
|
|
2019-02-22 10:23:00 +01:00
|
|
|
export interface IConnData {
|
|
|
|
|
downloading_server: number
|
|
|
|
|
downloading_indexeddb: number
|
|
|
|
|
uploading_server: number
|
|
|
|
|
uploading_indexeddb: number
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ICfgServer {
|
|
|
|
|
chiave: string
|
2019-03-04 17:28:29 +01:00
|
|
|
userId: string
|
2019-02-22 10:23:00 +01:00
|
|
|
valore: string
|
|
|
|
|
}
|
|
|
|
|
|
2019-03-11 19:16:39 +01:00
|
|
|
export interface ICfgData {
|
|
|
|
|
_id?: string
|
|
|
|
|
lang?: string
|
|
|
|
|
token?: string
|
|
|
|
|
userId?: string
|
|
|
|
|
}
|
|
|
|
|
|
2019-02-27 02:58:41 +01:00
|
|
|
export interface ITestp1 {
|
|
|
|
|
contatore: number
|
|
|
|
|
mioarray: ICfgServer[]
|
|
|
|
|
}
|
|
|
|
|
|
2019-02-09 18:04:49 +01:00
|
|
|
export type StateConnection = 'online' | 'offline'
|
|
|
|
|
|
2019-03-04 17:28:29 +01:00
|
|
|
export interface IConfig {
|
|
|
|
|
_id: string,
|
|
|
|
|
key?: string,
|
|
|
|
|
value: string
|
|
|
|
|
}
|
|
|
|
|
|
2018-11-26 00:53:05 +01:00
|
|
|
export interface IGlobalState {
|
2018-11-07 22:42:22 +01:00
|
|
|
conta: number
|
2019-02-13 18:48:30 +01:00
|
|
|
wasAlreadySubOnDb: boolean
|
|
|
|
|
wasAlreadySubscribed: boolean
|
2018-11-07 22:42:22 +01:00
|
|
|
isLoginPage: boolean
|
|
|
|
|
layoutNeeded: boolean
|
|
|
|
|
mobileMode: boolean
|
|
|
|
|
menuCollapse: boolean
|
2019-01-02 18:01:36 +01:00
|
|
|
leftDrawerOpen: boolean
|
2019-10-20 01:22:38 +02:00
|
|
|
RightDrawerOpen: boolean
|
2019-01-30 01:05:31 +01:00
|
|
|
category: string
|
2019-02-12 12:06:01 +01:00
|
|
|
stateConnection: string
|
2019-02-22 10:23:00 +01:00
|
|
|
networkDataReceived: boolean
|
|
|
|
|
cfgServer: ICfgServer[]
|
2019-02-27 02:58:41 +01:00
|
|
|
testp1: ITestp1
|
2019-02-22 10:23:00 +01:00
|
|
|
connData: IConnData
|
2018-12-26 21:02:16 +01:00
|
|
|
posts: IPost[]
|
2019-03-13 01:53:53 +01:00
|
|
|
menulinks: {}
|
2019-03-31 14:27:27 +02:00
|
|
|
listatodo: IMenuList[]
|
2019-03-04 17:28:29 +01:00
|
|
|
arrConfig: IConfig[]
|
2019-04-29 01:01:31 +02:00
|
|
|
lastaction: IAction
|
2019-01-29 23:13:28 +01:00
|
|
|
}
|
|
|
|
|
|
2019-03-31 14:27:27 +02:00
|
|
|
export interface IMenuList {
|
2019-04-02 00:18:01 +02:00
|
|
|
nametranslate: string
|
2019-04-25 00:30:13 +02:00
|
|
|
description?: string
|
2019-03-31 14:27:27 +02:00
|
|
|
idelem?: string
|
|
|
|
|
icon?: string
|
2019-04-25 00:30:13 +02:00
|
|
|
name?: string
|
|
|
|
|
level_parent?: number
|
|
|
|
|
level_child?: number
|
|
|
|
|
urlroute?: string
|
|
|
|
|
routes2?: IMenuList[]
|
2018-11-07 22:42:22 +01:00
|
|
|
}
|
2018-12-26 21:02:16 +01:00
|
|
|
|
2019-03-31 14:27:27 +02:00
|
|
|
export interface IListRoutes {
|
2019-07-18 13:22:23 +02:00
|
|
|
path: string
|
2019-03-31 14:27:27 +02:00
|
|
|
name: string
|
2019-07-18 13:22:23 +02:00
|
|
|
materialIcon?: string
|
|
|
|
|
component?: Component
|
|
|
|
|
reqauth?: boolean
|
|
|
|
|
inmenu?: boolean
|
2019-09-19 22:56:19 +02:00
|
|
|
solotitle?: boolean
|
|
|
|
|
infooter?: boolean
|
2019-07-18 13:22:23 +02:00
|
|
|
submenu?: boolean
|
2019-10-10 16:53:33 +02:00
|
|
|
onlyAdmin?: boolean
|
2019-10-15 20:40:23 +02:00
|
|
|
onlyManager?: boolean
|
2019-10-10 16:53:33 +02:00
|
|
|
meta?: any
|
|
|
|
|
idelem?: string
|
|
|
|
|
urlroute?: string
|
2019-07-18 13:22:23 +02:00
|
|
|
// ------------------------
|
|
|
|
|
faIcon?: string
|
2019-04-02 00:18:01 +02:00
|
|
|
text?: string
|
2019-04-25 00:30:13 +02:00
|
|
|
routes2?: IListRoutes[]
|
|
|
|
|
level_parent?: number
|
|
|
|
|
level_child?: number
|
2019-10-10 16:53:33 +02:00
|
|
|
separator?: boolean
|
2019-03-31 14:27:27 +02:00
|
|
|
}
|
2019-07-18 13:22:23 +02:00
|
|
|
|
|
|
|
|
export interface IPerson {
|
|
|
|
|
index?: number
|
|
|
|
|
tab?: string
|
|
|
|
|
name: string
|
|
|
|
|
sub1: string
|
|
|
|
|
sub2?: string
|
|
|
|
|
sub3?: string
|
|
|
|
|
img: string
|
|
|
|
|
cell?: string
|
|
|
|
|
email?: string
|
|
|
|
|
paginaweb?: string
|
|
|
|
|
paginafb?: string
|
|
|
|
|
intro?: string
|
|
|
|
|
info?: string
|
|
|
|
|
vario?: string
|
|
|
|
|
}
|
|
|
|
|
|
2019-09-20 15:35:55 +02:00
|
|
|
export interface IPreloadImages {
|
|
|
|
|
imgname: string
|
|
|
|
|
mobile: boolean
|
|
|
|
|
}
|
|
|
|
|
|
2019-07-18 13:22:23 +02:00
|
|
|
export interface ILang {
|
|
|
|
|
label: string
|
|
|
|
|
icon: string
|
|
|
|
|
value: string
|
|
|
|
|
image: string
|
|
|
|
|
short: string
|
|
|
|
|
}
|
2019-07-23 20:44:06 +02:00
|
|
|
|
|
|
|
|
export interface IAllLang {
|
|
|
|
|
es?: string
|
|
|
|
|
enUs?: string
|
|
|
|
|
fr?: string
|
2019-09-19 22:56:19 +02:00
|
|
|
de?: string
|
2019-07-23 20:44:06 +02:00
|
|
|
it?: string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ITimeLineEntry {
|
|
|
|
|
date: string
|
|
|
|
|
title: string
|
|
|
|
|
description: IAllLang
|
|
|
|
|
description2?: IAllLang
|
|
|
|
|
description3?: IAllLang
|
|
|
|
|
icon: string
|
|
|
|
|
image: string
|
|
|
|
|
image2?: string
|
|
|
|
|
image3?: string
|
|
|
|
|
image4?: string
|
2019-10-10 16:53:33 +02:00
|
|
|
video?: string
|
2019-07-23 20:44:06 +02:00
|
|
|
side: string
|
|
|
|
|
link_url?: string
|
2019-08-08 16:55:14 +02:00
|
|
|
link_url_lang?: IAllLang
|
2019-07-23 20:44:06 +02:00
|
|
|
link_text?: IAllLang
|
2019-09-20 15:35:55 +02:00
|
|
|
ingallery?: boolean
|
2019-07-23 20:44:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ITimeLineMain {
|
|
|
|
|
titlemain: IAllLang
|
|
|
|
|
body: ITimeLineEntry[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface IGallery {
|
|
|
|
|
title: string
|
|
|
|
|
subtitle?: IAllLang
|
|
|
|
|
img: string
|
|
|
|
|
width?: number
|
|
|
|
|
height?: number
|
2019-09-20 15:35:55 +02:00
|
|
|
ingallery?: boolean
|
|
|
|
|
inexibitions?: boolean
|
2019-07-23 20:44:06 +02:00
|
|
|
}
|
2019-09-12 16:19:23 +02:00
|
|
|
|
|
|
|
|
export interface IColl {
|
|
|
|
|
title: IAllLang
|
|
|
|
|
date: string
|
|
|
|
|
subtitle?: IAllLang
|
|
|
|
|
img: string
|
2019-10-10 16:53:33 +02:00
|
|
|
img2?: string
|
2019-09-12 16:19:23 +02:00
|
|
|
linkagg?: string
|
|
|
|
|
linkagg_type?: number
|
|
|
|
|
width?: number
|
|
|
|
|
height?: number
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ICollaborations {
|
|
|
|
|
withwhom_title: IAllLang
|
|
|
|
|
list: IColl[]
|
|
|
|
|
}
|
2019-10-10 16:53:33 +02:00
|
|
|
|
|
|
|
|
export interface IParamDialog {
|
|
|
|
|
param1?: any
|
|
|
|
|
param2?: any
|
|
|
|
|
param3?: any
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface IFunctionality {
|
|
|
|
|
PWA?: boolean
|
|
|
|
|
SHOW_USER_MENU?: boolean
|
|
|
|
|
SHOW_IF_IS_SERVER_CONNECTION?: boolean
|
|
|
|
|
ENABLE_TODOS_LOADING?: boolean
|
|
|
|
|
ENABLE_PROJECTS_LOADING?: boolean
|
|
|
|
|
SHOW_NEWSLETTER?: boolean
|
|
|
|
|
SHOW_ONLY_POLICY?: boolean
|
|
|
|
|
BOOKING_EVENTS?: boolean
|
|
|
|
|
}
|
2019-10-12 23:34:58 +02:00
|
|
|
|
2019-10-14 20:32:15 +02:00
|
|
|
export interface IParamsQuery {
|
|
|
|
|
table: string
|
|
|
|
|
startRow: number
|
|
|
|
|
endRow: number
|
|
|
|
|
filter: string
|
|
|
|
|
sortBy: any
|
|
|
|
|
descending: number
|
|
|
|
|
}
|
2019-10-15 20:40:23 +02:00
|
|
|
|
|
|
|
|
export interface IColGridTable {
|
|
|
|
|
name: string
|
2019-10-20 01:22:38 +02:00
|
|
|
required?: boolean
|
2019-10-15 20:40:23 +02:00
|
|
|
label?: string
|
|
|
|
|
label_trans?: string
|
|
|
|
|
align?: string
|
|
|
|
|
field?: string
|
|
|
|
|
sortable?: boolean
|
|
|
|
|
disable?: boolean
|
|
|
|
|
titlepopupedit?: string
|
2019-10-16 15:27:49 +02:00
|
|
|
visible?: boolean
|
2019-10-15 20:40:23 +02:00
|
|
|
icon?: string
|
|
|
|
|
action?: any
|
2019-10-21 20:38:22 +02:00
|
|
|
askaction?: string
|
2019-10-16 15:27:49 +02:00
|
|
|
foredit?: boolean
|
2019-10-28 16:00:37 +01:00
|
|
|
fieldtype?: number
|
|
|
|
|
jointable?: string
|
|
|
|
|
resultjoin?: string[]
|
2019-10-20 01:22:38 +02:00
|
|
|
visuonlyEditVal?: boolean
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ITableRec {
|
|
|
|
|
label: string
|
|
|
|
|
value: string
|
|
|
|
|
columns: IColGridTable[]
|
|
|
|
|
colkey: string
|
2019-10-15 20:40:23 +02:00
|
|
|
}
|
2019-10-20 22:44:18 +02:00
|
|
|
|
|
|
|
|
export interface IDataPass {
|
|
|
|
|
id: string
|
|
|
|
|
table: string
|
|
|
|
|
fieldsvalue: object
|
|
|
|
|
}
|