Components Gallery, Book, Card, CImgText .... continue...
This commit is contained in:
44
src/model/Calendar.ts
Normal file
44
src/model/Calendar.ts
Normal 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: {}
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user