press-ui
Version:
简单、易用的跨端组件库,兼容 Vue2 和 Vue3,同时支持 uni-app和普通 Vue 项目
30 lines (29 loc) • 654 B
TypeScript
export declare const functionalMixin: (allProps: Record<string, any>, { showProp, propsKeyMap }?: {
showProp: boolean;
propsKeyMap: {};
}) => {
props: {
mode: {
type: StringConstructor;
default: string;
};
};
computed: {
isFunctionMode(): boolean;
};
watch: {
[x: string]: any;
};
methods: {
closeDialog(): void;
showDialog(options?: Record<string, any>): void;
getPropOrData(key: string): Record<string, any> | undefined;
promiseCallback(type: 'confirm' | 'cancel', options?: {}): void;
};
data(): {
innerShow: boolean;
functionModeData: {
[x: string]: any;
};
};
};