@velis/dynamicforms
Version:
Data entry boilerplate components and a RESTful API consumer
38 lines • 1.44 kB
TypeScript
import Action from './action';
import FilteredActions from './filtered-actions';
import type { ActionsNS } from './namespace';
type BreakpointJSON = ActionsNS.BreakpointJSON;
type BreakpointsJSON = ActionsNS.BreakpointsJSON;
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
actions: {
type: typeof FilteredActions;
required: true;
};
useDisplay: {
type: ObjectConstructor;
default: () => void;
};
}>, {}, {}, {
displayStyle(): ActionsNS.BreakpointJSON;
}, {
checkStyle(attribute: string, actionRes: BreakpointJSON, displayStyle: BreakpointsJSON): void;
asText(action: Action): boolean;
buttonVariant(action: Action): "link" | "info";
displayIcon(action: Action): boolean;
displayLabel(action: Action): boolean;
labelText(action: Action): string;
isSmallSize(action: Action): boolean;
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
actions: {
type: typeof FilteredActions;
required: true;
};
useDisplay: {
type: ObjectConstructor;
default: () => void;
};
}>> & Readonly<{}>, {
useDisplay: Record<string, any>;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;
//# sourceMappingURL=actions-mixin.d.ts.map