UNPKG

magner

Version:

Universal admin panel magnetic to any backend

43 lines (42 loc) 1.47 kB
import { PropType } from 'vue'; import { RouteLocationRaw } from 'vue-router'; import { TranslateData } from '../../utils/core/translate'; import type { ActionButton, ActionLink, ActionAction } from '../../types/utils/actions'; declare const _sfc_main: import("vue").DefineComponent<{ actions: { type: PropType<ActionButton<string, any>[]>; default: () => never[]; }; size: { type: PropType<"default" | "small" | "large">; default: string; }; requestData: { type: ObjectConstructor; default: () => {}; }; }, { getTranslation: (action: ActionButton<string, any>) => TranslateData; getLink: (to: ActionLink<any>['to']) => RouteLocationRaw; act: (action: ActionAction) => Promise<void>; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "action"[], "action", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ actions: { type: PropType<ActionButton<string, any>[]>; default: () => never[]; }; size: { type: PropType<"default" | "small" | "large">; default: string; }; requestData: { type: ObjectConstructor; default: () => {}; }; }>> & { onAction?: ((...args: any[]) => any) | undefined; }, { size: "default" | "small" | "large"; actions: ActionButton<string, any>[]; requestData: Record<string, any>; }, {}>; export default _sfc_main;