@agendize/vue-settings
Version:
Vue agendize's settings component
25 lines (24 loc) • 984 B
TypeScript
import { CompanyEntity } from "@agendize/js-calendar-api";
import { ComputedRef, Ref } from "vue";
import { PageWithTabsAndPanelOptions, TabsOptions } from "@agendize/design-system";
import { Locale } from "@agendize/az-i18n";
import { Router } from "vue-router";
export declare function MenuHorizontalCompanyViewModel(emitter: any, router: Router, locale: Locale, acl: any, companyId: string, tab: string, companyParam?: CompanyEntity): MenuHorizontalCompanyViewModelType;
interface MenuHorizontalCompanyViewModelType {
pageOptions: ComputedRef<PageWithTabsAndPanelOptions>;
loadingCompany: Ref<boolean>;
mobileBackAction: () => void;
tabClick: (tab: TabsOptions) => void;
init: (company: CompanyEntity) => void;
}
export interface ActionButton {
label: string;
show: boolean;
hasAcl: boolean;
class: string;
actionLoading: boolean;
mobileIcon: string;
mobileClass: string;
action: () => void;
}
export {};