@nocobase/plugin-workflow
Version:
A powerful BPM tool that provides foundational support for business automation, with the capability to extend unlimited triggers and nodes.
54 lines (53 loc) • 1.61 kB
TypeScript
/**
* This file is part of the NocoBase (R) project.
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
* Authors: NocoBase Team.
*
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
* For more information, please refer to: https://www.nocobase.com/agreement.
*/
import React from 'react';
import { Instruction } from '.';
import { WorkflowVariableInput } from '../variable';
export default class extends Instruction {
title: string;
type: string;
group: string;
description: string;
icon: React.JSX.Element;
fieldset: {
value: {
type: string;
'x-decorator': string;
'x-component': string;
'x-component-props': {
changeOnSelect: boolean;
useTypedConstant: boolean;
nullable: boolean;
autoSize: {
minRows: number;
};
placeholder: string;
};
title: string;
};
};
scope: {};
components: {
ArrayItems: import("@formily/reactive-react").ReactFC<React.HTMLAttributes<HTMLDivElement>> & import("@formily/antd-v5").ArrayBaseMixins & {
Item: import("@formily/reactive-react").ReactFC<React.HTMLAttributes<HTMLDivElement> & {
type?: "card" | "divide";
}>;
};
WorkflowVariableInput: typeof WorkflowVariableInput;
};
useVariables({ key, title }: {
key: any;
title: any;
}, { types }: {
types: any;
}): {
value: any;
label: any;
};
}