magner
Version:
Universal admin panel magnetic to any backend
49 lines (48 loc) • 1.5 kB
TypeScript
import { PropType } from 'vue';
import type { ActionButton } from '../../../types/utils/actions';
import { 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;
};
skipActions: {
type: PropType<boolean | string[]>;
default: () => never[];
};
requestData: {
type: ObjectConstructor;
default: () => {};
};
}, {
emitAction: (action: ActionAction) => 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;
};
skipActions: {
type: PropType<boolean | string[]>;
default: () => never[];
};
requestData: {
type: ObjectConstructor;
default: () => {};
};
}>> & {
onAction?: ((...args: any[]) => any) | undefined;
}, {
size: "default" | "small" | "large";
actions: ActionButton<string, any>[];
requestData: Record<string, any>;
skipActions: boolean | string[];
}, {}>;
export default _sfc_main;