snowy-designer
Version:
基于Epic-Designer-Pro版本的设计器,可视化开发页面表单
22 lines (19 loc) • 566 B
JavaScript
"use strict";const n=`interface ComponentPublicInstance {
getAttr: (key: string) => any;
getValue?: () => any;
setAttr: (key: string, value: any) => any;
setValue?: (value: any) => void;
}
interface Epic {
defineExpose: <Exposed extends Record<string, any> = Record<string, any>>(
exposed?: Exposed,
) => void;
find: (id: ComponentId) => ComponentPublicInstance;
getComponent: (id: ComponentId) => ComponentPublicInstance;
global: any;
pluginManager: any;
publicMethods: any;
state: any;
}
declare const epic: Epic;
`;module.exports=n;