china-mobile-international-custom-components 0.1.23 → 0.1.25
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/es/AddOrEditSupplierDialog.mjs +2 -2
- package/es/AgentDetail.mjs +5 -5
- package/es/ApplicationTypeTag.mjs +3 -3
- package/es/AuthSection.mjs +2 -2
- package/es/AutoShowTooltip.mjs +1 -1
- package/es/AvailableRangePreview.mjs +1 -1
- package/es/AvailableRangeSetting.mjs +5 -5
- package/es/CodeView.mjs +1 -1
- package/es/CommonTagsList.mjs +62 -62
- package/es/CreateMcpForm.mjs +6 -6
- package/es/CustomSidebar.mjs +1 -1
- package/es/CustomTitle.mjs +1 -1
- package/es/CustomToggle.mjs +11 -11
- package/es/DialogContainer.mjs +5 -5
- package/es/DocSyncSelect.mjs +4 -4
- package/es/FileDisplay.mjs +1 -1
- package/es/FilePreview.mjs +9 -9
- package/es/FileUploader.mjs +2 -2
- package/es/ImageComponent.mjs +5 -0
- package/es/Logo.mjs +2 -2
- package/es/McpFormDialog.mjs +1 -1
- package/es/McpParamsSet.mjs +4 -4
- package/es/MdEditor.mjs +3 -3
- package/es/PageContainer.mjs +2 -2
- package/es/ParameterTable.mjs +2 -2
- package/es/PublishRecord.mjs +6 -6
- package/es/RadioGroup.mjs +5 -5
- package/es/SourcePublish.mjs +6 -6
- package/es/Table.mjs +2 -2
- package/es/WorkFlowDialog.mjs +3 -3
- package/es/WorkflowComponent.mjs +1 -1
- package/es/assets/DocSyncSelect.css +1 -1
- package/es/assets/ImageComponent.css +0 -0
- package/es/chunks/AddAgentDialog.BEDSZ4er.js +244 -0
- package/es/chunks/AddDialog.RuOrCghd.js +1969 -0
- package/es/chunks/BackBar.Ck5CV5ZM.js +629 -0
- package/es/chunks/CreatePluginDialog.DbQIt3Mz.js +775 -0
- package/es/chunks/CreateWorkflow.CIYJ3nGZ.js +268 -0
- package/es/chunks/ImageComponent.BgYVT3ZJ.js +74 -0
- package/es/chunks/ToolList.2k07ztsY.js +106 -0
- package/es/chunks/config.B_uTnClF.js +47 -0
- package/es/chunks/config.e_OOovlY.js +358 -0
- package/es/chunks/i18n.9cHOVn6X.js +4049 -0
- package/es/chunks/index.BGLAHzZm.js +398 -0
- package/es/chunks/index.CCNAKdQj.js +1279 -0
- package/es/chunks/index.CXIY0q5X.js +172 -0
- package/es/chunks/index.Cv9pn5nk.js +4 -0
- package/es/chunks/index.CyiNa6lr.js +256 -0
- package/es/chunks/index.JG8-HCzk.js +29609 -0
- package/es/chunks/layout.BAvYghmE.js +650 -0
- package/es/chunks/layout.Iob_aYQ7.js +26 -0
- package/es/chunks/view.BSjGhafy.js +824 -0
- package/es/index.mjs +66 -66
- package/lib/CommonTagsList.js +1 -1
- package/lib/DocSyncSelect.js +1 -1
- package/lib/ImageComponent.js +1 -0
- package/lib/assets/DocSyncSelect.css +1 -1
- package/lib/assets/ImageComponent.css +0 -0
- package/lib/chunks/ImageComponent.CdPLM_LX.js +1 -0
- package/lib/chunks/index.Cbkv4rXa.js +1 -0
- package/lib/index.js +1 -1
- package/package.json +4 -4
package/es/McpParamsSet.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { w as re } from "./chunks/index.bCzIhWFw.js";
|
|
2
|
-
import { resolveComponent as X,
|
|
3
|
-
import { _ as ve } from "./chunks/BackBar.
|
|
2
|
+
import { resolveComponent as X, openBlock as U, createElementBlock as J, createVNode as x, unref as y, createElementVNode as I, withCtx as k, toDisplayString as G, createBlock as V, createCommentVNode as ee, ref as M, computed as ie, watch as te, nextTick as ce, onUnmounted as ae, Fragment as oe, onMounted as ue, createTextVNode as de, normalizeStyle as pe, normalizeClass as fe, withModifiers as me } from "vue";
|
|
3
|
+
import { _ as ve } from "./chunks/BackBar.Ck5CV5ZM.js";
|
|
4
4
|
import { ParameterTable as _e, ARRAYTYPES as he } from "./ParameterTable.mjs";
|
|
5
5
|
import { ElTooltip as Z, ElIcon as ne, ElSkeleton as ge, ElMessage as F } from "element-plus";
|
|
6
|
-
import { u as se } from "./chunks/i18n.
|
|
6
|
+
import { u as se } from "./chunks/i18n.9cHOVn6X.js";
|
|
7
7
|
import { ApplicationIcon as ye, SOURCE_TYPE as Ie } from "color-star-custom-components";
|
|
8
8
|
import { _ as Y } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
9
|
-
import { u as Te, C as be } from "./chunks/index.
|
|
9
|
+
import { u as Te, C as be } from "./chunks/index.CXIY0q5X.js";
|
|
10
10
|
import { g as Oe } from "./chunks/request.24c3shPx.js";
|
|
11
11
|
import { useRoute as Se } from "vue-router";
|
|
12
12
|
import './assets/McpParamsSet.css';const Ee = { class: "header-nav" }, Me = { class: "text-name" }, Ne = { class: "text-name-nav" }, Re = { class: "text-ellipsis" }, Ae = { class: "text-name-desc text-ellipsis" }, De = {
|
package/es/MdEditor.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { w as M } from "./chunks/index.bCzIhWFw.js";
|
|
2
|
-
import { ref as O, watch as A, computed as I,
|
|
2
|
+
import { ref as O, watch as A, computed as I, openBlock as F, createElementBlock as L, createVNode as V, unref as c, normalizeStyle as k } from "vue";
|
|
3
3
|
import { MdEditor as B } from "md-editor-v3";
|
|
4
4
|
import { f as D } from "./chunks/files.cduUqjHX.js";
|
|
5
5
|
import { ElMessage as x } from "element-plus";
|
|
6
|
-
import { t as i,
|
|
6
|
+
import { t as i, i as C } from "./chunks/i18n.9cHOVn6X.js";
|
|
7
7
|
import { emitsMap as o } from "color-star-custom-methods";
|
|
8
8
|
import { _ as N } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
9
9
|
import './assets/MdEditor.css';const P = { class: "md-editor-container" }, U = {
|
|
@@ -166,7 +166,7 @@ import './assets/MdEditor.css';const P = { class: "md-editor-container" }, U = {
|
|
|
166
166
|
x.error(i("MESSAGE_REMIND.FILE_UPLOAD_FAIL_TIP") || "上传图片失败"), n([]);
|
|
167
167
|
}
|
|
168
168
|
};
|
|
169
|
-
return (e, n) => (
|
|
169
|
+
return (e, n) => (F(), L("div", P, [
|
|
170
170
|
V(c(B), {
|
|
171
171
|
modelValue: l.value,
|
|
172
172
|
"onUpdate:modelValue": n[0] || (n[0] = (d) => l.value = d),
|
package/es/PageContainer.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { w as we } from "./chunks/index.bCzIhWFw.js";
|
|
2
|
-
import { ref as y, useSlots as Ce, computed as D, watch as O, onMounted as Se,
|
|
3
|
-
import { C as le } from "./chunks/layout.
|
|
2
|
+
import { ref as y, useSlots as Ce, computed as D, watch as O, onMounted as Se, openBlock as r, createElementBlock as m, createVNode as g, unref as o, withCtx as d, createBlock as v, resolveDynamicComponent as xe, createElementVNode as x, toDisplayString as V, createCommentVNode as h, normalizeClass as _, renderSlot as z, mergeProps as ee, toHandlers as Ee, createSlots as te, normalizeStyle as Pe, Fragment as j, renderList as N, withModifiers as U, createTextVNode as ae, normalizeProps as ze, guardReactiveProps as Ie } from "vue";
|
|
3
|
+
import { C as le } from "./chunks/layout.Iob_aYQ7.js";
|
|
4
4
|
import { SearchBar as Re, IconEmpty as Ae } from "color-star-custom-components";
|
|
5
5
|
import { IconZuo as De, IconMore as Oe, IconZuoCopy as Ne, IconYou as Te, Loading as Be } from "color-message-aibox-vue";
|
|
6
6
|
import { M as R, C as ne, D as Ve } from "./chunks/field-types.CPnMOjle.js";
|
package/es/ParameterTable.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { w as Qe } from "./chunks/index.bCzIhWFw.js";
|
|
2
|
-
import { ref as te, onMounted as Ke, resolveComponent as we,
|
|
2
|
+
import { ref as te, onMounted as Ke, resolveComponent as we, openBlock as g, createBlock as H, unref as e, withCtx as A, createVNode as v, createCommentVNode as $, createTextVNode as q, toDisplayString as F, createElementVNode as j, computed as h, provide as Ze, inject as et, watch as pe, createElementBlock as W, Fragment as ae, renderList as Ie, useModel as fe, normalizeClass as ee, mergeModels as ie, nextTick as ve, createSlots as tt } from "vue";
|
|
3
3
|
import { ElIcon as Y, ElInput as Z, ElButton as oe, ElTooltip as Oe, ElSelect as Ae, ElOption as re, ElDatePicker as lt, ElTag as at, ElMessage as nt, ElCheckbox as Ue } from "element-plus";
|
|
4
4
|
import { IconUpload2 as he, Error as ge, IconScene as rt, IconAdd2 as ot, IconZuoCopyCopy as Se, IconZuoCopy as Be, IconDelete2 as it, IconAdd as st, IconTip as be } from "color-message-aibox-vue";
|
|
5
5
|
import { useDialog as ut, DialogContainer as dt } from "./DialogContainer.mjs";
|
|
6
6
|
import { AiboxTable as ke } from "./Table.mjs";
|
|
7
|
-
import { u as ne, g as X } from "./chunks/i18n.
|
|
7
|
+
import { u as ne, g as X } from "./chunks/i18n.9cHOVn6X.js";
|
|
8
8
|
import { _ as ue } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
9
9
|
import { FileUploader as Le, getWarnTips as Ne, getAcceptType as Ce, UploadTypesEnum as Re } from "./FileUploader.mjs";
|
|
10
10
|
import { AutoShowTooltip as Pe } from "./AutoShowTooltip.mjs";
|
package/es/PublishRecord.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { w as U } from "./chunks/index.bCzIhWFw.js";
|
|
2
|
-
import { ref as T, computed as y, reactive as L, onMounted as V, resolveDirective as w, withDirectives as A,
|
|
2
|
+
import { ref as T, computed as y, reactive as L, onMounted as V, resolveDirective as w, withDirectives as A, openBlock as l, createElementBlock as u, createBlock as H, unref as o, normalizeClass as b, withCtx as p, createElementVNode as c, Fragment as $, renderList as j, toDisplayString as d, createVNode as _, createTextVNode as z, createCommentVNode as F } from "vue";
|
|
3
3
|
import { ElScrollbar as X, ElTooltip as G, ElIcon as O, ElMessageBox as q, ElMessage as J } from "element-plus";
|
|
4
4
|
import { IconRefresh as K, Empty as Q } from "color-message-aibox-vue";
|
|
5
|
-
import { u as W } from "./chunks/i18n.
|
|
5
|
+
import { u as W } from "./chunks/i18n.9cHOVn6X.js";
|
|
6
6
|
import { g as Y } from "./chunks/publish.DlD0o09n.js";
|
|
7
7
|
import { useRoute as Z } from "vue-router";
|
|
8
8
|
import { p as ee } from "./chunks/enums.WrpwbF4w.js";
|
|
9
|
-
import { R as M } from "./chunks/config.
|
|
10
|
-
import { P as R } from "./chunks/config.
|
|
9
|
+
import { R as M } from "./chunks/config.e_OOovlY.js";
|
|
10
|
+
import { P as R } from "./chunks/config.B_uTnClF.js";
|
|
11
11
|
import { D as se } from "./chunks/field-types.CPnMOjle.js";
|
|
12
12
|
import { _ as te } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
13
13
|
import './assets/PublishRecord.css';const oe = { class: "publish-record overflow-hidden" }, ae = { class: "publish-record__item--time" }, ne = { class: "publish-record__item--number" }, re = { class: "publish-record__item--version" }, ce = ["onClick"], ie = { style: { "margin-left": "5px" } }, le = ["title"], de = {
|
|
@@ -119,7 +119,7 @@ import './assets/PublishRecord.css';const oe = { class: "publish-record overflow
|
|
|
119
119
|
e.publishStatus == o(R).PUBLISHED ? "active" : "in-active"
|
|
120
120
|
])
|
|
121
121
|
}, [
|
|
122
|
-
|
|
122
|
+
z(d(o(a)("COM_SPM.VERSION_NUMBER", { number: e.versionNumber })) + " ", 1),
|
|
123
123
|
c("span", {
|
|
124
124
|
class: b([
|
|
125
125
|
"publish-record__item--type",
|
|
@@ -151,7 +151,7 @@ import './assets/PublishRecord.css';const oe = { class: "publish-record overflow
|
|
|
151
151
|
key: 0,
|
|
152
152
|
class: "publish-record__item--content",
|
|
153
153
|
title: e.versionDesc
|
|
154
|
-
}, d(e.versionDesc), 9, le)) :
|
|
154
|
+
}, d(e.versionDesc), 9, le)) : F("", !0)
|
|
155
155
|
]))), 128))
|
|
156
156
|
])
|
|
157
157
|
]),
|
package/es/RadioGroup.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { w as C } from "./chunks/index.bCzIhWFw.js";
|
|
2
|
-
import { computed as m,
|
|
2
|
+
import { computed as m, openBlock as a, createElementBlock as r, normalizeClass as f, createCommentVNode as d, createTextVNode as p, toDisplayString as v, createBlock as y, unref as l, withCtx as i, createVNode as u, Fragment as S, renderList as k, renderSlot as z } from "vue";
|
|
3
3
|
import { ElTooltip as V, ElIcon as N, ElRadioGroup as T, ElRadio as q } from "element-plus";
|
|
4
4
|
import { IconTip as B } from "color-message-aibox-vue";
|
|
5
5
|
import { _ as E } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
@@ -68,8 +68,8 @@ import './assets/RadioGroup.css';const G = {
|
|
|
68
68
|
}, [
|
|
69
69
|
e.label ? (a(), r("div", G, [
|
|
70
70
|
e.required ? (a(), r("span", R, "*")) : d("", !0),
|
|
71
|
-
p(" " +
|
|
72
|
-
e.tipText ? (a(),
|
|
71
|
+
p(" " + v(e.label) + " ", 1),
|
|
72
|
+
e.tipText ? (a(), y(l(V), {
|
|
73
73
|
key: 1,
|
|
74
74
|
content: e.tipText,
|
|
75
75
|
placement: "top"
|
|
@@ -96,13 +96,13 @@ import './assets/RadioGroup.css';const G = {
|
|
|
96
96
|
onChange: x
|
|
97
97
|
}, {
|
|
98
98
|
default: i(() => [
|
|
99
|
-
(a(!0), r(S, null, k(e.options, (o) => (a(),
|
|
99
|
+
(a(!0), r(S, null, k(e.options, (o) => (a(), y(l(q), {
|
|
100
100
|
key: o.value,
|
|
101
101
|
class: "radio-item",
|
|
102
102
|
value: o.value
|
|
103
103
|
}, {
|
|
104
104
|
default: i(() => [
|
|
105
|
-
p(
|
|
105
|
+
p(v(o.label) + " ", 1),
|
|
106
106
|
z(t.$slots, o.value, {}, void 0, !0)
|
|
107
107
|
]),
|
|
108
108
|
_: 2
|
package/es/SourcePublish.mjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { w as ke } from "./chunks/index.bCzIhWFw.js";
|
|
2
|
-
import {
|
|
3
|
-
import { u as M } from "./chunks/i18n.
|
|
2
|
+
import { openBlock as r, createElementBlock as N, renderSlot as Re, shallowRef as xe, ref as f, onMounted as oe, normalizeStyle as Fe, createVNode as c, unref as e, withCtx as n, createBlock as g, resolveDynamicComponent as De, normalizeClass as Oe, createCommentVNode as U, createElementVNode as p, createTextVNode as x, toDisplayString as m, getCurrentInstance as Ge, computed as me, watch as Me, Fragment as $, renderList as ee, nextTick as ae, resolveDirective as Ke, withDirectives as Xe, withModifiers as Ye } from "vue";
|
|
3
|
+
import { u as M } from "./chunks/i18n.9cHOVn6X.js";
|
|
4
4
|
import { useRouter as Le, useRoute as Pe } from "vue-router";
|
|
5
5
|
import { ElIcon as ue, ElTooltip as he, ElCheckbox as We, ElMessage as ie, ElButton as Be, ElForm as He, ElFormItem as Y, ElSelect as le, ElOption as te, ElTag as ge, ElInputNumber as ze, ElInput as Ie, ElSwitch as Te } from "element-plus";
|
|
6
6
|
import { _ as W } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
7
7
|
import { g as ye } from "./chunks/publish.DlD0o09n.js";
|
|
8
|
-
import { C as Ae, g as qe, c as _e, h as v, A as se, i as je, S as ne, b as Qe, a as Je, I as Ce, s as Ue } from "./chunks/config.
|
|
9
|
-
import { L as tt, O as at, P as st, d as nt, e as it, f as ot, R as ut } from "./chunks/config.
|
|
8
|
+
import { C as Ae, g as qe, c as _e, h as v, A as se, i as je, S as ne, b as Qe, a as Je, I as Ce, s as Ue } from "./chunks/config.e_OOovlY.js";
|
|
9
|
+
import { L as tt, O as at, P as st, d as nt, e as it, f as ot, R as ut } from "./chunks/config.e_OOovlY.js";
|
|
10
10
|
import { AvailableRangeSetting as Ze } from "./AvailableRangeSetting.mjs";
|
|
11
11
|
import { IconTip as be } from "color-message-aibox-vue";
|
|
12
|
-
import { A as $e, _ as el } from "./chunks/BackBar.
|
|
12
|
+
import { A as $e, _ as el } from "./chunks/BackBar.Ck5CV5ZM.js";
|
|
13
13
|
import { SOURCE_TYPE as z } from "color-star-custom-components";
|
|
14
|
-
import { P as dt } from "./chunks/config.
|
|
14
|
+
import { P as dt } from "./chunks/config.B_uTnClF.js";
|
|
15
15
|
import './assets/SourcePublish.css';const ll = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAbeSURBVHic7ZztbxRFHMc/s3vX60FrTynSAi09KIK0aJEY8I32pfFVeYeJ0fIn+BeAfwFvfOE7S2JijDH62kQD7yCK1CAF5OEOigWBwvHUe77xxXDpdXfnbndvr/V6+0muk5md/c3Od3/zsLvTgZCQkJDORXjJvPeoHCmXmUTyGZAARl6G7UxGCDLArJCcyZeYSf8kMm5PdiXg3qNyxIDjUjLt9yrbCSGYWcrxuRshGwq4/2M5JQVf0/6e5pWMkBy7+K34qV6mugJOfCKPIzgR6GW1G5ITs9+IL3SHtQIenJZTSH5szVW1GYIj52ecPdFRwIlpmegySNF5zVZHxqhw4OyMSFsPRJxyb4hyEhmKV0MCwXHgmPWAzQMnp2WiHOPxqlxWm2EKkqe/WumFdg+MM216mh12FJPATG2CTcBIhA8AkCj/dAjj3TD1Phwaa1zi9Xn48ge9ve4ofPoRDGzyWyc99xbhu1/gyfP69XEdwmdYBDSshZoGE6YBpgm68NCYO/EARofg8Jje3uTB1ogHyu6Hh/X18Bya9nHB7oEOmaxs7PZWkU19EDGdj8Vj3mx5JR7Tl+2DEWuCTUDTaCyg4bGPNAx1F50QLe5vBfqyfeDKAxtieLwgQ+jter0ZXhF1yg4Cuwe6KMyr1wiht9tyD6xTdhA4NeGGo5FnDzT0dlstILwUMIhR2OFafTXhZy+8VaBQ1NstlrzZ8kqxBJHg+kAbvprwjQWY/xeGtjTO+9dNmEvr7c6loT8Bgy2Yyiw+hXNza9CEG3lyuQTf/+rN83V2szn4+WxwLcwpjBgta8H+mnDIMr6acMgydg+s7XCXnwHDeDVuIfTAJgn7wCZxnkiHuCZswk0SNuEmsQk4llyLy2hfbAKuxsP9eiIUsElCAZvEJmCr3x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cFX1wSqWVavhdizwRa4edCdj2lLfzRRgb6DN3Q3IdVn44qcZRHAncwgZhoA8GtrmfIzC2ve/xVlKrjss/nlRp1fj7Z3kmscW0RluEse1Pr9yHy9PE5qNJlWoT0kjzDm/K2ffCysAiQna+yIEd26zb6fmaGX4yqVLSzgiKUWX+/KkegqnWfFMP7N0FQBYhg2K6f6vzxmVVT63Hp1S8E+IsNM+sJR6Hl4bI9m9Zuy1FIyIiIiIiIrzyPx3JLklkX69sAAAAAElFTkSuQmCC", al = {}, sl = { class: "style-title" };
|
|
16
16
|
function nl(t, _) {
|
|
17
17
|
return r(), N("div", sl, [
|
package/es/Table.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { w as a } from "./chunks/index.bCzIhWFw.js";
|
|
2
|
-
import { A as o } from "./chunks/BackBar.
|
|
3
|
-
import { _ as b, T as i } from "./chunks/BackBar.
|
|
2
|
+
import { A as o } from "./chunks/BackBar.Ck5CV5ZM.js";
|
|
3
|
+
import { _ as b, T as i } from "./chunks/BackBar.Ck5CV5ZM.js";
|
|
4
4
|
const s = a(o);
|
|
5
5
|
export {
|
|
6
6
|
s as AiboxTable,
|
package/es/WorkFlowDialog.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { w as k } from "./chunks/index.bCzIhWFw.js";
|
|
2
|
-
import { ref as o,
|
|
3
|
-
import { b as R, _ as b } from "./chunks/index.
|
|
4
|
-
import { u as B } from "./chunks/i18n.
|
|
2
|
+
import { ref as o, openBlock as a, createBlock as u, unref as d, withCtx as y, createElementBlock as g, createCommentVNode as h } from "vue";
|
|
3
|
+
import { b as R, _ as b } from "./chunks/index.JG8-HCzk.js";
|
|
4
|
+
import { u as B } from "./chunks/i18n.9cHOVn6X.js";
|
|
5
5
|
import { useDialog as x, DialogContainer as C } from "./DialogContainer.mjs";
|
|
6
6
|
import { _ as D } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
7
7
|
import './assets/WorkFlowDialog.css';const E = {
|
package/es/WorkflowComponent.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.right-wrap[data-v-3a0b5f7d]{height:100%;flex:1;display:flex;flex-direction:column}.right-wrap .content[data-v-3a0b5f7d]{padding:12px;overflow-y:auto}.right-wrap .content .empty-state[data-v-3a0b5f7d]{color:#86909c;text-align:center;padding-top:60px}.right-wrap .content .selected-list[data-v-3a0b5f7d]{height:100%;overflow-y:auto}.right-wrap .content .selected-list .selected-item[data-v-3a0b5f7d]{margin-bottom:8px;cursor:pointer}.right-wrap .content .selected-list .selected-item .item-content[data-v-3a0b5f7d]{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;border-radius:8px;background:#fff}.right-wrap .content .selected-list .selected-item .item-content[data-v-3a0b5f7d]:hover{background:#eaf0fe}.right-wrap .content .selected-list .selected-item .item-content .item-main[data-v-3a0b5f7d]{flex:1;display:flex;align-items:center;gap:8px}.right-wrap .content .selected-list .selected-item .item-content .item-main .doc-icon[data-v-3a0b5f7d]{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:4px}.right-wrap .content .selected-list .selected-item .item-content .item-main .doc-info[data-v-3a0b5f7d]{flex:1}.right-wrap .content .selected-list .selected-item .item-content .item-main .doc-info .doc-name[data-v-3a0b5f7d]{font-size:14px;font-weight:400;color:#1f2329;line-height:20px}.right-wrap .content .selected-list .selected-item .item-content .item-main .doc-info .doc-suffix[data-v-3a0b5f7d]{font-size:12px;color:#bbbfc4;line-height:16px;margin-top:2px}.right-wrap .content .selected-list .selected-item .item-content .delete-btn[data-v-3a0b5f7d]{padding:4px;border:none;background:transparent;cursor:pointer}.right-wrap .content .selected-list .selected-item .item-content .delete-btn:hover svg[data-v-3a0b5f7d]{color:#f53f3f!important}.right-wrap .content .selected-list .selected-item.is-selected .item-content[data-v-3a0b5f7d]{border-radius:8px}.el-tree .el-tree-node__content{position:relative}.element-tree-node-label-wrapper{flex:1;display:flex;align-items:center}.element-tree-node-label{font-size:12px}.element-tree-node-line-ver{display:block;position:absolute;top:0;left:0;height:100%;border-left:1px dashed #dcdfe6}.element-tree-node-line-ver.last-node-isLeaf-line{height:50%}.element-tree-node-line-hor{display:block;position:absolute;top:50%;left:0;height:0;border-bottom:1px dashed #dcdfe6}.element-tree-node-label-line{flex:1;border-top:1px dashed #dcdfe6;align-self:center;margin:0 10px}[data-v-258f00ca] .el-tree-node__label{line-height:22px}[data-v-258f00ca] .el-tree-node:focus>.el-tree-node__content{background-color:transparent}[data-v-258f00ca] .el-tree-node__content{border-radius:8px}[data-v-258f00ca] .el-tree-node__content:hover{background-color:var(--primary-color-5)}[data-v-258f00ca] .element-tree-node-label{font-size:14px}[data-v-258f00ca] .element-tree-node-line-ver,[data-v-258f00ca] .element-tree-node-line-hor{border-color:var(--neutral-color-19)}.hide-false-child-checkbox[data-v-258f00ca] .el-tree-node__content:has(.false-child-node) .el-checkbox{display:none!important}.vue-recycle-scroller{position:relative}.vue-recycle-scroller.direction-vertical:not(.page-mode){overflow-y:auto}.vue-recycle-scroller.direction-horizontal:not(.page-mode){overflow-x:auto}.vue-recycle-scroller.direction-horizontal{display:flex}.vue-recycle-scroller__slot{flex:auto 0 0}.vue-recycle-scroller__item-wrapper{flex:1;box-sizing:border-box;overflow:hidden;position:relative}.vue-recycle-scroller.ready .vue-recycle-scroller__item-view{position:absolute;top:0;left:0;will-change:transform}.vue-recycle-scroller.direction-vertical .vue-recycle-scroller__item-wrapper{width:100%}.vue-recycle-scroller.direction-horizontal .vue-recycle-scroller__item-wrapper{height:100%}.vue-recycle-scroller.ready.direction-vertical .vue-recycle-scroller__item-view{width:100%}.vue-recycle-scroller.ready.direction-horizontal .vue-recycle-scroller__item-view{height:100%}.resize-observer[data-v-b329ee4c]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer[data-v-b329ee4c] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.scroll-list[data-v-37e01654]{flex:1;display:flex;flex-direction:column;overflow:hidden;position:relative}.scroller[data-v-37e01654]{flex:1;overflow:hidden}.scroller[data-v-37e01654]::-webkit-scrollbar{width:6px}.scroller[data-v-37e01654]::-webkit-scrollbar-track{background:transparent}.scroller[data-v-37e01654]::-webkit-scrollbar-thumb{background-color:#0000001a;border-radius:3px}.scroller[data-v-37e01654]::-webkit-scrollbar-thumb:hover{background-color:#0003}.load-more-trigger[data-v-37e01654]{padding:16px 0;text-align:center}.loading-indicator[data-v-37e01654]{display:flex;align-items:center;justify-content:center;gap:8px;color:var(--color-text-light1);font-size:var(--font-size-m)}.loading-indicator .is-loading[data-v-37e01654]{animation:rotating-37e01654 2s linear infinite}.no-more-tip[data-v-37e01654]{padding:16px 0;text-align:center;color:var(--color-text-light1);font-size:var(--font-size-m)}.empty-state[data-v-37e01654]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 16px;min-height:300px}.empty-state .empty-icon[data-v-37e01654]{font-size:48px;margin-bottom:16px;opacity:.5}.empty-state .empty-text[data-v-37e01654]{font-size:var(--font-size-m);color:var(--color-text-light1)}@keyframes rotating-37e01654{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.search-wrap[data-v-2133f12b]{height:100%}.search-wrap .list-item[data-v-2133f12b]{border-bottom:1px solid transparent}.search-wrap .list-item .search-item[data-v-2133f12b]{display:flex;align-items:center;padding:8px 12px;min-height:50px;cursor:pointer;transition:background-color .2s}.search-wrap .list-item .search-item[data-v-2133f12b]:hover{background-color:#eaf0fe}.search-wrap .list-item .search-item[data-v-2133f12b] .el-checkbox,.search-wrap .list-item .search-item .file-type-icon[data-v-2133f12b]{margin-right:8px}.search-wrap .list-item .search-item .node-info[data-v-2133f12b]{flex:1;display:flex;flex-direction:column;padding-left:8px}.search-wrap .list-item .search-item .node-info .node-label[data-v-2133f12b]{font-size:14px;font-weight:400;color:#1f2329;line-height:20px}.search-wrap .list-item .search-item .node-info .node-suffix[data-v-2133f12b]{font-size:12px;color:#bbbfc4;line-height:16px}.left-wrap[data-v-9785f33c]{height:100%;width:50%;display:flex;flex-direction:column}.left-wrap .content[data-v-9785f33c]{height:100%;padding:12px;border-right:1px solid #dee0e3;display:flex;flex-direction:column}.left-wrap .content .input-wrap[data-v-9785f33c]{margin-bottom:14px}.left-wrap .content .input-wrap[data-v-9785f33c] .el-input__wrapper{border-radius:4px}.left-wrap .content[data-v-9785f33c] .el-segmented{width:fit-content!important;display:inline-flex!important;margin-bottom:16px}.left-wrap .content .tree-container[data-v-9785f33c]{flex:1;overflow:hidden;position:relative}.left-wrap .content .tree-container .loading-wrapper[data-v-9785f33c]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:10}.left-wrap .content .tree-container[data-v-9785f33c] .element-tree-node-line-ver,.left-wrap .content .tree-container[data-v-9785f33c] .element-tree-node-line-hor{border-color:#dee0e3!important;border-style:solid!important}.left-wrap .content .tree-container[data-v-9785f33c] .el-tree-node__content:hover,.left-wrap .content .tree-container[data-v-9785f33c] .element-tree-node:hover{background-color:#eaf0fe!important}.left-wrap .content .tree-container[data-v-9785f33c] .el-tree-node__content.is-current{background-color:transparent!important}.left-wrap .content .tree-container .tree-node-content[data-v-9785f33c]{display:flex;align-items:center;width:100%}.left-wrap .content .tree-container .tree-node-content .node-info[data-v-9785f33c]{flex:1;display:flex;flex-direction:column;padding-left:8px}.left-wrap .content .tree-container .tree-node-content .node-info .node-label[data-v-9785f33c]{font-size:14px;font-weight:400;color:#1f2329;line-height:20px}.left-wrap .content .tree-container .tree-node-content .node-info .node-suffix[data-v-9785f33c]{font-size:12px;color:#bbbfc4;line-height:16px}.doc-sync-select[data-v-
|
|
1
|
+
@charset "UTF-8";.right-wrap[data-v-3a0b5f7d]{height:100%;flex:1;display:flex;flex-direction:column}.right-wrap .content[data-v-3a0b5f7d]{padding:12px;overflow-y:auto}.right-wrap .content .empty-state[data-v-3a0b5f7d]{color:#86909c;text-align:center;padding-top:60px}.right-wrap .content .selected-list[data-v-3a0b5f7d]{height:100%;overflow-y:auto}.right-wrap .content .selected-list .selected-item[data-v-3a0b5f7d]{margin-bottom:8px;cursor:pointer}.right-wrap .content .selected-list .selected-item .item-content[data-v-3a0b5f7d]{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;border-radius:8px;background:#fff}.right-wrap .content .selected-list .selected-item .item-content[data-v-3a0b5f7d]:hover{background:#eaf0fe}.right-wrap .content .selected-list .selected-item .item-content .item-main[data-v-3a0b5f7d]{flex:1;display:flex;align-items:center;gap:8px}.right-wrap .content .selected-list .selected-item .item-content .item-main .doc-icon[data-v-3a0b5f7d]{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:4px}.right-wrap .content .selected-list .selected-item .item-content .item-main .doc-info[data-v-3a0b5f7d]{flex:1}.right-wrap .content .selected-list .selected-item .item-content .item-main .doc-info .doc-name[data-v-3a0b5f7d]{font-size:14px;font-weight:400;color:#1f2329;line-height:20px}.right-wrap .content .selected-list .selected-item .item-content .item-main .doc-info .doc-suffix[data-v-3a0b5f7d]{font-size:12px;color:#bbbfc4;line-height:16px;margin-top:2px}.right-wrap .content .selected-list .selected-item .item-content .delete-btn[data-v-3a0b5f7d]{padding:4px;border:none;background:transparent;cursor:pointer}.right-wrap .content .selected-list .selected-item .item-content .delete-btn:hover svg[data-v-3a0b5f7d]{color:#f53f3f!important}.right-wrap .content .selected-list .selected-item.is-selected .item-content[data-v-3a0b5f7d]{border-radius:8px}.el-tree .el-tree-node__content{position:relative}.element-tree-node-label-wrapper{flex:1;display:flex;align-items:center}.element-tree-node-label{font-size:12px}.element-tree-node-line-ver{display:block;position:absolute;top:0;left:0;height:100%;border-left:1px dashed #dcdfe6}.element-tree-node-line-ver.last-node-isLeaf-line{height:50%}.element-tree-node-line-hor{display:block;position:absolute;top:50%;left:0;height:0;border-bottom:1px dashed #dcdfe6}.element-tree-node-label-line{flex:1;border-top:1px dashed #dcdfe6;align-self:center;margin:0 10px}[data-v-258f00ca] .el-tree-node__label{line-height:22px}[data-v-258f00ca] .el-tree-node:focus>.el-tree-node__content{background-color:transparent}[data-v-258f00ca] .el-tree-node__content{border-radius:8px}[data-v-258f00ca] .el-tree-node__content:hover{background-color:var(--primary-color-5)}[data-v-258f00ca] .element-tree-node-label{font-size:14px}[data-v-258f00ca] .element-tree-node-line-ver,[data-v-258f00ca] .element-tree-node-line-hor{border-color:var(--neutral-color-19)}.hide-false-child-checkbox[data-v-258f00ca] .el-tree-node__content:has(.false-child-node) .el-checkbox{display:none!important}.vue-recycle-scroller{position:relative}.vue-recycle-scroller.direction-vertical:not(.page-mode){overflow-y:auto}.vue-recycle-scroller.direction-horizontal:not(.page-mode){overflow-x:auto}.vue-recycle-scroller.direction-horizontal{display:flex}.vue-recycle-scroller__slot{flex:auto 0 0}.vue-recycle-scroller__item-wrapper{flex:1;box-sizing:border-box;overflow:hidden;position:relative}.vue-recycle-scroller.ready .vue-recycle-scroller__item-view{position:absolute;top:0;left:0;will-change:transform}.vue-recycle-scroller.direction-vertical .vue-recycle-scroller__item-wrapper{width:100%}.vue-recycle-scroller.direction-horizontal .vue-recycle-scroller__item-wrapper{height:100%}.vue-recycle-scroller.ready.direction-vertical .vue-recycle-scroller__item-view{width:100%}.vue-recycle-scroller.ready.direction-horizontal .vue-recycle-scroller__item-view{height:100%}.resize-observer[data-v-b329ee4c]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer[data-v-b329ee4c] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.scroll-list[data-v-37e01654]{flex:1;display:flex;flex-direction:column;overflow:hidden;position:relative}.scroller[data-v-37e01654]{flex:1;overflow:hidden}.scroller[data-v-37e01654]::-webkit-scrollbar{width:6px}.scroller[data-v-37e01654]::-webkit-scrollbar-track{background:transparent}.scroller[data-v-37e01654]::-webkit-scrollbar-thumb{background-color:#0000001a;border-radius:3px}.scroller[data-v-37e01654]::-webkit-scrollbar-thumb:hover{background-color:#0003}.load-more-trigger[data-v-37e01654]{padding:16px 0;text-align:center}.loading-indicator[data-v-37e01654]{display:flex;align-items:center;justify-content:center;gap:8px;color:var(--color-text-light1);font-size:var(--font-size-m)}.loading-indicator .is-loading[data-v-37e01654]{animation:rotating-37e01654 2s linear infinite}.no-more-tip[data-v-37e01654]{padding:16px 0;text-align:center;color:var(--color-text-light1);font-size:var(--font-size-m)}.empty-state[data-v-37e01654]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 16px;min-height:300px}.empty-state .empty-icon[data-v-37e01654]{font-size:48px;margin-bottom:16px;opacity:.5}.empty-state .empty-text[data-v-37e01654]{font-size:var(--font-size-m);color:var(--color-text-light1)}@keyframes rotating-37e01654{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.search-wrap[data-v-2133f12b]{height:100%}.search-wrap .list-item[data-v-2133f12b]{border-bottom:1px solid transparent}.search-wrap .list-item .search-item[data-v-2133f12b]{display:flex;align-items:center;padding:8px 12px;min-height:50px;cursor:pointer;transition:background-color .2s}.search-wrap .list-item .search-item[data-v-2133f12b]:hover{background-color:#eaf0fe}.search-wrap .list-item .search-item[data-v-2133f12b] .el-checkbox,.search-wrap .list-item .search-item .file-type-icon[data-v-2133f12b]{margin-right:8px}.search-wrap .list-item .search-item .node-info[data-v-2133f12b]{flex:1;display:flex;flex-direction:column;padding-left:8px}.search-wrap .list-item .search-item .node-info .node-label[data-v-2133f12b]{font-size:14px;font-weight:400;color:#1f2329;line-height:20px}.search-wrap .list-item .search-item .node-info .node-suffix[data-v-2133f12b]{font-size:12px;color:#bbbfc4;line-height:16px}.left-wrap[data-v-9785f33c]{height:100%;width:50%;display:flex;flex-direction:column}.left-wrap .content[data-v-9785f33c]{height:100%;padding:12px;border-right:1px solid #dee0e3;display:flex;flex-direction:column}.left-wrap .content .input-wrap[data-v-9785f33c]{margin-bottom:14px}.left-wrap .content .input-wrap[data-v-9785f33c] .el-input__wrapper{border-radius:4px}.left-wrap .content[data-v-9785f33c] .el-segmented{width:fit-content!important;display:inline-flex!important;margin-bottom:16px}.left-wrap .content .tree-container[data-v-9785f33c]{flex:1;overflow:hidden;position:relative}.left-wrap .content .tree-container .loading-wrapper[data-v-9785f33c]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:10}.left-wrap .content .tree-container[data-v-9785f33c] .element-tree-node-line-ver,.left-wrap .content .tree-container[data-v-9785f33c] .element-tree-node-line-hor{border-color:#dee0e3!important;border-style:solid!important}.left-wrap .content .tree-container[data-v-9785f33c] .el-tree-node__content:hover,.left-wrap .content .tree-container[data-v-9785f33c] .element-tree-node:hover{background-color:#eaf0fe!important}.left-wrap .content .tree-container[data-v-9785f33c] .el-tree-node__content.is-current{background-color:transparent!important}.left-wrap .content .tree-container .tree-node-content[data-v-9785f33c]{display:flex;align-items:center;width:100%}.left-wrap .content .tree-container .tree-node-content .node-info[data-v-9785f33c]{flex:1;display:flex;flex-direction:column;padding-left:8px}.left-wrap .content .tree-container .tree-node-content .node-info .node-label[data-v-9785f33c]{font-size:14px;font-weight:400;color:#1f2329;line-height:20px}.left-wrap .content .tree-container .tree-node-content .node-info .node-suffix[data-v-9785f33c]{font-size:12px;color:#bbbfc4;line-height:16px}.doc-sync-select[data-v-c45c2d8e]{width:100%;height:100%;border-radius:4px;border:1px solid #d0d3d6;display:flex;flex-direction:row}
|
|
File without changes
|
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
import { ref as u, reactive as K, computed as Q, resolveComponent as W, resolveDirective as ee, openBlock as D, createBlock as T, unref as o, withCtx as s, withDirectives as te, withModifiers as oe, createVNode as n, createCommentVNode as le, createElementVNode as E, toDisplayString as m, createTextVNode as g } from "vue";
|
|
2
|
+
import { u as ae } from "./i18n.9cHOVn6X.js";
|
|
3
|
+
import { useRouter as ie } from "vue-router";
|
|
4
|
+
import { g as se } from "./publish.B54x3k6E.js";
|
|
5
|
+
import { t as ne } from "./index.CCNAKdQj.js";
|
|
6
|
+
import { FileUploader as re } from "../FileUploader.mjs";
|
|
7
|
+
import { FilePreview as ce } from "../FilePreview.mjs";
|
|
8
|
+
import { useDialog as ue, DialogContainer as pe } from "../DialogContainer.mjs";
|
|
9
|
+
import { u as de } from "./index.JG8-HCzk.js";
|
|
10
|
+
import { ElForm as fe, ElFormItem as y, ElTooltip as me, ElIcon as _e, ElInput as C, ElButton as O, ElMessage as Ae } from "element-plus";
|
|
11
|
+
import { _ as Ee } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
12
|
+
import '../assets/AddAgentDialog.css';const ge = { class: "label-with-icon" }, ve = { style: { "margin-right": "5px" } }, De = { class: "action-bottom" }, Te = {
|
|
13
|
+
__name: "AddAgentDialog",
|
|
14
|
+
emits: ["success"],
|
|
15
|
+
setup(ye, { expose: L, emit: w }) {
|
|
16
|
+
const { t: l } = ae(), S = de(), x = ie(), M = w, { dialogRef: R, formRef: N, showDialog: V, hideDialog: b, resetDialog: U } = ue(), { addAgent: B, editAgent: k, getAgentInfo: F, copyAgent: j } = se(), _ = u(""), A = u(""), c = u([]), r = u(""), p = u(!1), v = u(!1), G = u(1), a = K({
|
|
17
|
+
accessory: "",
|
|
18
|
+
title: "",
|
|
19
|
+
description: ""
|
|
20
|
+
}), P = {
|
|
21
|
+
title: [
|
|
22
|
+
{
|
|
23
|
+
required: !0,
|
|
24
|
+
message: l("ADD_AGENT_DIALOG.AGENT_NAME_RULE_MSG") || "请输入智能体名称",
|
|
25
|
+
trigger: "blur"
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}, $ = Q(() => {
|
|
29
|
+
switch (G.value) {
|
|
30
|
+
case 1:
|
|
31
|
+
return "agent";
|
|
32
|
+
case 3:
|
|
33
|
+
return "dialogue";
|
|
34
|
+
default:
|
|
35
|
+
return "";
|
|
36
|
+
}
|
|
37
|
+
}), I = (e, t) => {
|
|
38
|
+
if (e.code === 0) {
|
|
39
|
+
const i = l("MESSAGE_REMIND.SELECT_RESOURCE") || "操作成功";
|
|
40
|
+
r.value !== "add" && Ae.success(i), r.value === "add" && x.push({
|
|
41
|
+
name: "AgentDetail",
|
|
42
|
+
params: { bnid: e.data.bnid },
|
|
43
|
+
query: { from: "ApplicationLibrary" }
|
|
44
|
+
}), M("success", t), b();
|
|
45
|
+
}
|
|
46
|
+
}, q = async () => {
|
|
47
|
+
const e = {
|
|
48
|
+
title: a.title,
|
|
49
|
+
description: a.description,
|
|
50
|
+
accessory: c.value[0]?.bnid,
|
|
51
|
+
workspaceBnid: S.selectedBusinessSpace || ""
|
|
52
|
+
};
|
|
53
|
+
let t = {};
|
|
54
|
+
r.value === "add" ? (t = await B(e).finally(() => {
|
|
55
|
+
p.value = !1;
|
|
56
|
+
}), I(t, e)) : N.value.validate(async (i) => {
|
|
57
|
+
i && (p.value = !0, t = r.value === "edit" ? await k(_.value, e).finally(() => {
|
|
58
|
+
p.value = !1;
|
|
59
|
+
}) : await j({ bnid: _.value, ...e }).finally(() => {
|
|
60
|
+
p.value = !1;
|
|
61
|
+
}), I(t, e));
|
|
62
|
+
});
|
|
63
|
+
}, z = async (e) => {
|
|
64
|
+
if (r.value === "edit" || r.value === "copy") {
|
|
65
|
+
v.value = !0;
|
|
66
|
+
const { data: t } = await F(e.bnid).finally(() => {
|
|
67
|
+
v.value = !1;
|
|
68
|
+
});
|
|
69
|
+
t && (G.value = t.type, Object.keys(a).forEach((i) => {
|
|
70
|
+
i === "accessory" ? t.icon && t.accessory && c.value.push({
|
|
71
|
+
name: "",
|
|
72
|
+
bnid: t.accessory,
|
|
73
|
+
url: t.icon,
|
|
74
|
+
suffix: "jpg"
|
|
75
|
+
}) : i === "title" ? (a.title = t.title, r.value === "copy" && Y()) : a[i] = t[i];
|
|
76
|
+
}));
|
|
77
|
+
}
|
|
78
|
+
}, X = (e = {}) => {
|
|
79
|
+
if (r.value = e.operateType, z(e), e.operateType === "edit")
|
|
80
|
+
A.value = l("ADD_AGENT_DIALOG.AGENT_NAME_EDIT") || "编辑智能体", _.value = e.bnid;
|
|
81
|
+
else if (e.operateType === "copy")
|
|
82
|
+
_.value = e.bnid, A.value = l("ADD_AGENT_DIALOG.AGENT_NAME_COPY") || "复制智能体";
|
|
83
|
+
else {
|
|
84
|
+
a.title = l("ADD_AGENT_DIALOG.MY_AGENT") || "我的智能体", A.value = l("ADD_AGENT_DIALOG.CREATE_AGENT") || "构建智能体", h();
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
V();
|
|
88
|
+
}, Y = () => {
|
|
89
|
+
let e = a.title;
|
|
90
|
+
if (e.length < 20) {
|
|
91
|
+
const i = /_副本(\d+)?$/, d = e.match(i);
|
|
92
|
+
if (d) {
|
|
93
|
+
const f = d[1] ? parseInt(d[1], 10) + 1 : 1;
|
|
94
|
+
e = e.replace(i, `_副本${f}`);
|
|
95
|
+
} else
|
|
96
|
+
e += "_副本";
|
|
97
|
+
}
|
|
98
|
+
a.title = e;
|
|
99
|
+
}, Z = () => {
|
|
100
|
+
c.value = [], U();
|
|
101
|
+
}, H = (e) => {
|
|
102
|
+
c.value.splice(e, 1);
|
|
103
|
+
}, J = (e) => {
|
|
104
|
+
c.value.push(e);
|
|
105
|
+
}, h = ne(q, 1e3);
|
|
106
|
+
return L({
|
|
107
|
+
updateView: X
|
|
108
|
+
}), (e, t) => {
|
|
109
|
+
const i = W("IconTip"), d = ee("loading");
|
|
110
|
+
return D(), T(o(pe), {
|
|
111
|
+
ref_key: "dialogRef",
|
|
112
|
+
ref: R,
|
|
113
|
+
title: A.value,
|
|
114
|
+
"append-to": "body",
|
|
115
|
+
onClosed: Z,
|
|
116
|
+
width: "500"
|
|
117
|
+
}, {
|
|
118
|
+
footer: s(() => [
|
|
119
|
+
E("div", De, [
|
|
120
|
+
n(o(O), { onClick: o(b) }, {
|
|
121
|
+
default: s(() => [
|
|
122
|
+
g(m(o(l)("COMMON_BUTTON.CANCEL_TEXT")), 1)
|
|
123
|
+
]),
|
|
124
|
+
_: 1
|
|
125
|
+
}, 8, ["onClick"]),
|
|
126
|
+
n(o(O), {
|
|
127
|
+
type: "primary",
|
|
128
|
+
onClick: o(h),
|
|
129
|
+
loading: p.value
|
|
130
|
+
}, {
|
|
131
|
+
default: s(() => [
|
|
132
|
+
g(m(o(l)("COMMON_BUTTON.CONFIRM_TEXT")), 1)
|
|
133
|
+
]),
|
|
134
|
+
_: 1
|
|
135
|
+
}, 8, ["onClick", "loading"])
|
|
136
|
+
])
|
|
137
|
+
]),
|
|
138
|
+
default: s(() => [
|
|
139
|
+
te((D(), T(o(fe), {
|
|
140
|
+
ref_key: "formRef",
|
|
141
|
+
ref: N,
|
|
142
|
+
model: a,
|
|
143
|
+
rules: P,
|
|
144
|
+
"label-width": "auto",
|
|
145
|
+
"label-position": "top",
|
|
146
|
+
onSubmit: t[2] || (t[2] = oe(() => {
|
|
147
|
+
}, ["prevent"]))
|
|
148
|
+
}, {
|
|
149
|
+
default: s(() => [
|
|
150
|
+
n(o(y), { prop: "accessory" }, {
|
|
151
|
+
label: s(() => [
|
|
152
|
+
E("div", ge, [
|
|
153
|
+
E("span", ve, m(o(l)("ADD_AGENT_DIALOG.AGENT_AVATAR") || "智能体头像"), 1),
|
|
154
|
+
n(o(me), { placement: "top" }, {
|
|
155
|
+
content: s(() => [
|
|
156
|
+
g(m(o(l)("ADD_AGENT_DIALOG.AGENT_AVATAR_DESC") || "支持jpg、png格式,"), 1),
|
|
157
|
+
t[3] || (t[3] = E("br", null, null, -1)),
|
|
158
|
+
g(" " + m(o(l)("ADD_AGENT_DIALOG.AGENT_AVATAR_SIZE") || "大小5MB以内"), 1)
|
|
159
|
+
]),
|
|
160
|
+
default: s(() => [
|
|
161
|
+
n(o(_e), {
|
|
162
|
+
size: "14px",
|
|
163
|
+
color: "#999"
|
|
164
|
+
}, {
|
|
165
|
+
default: s(() => [
|
|
166
|
+
n(i)
|
|
167
|
+
]),
|
|
168
|
+
_: 1
|
|
169
|
+
})
|
|
170
|
+
]),
|
|
171
|
+
_: 1
|
|
172
|
+
})
|
|
173
|
+
])
|
|
174
|
+
]),
|
|
175
|
+
default: s(() => [
|
|
176
|
+
n(o(ce), {
|
|
177
|
+
fileList: c.value,
|
|
178
|
+
previewType: "Card",
|
|
179
|
+
onOnRemove: H
|
|
180
|
+
}, {
|
|
181
|
+
CardUploader: s(() => [
|
|
182
|
+
c.value.length === 0 ? (D(), T(o(re), {
|
|
183
|
+
key: 0,
|
|
184
|
+
acceptType: ".jpg, .png",
|
|
185
|
+
"limit-size": 5,
|
|
186
|
+
businessType: "agent",
|
|
187
|
+
defaultUploadIcon: $.value,
|
|
188
|
+
onOnSuccess: J
|
|
189
|
+
}, null, 8, ["defaultUploadIcon"])) : le("", !0)
|
|
190
|
+
]),
|
|
191
|
+
_: 1
|
|
192
|
+
}, 8, ["fileList"])
|
|
193
|
+
]),
|
|
194
|
+
_: 1
|
|
195
|
+
}),
|
|
196
|
+
n(o(y), {
|
|
197
|
+
label: o(l)("ADD_AGENT_DIALOG.AGENT_NAME") || "智能体名称",
|
|
198
|
+
prop: "title"
|
|
199
|
+
}, {
|
|
200
|
+
default: s(() => [
|
|
201
|
+
n(o(C), {
|
|
202
|
+
style: { width: "472px" },
|
|
203
|
+
modelValue: a.title,
|
|
204
|
+
"onUpdate:modelValue": t[0] || (t[0] = (f) => a.title = f),
|
|
205
|
+
maxlength: 50,
|
|
206
|
+
type: "text",
|
|
207
|
+
autocomplete: "off",
|
|
208
|
+
"show-word-limit": ""
|
|
209
|
+
}, null, 8, ["modelValue"])
|
|
210
|
+
]),
|
|
211
|
+
_: 1
|
|
212
|
+
}, 8, ["label"]),
|
|
213
|
+
n(o(y), {
|
|
214
|
+
label: o(l)("ADD_AGENT_DIALOG.AGENT_NAME_DESC") || "智能体描述",
|
|
215
|
+
prop: "description"
|
|
216
|
+
}, {
|
|
217
|
+
default: s(() => [
|
|
218
|
+
n(o(C), {
|
|
219
|
+
style: { width: "472px" },
|
|
220
|
+
modelValue: a.description,
|
|
221
|
+
"onUpdate:modelValue": t[1] || (t[1] = (f) => a.description = f),
|
|
222
|
+
rows: 4,
|
|
223
|
+
"show-word-limit": "",
|
|
224
|
+
maxlength: 500,
|
|
225
|
+
type: "textarea",
|
|
226
|
+
autocomplete: "off"
|
|
227
|
+
}, null, 8, ["modelValue"])
|
|
228
|
+
]),
|
|
229
|
+
_: 1
|
|
230
|
+
}, 8, ["label"])
|
|
231
|
+
]),
|
|
232
|
+
_: 1
|
|
233
|
+
}, 8, ["model"])), [
|
|
234
|
+
[d, v.value]
|
|
235
|
+
])
|
|
236
|
+
]),
|
|
237
|
+
_: 1
|
|
238
|
+
}, 8, ["title"]);
|
|
239
|
+
};
|
|
240
|
+
}
|
|
241
|
+
}, Me = /* @__PURE__ */ Ee(Te, [["__scopeId", "data-v-36b0f37a"]]);
|
|
242
|
+
export {
|
|
243
|
+
Me as default
|
|
244
|
+
};
|