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.

255 lines (254 loc) 8.74 kB
import { VariableOption, WorkflowVariableInput } from '../..'; import { Instruction } from '../../nodes/default-node/interface'; /** 节点: 工作流 */ export declare class TriggerInstruction extends Instruction { title: string; type: string; group: string; icon: string; color: 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: {}; }; }; }; }; workflowKey: { type: string; title: string; name: string; 'x-decorator': string; 'x-component': string; 'x-component-props': { buttonAction: string; noCollection: boolean; label: string; value: string; }; 'x-use-component-props': () => { filterSync: any; filterKey: { $ne: any; }; }; required: boolean; }; bindCollection: { type: string; title: string; 'x-decorator': string; 'x-component': string; enum: { label: string; value: boolean; }[]; required: boolean; default: boolean; }; collection: { type: string; title: string; 'x-decorator': string; 'x-component': string; required: boolean; 'x-reactions': ({ target: string; effects: string[]; fulfill: { state: { value: any[]; visible?: undefined; }; }; dependencies?: undefined; } | { dependencies: string[]; fulfill: { state: { visible: string; value?: undefined; }; }; target?: undefined; effects?: undefined; })[]; }; appends: { type: string; title: string; description: string; 'x-decorator': string; 'x-component': string; 'x-component-props': { multiple: boolean; useCollection(): any; }; 'x-reactions': { dependencies: string[]; fulfill: { state: { visible: 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; }