@blueking/bkflow-canvas-editor 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.
- package/dist/index.cjs.js +2 -2
- package/dist/index.esm.js +23 -17
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -5733,38 +5733,44 @@ const getRenderFormInputItemDefaultValue = (e) => {
|
|
|
5733
5733
|
}
|
|
5734
5734
|
return t;
|
|
5735
5735
|
}, getUniformApiPluginFormValue = (e) => "default" in e ? e.default : "", getPluginDefaultComponentData = (e, t) => {
|
|
5736
|
-
const { url: n, methods: r, inputs: i } = t,
|
|
5737
|
-
return e === "uniform_api" ? (
|
|
5736
|
+
const { url: n, methods: r, inputs: i, polling: y, credential_key: g } = t, k = {};
|
|
5737
|
+
return e === "uniform_api" ? (k.uniform_api_plugin_url = {
|
|
5738
5738
|
value: n || "",
|
|
5739
5739
|
hook: !1
|
|
5740
|
-
},
|
|
5740
|
+
}, k.uniform_api_plugin_method = {
|
|
5741
5741
|
value: r && r.length > 0 ? r[0] : "",
|
|
5742
5742
|
hook: !1
|
|
5743
|
-
},
|
|
5744
|
-
y
|
|
5745
|
-
|
|
5743
|
+
}, y && (k.uniform_api_plugin_polling = {
|
|
5744
|
+
value: y,
|
|
5745
|
+
hook: !1
|
|
5746
|
+
}), g && (k.uniform_api_plugin_credential_key = {
|
|
5747
|
+
value: g,
|
|
5748
|
+
hook: !1
|
|
5749
|
+
}), i.forEach(($) => {
|
|
5750
|
+
k[$.key] = {
|
|
5751
|
+
value: getUniformApiPluginFormValue($),
|
|
5746
5752
|
need_render: !0,
|
|
5747
5753
|
hook: !1
|
|
5748
5754
|
};
|
|
5749
|
-
})) : e === "remote_plugin" ? (
|
|
5755
|
+
})) : e === "remote_plugin" ? (k.plugin_code = {
|
|
5750
5756
|
value: t.code,
|
|
5751
5757
|
hook: !1
|
|
5752
|
-
},
|
|
5758
|
+
}, k.plugin_version = {
|
|
5753
5759
|
value: t.version,
|
|
5754
5760
|
hook: !1
|
|
5755
|
-
}, t.inputParamsFormType === "renderform" ? i.forEach((
|
|
5756
|
-
|
|
5757
|
-
value: getRenderFormInputItemDefaultValue(
|
|
5761
|
+
}, t.inputParamsFormType === "renderform" ? i.forEach(($) => {
|
|
5762
|
+
k[$.tag_code] = {
|
|
5763
|
+
value: getRenderFormInputItemDefaultValue($),
|
|
5758
5764
|
need_render: !0,
|
|
5759
5765
|
hook: !1
|
|
5760
5766
|
};
|
|
5761
|
-
}) : t.inputParamsFormType) : e === "inner" && i.forEach((
|
|
5762
|
-
|
|
5763
|
-
value: getRenderFormInputItemDefaultValue(
|
|
5767
|
+
}) : t.inputParamsFormType) : e === "inner" && i.forEach(($) => {
|
|
5768
|
+
k[$.tag_code] = {
|
|
5769
|
+
value: getRenderFormInputItemDefaultValue($),
|
|
5764
5770
|
need_render: !0,
|
|
5765
5771
|
hook: !1
|
|
5766
5772
|
};
|
|
5767
|
-
}),
|
|
5773
|
+
}), k;
|
|
5768
5774
|
}, getInputFormsFromConstants = async (e, t) => {
|
|
5769
5775
|
if (!t || Object.keys(t).length === 0)
|
|
5770
5776
|
return [];
|
|
@@ -31628,7 +31634,7 @@ const AiopsForm = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["render", _sfc_re
|
|
|
31628
31634
|
alias: Cn,
|
|
31629
31635
|
meta_url: hn,
|
|
31630
31636
|
api_key: jt = "incident",
|
|
31631
|
-
version: vn = "",
|
|
31637
|
+
version: vn = "v2.0.0",
|
|
31632
31638
|
category: Et,
|
|
31633
31639
|
category_id: wn
|
|
31634
31640
|
} = Ne;
|
|
@@ -31745,7 +31751,7 @@ const AiopsForm = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["render", _sfc_re
|
|
|
31745
31751
|
}, null, 8, ["show", "flow-id", "actived", "bkflow-tag", "plugin-group-list"]))
|
|
31746
31752
|
]));
|
|
31747
31753
|
}
|
|
31748
|
-
}), FlowCanvas = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["__scopeId", "data-v-
|
|
31754
|
+
}), FlowCanvas = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["__scopeId", "data-v-bfe93680"]]), _hoisted_1$3 = { class: "execute-flow-slider" }, _hoisted_2$3 = { class: "flow-name-wrapper" }, _hoisted_3$3 = { class: "form-params-wrapper" }, _hoisted_4$3 = {
|
|
31749
31755
|
key: 0,
|
|
31750
31756
|
class: "sideslider-footer-buttons"
|
|
31751
31757
|
}, _sfc_main$3 = /* @__PURE__ */ defineComponent({
|