@blueking/bkflow-canvas-editor 0.0.26 → 0.0.27

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.esm.js CHANGED
@@ -1986,7 +1986,7 @@ function createFlowApiServices(e) {
1986
1986
  * 获取所有插件分组列表以及分组下的列表详情
1987
1987
  */
1988
1988
  async fetchAllPluginGroups() {
1989
- const k = e.is_third_plugin_enabled !== !1, [$, V] = await Promise.all([
1989
+ const k = e.enableThirdPlugin !== !1, [$, V] = await Promise.all([
1990
1990
  y(),
1991
1991
  k ? i() : Promise.resolve([])
1992
1992
  ]), L = {
@@ -2084,7 +2084,7 @@ function useFlowApi(e) {
2084
2084
  fetchPluginDetail: t.fetchPluginDetail,
2085
2085
  fetchApplyInstructionData: t.fetchApplyInstructionData,
2086
2086
  fetchAllPluginGroups: t.fetchAllPluginGroups,
2087
- is_third_plugin_enabled: e.is_third_plugin_enabled
2087
+ enableThirdPlugin: e.enableThirdPlugin
2088
2088
  };
2089
2089
  }
2090
2090
  const FLOW_API_CONFIG_KEY = /* @__PURE__ */ Symbol("flow-api-config"), SCOPE_DATA_KEY = /* @__PURE__ */ Symbol("scope-data"), AGENT_SELECT_PANEL_CONFIG_KEY = /* @__PURE__ */ Symbol("agent-select-panel-config");
@@ -5629,7 +5629,7 @@ function processJsonschemaformInputs(e) {
5629
5629
  }), t;
5630
5630
  }
5631
5631
  async function getThirdPartyPluginDetail(api, pluginCode, pluginVersion) {
5632
- const isThirdPluginEnabled = api.is_third_plugin_enabled !== !1;
5632
+ const isThirdPluginEnabled = api.enableThirdPlugin !== !1;
5633
5633
  if (!isThirdPluginEnabled)
5634
5634
  throw new Error("Third party plugins are disabled");
5635
5635
  if (!api?.fetchBkFlowThirdPartyPluginMeta || !api?.fetchBkFlowThirdPartyPluginDetail)
@@ -31223,7 +31223,7 @@ const AiopsForm = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["render", _sfc_re
31223
31223
  version: z.version
31224
31224
  }));
31225
31225
  } else {
31226
- if (!(n.is_third_plugin_enabled !== !1)) {
31226
+ if (!(n.enableThirdPlugin !== !1)) {
31227
31227
  k.value = [], $.value = !1;
31228
31228
  return;
31229
31229
  }
@@ -31312,7 +31312,7 @@ const AiopsForm = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["render", _sfc_re
31312
31312
  ]);
31313
31313
  };
31314
31314
  }
31315
- }), BkFlowPluginGroup = /* @__PURE__ */ _export_sfc$1(_sfc_main$6, [["__scopeId", "data-v-ca0c1503"]]), _hoisted_1$5 = { class: "plugin-select-slider" }, _hoisted_2$4 = {
31315
+ }), BkFlowPluginGroup = /* @__PURE__ */ _export_sfc$1(_sfc_main$6, [["__scopeId", "data-v-41dce1b2"]]), _hoisted_1$5 = { class: "plugin-select-slider" }, _hoisted_2$4 = {
31316
31316
  key: 0,
31317
31317
  class: "plugin-select-content"
31318
31318
  }, _sfc_main$5 = /* @__PURE__ */ defineComponent({
@@ -32499,13 +32499,13 @@ const AiopsForm = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["render", _sfc_re
32499
32499
  flowVersion: {},
32500
32500
  defaultZoom: { default: 1 },
32501
32501
  bkflowSaasUrl: {},
32502
- is_third_plugin_enabled: { type: Boolean, default: !0 }
32502
+ enableThirdPlugin: { type: Boolean, default: !0 }
32503
32503
  },
32504
32504
  emits: ["save", "saveSuccess", "back", "debugBeforeClose"],
32505
32505
  setup(e, { expose: t, emit: n }) {
32506
32506
  const r = e, i = {
32507
32507
  ...r.apiConfig,
32508
- is_third_plugin_enabled: r.is_third_plugin_enabled
32508
+ enableThirdPlugin: r.enableThirdPlugin
32509
32509
  }, y = provideFlowApiConfig(i);
32510
32510
  provideAgentSelectPanelConfig(r.agentSelectPanelConfig || {});
32511
32511
  const g = n;
@@ -32775,7 +32775,7 @@ const AiopsForm = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["render", _sfc_re
32775
32775
  }, 8, ["desc"]);
32776
32776
  };
32777
32777
  }
32778
- }), edit = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["__scopeId", "data-v-428eefd5"]]), edit$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
32778
+ }), edit = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["__scopeId", "data-v-f6e10acf"]]), edit$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
32779
32779
  __proto__: null,
32780
32780
  default: edit
32781
32781
  }, Symbol.toStringTag, { value: "Module" })), index = {