@agentscope-ai/flow 0.0.18 → 0.0.19
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;
|
|
@@ -159,7 +159,7 @@ var VariableInput = function VariableInput(_ref2) {
|
|
|
159
159
|
});
|
|
160
160
|
}
|
|
161
161
|
}), /*#__PURE__*/React.createElement("div", {
|
|
162
|
-
className: "variable-input-content flex-1 w-[1px]"
|
|
162
|
+
className: "variable-input-content flex-1 w-[1px] max-h-full"
|
|
163
163
|
}, /*#__PURE__*/React.createElement(VariableBaseInput, {
|
|
164
164
|
disabled: disabled,
|
|
165
165
|
isCompact: true,
|
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.flex-justify-between{display:flex;justify-content:space-between;align-items:center}.flex-center,.full-center{display:flex;justify-content:center;align-items:center}.full-center{width:100%;height:100%}.absolute{position:absolute}.relative{position:relative}.bottom-\[16px\]{bottom:16px}.left-\[16px\]{left:16px}.m-0{margin:0}.mx-\[2px\]{margin-left:2px;margin-right:2px}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.size-\[16px\]{width:16px;height:16px}.size-\[24px\]{width:24px;height:24px}.size-\[32px\]{width:32px;height:32px}.size-\[36px\]{width:36px;height:36px}.h-9{height:2.25rem}.h-\[1px\]{height:1px}.h-\[20px\]{height:20px}.h-\[32px\]{height:32px}.h-full{height:100%}.w-0{width:0}.w-1{width:.25rem}.w-\[1px\]{width:1px}.w-full{width:100%}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-end{justify-content:flex-end}.gap-\[12px\]{gap:12px}.gap-\[16px\]{gap:16px}.gap-\[2px\]{gap:2px}.gap-\[4px\]{gap:4px}.gap-\[8px\]{gap:8px}.self-start{align-self:flex-start}.overflow-y-auto{overflow-y:auto}.rounded-\[6px\]{border-radius:6px}.bg-yellow-200{--tw-bg-opacity:1;background-color:rgb(254 240 138/var(--tw-bg-opacity,1))}.p-\[20px\]{padding:20px}.p-\[4px\]{padding:4px}.p-\[6px\]{padding:6px}.px-\[16px\]{padding-left:16px;padding-right:16px}.px-\[8px\]{padding-left:8px;padding-right:8px}.py-\[4px\]{padding-top:4px;padding-bottom:4px}.py-\[8px\]{padding-top:8px;padding-bottom:8px}.pb-\[16px\]{padding-bottom:16px}.pb-\[8px\]{padding-bottom:8px}.pl-3{padding-left:.75rem}.pl-\[16px\]{padding-left:16px}.pr-\[24px\]{padding-right:24px}.text-\[12px\]{font-size:12px}.text-\[14px\]{font-size:14px}.text-\[20px\]{font-size:20px}.text-\[24px\]{font-size:24px}.text-base{font-size:1rem;line-height:1.5rem}.font-medium{font-weight:500}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}
|
|
1
|
+
.flex-justify-between{display:flex;justify-content:space-between;align-items:center}.flex-center,.full-center{display:flex;justify-content:center;align-items:center}.full-center{width:100%;height:100%}.absolute{position:absolute}.relative{position:relative}.bottom-\[16px\]{bottom:16px}.left-\[16px\]{left:16px}.m-0{margin:0}.mx-\[2px\]{margin-left:2px;margin-right:2px}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.size-\[16px\]{width:16px;height:16px}.size-\[24px\]{width:24px;height:24px}.size-\[32px\]{width:32px;height:32px}.size-\[36px\]{width:36px;height:36px}.h-9{height:2.25rem}.h-\[1px\]{height:1px}.h-\[20px\]{height:20px}.h-\[32px\]{height:32px}.h-full{height:100%}.max-h-full{max-height:100%}.w-0{width:0}.w-1{width:.25rem}.w-\[1px\]{width:1px}.w-full{width:100%}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-end{justify-content:flex-end}.gap-\[12px\]{gap:12px}.gap-\[16px\]{gap:16px}.gap-\[2px\]{gap:2px}.gap-\[4px\]{gap:4px}.gap-\[8px\]{gap:8px}.self-start{align-self:flex-start}.overflow-y-auto{overflow-y:auto}.rounded-\[6px\]{border-radius:6px}.bg-yellow-200{--tw-bg-opacity:1;background-color:rgb(254 240 138/var(--tw-bg-opacity,1))}.p-\[20px\]{padding:20px}.p-\[4px\]{padding:4px}.p-\[6px\]{padding:6px}.px-\[16px\]{padding-left:16px;padding-right:16px}.px-\[8px\]{padding-left:8px;padding-right:8px}.py-\[4px\]{padding-top:4px;padding-bottom:4px}.py-\[8px\]{padding-top:8px;padding-bottom:8px}.pb-\[16px\]{padding-bottom:16px}.pb-\[8px\]{padding-bottom:8px}.pl-3{padding-left:.75rem}.pl-\[16px\]{padding-left:16px}.pr-\[24px\]{padding-right:24px}.text-\[12px\]{font-size:12px}.text-\[14px\]{font-size:14px}.text-\[20px\]{font-size:20px}.text-\[24px\]{font-size:24px}.text-base{font-size:1rem;line-height:1.5rem}.font-medium{font-weight:500}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentscope-ai/flow",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.19",
|
|
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",
|