import { default as React } from 'react'; export interface AndDynamicContainerProps { /** 要渲染的组件名称 */ componentName: string; /** 静态 props */ componentProps?: Record; /** 从 Store 获取 props 的 key */ storePropsKey?: string; /** 会话 ID */ sessionId?: string; /** 容器标题 (仅设计模式显示) */ title?: string; /** 是否开发/设计模式 */ develop?: boolean; /** 容器样式 */ style?: React.CSSProperties; /** ID */ id?: string; /** 组件解析器 - 由运行时注入 */ componentResolver?: (name: string) => React.ComponentType | null; /** 占位符文本 - 当组件未配置或未找到时显示 */ placeholder?: string; /** 仅设计器:占位内容(图标/标题/storeKey)的 flex 方向 */ placeholderFlexDirection?: 'column' | 'row'; /** * 迭代器行下标(由父级传入,如 AndIterator.map 的 index)。 * - 会并入传给动态根组件的 props,供子树内拼 dataSetField(如 `items[${index}].field`)。 * - 当 storePropsKey 的首段无字面量 [n] 时,与 storePropsKey 组合为按行读取 store(等价于 baseKey[index])。 */ index?: number; } /** * AndDynamicContainer - 动态容器组件 * * 在设计器中显示为占位符卡片,运行时动态加载指定组件。 * * 使用方式: * 1. 设计器:拖入画布,配置 componentName 和 storePropsKey * 2. 运行时:通过 componentResolver 注入组件解析能力 * 3. 迭代器内使用时传入 index,动态根组件可收到同名的 props.index */ export declare const AndDynamicContainer: React.FC; export default AndDynamicContainer; //# sourceMappingURL=index.d.ts.map