@digitalsee-ai/rcs 1.1.2 → 1.1.3

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.
@@ -8,6 +8,8 @@ import * as React from 'react';
8
8
  export type PresetTheme = 'default' | 'apple' | 'google' | 'preline';
9
9
  export type DynamicFormProps<T = Record<string, unknown>> = {
10
10
  schema: FormSchema;
11
+ /** 是否禁用整个动态表单 */
12
+ disabled?: boolean;
11
13
  initialValues?: Partial<T>;
12
14
  onSubmit?: (values: T) => void | Promise<void>;
13
15
  onChange?: (changedValues: Partial<T>, allValues: T) => void;
@@ -54,4 +56,4 @@ export type DynamicFormProps<T = Record<string, unknown>> = {
54
56
  /** 是否启用事件系统调试日志(默认 false) */
55
57
  debugEvents?: boolean;
56
58
  };
57
- export declare function DynamicForm<T extends Record<string, unknown>>({ schema, initialValues, onSubmit, onChange, submitLabel, showReset, resetLabel, onReset, form: externalForm, showSubmit, optionsLoader, nodeId, mcpMode, validateVariable, renderVariableTag, renderVariableTooltip, availableVariables, theme, customTheme, locale, prefixCls, events, customHandlers, maxExecutionDepth, debugEvents, }: DynamicFormProps<T>): import("react/jsx-runtime").JSX.Element;
59
+ export declare function DynamicForm<T extends Record<string, unknown>>({ schema, disabled: disabledProp, initialValues, onSubmit, onChange, submitLabel, showReset, resetLabel, onReset, form: externalForm, showSubmit, optionsLoader, nodeId, mcpMode, validateVariable, renderVariableTag, renderVariableTooltip, availableVariables, theme, customTheme, locale, prefixCls, events, customHandlers, maxExecutionDepth, debugEvents, }: DynamicFormProps<T>): import("react/jsx-runtime").JSX.Element;