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.

83 lines (82 loc) 2.82 kB
import React from 'react'; import { useCollectionDataSource } from '@tachybase/client'; import { FilterDynamicComponent } from '../components/FilterDynamicComponent'; import { Instruction } from './default-node/interface'; declare function IndividualHooksRadioWithTooltip({ onChange, ...props }: { [x: string]: any; onChange: any; }): import("react/jsx-runtime").JSX.Element; export default class extends Instruction { title: string; type: string; group: string; icon: string; color: string; description: string; fieldset: { collection: { 'x-reactions': any[]; type: string; title: string; required: boolean; 'x-decorator': string; 'x-component': string; }; params: { type: string; properties: { individualHooks: { type: string; title: string; 'x-decorator': string; 'x-component': string; 'x-component-props': { options: { label: string; value: boolean; tooltip: string; }[]; }; default: boolean; }; filter: { title: string; "x-validator"(value: any): string; type: string; 'x-decorator': string; 'x-component': string; 'x-use-component-props': () => { options: any[]; className: string; }; 'x-component-props': { dynamicComponent: string; }; }; values: { 'x-component-props': { filter(this: any, field: any): any; }; type: string; title: string; description: string; 'x-decorator': string; 'x-decorator-props': { labelAlign: string; className: string; }; 'x-component': string; }; }; }; }; scope: { useCollectionDataSource: typeof useCollectionDataSource; }; components: { FilterDynamicComponent: typeof FilterDynamicComponent; CollectionFieldset: React.MemoExoticComponent<import("@tachybase/schema").ReactFC<Omit<any, "ref">>>; IndividualHooksRadioWithTooltip: typeof IndividualHooksRadioWithTooltip; }; } export {};