/** * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates * SPDX-License-Identifier: MIT */ import React, { useMemo } from 'react'; import { isPlainObject } from 'lodash-es'; import { useScopeAvailable } from '@flowgram.ai/editor'; import { IInputsValues } from '@/shared/flow-value'; import { FlowValueUtils } from '@/shared'; import { DisplayFlowValue } from '@/components/display-flow-value'; import './styles.css'; import { DisplaySchemaTag } from '../display-schema-tag'; interface PropsType { value?: IInputsValues; showIconInTree?: boolean; } export function DisplayInputsValues({ value, showIconInTree }: PropsType) { const childEntries = Object.entries(value || {}); return (