@blueking/bkflow-canvas-editor 1.1.0-beta.2 → 1.1.0-beta.4
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/advanced.cjs.js +1 -1
- package/dist/advanced.d.ts +1 -1
- package/dist/advanced.esm.js +1 -1
- package/dist/bkflow-canvas-editor_false-B70uLuHL.cjs +1 -0
- package/dist/bkflow-canvas-editor_false-BlC281Zg.cjs +1 -0
- package/dist/bkflow-canvas-editor_false-Casww7p4.js +5 -0
- package/dist/bkflow-canvas-editor_false-i9G8sqQi.js +5 -0
- package/dist/{composable-gqC5C2k8.js → composable-CmXOtkXh.js} +42 -41
- package/dist/composable-CtSJfiSD.cjs +1 -0
- package/dist/index.cjs.js +40 -40
- package/dist/index.d.ts +11 -2
- package/dist/index.esm.js +25550 -25770
- package/dist/style.css +1 -1
- package/package.json +3 -5
- package/dist/composable-B_bR5Gic.cjs +0 -1
- package/dist/index.es.min-BBOgAuB2.js +0 -3214
- package/dist/index.es.min-DQIH7mAl.cjs +0 -2
package/dist/index.d.ts
CHANGED
|
@@ -864,7 +864,7 @@ interface FlowEditApiConfig extends FlowViewApiConfig {
|
|
|
864
864
|
fetchBkFlowThirdPartyPluginTags: () => Promise<BkflowThirdPartyPluginGroupItem[]>;
|
|
865
865
|
fetchBkFlowThirdPartyPluginMeta: (plugin_code: string) => Promise<BkflowThirdPartyPluginMetaDetail>;
|
|
866
866
|
fetchBkFlowThirdPartyPluginDetail: (plugin_code: string, plugin_version: string) => Promise<BkflowThirdPartyPluginDetail>;
|
|
867
|
-
fetchBkFlowThirdPartyPluginAppDetail: (plugin_code: string) => Promise<BkflowThirdPartyPluginAppDetail>;
|
|
867
|
+
fetchBkFlowThirdPartyPluginAppDetail: (plugin_code: string, plugin_version: string) => Promise<BkflowThirdPartyPluginAppDetail>;
|
|
868
868
|
fetchPluginGroupList: () => Promise<PluginGroupConfig[]>;
|
|
869
869
|
fetchCategoryPlugins: (category: string) => Promise<PluginMetaItem[]>;
|
|
870
870
|
fetchAllPluginGroups: () => Promise<GroupsPluginItem[]>;
|
|
@@ -1233,6 +1233,10 @@ declare const __VLS_base$2: vue.DefineComponent<__VLS_Props$2, {
|
|
|
1233
1233
|
saveSuccess: () => any;
|
|
1234
1234
|
exitEdit: () => any;
|
|
1235
1235
|
debugBeforeClose: () => any;
|
|
1236
|
+
createVariable: (payload: {
|
|
1237
|
+
keyword: string;
|
|
1238
|
+
cursorIndex: number;
|
|
1239
|
+
}) => any;
|
|
1236
1240
|
}, string, vue.PublicProps, Readonly<__VLS_Props$2> & Readonly<{
|
|
1237
1241
|
onBack?: (() => any) | undefined;
|
|
1238
1242
|
onSave?: ((flowData: FlowTemplate) => any) | undefined;
|
|
@@ -1243,6 +1247,10 @@ declare const __VLS_base$2: vue.DefineComponent<__VLS_Props$2, {
|
|
|
1243
1247
|
onSaveSuccess?: (() => any) | undefined;
|
|
1244
1248
|
onExitEdit?: (() => any) | undefined;
|
|
1245
1249
|
onDebugBeforeClose?: (() => any) | undefined;
|
|
1250
|
+
onCreateVariable?: ((payload: {
|
|
1251
|
+
keyword: string;
|
|
1252
|
+
cursorIndex: number;
|
|
1253
|
+
}) => any) | undefined;
|
|
1246
1254
|
}>, {
|
|
1247
1255
|
quickAdd: QuickAddConfig;
|
|
1248
1256
|
defaultZoom: number;
|
|
@@ -1608,7 +1616,8 @@ declare function exportToPipelineTree(flowModel: FlowModel): PipelineTree;
|
|
|
1608
1616
|
* 若目标是 placeholder 且删后无入边,级联删除该 placeholder
|
|
1609
1617
|
* - edge.reconnect:若源从条件网关迁出,清理旧条件
|
|
1610
1618
|
* - node.remove:主动查找将被级联删除的边,清理对应网关条件;
|
|
1611
|
-
* 若删除的是分支网关,级联删除关联的 placeholder
|
|
1619
|
+
* 若删除的是分支网关,级联删除关联的 placeholder 节点;
|
|
1620
|
+
* 同时清理全局变量中对被删除节点的 source_info 引用,并删除已无引用的变量
|
|
1612
1621
|
*/
|
|
1613
1622
|
declare function createBkflowPlugin(): CanvasPlugin;
|
|
1614
1623
|
|