@agendize/vue-settings
Version:
Vue agendize's settings component
128 lines (127 loc) • 7.17 kB
TypeScript
import { AccountEntity, CalendarApi, Logger } from "@agendize/js-calendar-api";
import { Locale } from "@agendize/az-i18n";
import { RouteLocationNormalizedLoaded, Router } from "vue-router";
declare const _default: import("vue").DefineComponent<{
acl: {
type: import("vue").PropType<any>;
required: true;
};
api: {
type: import("vue").PropType<CalendarApi>;
required: true;
};
toaster: {
type: import("vue").PropType<{
(content: import("vue-toastification/dist/types/types").ToastContent, options?: import("vue-toastification/dist/types/types").ToastOptions | undefined): import("vue-toastification/dist/types/types").ToastID;
clear(): void;
updateDefaults(update: import("vue-toastification").PluginOptions): void;
dismiss(id: import("vue-toastification/dist/types/types").ToastID): void;
update: {
(id: import("vue-toastification/dist/types/types").ToastID, { content, options }: {
content?: import("vue-toastification/dist/types/types").ToastContent | undefined;
options?: import("vue-toastification/dist/types/types").ToastOptions | undefined;
}, create?: false | undefined): void;
(id: import("vue-toastification/dist/types/types").ToastID, { content, options }: {
content: import("vue-toastification/dist/types/types").ToastContent;
options?: import("vue-toastification/dist/types/types").ToastOptions | undefined;
}, create?: true | undefined): void;
};
success(content: import("vue-toastification/dist/types/types").ToastContent, options?: (import("vue-toastification/dist/types/types").ToastOptions & {
type?: import("vue-toastification").TYPE.SUCCESS | undefined;
}) | undefined): import("vue-toastification/dist/types/types").ToastID;
info(content: import("vue-toastification/dist/types/types").ToastContent, options?: (import("vue-toastification/dist/types/types").ToastOptions & {
type?: import("vue-toastification").TYPE.INFO | undefined;
}) | undefined): import("vue-toastification/dist/types/types").ToastID;
error(content: import("vue-toastification/dist/types/types").ToastContent, options?: (import("vue-toastification/dist/types/types").ToastOptions & {
type?: import("vue-toastification").TYPE.ERROR | undefined;
}) | undefined): import("vue-toastification/dist/types/types").ToastID;
warning(content: import("vue-toastification/dist/types/types").ToastContent, options?: (import("vue-toastification/dist/types/types").ToastOptions & {
type?: import("vue-toastification").TYPE.WARNING | undefined;
}) | undefined): import("vue-toastification/dist/types/types").ToastID;
}>;
required: true;
};
organisation: {
type: import("vue").PropType<AccountEntity>;
required: true;
};
locale: {
type: import("vue").PropType<Locale>;
required: true;
};
createConfirmDialog: {
type: import("vue").PropType<Function>;
required: true;
};
logger: {
type: import("vue").PropType<Logger>;
};
router: {
type: import("vue").PropType<Router>;
};
route: {
type: import("vue").PropType<RouteLocationNormalizedLoaded>;
};
}, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
acl: {
type: import("vue").PropType<any>;
required: true;
};
api: {
type: import("vue").PropType<CalendarApi>;
required: true;
};
toaster: {
type: import("vue").PropType<{
(content: import("vue-toastification/dist/types/types").ToastContent, options?: import("vue-toastification/dist/types/types").ToastOptions | undefined): import("vue-toastification/dist/types/types").ToastID;
clear(): void;
updateDefaults(update: import("vue-toastification").PluginOptions): void;
dismiss(id: import("vue-toastification/dist/types/types").ToastID): void;
update: {
(id: import("vue-toastification/dist/types/types").ToastID, { content, options }: {
content?: import("vue-toastification/dist/types/types").ToastContent | undefined;
options?: import("vue-toastification/dist/types/types").ToastOptions | undefined;
}, create?: false | undefined): void;
(id: import("vue-toastification/dist/types/types").ToastID, { content, options }: {
content: import("vue-toastification/dist/types/types").ToastContent;
options?: import("vue-toastification/dist/types/types").ToastOptions | undefined;
}, create?: true | undefined): void;
};
success(content: import("vue-toastification/dist/types/types").ToastContent, options?: (import("vue-toastification/dist/types/types").ToastOptions & {
type?: import("vue-toastification").TYPE.SUCCESS | undefined;
}) | undefined): import("vue-toastification/dist/types/types").ToastID;
info(content: import("vue-toastification/dist/types/types").ToastContent, options?: (import("vue-toastification/dist/types/types").ToastOptions & {
type?: import("vue-toastification").TYPE.INFO | undefined;
}) | undefined): import("vue-toastification/dist/types/types").ToastID;
error(content: import("vue-toastification/dist/types/types").ToastContent, options?: (import("vue-toastification/dist/types/types").ToastOptions & {
type?: import("vue-toastification").TYPE.ERROR | undefined;
}) | undefined): import("vue-toastification/dist/types/types").ToastID;
warning(content: import("vue-toastification/dist/types/types").ToastContent, options?: (import("vue-toastification/dist/types/types").ToastOptions & {
type?: import("vue-toastification").TYPE.WARNING | undefined;
}) | undefined): import("vue-toastification/dist/types/types").ToastID;
}>;
required: true;
};
organisation: {
type: import("vue").PropType<AccountEntity>;
required: true;
};
locale: {
type: import("vue").PropType<Locale>;
required: true;
};
createConfirmDialog: {
type: import("vue").PropType<Function>;
required: true;
};
logger: {
type: import("vue").PropType<Logger>;
};
router: {
type: import("vue").PropType<Router>;
};
route: {
type: import("vue").PropType<RouteLocationNormalizedLoaded>;
};
}>>, {}, {}>;
export default _default;