Components Gallery, Book, Card, CImgText .... continue...

This commit is contained in:
Paolo Arena
2019-07-23 20:44:06 +02:00
parent 116703d6cc
commit fdf2f2d2c3
49 changed files with 1692 additions and 25 deletions

44
src/model/Calendar.ts Normal file
View File

@@ -0,0 +1,44 @@
export interface IEvents {
time?: string
duration?: number
title?: string
details?: string
date?: string
side?: string
bgcolor?: string
days?: number
icon?: string
img?: string
where?: string
teacher?: string
teacher2?: string
avatar?: string
avatar2?: string
infoextra?: string
linkpdf?: string
}
export interface ICalendarState {
titlebarHeight: number
locale: string,
maxDays: number,
fiveDayWorkWeek: boolean,
shortMonthLabel: boolean,
showDayOfYearLabel: boolean,
shortWeekdayLabel: boolean,
shortIntervalLabel: boolean,
hour24Format: boolean,
hideHeader: boolean,
noScroll: boolean,
showMonthLabel: boolean,
showWorkWeeks: boolean,
intervalRange: {min: number, max: number},
intervalRangeStep: number,
intervalHeight: number,
resourceHeight: number,
resourceWidth: number,
dayHeight: number,
enableThemes: boolean,
theme: {}
}

View File

@@ -112,3 +112,39 @@ export interface ILang {
image: string
short: string
}
export interface IAllLang {
es?: string
enUs?: string
fr?: string
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
side: string
link_url?: string
link_text?: IAllLang
}
export interface ITimeLineMain {
titlemain: IAllLang
body: ITimeLineEntry[]
}
export interface IGallery {
title: string
subtitle?: IAllLang
img: string
width?: number
height?: number
}