UNPKG

@agendize/vue-settings

Version:
14 lines (13 loc) 650 B
import { CalendarApi, CompanyEntity, AccountEntity } from "@agendize/js-calendar-api"; import { Locale } from "@agendize/az-i18n"; import { Ref } from "vue"; import { LocationQueryRaw } from "vue-router"; export declare function MenuViewModel(emitter: Function, api: CalendarApi, locale: Locale, organisation: AccountEntity, companyId?: string, newCompany?: boolean, cloneCompany?: boolean): MenuViewModelType; interface MenuViewModelType { companyUpdated: Ref<CompanyEntity | undefined>; loading: Ref<boolean>; isCompanyCreation: Ref<boolean>; queryParams: Ref<LocationQueryRaw>; closeMenu: () => void; } export {};