@blueking/bkflow-canvas-editor 0.0.28 → 0.0.30
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 +1 -1
- package/dist/index.esm.js +14 -12
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -30711,12 +30711,12 @@ const AiopsForm = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["render", _sfc_re
|
|
|
30711
30711
|
name: "智能体名称"
|
|
30712
30712
|
},
|
|
30713
30713
|
{
|
|
30714
|
-
id: "
|
|
30715
|
-
name: "
|
|
30714
|
+
id: "updated_by",
|
|
30715
|
+
name: "更新人"
|
|
30716
30716
|
}
|
|
30717
30717
|
], k = e, g = useAgentSelectPanelConfig(), y = t, $ = ref("all"), V = ref([]), L = computed(() => Object.keys(k.properties).map((de) => ({ id: de, name: k.properties[de] }))), ae = computed(() => k.plugins.filter((de) => !de.display_content.hidden)), ie = computed(() => {
|
|
30718
30718
|
const de = ae.value.filter((pe) => $.value !== "all" ? pe.group === $.value : !0);
|
|
30719
|
-
return V.value.length > 0 ? de.filter((pe) => V.value.some((he) => he.id === "alias" ? pe.alias.toLowerCase().includes(he.values[0].id.toLowerCase()) : he.id === "agent_type" ? (pe.display_content?.agent_type || "") === he.values[0].id : he.id === "space_name" ? (pe.display_content?.space_name || "").toLowerCase().includes(he.values[0].id.toLowerCase()) : he.id === "
|
|
30719
|
+
return V.value.length > 0 ? de.filter((pe) => V.value.some((he) => he.id === "alias" ? pe.alias.toLowerCase().includes(he.values[0].id.toLowerCase()) : he.id === "agent_type" ? (pe.display_content?.agent_type || "") === he.values[0].id : he.id === "space_name" ? (pe.display_content?.space_name || "").toLowerCase().includes(he.values[0].id.toLowerCase()) : he.id === "updated_by" ? (pe.display_content?.updated_by || "") === he.values[0].id : !0)) : de;
|
|
30720
30720
|
}), oe = (de) => {
|
|
30721
30721
|
V.value = de;
|
|
30722
30722
|
}, z = () => {
|
|
@@ -30807,7 +30807,7 @@ const AiopsForm = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["render", _sfc_re
|
|
|
30807
30807
|
createVNode(_sfc_main$d, {
|
|
30808
30808
|
modelValue: V.value,
|
|
30809
30809
|
options: i,
|
|
30810
|
-
placeholder: "
|
|
30810
|
+
placeholder: "搜索智能体名称、更新人",
|
|
30811
30811
|
onChange: oe
|
|
30812
30812
|
}, null, 8, ["modelValue"])
|
|
30813
30813
|
]),
|
|
@@ -30826,17 +30826,18 @@ const AiopsForm = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["render", _sfc_re
|
|
|
30826
30826
|
createElementVNode("div", _hoisted_8$2, [
|
|
30827
30827
|
createElementVNode("div", _hoisted_9$2, [
|
|
30828
30828
|
createElementVNode("div", _hoisted_10$2, toDisplayString($e.alias), 1),
|
|
30829
|
-
|
|
30829
|
+
$e.display_content.agent_type ? (openBlock(), createElementBlock("div", {
|
|
30830
|
+
key: 0,
|
|
30830
30831
|
class: normalizeClass(["agent-type", $e.display_content.agent_type])
|
|
30831
|
-
}, toDisplayString($e.display_content.agent_type === "single" ? "单智能体" : "流程类"), 3)
|
|
30832
|
+
}, toDisplayString($e.display_content.agent_type === "single" ? "单智能体" : "流程类"), 3)) : createCommentVNode("", !0)
|
|
30832
30833
|
]),
|
|
30833
30834
|
createElementVNode("div", _hoisted_11$2, [
|
|
30834
30835
|
createElementVNode("span", {
|
|
30835
30836
|
title: $e.display_content.agent_code
|
|
30836
30837
|
}, "ID:" + toDisplayString($e.display_content.agent_code), 9, _hoisted_12),
|
|
30837
30838
|
createElementVNode("span", {
|
|
30838
|
-
title: $e.display_content.
|
|
30839
|
-
}, "
|
|
30839
|
+
title: $e.display_content.updated_by
|
|
30840
|
+
}, "更新人:" + toDisplayString($e.display_content.updated_by), 9, _hoisted_13)
|
|
30840
30841
|
])
|
|
30841
30842
|
])
|
|
30842
30843
|
]),
|
|
@@ -30852,7 +30853,8 @@ const AiopsForm = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["render", _sfc_re
|
|
|
30852
30853
|
])]),
|
|
30853
30854
|
_: 1
|
|
30854
30855
|
}, 8, ["onClick"]),
|
|
30855
|
-
withDirectives((openBlock(), createBlock(he, {
|
|
30856
|
+
$e.display_content.agent_type ? withDirectives((openBlock(), createBlock(he, {
|
|
30857
|
+
key: 0,
|
|
30856
30858
|
size: "small",
|
|
30857
30859
|
disabled: $e.display_content.agent_type !== "single",
|
|
30858
30860
|
onClick: (Fe) => re($e)
|
|
@@ -30863,10 +30865,10 @@ const AiopsForm = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["render", _sfc_re
|
|
|
30863
30865
|
_: 1
|
|
30864
30866
|
}, 8, ["disabled", "onClick"])), [
|
|
30865
30867
|
[Ce, {
|
|
30866
|
-
disabled: $e.display_content.agent_type
|
|
30868
|
+
disabled: $e.display_content.agent_type !== "flow",
|
|
30867
30869
|
content: "流程类Agent暂不支持体验"
|
|
30868
30870
|
}]
|
|
30869
|
-
])
|
|
30871
|
+
]) : createCommentVNode("", !0)
|
|
30870
30872
|
])
|
|
30871
30873
|
]))), 128))
|
|
30872
30874
|
]),
|
|
@@ -30880,7 +30882,7 @@ const AiopsForm = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["render", _sfc_re
|
|
|
30880
30882
|
]);
|
|
30881
30883
|
};
|
|
30882
30884
|
}
|
|
30883
|
-
}), AgentPluginGroup = /* @__PURE__ */ _export_sfc$1(_sfc_main$c, [["__scopeId", "data-v-
|
|
30885
|
+
}), AgentPluginGroup = /* @__PURE__ */ _export_sfc$1(_sfc_main$c, [["__scopeId", "data-v-a795584a"]]), _hoisted_1$b = { class: "order-selector" }, _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
30884
30886
|
__name: "order-selector",
|
|
30885
30887
|
props: {
|
|
30886
30888
|
order: {}
|