@tachybase/module-workflow
Version:
A powerful BPM tool that provides foundational support for business automation, with the capability to extend unlimited triggers and nodes.
124 lines (123 loc) • 4.41 kB
TypeScript
import { VariableOption, WorkflowVariableInput } from '../..';
import { Instruction } from '../../nodes/default-node/interface';
export declare class JSParseInstruction extends Instruction {
title: string;
type: string;
group: string;
description: string;
fieldset: {
source: {
type: string;
title: string;
'x-decorator': string;
'x-component': string;
'x-component-props': {
changeOnSelect: boolean;
};
required: boolean;
};
JSCode: {
type: string;
title: string;
'x-decorator': string;
'x-decorator-props': {
tooltip: string;
};
'x-component': string;
required: boolean;
};
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;
isAvailable(): boolean;
}