UNPKG

@nocobase/plugin-math-formula-field

Version:

A powerful mathematical formula field plugin designed to provide flexible mathematical and formula calculation capabilities for databases or data management systems. It seamlessly integrates with various database systems such as MySQL, PostgreSQL, and off

104 lines (103 loc) 2.74 kB
import { CollectionFieldInterface } from '@nocobase/client'; export declare class MathFormulaFieldInterface extends CollectionFieldInterface { name: string; type: string; group: string; order: number; title: string; description: string; sortable: boolean; default: { type: string; uiSchema: { type: string; 'x-disabled': boolean; 'x-component': string; 'x-component-props': { stringMode: boolean; step: string; }; }; }; properties: { dataType: { type: string; title: string; 'x-component': string; 'x-decorator': string; default: string; 'x-disabled': string; 'x-reactions': { target: string; fulfill: { state: { display: string; }; }; }[]; enum: { value: string; label: string; }[]; }; 'uiSchema.x-component-props.step': { type: string; title: string; 'x-component': string; 'x-decorator': string; required: boolean; default: string; enum: { value: string; label: string; }[]; }; expression: { type: string; title: string; required: boolean; description: string; 'x-component': string; 'x-decorator': string; 'x-component-props': { supports: string[]; useCurrentFields: string; }; }; 'uiSchema.title': { type: string; title: string; required: boolean; 'x-decorator': string; 'x-component': string; }; name: { type: string; title: string; required: boolean; 'x-disabled': string; 'x-decorator': string; 'x-component': string; 'x-validator': string; description: string; }; }; filterable: { operators: ({ label: string; value: string; selected: boolean; noValue?: undefined; } | { label: string; value: string; selected?: undefined; noValue?: undefined; } | { label: string; value: string; noValue: boolean; selected?: undefined; })[]; }; }