@flowgram.ai/form-materials 0.2.27 → 0.2.29
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/bin/materials.ts +1 -1
- package/dist/esm/index.js +466 -218
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.mts +53 -15
- package/dist/index.d.ts +53 -15
- package/dist/index.js +475 -225
- package/dist/index.js.map +1 -1
- package/package.json +6 -5
- package/src/components/batch-outputs/config.json +2 -1
- package/src/components/batch-outputs/index.tsx +4 -12
- package/src/components/code-editor/config.json +2 -1
- package/src/components/code-editor/language-features.ts +3 -4
- package/src/components/constant-input/index.tsx +19 -2
- package/src/components/constant-input/types.ts +1 -0
- package/src/components/dynamic-value-input/index.tsx +58 -9
- package/src/components/dynamic-value-input/styles.tsx +28 -2
- package/src/components/index.ts +1 -0
- package/src/components/inputs-values/config.json +12 -0
- package/src/components/inputs-values/index.tsx +60 -0
- package/src/components/inputs-values/styles.tsx +19 -0
- package/src/components/inputs-values/types.ts +19 -0
- package/src/components/json-schema-editor/index.tsx +14 -1
- package/src/components/prompt-editor-with-inputs/inputs-picker.tsx +1 -1
- package/src/components/type-selector/index.tsx +15 -8
- package/src/components/variable-selector/index.tsx +30 -11
- package/src/components/variable-selector/styles.tsx +18 -8
- package/src/effects/index.ts +0 -1
- package/src/form-plugins/index.ts +2 -1
- package/src/form-plugins/infer-inputs-plugin/config.json +7 -0
- package/src/form-plugins/infer-inputs-plugin/index.ts +108 -0
- package/src/hooks/index.tsx +6 -0
- package/src/hooks/use-object-list/config.json +8 -0
- package/src/{components/batch-outputs/use-list.ts → hooks/use-object-list/index.tsx} +49 -12
- package/src/typings/flow-value/config.json +3 -1
- package/src/typings/flow-value/index.ts +3 -0
- package/src/effects/provide-batch-outputs/config.json +0 -5
- package/src/effects/provide-batch-outputs/index.ts +0 -38
package/dist/index.d.mts
CHANGED
|
@@ -3,6 +3,7 @@ import { TriggerRenderProps } from '@douyinfe/semi-ui/lib/es/treeSelect';
|
|
|
3
3
|
import { InferValues } from '@coze-editor/editor/react';
|
|
4
4
|
import preset from '@coze-editor/editor/preset-code';
|
|
5
5
|
import { EffectOptions, ASTNodeJSON, ASTNode, BaseType, FormPluginCreator } from '@flowgram.ai/editor';
|
|
6
|
+
import * as _flowgram_ai_node from '@flowgram.ai/node';
|
|
6
7
|
import { TreeNodeData } from '@douyinfe/semi-ui/lib/es/tree';
|
|
7
8
|
|
|
8
9
|
/**
|
|
@@ -67,9 +68,11 @@ declare const VariableSelector: ({ value, config, onChange, style, readonly, inc
|
|
|
67
68
|
* Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
|
|
68
69
|
* SPDX-License-Identifier: MIT
|
|
69
70
|
*/
|
|
71
|
+
|
|
70
72
|
interface IFlowConstantValue {
|
|
71
73
|
type: 'constant';
|
|
72
74
|
content?: string | number | boolean;
|
|
75
|
+
schema?: IJsonSchema;
|
|
73
76
|
}
|
|
74
77
|
interface IFlowRefValue {
|
|
75
78
|
type: 'ref';
|
|
@@ -106,7 +109,11 @@ declare const getSchemaIcon: (value?: Partial<IJsonSchema>) => React$1.ReactNode
|
|
|
106
109
|
|
|
107
110
|
interface PropTypes$1 {
|
|
108
111
|
value?: Partial<IJsonSchema>;
|
|
109
|
-
onChange
|
|
112
|
+
onChange?: (value?: Partial<IJsonSchema>) => void;
|
|
113
|
+
readonly?: boolean;
|
|
114
|
+
/**
|
|
115
|
+
* @deprecated use readonly instead
|
|
116
|
+
*/
|
|
110
117
|
disabled?: boolean;
|
|
111
118
|
style?: React$1.CSSProperties;
|
|
112
119
|
}
|
|
@@ -139,6 +146,7 @@ declare function JsonSchemaEditor(props: {
|
|
|
139
146
|
onChange?: (value: IJsonSchema) => void;
|
|
140
147
|
config?: ConfigType;
|
|
141
148
|
className?: string;
|
|
149
|
+
readonly?: boolean;
|
|
142
150
|
}): React$1.JSX.Element;
|
|
143
151
|
|
|
144
152
|
/**
|
|
@@ -162,9 +170,10 @@ interface RendererProps<Value = any> {
|
|
|
162
170
|
onChange?: (value: Value) => void;
|
|
163
171
|
readonly?: boolean;
|
|
164
172
|
}
|
|
165
|
-
interface PropsType$
|
|
173
|
+
interface PropsType$5 extends RendererProps {
|
|
166
174
|
schema: IJsonSchema;
|
|
167
175
|
strategies?: Strategy[];
|
|
176
|
+
fallbackRenderer?: React.FC<RendererProps>;
|
|
168
177
|
[key: string]: any;
|
|
169
178
|
}
|
|
170
179
|
|
|
@@ -173,14 +182,14 @@ interface PropsType$4 extends RendererProps {
|
|
|
173
182
|
* SPDX-License-Identifier: MIT
|
|
174
183
|
*/
|
|
175
184
|
|
|
176
|
-
declare function ConstantInput(props: PropsType$
|
|
185
|
+
declare function ConstantInput(props: PropsType$5): React$1.JSX.Element;
|
|
177
186
|
|
|
178
187
|
/**
|
|
179
188
|
* Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
|
|
180
189
|
* SPDX-License-Identifier: MIT
|
|
181
190
|
*/
|
|
182
191
|
|
|
183
|
-
interface PropsType$
|
|
192
|
+
interface PropsType$4 {
|
|
184
193
|
value?: IFlowConstantRefValue;
|
|
185
194
|
onChange: (value?: IFlowConstantRefValue) => void;
|
|
186
195
|
readonly?: boolean;
|
|
@@ -193,7 +202,7 @@ interface PropsType$3 {
|
|
|
193
202
|
[key: string]: any;
|
|
194
203
|
};
|
|
195
204
|
}
|
|
196
|
-
declare function DynamicValueInput({ value, onChange, readonly, style, schema, constantProps, }: PropsType$
|
|
205
|
+
declare function DynamicValueInput({ value, onChange, readonly, style, schema: schemaFromProps, constantProps, }: PropsType$4): React$1.JSX.Element;
|
|
197
206
|
|
|
198
207
|
/**
|
|
199
208
|
* Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
|
|
@@ -241,7 +250,7 @@ declare function ConditionRow({ style, value, onChange, readonly }: PropTypes):
|
|
|
241
250
|
*/
|
|
242
251
|
|
|
243
252
|
type ValueType = Record<string, IFlowRefValue | undefined>;
|
|
244
|
-
interface PropsType$
|
|
253
|
+
interface PropsType$3 {
|
|
245
254
|
value?: ValueType;
|
|
246
255
|
onChange: (value?: ValueType) => void;
|
|
247
256
|
readonly?: boolean;
|
|
@@ -254,14 +263,14 @@ interface PropsType$2 {
|
|
|
254
263
|
* SPDX-License-Identifier: MIT
|
|
255
264
|
*/
|
|
256
265
|
|
|
257
|
-
declare function BatchOutputs(props: PropsType$
|
|
266
|
+
declare function BatchOutputs(props: PropsType$3): React$1.JSX.Element;
|
|
258
267
|
|
|
259
268
|
/**
|
|
260
269
|
* Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
|
|
261
270
|
* SPDX-License-Identifier: MIT
|
|
262
271
|
*/
|
|
263
272
|
|
|
264
|
-
type PropsType$
|
|
273
|
+
type PropsType$2 = React$1.PropsWithChildren<{
|
|
265
274
|
value?: IFlowTemplateValue;
|
|
266
275
|
onChange: (value?: IFlowTemplateValue) => void;
|
|
267
276
|
readonly?: boolean;
|
|
@@ -277,8 +286,8 @@ type PropsType$1 = React$1.PropsWithChildren<{
|
|
|
277
286
|
* SPDX-License-Identifier: MIT
|
|
278
287
|
*/
|
|
279
288
|
|
|
280
|
-
type PromptEditorPropsType = PropsType$
|
|
281
|
-
declare function PromptEditor(props: PropsType$
|
|
289
|
+
type PromptEditorPropsType = PropsType$2;
|
|
290
|
+
declare function PromptEditor(props: PropsType$2): React$1.JSX.Element;
|
|
282
291
|
|
|
283
292
|
/**
|
|
284
293
|
* Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
|
|
@@ -292,10 +301,10 @@ declare function PromptEditorWithVariables(props: PromptEditorPropsType): React$
|
|
|
292
301
|
* SPDX-License-Identifier: MIT
|
|
293
302
|
*/
|
|
294
303
|
|
|
295
|
-
interface PropsType extends PromptEditorPropsType {
|
|
304
|
+
interface PropsType$1 extends PromptEditorPropsType {
|
|
296
305
|
inputsValues: Record<string, IFlowValue>;
|
|
297
306
|
}
|
|
298
|
-
declare function PromptEditorWithInputs({ inputsValues, ...restProps }: PropsType): React$1.JSX.Element;
|
|
307
|
+
declare function PromptEditorWithInputs({ inputsValues, ...restProps }: PropsType$1): React$1.JSX.Element;
|
|
299
308
|
|
|
300
309
|
/**
|
|
301
310
|
* Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
|
|
@@ -328,14 +337,31 @@ declare function JsonEditorWithVariables(props: Omit<CodeEditorPropsType, 'langu
|
|
|
328
337
|
* SPDX-License-Identifier: MIT
|
|
329
338
|
*/
|
|
330
339
|
|
|
331
|
-
|
|
340
|
+
interface PropsType {
|
|
341
|
+
value?: Record<string, IFlowValue | undefined>;
|
|
342
|
+
onChange: (value?: Record<string, IFlowValue | undefined>) => void;
|
|
343
|
+
readonly?: boolean;
|
|
344
|
+
hasError?: boolean;
|
|
345
|
+
style?: React.CSSProperties;
|
|
346
|
+
constantProps?: {
|
|
347
|
+
strategies?: Strategy[];
|
|
348
|
+
[key: string]: any;
|
|
349
|
+
};
|
|
350
|
+
}
|
|
332
351
|
|
|
333
352
|
/**
|
|
334
353
|
* Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
|
|
335
354
|
* SPDX-License-Identifier: MIT
|
|
336
355
|
*/
|
|
337
356
|
|
|
338
|
-
declare
|
|
357
|
+
declare function InputsValues({ value, onChange, style, readonly, constantProps }: PropsType): React$1.JSX.Element;
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
|
|
361
|
+
* SPDX-License-Identifier: MIT
|
|
362
|
+
*/
|
|
363
|
+
|
|
364
|
+
declare const provideBatchInputEffect: EffectOptions[];
|
|
339
365
|
|
|
340
366
|
/**
|
|
341
367
|
* Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
|
|
@@ -492,6 +518,7 @@ declare namespace JsonSchemaUtils {
|
|
|
492
518
|
* SPDX-License-Identifier: MIT
|
|
493
519
|
*/
|
|
494
520
|
|
|
521
|
+
declare const provideBatchOutputsEffect: EffectOptions[];
|
|
495
522
|
/**
|
|
496
523
|
* Free Layout only right now
|
|
497
524
|
*/
|
|
@@ -499,4 +526,15 @@ declare const createBatchOutputsFormPlugin: FormPluginCreator<{
|
|
|
499
526
|
outputKey: string;
|
|
500
527
|
}>;
|
|
501
528
|
|
|
502
|
-
|
|
529
|
+
/**
|
|
530
|
+
* Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
|
|
531
|
+
* SPDX-License-Identifier: MIT
|
|
532
|
+
*/
|
|
533
|
+
interface InputConfig {
|
|
534
|
+
sourceKey: string;
|
|
535
|
+
targetKey: string;
|
|
536
|
+
scope?: 'private' | 'public';
|
|
537
|
+
}
|
|
538
|
+
declare const createInferInputsPlugin: _flowgram_ai_node.FormPluginCreator<InputConfig>;
|
|
539
|
+
|
|
540
|
+
export { ArrayIcons, BatchOutputs, BatchVariableSelector, CodeEditor, type CodeEditorPropsType, ConditionRow, type ConditionRowValueType, ConstantInput, DynamicValueInput, type IBasicJsonSchema, type IFlowConstantRefValue, type IFlowConstantValue, type IFlowExpressionValue, type IFlowRefValue, type IFlowTemplateValue, type IFlowValue, type IJsonSchema, InputsValues, JsonEditorWithVariables, type JsonSchemaBasicType, JsonSchemaEditor, JsonSchemaUtils, PromptEditor, type PromptEditorPropsType, PromptEditorWithInputs, PromptEditorWithVariables, TypeSelector, VariableSelector, type VariableSelectorProps, VariableTypeIcons, autoRenameRefEffect, createBatchOutputsFormPlugin, createInferInputsPlugin, formatLegacyRefOnInit, formatLegacyRefOnSubmit, formatLegacyRefToNewRef, formatNewRefToLegacyRef, getSchemaIcon, getTypeSelectValue, isLegacyFlowRefValueSchema, isNewFlowRefValueSchema, parseTypeSelectValue, provideBatchInputEffect, provideBatchOutputsEffect, provideJsonSchemaOutputs, syncVariableTitle, useVariableTree };
|
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { TriggerRenderProps } from '@douyinfe/semi-ui/lib/es/treeSelect';
|
|
|
3
3
|
import { InferValues } from '@coze-editor/editor/react';
|
|
4
4
|
import preset from '@coze-editor/editor/preset-code';
|
|
5
5
|
import { EffectOptions, ASTNodeJSON, ASTNode, BaseType, FormPluginCreator } from '@flowgram.ai/editor';
|
|
6
|
+
import * as _flowgram_ai_node from '@flowgram.ai/node';
|
|
6
7
|
import { TreeNodeData } from '@douyinfe/semi-ui/lib/es/tree';
|
|
7
8
|
|
|
8
9
|
/**
|
|
@@ -67,9 +68,11 @@ declare const VariableSelector: ({ value, config, onChange, style, readonly, inc
|
|
|
67
68
|
* Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
|
|
68
69
|
* SPDX-License-Identifier: MIT
|
|
69
70
|
*/
|
|
71
|
+
|
|
70
72
|
interface IFlowConstantValue {
|
|
71
73
|
type: 'constant';
|
|
72
74
|
content?: string | number | boolean;
|
|
75
|
+
schema?: IJsonSchema;
|
|
73
76
|
}
|
|
74
77
|
interface IFlowRefValue {
|
|
75
78
|
type: 'ref';
|
|
@@ -106,7 +109,11 @@ declare const getSchemaIcon: (value?: Partial<IJsonSchema>) => React$1.ReactNode
|
|
|
106
109
|
|
|
107
110
|
interface PropTypes$1 {
|
|
108
111
|
value?: Partial<IJsonSchema>;
|
|
109
|
-
onChange
|
|
112
|
+
onChange?: (value?: Partial<IJsonSchema>) => void;
|
|
113
|
+
readonly?: boolean;
|
|
114
|
+
/**
|
|
115
|
+
* @deprecated use readonly instead
|
|
116
|
+
*/
|
|
110
117
|
disabled?: boolean;
|
|
111
118
|
style?: React$1.CSSProperties;
|
|
112
119
|
}
|
|
@@ -139,6 +146,7 @@ declare function JsonSchemaEditor(props: {
|
|
|
139
146
|
onChange?: (value: IJsonSchema) => void;
|
|
140
147
|
config?: ConfigType;
|
|
141
148
|
className?: string;
|
|
149
|
+
readonly?: boolean;
|
|
142
150
|
}): React$1.JSX.Element;
|
|
143
151
|
|
|
144
152
|
/**
|
|
@@ -162,9 +170,10 @@ interface RendererProps<Value = any> {
|
|
|
162
170
|
onChange?: (value: Value) => void;
|
|
163
171
|
readonly?: boolean;
|
|
164
172
|
}
|
|
165
|
-
interface PropsType$
|
|
173
|
+
interface PropsType$5 extends RendererProps {
|
|
166
174
|
schema: IJsonSchema;
|
|
167
175
|
strategies?: Strategy[];
|
|
176
|
+
fallbackRenderer?: React.FC<RendererProps>;
|
|
168
177
|
[key: string]: any;
|
|
169
178
|
}
|
|
170
179
|
|
|
@@ -173,14 +182,14 @@ interface PropsType$4 extends RendererProps {
|
|
|
173
182
|
* SPDX-License-Identifier: MIT
|
|
174
183
|
*/
|
|
175
184
|
|
|
176
|
-
declare function ConstantInput(props: PropsType$
|
|
185
|
+
declare function ConstantInput(props: PropsType$5): React$1.JSX.Element;
|
|
177
186
|
|
|
178
187
|
/**
|
|
179
188
|
* Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
|
|
180
189
|
* SPDX-License-Identifier: MIT
|
|
181
190
|
*/
|
|
182
191
|
|
|
183
|
-
interface PropsType$
|
|
192
|
+
interface PropsType$4 {
|
|
184
193
|
value?: IFlowConstantRefValue;
|
|
185
194
|
onChange: (value?: IFlowConstantRefValue) => void;
|
|
186
195
|
readonly?: boolean;
|
|
@@ -193,7 +202,7 @@ interface PropsType$3 {
|
|
|
193
202
|
[key: string]: any;
|
|
194
203
|
};
|
|
195
204
|
}
|
|
196
|
-
declare function DynamicValueInput({ value, onChange, readonly, style, schema, constantProps, }: PropsType$
|
|
205
|
+
declare function DynamicValueInput({ value, onChange, readonly, style, schema: schemaFromProps, constantProps, }: PropsType$4): React$1.JSX.Element;
|
|
197
206
|
|
|
198
207
|
/**
|
|
199
208
|
* Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
|
|
@@ -241,7 +250,7 @@ declare function ConditionRow({ style, value, onChange, readonly }: PropTypes):
|
|
|
241
250
|
*/
|
|
242
251
|
|
|
243
252
|
type ValueType = Record<string, IFlowRefValue | undefined>;
|
|
244
|
-
interface PropsType$
|
|
253
|
+
interface PropsType$3 {
|
|
245
254
|
value?: ValueType;
|
|
246
255
|
onChange: (value?: ValueType) => void;
|
|
247
256
|
readonly?: boolean;
|
|
@@ -254,14 +263,14 @@ interface PropsType$2 {
|
|
|
254
263
|
* SPDX-License-Identifier: MIT
|
|
255
264
|
*/
|
|
256
265
|
|
|
257
|
-
declare function BatchOutputs(props: PropsType$
|
|
266
|
+
declare function BatchOutputs(props: PropsType$3): React$1.JSX.Element;
|
|
258
267
|
|
|
259
268
|
/**
|
|
260
269
|
* Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
|
|
261
270
|
* SPDX-License-Identifier: MIT
|
|
262
271
|
*/
|
|
263
272
|
|
|
264
|
-
type PropsType$
|
|
273
|
+
type PropsType$2 = React$1.PropsWithChildren<{
|
|
265
274
|
value?: IFlowTemplateValue;
|
|
266
275
|
onChange: (value?: IFlowTemplateValue) => void;
|
|
267
276
|
readonly?: boolean;
|
|
@@ -277,8 +286,8 @@ type PropsType$1 = React$1.PropsWithChildren<{
|
|
|
277
286
|
* SPDX-License-Identifier: MIT
|
|
278
287
|
*/
|
|
279
288
|
|
|
280
|
-
type PromptEditorPropsType = PropsType$
|
|
281
|
-
declare function PromptEditor(props: PropsType$
|
|
289
|
+
type PromptEditorPropsType = PropsType$2;
|
|
290
|
+
declare function PromptEditor(props: PropsType$2): React$1.JSX.Element;
|
|
282
291
|
|
|
283
292
|
/**
|
|
284
293
|
* Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
|
|
@@ -292,10 +301,10 @@ declare function PromptEditorWithVariables(props: PromptEditorPropsType): React$
|
|
|
292
301
|
* SPDX-License-Identifier: MIT
|
|
293
302
|
*/
|
|
294
303
|
|
|
295
|
-
interface PropsType extends PromptEditorPropsType {
|
|
304
|
+
interface PropsType$1 extends PromptEditorPropsType {
|
|
296
305
|
inputsValues: Record<string, IFlowValue>;
|
|
297
306
|
}
|
|
298
|
-
declare function PromptEditorWithInputs({ inputsValues, ...restProps }: PropsType): React$1.JSX.Element;
|
|
307
|
+
declare function PromptEditorWithInputs({ inputsValues, ...restProps }: PropsType$1): React$1.JSX.Element;
|
|
299
308
|
|
|
300
309
|
/**
|
|
301
310
|
* Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
|
|
@@ -328,14 +337,31 @@ declare function JsonEditorWithVariables(props: Omit<CodeEditorPropsType, 'langu
|
|
|
328
337
|
* SPDX-License-Identifier: MIT
|
|
329
338
|
*/
|
|
330
339
|
|
|
331
|
-
|
|
340
|
+
interface PropsType {
|
|
341
|
+
value?: Record<string, IFlowValue | undefined>;
|
|
342
|
+
onChange: (value?: Record<string, IFlowValue | undefined>) => void;
|
|
343
|
+
readonly?: boolean;
|
|
344
|
+
hasError?: boolean;
|
|
345
|
+
style?: React.CSSProperties;
|
|
346
|
+
constantProps?: {
|
|
347
|
+
strategies?: Strategy[];
|
|
348
|
+
[key: string]: any;
|
|
349
|
+
};
|
|
350
|
+
}
|
|
332
351
|
|
|
333
352
|
/**
|
|
334
353
|
* Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
|
|
335
354
|
* SPDX-License-Identifier: MIT
|
|
336
355
|
*/
|
|
337
356
|
|
|
338
|
-
declare
|
|
357
|
+
declare function InputsValues({ value, onChange, style, readonly, constantProps }: PropsType): React$1.JSX.Element;
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
|
|
361
|
+
* SPDX-License-Identifier: MIT
|
|
362
|
+
*/
|
|
363
|
+
|
|
364
|
+
declare const provideBatchInputEffect: EffectOptions[];
|
|
339
365
|
|
|
340
366
|
/**
|
|
341
367
|
* Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
|
|
@@ -492,6 +518,7 @@ declare namespace JsonSchemaUtils {
|
|
|
492
518
|
* SPDX-License-Identifier: MIT
|
|
493
519
|
*/
|
|
494
520
|
|
|
521
|
+
declare const provideBatchOutputsEffect: EffectOptions[];
|
|
495
522
|
/**
|
|
496
523
|
* Free Layout only right now
|
|
497
524
|
*/
|
|
@@ -499,4 +526,15 @@ declare const createBatchOutputsFormPlugin: FormPluginCreator<{
|
|
|
499
526
|
outputKey: string;
|
|
500
527
|
}>;
|
|
501
528
|
|
|
502
|
-
|
|
529
|
+
/**
|
|
530
|
+
* Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
|
|
531
|
+
* SPDX-License-Identifier: MIT
|
|
532
|
+
*/
|
|
533
|
+
interface InputConfig {
|
|
534
|
+
sourceKey: string;
|
|
535
|
+
targetKey: string;
|
|
536
|
+
scope?: 'private' | 'public';
|
|
537
|
+
}
|
|
538
|
+
declare const createInferInputsPlugin: _flowgram_ai_node.FormPluginCreator<InputConfig>;
|
|
539
|
+
|
|
540
|
+
export { ArrayIcons, BatchOutputs, BatchVariableSelector, CodeEditor, type CodeEditorPropsType, ConditionRow, type ConditionRowValueType, ConstantInput, DynamicValueInput, type IBasicJsonSchema, type IFlowConstantRefValue, type IFlowConstantValue, type IFlowExpressionValue, type IFlowRefValue, type IFlowTemplateValue, type IFlowValue, type IJsonSchema, InputsValues, JsonEditorWithVariables, type JsonSchemaBasicType, JsonSchemaEditor, JsonSchemaUtils, PromptEditor, type PromptEditorPropsType, PromptEditorWithInputs, PromptEditorWithVariables, TypeSelector, VariableSelector, type VariableSelectorProps, VariableTypeIcons, autoRenameRefEffect, createBatchOutputsFormPlugin, createInferInputsPlugin, formatLegacyRefOnInit, formatLegacyRefOnSubmit, formatLegacyRefToNewRef, formatNewRefToLegacyRef, getSchemaIcon, getTypeSelectValue, isLegacyFlowRefValueSchema, isNewFlowRefValueSchema, parseTypeSelectValue, provideBatchInputEffect, provideBatchOutputsEffect, provideJsonSchemaOutputs, syncVariableTitle, useVariableTree };
|