@blueking/bkflow-canvas-editor 1.1.0-beta.10 → 1.1.0-beta.12
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/README.md +8 -5
- package/dist/advanced.cjs.js +1 -1
- package/dist/advanced.d.ts +7 -32
- package/dist/advanced.esm.js +1 -1
- package/dist/{composable-YlUVct40.cjs → composable-CxeoRvet.cjs} +1 -1
- package/dist/{composable-Cf47ka9M.js → composable-kbjnTzFy.js} +394 -350
- package/dist/index-5zwHD-o0.cjs +70 -0
- package/dist/{index-CKYqFEfP.cjs → index-C-Sih35Z.cjs} +1 -1
- package/dist/{index-C16qU3Yx.js → index-CRdHCP3c.js} +8054 -7990
- package/dist/{index-DzvB2ICU.cjs → index-CTJXvgit.cjs} +1 -1
- package/dist/index-DIuthhBq.cjs +1 -0
- package/dist/{index-CyWnToNA.js → index-DLuid7rI.js} +1 -1
- package/dist/{index-DoCdunh9.js → index-DYictJeA.js} +1 -1
- package/dist/index-DZzFvBBh.js +522 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +7 -32
- package/dist/index.esm.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/index-Bf3z3UZx.cjs +0 -1
- package/dist/index-DOcgB3JP.cjs +0 -70
- package/dist/index-Dm3eGl5T.js +0 -504
package/dist/index.d.ts
CHANGED
|
@@ -17,12 +17,7 @@ interface FlowApiConfig {
|
|
|
17
17
|
/** CSRF cookie 名称(可选,用于创建新的 axios 实例时设置 xsrfCookieName) */
|
|
18
18
|
xsrfCookieName?: string;
|
|
19
19
|
/** 作用域数据(必需,由外部传入) */
|
|
20
|
-
scopeData:
|
|
21
|
-
scope_type: string;
|
|
22
|
-
scope_value: number;
|
|
23
|
-
/** 业务方传入的空间 ID,调试接口专用,语义独立于 scope_value */
|
|
24
|
-
space_id: number;
|
|
25
|
-
};
|
|
20
|
+
scopeData: ScopeData;
|
|
26
21
|
/**
|
|
27
22
|
* 用户查询 API 地址(可选)
|
|
28
23
|
* @deprecated 请改用 FlowEdit/FlowView 顶层组件的 `memberSelectorConfig.fetchUserApi`。
|
|
@@ -32,6 +27,12 @@ interface FlowApiConfig {
|
|
|
32
27
|
/** 是否启用第三方插件(可选,默认为 true) */
|
|
33
28
|
enableThirdPlugin?: boolean;
|
|
34
29
|
}
|
|
30
|
+
interface ScopeData {
|
|
31
|
+
scope_type: string;
|
|
32
|
+
scope_value: number;
|
|
33
|
+
/** 业务方传入的空间 ID,语义独立于 scope_value。 */
|
|
34
|
+
space_id: number;
|
|
35
|
+
}
|
|
35
36
|
|
|
36
37
|
type __VLS_Slots$7 = {
|
|
37
38
|
header?: () => any;
|
|
@@ -726,7 +727,6 @@ interface DebugMissingVar {
|
|
|
726
727
|
key: string;
|
|
727
728
|
source_node_id: string | null;
|
|
728
729
|
}
|
|
729
|
-
type DebugRunMode = DebugExecutionMode | 'mixed';
|
|
730
730
|
type DebugRunType = 'global' | 'step';
|
|
731
731
|
type DebugRunStatus = 'not_run' | 'running' | 'waiting' | 'paused' | 'terminating' | 'finished' | 'failed' | 'revoked';
|
|
732
732
|
/** 运行级 / 节点级错误详情(last_error_detail、nodes[].error_detail)。 */
|
|
@@ -800,28 +800,10 @@ interface DebugInputSchema {
|
|
|
800
800
|
constants?: Record<string, unknown>;
|
|
801
801
|
[key: string]: unknown;
|
|
802
802
|
}
|
|
803
|
-
interface DebugHistoryRun {
|
|
804
|
-
task_id?: number | string | null;
|
|
805
|
-
operator?: string;
|
|
806
|
-
started_at?: string;
|
|
807
|
-
finished_at?: string;
|
|
808
|
-
status?: DebugRunStatus | string;
|
|
809
|
-
run_type?: DebugRunType;
|
|
810
|
-
run_mode?: DebugRunMode;
|
|
811
|
-
[key: string]: unknown;
|
|
812
|
-
}
|
|
813
|
-
interface DebugHistory {
|
|
814
|
-
runs?: DebugHistoryRun[];
|
|
815
|
-
[key: string]: unknown;
|
|
816
|
-
}
|
|
817
803
|
interface DebugResetImpact {
|
|
818
804
|
reset_node_ids: string[];
|
|
819
805
|
reasons?: Record<string, string>;
|
|
820
806
|
}
|
|
821
|
-
interface DebugGlobalVarsResult {
|
|
822
|
-
global_vars: Record<string, unknown>;
|
|
823
|
-
[key: string]: unknown;
|
|
824
|
-
}
|
|
825
807
|
interface UpdateNodeDebugMockResult {
|
|
826
808
|
node_id: string;
|
|
827
809
|
execution_mode: DebugExecutionMode;
|
|
@@ -850,11 +832,6 @@ interface DebugResetResult {
|
|
|
850
832
|
reset_node_ids?: string[];
|
|
851
833
|
[key: string]: unknown;
|
|
852
834
|
}
|
|
853
|
-
interface UpdateDebugContextVariableParams {
|
|
854
|
-
templateId: string | number;
|
|
855
|
-
key: string;
|
|
856
|
-
value: unknown;
|
|
857
|
-
}
|
|
858
835
|
interface UpdateNodeDebugMockParams {
|
|
859
836
|
templateId: string | number;
|
|
860
837
|
nodeId: string;
|
|
@@ -887,9 +864,7 @@ interface ResetDebugResultParams {
|
|
|
887
864
|
interface DebugApiServices {
|
|
888
865
|
fetchDebugContext(templateId: string | number): Promise<DebugContext>;
|
|
889
866
|
fetchDebugInputSchema(templateId: string | number): Promise<DebugInputSchema>;
|
|
890
|
-
fetchDebugHistory(templateId: string | number): Promise<DebugHistory>;
|
|
891
867
|
fetchDebugResetImpact(templateId: string | number): Promise<DebugResetImpact>;
|
|
892
|
-
updateDebugContextVariable(params: UpdateDebugContextVariableParams): Promise<DebugGlobalVarsResult>;
|
|
893
868
|
updateNodeDebugMock(params: UpdateNodeDebugMockParams): Promise<UpdateNodeDebugMockResult>;
|
|
894
869
|
runNodeDebugStep(params: RunNodeDebugStepParams): Promise<RunNodeDebugStepResult>;
|
|
895
870
|
runGlobalDebug(params: RunGlobalDebugParams): Promise<RunGlobalDebugResult>;
|
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,
|
|
2
|
-
import { g as U, r as j } from "./composable-
|
|
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, w as F, x as f, y as m, z as d, A as C, G as k, H as P, I as A, J as v, m as b, K as x, N as M, O as S, P as T, Q as V, r as B, u as E, T as D, U as I, V as N, W as O, X as h } from "./index-CRdHCP3c.js";
|
|
2
|
+
import { g as U, r as j } from "./composable-kbjnTzFy.js";
|
|
3
3
|
import "lodash";
|
|
4
4
|
export {
|
|
5
5
|
s as BkFlowCanvas,
|