mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? feat: Translation test run form #3355 feat: Wrap QueryTable with Collapse #3355 feat: If the required fields are not filled in, the submit button will be grayed out. #3355 feat: Add RunDrawer #3355 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -43,6 +43,15 @@ import {
|
||||
SendOutlined,
|
||||
} from '@ant-design/icons';
|
||||
import upperFirst from 'lodash/upperFirst';
|
||||
import {
|
||||
CloudUpload,
|
||||
Link2,
|
||||
ListOrdered,
|
||||
OptionIcon,
|
||||
TextCursorInput,
|
||||
ToggleLeft,
|
||||
WrapText,
|
||||
} from 'lucide-react';
|
||||
|
||||
export enum Operator {
|
||||
Begin = 'Begin',
|
||||
@ -2870,12 +2879,12 @@ export enum BeginQueryType {
|
||||
Url = 'url',
|
||||
}
|
||||
|
||||
export const BeginQueryTypeMap = {
|
||||
[BeginQueryType.Line]: 'input',
|
||||
[BeginQueryType.Paragraph]: 'textarea',
|
||||
[BeginQueryType.Options]: 'select',
|
||||
[BeginQueryType.File]: 'file',
|
||||
[BeginQueryType.Integer]: 'inputnumber',
|
||||
[BeginQueryType.Boolean]: 'switch',
|
||||
[BeginQueryType.Url]: 'input',
|
||||
export const BeginQueryTypeIconMap = {
|
||||
[BeginQueryType.Line]: TextCursorInput,
|
||||
[BeginQueryType.Paragraph]: WrapText,
|
||||
[BeginQueryType.Options]: OptionIcon,
|
||||
[BeginQueryType.File]: CloudUpload,
|
||||
[BeginQueryType.Integer]: ListOrdered,
|
||||
[BeginQueryType.Boolean]: ToggleLeft,
|
||||
[BeginQueryType.Url]: Link2,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user