@blueking/bkflow-canvas-editor 1.1.0-beta.11 → 1.1.0-beta.13

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/dist/index.cjs.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index-DcCa3dC3.cjs"),o=require("./composable-CxeoRvet.cjs");require("lodash");exports.BkFlowCanvas=e.BkFlowCanvas;exports.BkFlowModelAccessor=e.BkFlowModelAccessor;exports.BkFlowNodeAccessor=e.BkFlowNodeAccessor;exports.FlowCreateTask=e.FlowCreateTask;exports.FlowDebug=e.FlowDebug;exports.FlowDetail=e.index;exports.FlowEdit=e.edit;exports.FlowExecute=e.execute;exports.FlowMockDebug=e.mock;exports.FlowView=e.view;exports.bkflowConnectionValidator=e.bkflowConnectionValidator;exports.createBkflowPlugin=e.createBkflowPlugin;exports.createBkflowSchema=e.createBkflowSchema;exports.createExecutionStatusPlugin=e.createExecutionStatusPlugin;exports.default=e.index$1;exports.exportToPipelineTree=e.exportToPipelineTree;exports.getUniformApiPluginFormValue=e.getUniformApiPluginFormValue;exports.getVariableDefaultConfig=e.getVariableDefaultConfig;exports.importFromPipelineTree=e.importFromPipelineTree;exports.isMockableNode=e.isMockableNode;exports.mergeOutputs=e.mergeOutputs;exports.normalizePluginOutputItems=e.normalizePluginOutputItems;exports.provideFlowApiConfig=e.provideFlowApiConfig;exports.provideMemberSelectorConfig=e.provideMemberSelectorConfig;exports.provideSelectPanelConfig=e.provideSelectPanelConfig;exports.resolveExecutionActions=e.resolveExecutionActions;exports.resolveMockFormControl=e.resolveMockFormControl;exports.useFlowApiConfig=e.useFlowApiConfig;exports.useFlowEditApiConfig=e.useFlowEditApiConfig;exports.useFlowViewApiConfig=e.useFlowViewApiConfig;exports.useMemberSelectorConfig=e.useMemberSelectorConfig;exports.useSelectPanelConfig=e.useSelectPanelConfig;exports.validatePipelineTree=e.validatePipelineTree;exports.generateId=o.generateId;exports.random4=o.random4;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index-BtDOlbGL.cjs"),o=require("./composable-DTQ9yfye.cjs");require("lodash");exports.BkFlowCanvas=e.BkFlowCanvas;exports.BkFlowModelAccessor=e.BkFlowModelAccessor;exports.BkFlowNodeAccessor=e.BkFlowNodeAccessor;exports.FlowCreateTask=e.FlowCreateTask;exports.FlowDebug=e.FlowDebug;exports.FlowDetail=e.index;exports.FlowEdit=e.edit;exports.FlowExecute=e.execute;exports.FlowMockDebug=e.mock;exports.FlowView=e.view;exports.bkflowConnectionValidator=e.bkflowConnectionValidator;exports.createBkflowPlugin=e.createBkflowPlugin;exports.createBkflowSchema=e.createBkflowSchema;exports.createExecutionStatusPlugin=e.createExecutionStatusPlugin;exports.default=e.index$1;exports.exportToPipelineTree=e.exportToPipelineTree;exports.getUniformApiPluginFormValue=e.getUniformApiPluginFormValue;exports.getVariableDefaultConfig=e.getVariableDefaultConfig;exports.importFromPipelineTree=e.importFromPipelineTree;exports.isMockableNode=e.isMockableNode;exports.mergeOutputs=e.mergeOutputs;exports.normalizePluginOutputItems=e.normalizePluginOutputItems;exports.provideFlowApiConfig=e.provideFlowApiConfig;exports.provideMemberSelectorConfig=e.provideMemberSelectorConfig;exports.provideSelectPanelConfig=e.provideSelectPanelConfig;exports.resolveExecutionActions=e.resolveExecutionActions;exports.resolveMockFormControl=e.resolveMockFormControl;exports.useFlowApiConfig=e.useFlowApiConfig;exports.useFlowEditApiConfig=e.useFlowEditApiConfig;exports.useFlowViewApiConfig=e.useFlowViewApiConfig;exports.useMemberSelectorConfig=e.useMemberSelectorConfig;exports.useSelectPanelConfig=e.useSelectPanelConfig;exports.validatePipelineTree=e.validatePipelineTree;exports.generateId=o.generateId;exports.random4=o.random4;
package/dist/index.d.ts CHANGED
@@ -721,7 +721,7 @@ interface FlowDetailExpose extends CanvasViewportExpose {
721
721
  }
722
722
 
723
723
  type DebugContextStatus = 'idle' | 'running' | 'terminating';
724
- type DebugNodeStatus = 'not_run' | 'running' | 'waiting' | 'paused' | 'finished' | 'failed' | 'suspended' | 'skipped';
724
+ type DebugNodeStatus = 'not_run' | 'running' | 'waiting' | 'paused' | 'finished' | 'failed' | 'revoked' | 'suspended' | 'skipped';
725
725
  type DebugExecutionMode = 'real' | 'mock';
726
726
  interface DebugMissingVar {
727
727
  key: string;
@@ -900,6 +900,7 @@ interface FetchTaskStateParams {
900
900
  interface FetchTaskNodeDetailParams {
901
901
  task_id: number | string;
902
902
  node_id: string;
903
+ component_code?: string;
903
904
  }
904
905
  interface FetchTaskNodeSnapshotParams {
905
906
  task_id: number | string;
@@ -1724,10 +1725,19 @@ declare function isMockableNode(node: NodeType | Activity | undefined | null): n
1724
1725
  declare const random4: () => string;
1725
1726
  declare const generateId: (group?: number) => string;
1726
1727
 
1728
+ interface ValidatePipelineTreeOptions {
1729
+ /**
1730
+ * 需要「已配置插件」的节点集合,不传时要求全部节点均已配置。
1731
+ *
1732
+ * 单步 / Mock 调试只依赖目标节点自身的配置(后端 step_run 用目标节点单独拼一棵最小流程树),
1733
+ * 画布其余未配置节点不影响调试,因此这类场景只传目标节点,允许空节点先存为草稿。
1734
+ */
1735
+ requireConfiguredNodeIds?: string[];
1736
+ }
1727
1737
  /**
1728
1738
  * 画布pipeline_tree数据校验
1729
1739
  */
1730
- declare const validatePipelineTree: (pipelineTree: PipelineTree) => {
1740
+ declare const validatePipelineTree: (pipelineTree: PipelineTree, options?: ValidatePipelineTreeOptions) => {
1731
1741
  valid: boolean;
1732
1742
  message: string;
1733
1743
  ids: string[];
package/dist/index.esm.js CHANGED
@@ -1,5 +1,5 @@
1
- import { c as s, d as i, e as l, F as r, h as t, j as n, k as u, l as c, o as g, v as w, q as p, s as F, w as f, x as m, y as d, z as C, A as k, G as P, H as A, I as v, m as b, J as x, K as M, N as S, O as T, P as V, r as B, u as E, Q as D, T as I, U as N, V as O, W as h } from "./index-CCwVVpg5.js";
2
- import { g as U, r as j } from "./composable-kbjnTzFy.js";
1
+ import { e as s, h as i, j as l, F as r, k as t, l as n, o as u, q as c, v as g, w, x as p, y as F, z as f, A as m, G as d, H as C, I as k, J as P, K as A, N as v, m as b, O as x, P as M, Q as S, T, U as V, r as B, u as E, V as D, W as I, X as N, Y as O, Z as h } from "./index-TlWjZWTn.js";
2
+ import { g as U, r as j } from "./composable-C5enWl9b.js";
3
3
  import "lodash";
4
4
  export {
5
5
  s as BkFlowCanvas,