UNPKG

@tachybase/module-workflow

Version:

A powerful BPM tool that provides foundational support for business automation, with the capability to extend unlimited triggers and nodes.

199 lines (198 loc) 7.08 kB
import { VariableOption, WorkflowVariableInput } from '../..'; import { Instruction } from '../../nodes/default-node/interface'; export declare class ScriptInstruction extends Instruction { title: string; type: string; group: string; icon: string; color: string; isHot: boolean; description: string; fieldset: { sourceArray: { type: string; title: string; description: string; 'x-decorator': string; 'x-component': string; items: { type: string; properties: { keyName: { type: string; 'x-component': string; 'x-component-props': { title: string; }; properties: { keyName: { type: string; name: string; 'x-decorator': string; 'x-component': string; }; }; }; sourcePath: { type: string; 'x-component': string; 'x-component-props': { title: string; }; properties: { sourcePath: { type: string; name: string; required: boolean; 'x-decorator': string; 'x-component': string; 'x-component-props': { changeOnSelect: boolean; }; }; }; }; operations: { type: string; 'x-component': string; 'x-component-props': { dataIndex: string; fixed: string; className: string; }; properties: { remove: { type: string; 'x-component': string; }; }; }; }; }; properties: { add: { type: string; title: string; 'x-component': string; 'x-component-props': { defaultValue: {}; }; }; }; }; type: { type: string; title: string; 'x-decorator': string; 'x-component': string; enum: { label: string; value: string; }[]; default: string; }; code: { type: string; title: string; 'x-decorator': string; 'x-component': string; 'x-component-props': { defaultLanguage: string; height: string; defaultValue: string; }; }; model: { type: string; title: string; description: string; 'x-decorator': string; 'x-component': string; items: { type: string; properties: { path: { type: string; 'x-component': string; 'x-component-props': { title: string; }; properties: { path: { type: string; name: string; required: boolean; 'x-decorator': string; 'x-component': string; }; }; }; alias: { type: string; 'x-component': string; 'x-component-props': { title: string; }; properties: { alias: { type: string; name: string; 'x-decorator': string; 'x-component': string; }; }; }; label: { type: string; 'x-component': string; 'x-component-props': { title: string; }; properties: { label: { type: string; name: string; required: boolean; 'x-decorator': string; 'x-component': string; }; }; }; operations: { type: string; 'x-component': string; 'x-component-props': { dataIndex: string; fixed: string; className: string; }; properties: { remove: { type: string; 'x-component': string; }; }; }; }; }; properties: { add: { type: string; title: string; 'x-component': string; 'x-component-props': { defaultValue: {}; }; }; }; }; }; components: { ArrayTable: import("@tachybase/schema").ReactFC<import("antd").TableProps<any>> & import("@tego/client").ArrayBaseMixins & { Column: import("@tachybase/schema").ReactFC<import("antd").TableColumnProps<any>>; Addition: import("@tachybase/schema").ReactFC<import("@tego/client").IArrayBaseAdditionProps>; }; WorkflowVariableInput: typeof WorkflowVariableInput; }; useVariables(node: any, options: any): VariableOption; }