@farris/ui-vue
Version:
Farris Vue, a Farris Design based Vue3 component library.
66 lines (65 loc) • 2.1 kB
TypeScript
import { PropertyChangeObject } from '../../../property-panel';
export declare function useCommandOption(dataGridPropertyInstance: any): {
getCommandColumnProperties: (propertyData: any) => {
title: string;
description: string;
properties: {
enableType: {
title: string;
type: string;
$converter: string;
description: string;
refreshPanelAfterChanged: boolean;
editor: {
data: {
id: string;
name: string;
}[];
};
};
count: {
description: string;
title: string;
type: string;
$converter: string;
visible: boolean;
editor: {
needValid: boolean;
min: number;
};
};
commands: {
description: string;
title: string;
type: string;
visible: boolean;
$converter: string;
editor: {
columns: {
field: string;
title: string;
dataType: string;
}[];
type: string;
valueField: string;
nameField: string;
requiredFields: string[];
uniqueFields: string[];
};
};
formatter: {
title: string;
$converter: string;
type: string;
visible: boolean;
description: string;
refreshPanelAfterChanged: boolean;
editor: {
type: string;
language: string;
};
};
};
setPropertyRelates(changeObject: PropertyChangeObject, data: any): void;
};
};