Feat: Render DynamicCategorize with shadcn-ui. #3221 (#5610)

### What problem does this PR solve?

Feat: Render DynamicCategorize with shadcn-ui. #3221

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-03-04 19:31:32 +08:00
committed by GitHub
parent fb4b5b0a06
commit 850e218051
8 changed files with 239 additions and 405 deletions

View File

@ -8,6 +8,7 @@ import {
import { useTranslate } from '@/hooks/common-hooks';
import { IModalProps } from '@/interfaces/common';
import { RAGFlowNodeType } from '@/interfaces/database/flow';
import { cn } from '@/lib/utils';
import { zodResolver } from '@hookform/resolvers/zod';
import { get, isPlainObject, lowerFirst } from 'lodash';
import { Play, X } from 'lucide-react';
@ -94,9 +95,9 @@ const FormSheet = ({
return (
<Sheet open={visible} modal={false}>
<SheetTitle className="hidden"></SheetTitle>
<SheetContent className="bg-white top-20" closeIcon={false}>
<SheetContent className={cn('bg-white top-20 p-0')} closeIcon={false}>
<SheetHeader>
<section className="flex-col border-b pb-2">
<section className="flex-col border-b py-2 px-5">
<div className="flex items-center gap-2 pb-3">
<OperatorIcon
name={operatorName}