bookingflix_appointments
v1.0.7
Published
Different Scripts to calculate the bookingflix calendar appointments
Downloads
9
Readme
Bookingflix Calendar Appointments
A set of javascripts for appointment calculation and translation based on bookingflix dataset.
Installation
npm i bookingflix_appointments
Usage
import { bfLoader, bfCalendar, ... } from bookingflix_appointments
Scripts
- bfLoader
- bfLoaderPrivate
- bfCalendar
- bfHelpers
- bfFormValidator
- bfBookingCheck
- bfDateFunctions
- bfStyleFunctions
- bfPrivateCalendar
bfLoader
classDiagram
class bfLoader{
url = https://api.bookingflix.com
language = de
privateCalender
pivCal
async getData(settings)
async getServices(settings)
async getRessources(settings)
async getTargetPage(settings)
async save(data)
async filterServices(services, weekdays)
}
bfLoaderPrivate
classDiagram
class bfLoaderPrivate{
url = https://api.bookingflix.com
language = de
async getData(settings)
async setSave(ID, input)
async sendInfomail(ID, input)
}
bfCalendar
classDiagram
class bfCalendar{
data
i18n
lang = de
save
setTranslation(lang)
start()
}
bfHelpers - bfFormValidator
classDiagram
class bfFormValidator{
data
save
validate()
runCheck()
checkText(data)
checkRadio(data)
checkTerms(data)
validateEmail(email)
}
bfHelpers - bfBookingCheck
classDiagram
class bfBookingCheck{
settings
service
date
group = 1
async check()
getEndDate(start_day)
calculateGroup(save)
calculateEmail(save)
calculateTel(save)
}
bfHelpers - bfDateFunctions
classDiagram
class bfDateFunctions{
getWeekday(day)
getNextDate(day, data)
generateDate(dateString)
getNullsBefore(nbr)
getServiceTime(time)
setYmdHis(date)
getEndDate(date, data, service)
getDateInfo(day)
}
bfHelpers - bfStyleFunctions
classDiagram
class bfDateFunctions{
data
getStyling(a, b)
nl2br(str, is_xhtml)
}
bfHelpers - bfPrivateCalendar
classDiagram
class bfDateFunctions{
i18n
setData(data, save)
}