@agentscope-ai/flow 0.0.5 → 0.0.6
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.
|
@@ -2,7 +2,7 @@ import { IConditionItem } from "../../types/work-flow";
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { IVarTreeItem } from '../variable-tree-select';
|
|
4
4
|
import './index.less';
|
|
5
|
-
export declare const operatorLabelRender: (val: string) => "
|
|
5
|
+
export declare const operatorLabelRender: (val: string) => "<" | ">" | "=" | "≠" | "≥" | "≤" | "∋" | "∌" | undefined;
|
|
6
6
|
export interface IConditionItemProps {
|
|
7
7
|
value: IConditionItem;
|
|
8
8
|
onChange: (value: Partial<IConditionItem>) => void;
|
|
@@ -358,7 +358,7 @@ export default /*#__PURE__*/memo(function CustomInputsControl(props) {
|
|
|
358
358
|
flexShrink: 0
|
|
359
359
|
},
|
|
360
360
|
validateTrigger: ['onChange', 'onBlur'],
|
|
361
|
-
rules: createVariableNameRules(value, index)
|
|
361
|
+
rules: props.noValidate ? [] : createVariableNameRules(value, index)
|
|
362
362
|
}, /*#__PURE__*/React.createElement(Input, {
|
|
363
363
|
placeholder: $i18n.get({
|
|
364
364
|
id: 'spark-flow.components.CustomInputsControl.index.enterVariableName',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentscope-ai/flow",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "A powerful and flexible flow canvas rendering engine designed for AI applications. Provides comprehensive workflow visualization and interaction capabilities for platforms like Bailian and AgentScope, enabling seamless creation and management of complex AI agent workflows with an intuitive drag-and-drop interface.",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|