@baishuyun/ai-design 2.0.39 → 2.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -5,6 +5,7 @@ import { transCls } from '../const/ui';
|
|
|
5
5
|
import { TrashIcon, SearchIcon } from '../components/bs-icons';
|
|
6
6
|
import { Popover, PopoverTrigger, PopoverContent } from './ui/popover';
|
|
7
7
|
import { usePortalContainer } from '../hooks/use-portal-container';
|
|
8
|
+
import { BsTooltip } from './tooltip';
|
|
8
9
|
|
|
9
10
|
const PlusIcon = () => (
|
|
10
11
|
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
@@ -269,9 +270,9 @@ export function OutputConfigEditor({ value, onChange, sourceFields, targetFields
|
|
|
269
270
|
isDropdownOpen(index, 'source') ? 'border-[#0265ff]' : 'border-[#e0e0e0]',
|
|
270
271
|
)}
|
|
271
272
|
>
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
273
|
+
<span className="text-[14px] text-[#030303] leading-normal truncate" title={item.sourceField.fieldDesc ?? "" }>
|
|
274
|
+
{item.sourceField.fieldDesc || <span className="text-[#999]">请选择字段</span>}
|
|
275
|
+
</span>
|
|
275
276
|
<CaretIcon className={cn(
|
|
276
277
|
'shrink-0 text-[#666]',
|
|
277
278
|
isDropdownOpen(index, 'source') && 'rotate-180',
|
|
@@ -344,9 +345,9 @@ export function OutputConfigEditor({ value, onChange, sourceFields, targetFields
|
|
|
344
345
|
isDropdownOpen(index, 'target') ? 'border-[#0265ff]' : 'border-[#e0e0e0]',
|
|
345
346
|
)}
|
|
346
347
|
>
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
348
|
+
<span className="text-[14px] text-[#030303] leading-normal truncate" title={item.targetField.fieldDesc ?? ""}>
|
|
349
|
+
{item.targetField.fieldDesc || <span className="text-[#999]">请选择表单字段</span>}
|
|
350
|
+
</span>
|
|
350
351
|
<CaretIcon className={cn(
|
|
351
352
|
'shrink-0 text-[#666]',
|
|
352
353
|
isDropdownOpen(index, 'target') && 'rotate-180',
|