import React from "react"; import { TtmplNodeConfig } from "./tree-utils"; import { TtmplConfig } from "../tmpl/interface"; import { LocaleContext } from "../locale/LocaleProvider"; interface ActTreeProps { ttmplConfig: TtmplConfig; top: number; serverKey?: string; } interface ActTreeState { ttmplNodeConfig?: TtmplNodeConfig; showEdit?: boolean; showView?: boolean; recordCode?: string; mainCode?: string; sourceId?: string; cardtitle?: string; addTmplId?: string; } export default class ActTree extends React.PureComponent { static defaultProps: { top: number; }; state: { ttmplNodeConfig: any; recordCode: any; showEdit: boolean; showView: boolean; mainCode: any; sourceId: any; cardtitle: any; addTmplId: any; }; static contextType: React.Context<{ locale: import("../locale/langMp").LocaleType; langPkg: any; availableLang: string[]; changeLocale: (locale: import("../locale/langMp").LocaleType) => void; siderCollapsed: boolean; changeSiderCollapsed: () => void; t: (...strs: string[]) => string; translate: (...strs: string[]) => string; getServiceLangStr?: () => string; compactTheme?: boolean; changeCompactTheme?: () => void; screenfull?: boolean; changeScreenfull?: () => void; }>; context: React.ContextType; refTmplTree: any; componentDidMount(): Promise; loadData: () => Promise; componentDidUpdate(prevProps: any): Promise; onEditRoot: (title: string, code?: string) => void; showCard: (cardtitle: any, sourceId: any, mainCode: any, recordCode: any, showEdit: any, showView: any, addTmplId?: string) => void; onViewRoot: (title: string, code?: string) => void; onEditSub: (title: string, sourceId: string, mainCode: string, recordCode?: string) => void; onViewSub: (title: string, sourceId: string, mainCode: string, recordCode?: string) => void; onDelete: (sourceId: string, recordCode?: string) => Promise; onAddSub: (title: string, sourceId: string, mainCode: string, addTmplId: string) => void; render(): React.JSX.Element; } export {}; //# sourceMappingURL=act-tree.d.ts.map