mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-15 09:14:08 +00:00
23 lines
604 B
TypeScript
23 lines
604 B
TypeScript
import '../css/invoiceshelf.css'
|
|
import 'v-tooltip/dist/v-tooltip.css'
|
|
|
|
import InvoiceShelf from './InvoiceShelf'
|
|
|
|
declare global {
|
|
interface Window {
|
|
InvoiceShelf: InvoiceShelf
|
|
loadLanguage?: (locale: string) => Promise<void>
|
|
customer_logo?: string
|
|
customer_page_title?: string
|
|
login_page_logo?: string
|
|
login_page_heading?: string
|
|
login_page_description?: string
|
|
copyright_text?: string
|
|
demo_mode?: boolean
|
|
}
|
|
}
|
|
|
|
const invoiceShelf = new InvoiceShelf()
|
|
window.InvoiceShelf = invoiceShelf
|
|
window.loadLanguage = (locale: string) => invoiceShelf.loadLanguage(locale)
|