import { Component } from 'react'; import { PluginProps } from '@alilc/lowcode-types'; import './index.less'; export default class VariableBindDialog extends Component { state: { visiable: boolean; helpText: string; jsCode: string; searchValue: string; variableListMap: {}; selParentVariable: any; childrenVariableList: any[]; field: {}; minimize: boolean; }; private editorJsRef; private monocoEditor; componentDidMount(): void; exportSchema: () => any; initCode: () => void; /** * 获取methods数据源 * @param {String} * @return {Array} */ getMethods(): any[]; /** * 获取AutoComplete数据源 * @param {String} * @return {Array} */ getVarableList(): any[]; /** * 获取数据源面板中的数据 * @param {String} * @return {Array} */ getDataSource(): any[]; /** * 获取输入的上下文信息 * @param {Array} * @return {Array} */ getContextKeys(keys?: []): any[]; openDialog: () => void; closeDialog: () => void; onSelectItem: (value: string) => void; updateCode: (newCode: any) => void; autoSave: () => void; editorDidMount: (editor: any) => void; onOk: (autoSave: any) => void; removeTheBinding: () => void; renderBottom: () => JSX.Element; onVariableSearchChange: (val: any) => void; onVariableItemClick: (key: string) => void; minimizeClick: (state: any) => void; renderTitle: () => JSX.Element; render(): JSX.Element; }