china-mobile-international-custom-components 0.0.54 → 0.0.56

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.
Files changed (47) hide show
  1. package/es/AddOrEditSupplierDialog.mjs +920 -22
  2. package/es/ApplicationIcon.mjs +38 -37
  3. package/es/AuthSection.mjs +191 -0
  4. package/es/CodeView.mjs +170 -0
  5. package/es/CommonTagsList.mjs +31 -30
  6. package/es/CreateMcpForm.mjs +331 -0
  7. package/es/FilePreview.mjs +229 -0
  8. package/es/FileUploader.mjs +92 -87
  9. package/es/McpFormDialog.mjs +187 -0
  10. package/es/RadioGroup.mjs +119 -0
  11. package/es/SourcePublish.mjs +2 -2
  12. package/es/assets/AddOrEditSupplierDialog.css +1 -1
  13. package/es/assets/AuthSection.css +1 -0
  14. package/es/assets/CodeView.css +1 -0
  15. package/es/assets/CreateMcpForm.css +1 -0
  16. package/es/assets/FilePreview.css +1 -0
  17. package/es/assets/McpFormDialog.css +1 -0
  18. package/es/assets/RadioGroup.css +1 -0
  19. package/es/assets/usePreview.css +1 -0
  20. package/es/chunks/config.CgrPt4Zx.js +435 -0
  21. package/es/chunks/mcp-tool.Nc4HT9IM.js +4 -0
  22. package/es/chunks/usePreview.BMkgYO7E.js +124 -0
  23. package/es/index.mjs +167 -149
  24. package/lib/AddOrEditSupplierDialog.js +1 -1
  25. package/lib/ApplicationIcon.js +1 -1
  26. package/lib/AuthSection.js +1 -0
  27. package/lib/CodeView.js +1 -0
  28. package/lib/CommonTagsList.js +1 -1
  29. package/lib/CreateMcpForm.js +1 -0
  30. package/lib/FilePreview.js +1 -0
  31. package/lib/FileUploader.js +1 -1
  32. package/lib/McpFormDialog.js +1 -0
  33. package/lib/RadioGroup.js +1 -0
  34. package/lib/SourcePublish.js +1 -1
  35. package/lib/assets/AddOrEditSupplierDialog.css +1 -1
  36. package/lib/assets/AuthSection.css +1 -0
  37. package/lib/assets/CodeView.css +1 -0
  38. package/lib/assets/CreateMcpForm.css +1 -0
  39. package/lib/assets/FilePreview.css +1 -0
  40. package/lib/assets/McpFormDialog.css +1 -0
  41. package/lib/assets/RadioGroup.css +1 -0
  42. package/lib/assets/usePreview.css +1 -0
  43. package/lib/chunks/config.BvBtwI1A.js +1 -0
  44. package/lib/chunks/mcp-tool.fb1SS2wA.js +1 -0
  45. package/lib/chunks/usePreview.BzTCNJfE.js +1 -0
  46. package/lib/index.js +1 -1
  47. package/package.json +7 -1
@@ -1,16 +1,17 @@
1
1
  import { w as N } from "./chunks/index.bCzIhWFw.js";
2
- import { ref as S, computed as R, resolveDirective as B, createElementBlock as C, openBlock as c, normalizeStyle as K, normalizeClass as I, withDirectives as D, createBlock as m, unref as o, withCtx as u, createCommentVNode as r, createElementVNode as T, renderSlot as E, resolveDynamicComponent as j, createVNode as O, createTextVNode as M, toDisplayString as f } from "vue";
3
- import { ElUpload as z, ElIcon as g, ElButton as $, ElMessage as W } from "element-plus";
4
- import { g as X } from "./chunks/request.24c3shPx.js";
5
- import { u as F } from "./chunks/i18n.Bd7hh14j.js";
6
- import { McpIcon as V, MySpace as G, Space as q, Workflow as Y, Model as Z, WorkflowIcon3 as H, WorkflowIcon1 as J, Plugin as Q, IconEdit2 as ee, IconAdd as te, IconUpload2 as le, File as oe } from "color-message-aibox-vue";
7
- import './assets/FileUploader.css';const v = {
2
+ import { ref as S, computed as R, resolveComponent as B, resolveDirective as K, createElementBlock as C, openBlock as c, normalizeStyle as D, normalizeClass as h, withDirectives as j, createBlock as u, unref as o, withCtx as r, createElementVNode as f, createCommentVNode as T, renderSlot as I, resolveDynamicComponent as z, createVNode as O, createTextVNode as M, toDisplayString as m } from "vue";
3
+ import { ElUpload as $, ElIcon as v, ElButton as X, ElMessage as E } from "element-plus";
4
+ import { g as V } from "./chunks/request.24c3shPx.js";
5
+ import { u as W } from "./chunks/i18n.Bd7hh14j.js";
6
+ import { m as G } from "./chunks/mcp-tool.Nc4HT9IM.js";
7
+ import { MySpace as q, Space as Y, Workflow as Z, Model as H, WorkflowIcon3 as J, WorkflowIcon1 as Q, Plugin as ee, IconEdit2 as te, IconAdd as le, IconUpload2 as oe, File as ae } from "color-message-aibox-vue";
8
+ import './assets/FileUploader.css';const y = {
8
9
  卡片: "Card",
9
10
  按钮: "Button",
10
11
  面板: "Panel",
11
12
  自定义: "Custom"
12
- }, ae = () => {
13
- const { $request: t, $env: e } = X();
13
+ }, ne = () => {
14
+ const { $request: t, $env: e } = V();
14
15
  return {
15
16
  commonUpload: (n, l = "common") => t({
16
17
  method: "post",
@@ -20,10 +21,10 @@ import './assets/FileUploader.css';const v = {
20
21
  skipCamelToKebab: !0
21
22
  })
22
23
  };
23
- }, ne = { class: "card-uploader__mask" }, se = { key: 3 }, ie = { class: "panel-uploader__text" }, ce = { class: "panel-uploader__text--tip" }, de = {
24
+ }, se = { class: "card-uploader__mask" }, ie = { key: 4 }, ce = { class: "panel-uploader__text" }, de = { class: "panel-uploader__text--tip" }, pe = {
24
25
  key: 0,
25
26
  class: "panel-uploader__text--tip font-style"
26
- }, pe = { class: "panel-uploader__text--tip font-style" }, ue = {
27
+ }, ue = { class: "panel-uploader__text--tip font-style" }, re = {
27
28
  __name: "index",
28
29
  props: {
29
30
  uploadType: {
@@ -69,42 +70,41 @@ import './assets/FileUploader.css';const v = {
69
70
  },
70
71
  emits: ["on-success"],
71
72
  setup(t, { emit: e }) {
72
- const { t: a } = F(), n = S(!1), l = S(null), { commonUpload: x } = ae(), d = t, U = e, b = (s) => {
73
+ const { t: a } = W(), n = S(!1), l = S(null), { commonUpload: _ } = ne(), d = t, U = e, b = (s) => {
73
74
  const p = /\.([^.]+)$/, i = s.match(p);
74
75
  return i ? i[1] : null;
75
- }, h = (s, p, i) => {
76
- let _ = !0;
76
+ }, k = (s, p, i) => {
77
+ let g = !0;
77
78
  const P = s.name && s.name.toLowerCase();
78
79
  if (console.log(s.name, P, "fileName"), p && p.indexOf(b(P)) === -1) {
79
80
  const w = a("COMPONENTS.UPLOAD_TYPE_TIP", { type: p });
80
- W({
81
+ E({
81
82
  type: "warning",
82
83
  message: w
83
- }), _ = !1;
84
+ }), g = !1;
84
85
  }
85
86
  if (s.size > 1024 * 1024 * i) {
86
87
  const w = a("COMPONENTS.UPLOAD_SIZE_TIP", { size: i });
87
- W.warning(w), _ = !1;
88
+ E.warning(w), g = !1;
88
89
  }
89
- return _;
90
- }, k = {
91
- plugin: Q,
92
- agent: J,
93
- dialogue: H,
94
- model: Z,
95
- workflow: Y,
96
- space: q,
97
- "my-space": G,
98
- mcp: V
90
+ return g;
91
+ }, F = {
92
+ plugin: ee,
93
+ agent: Q,
94
+ dialogue: J,
95
+ model: H,
96
+ workflow: Z,
97
+ space: Y,
98
+ "my-space": q
99
99
  }, A = R(() => ({
100
100
  Card: "card-uploader",
101
101
  Button: "button-uploader",
102
102
  Panel: "panel-uploader"
103
- })[d.uploadType]), y = R(() => d.defaultUploadIcon ? k[d.defaultUploadIcon] : ""), L = async (s) => {
104
- if (h(s, d.acceptType, d.limitSize))
103
+ })[d.uploadType]), x = R(() => d.defaultUploadIcon ? F[d.defaultUploadIcon] : ""), L = async (s) => {
104
+ if (k(s, d.acceptType, d.limitSize))
105
105
  if (d.isMiio) {
106
106
  n.value = !0;
107
- const { data: i } = await x(
107
+ const { data: i } = await _(
108
108
  {
109
109
  file: s.raw
110
110
  },
@@ -119,108 +119,113 @@ import './assets/FileUploader.css';const v = {
119
119
  l.value.handleRemove(s);
120
120
  };
121
121
  return (s, p) => {
122
- const i = B("loading");
122
+ const i = B("el-image"), g = K("loading");
123
123
  return c(), C("div", {
124
- class: I(["file-uploader", t.defaultUploadIcon]),
125
- style: K({
124
+ class: h(["file-uploader", t.defaultUploadIcon]),
125
+ style: D({
126
126
  border: !t.defaultUploadIcon && t.uploadType === "Card" ? "1px dashed var(--el-border-color)" : "none",
127
127
  "border-radius": !t.defaultUploadIcon && t.uploadType === "Card" ? "8px" : "0",
128
- "background-image": y.value ? `url('${y.value}')` : "none"
128
+ "background-image": x.value ? `url('${x.value}')` : "none"
129
129
  })
130
130
  }, [
131
- D((c(), m(o(z), {
131
+ j((c(), u(o($), {
132
132
  ref_key: "uploader",
133
133
  ref: l,
134
- class: I(A.value),
134
+ class: h(A.value),
135
135
  action: "",
136
136
  "auto-upload": !1,
137
137
  limit: t.limitCount,
138
138
  "show-file-list": !1,
139
139
  accept: t.acceptType,
140
140
  multiple: t.multiple,
141
- drag: t.uploadType === o(v).面板,
141
+ drag: t.uploadType === o(y).面板,
142
142
  "on-change": L
143
143
  }, {
144
- default: u(() => [
145
- y.value ? (c(), m(o(g), {
144
+ default: r(() => [
145
+ x.value ? (c(), u(o(v), {
146
146
  key: 0,
147
147
  size: "64",
148
148
  class: "absolute"
149
149
  }, {
150
- default: u(() => [
151
- (c(), m(j(y.value)))
150
+ default: r(() => [
151
+ (c(), u(z(x.value)))
152
152
  ]),
153
153
  _: 1
154
- })) : r("", !0),
155
- T("div", ne, [
156
- O(o(g), {
154
+ })) : (c(), u(i, {
155
+ key: 1,
156
+ style: { width: "64px", height: "64px" },
157
+ src: o(G),
158
+ class: "absolute"
159
+ }, null, 8, ["src"])),
160
+ f("div", se, [
161
+ O(o(v), {
157
162
  color: "#fff",
158
163
  size: "16px"
159
164
  }, {
160
- default: u(() => [
161
- O(o(ee))
165
+ default: r(() => [
166
+ O(o(te))
162
167
  ]),
163
168
  _: 1
164
169
  })
165
170
  ]),
166
- t.uploadType === o(v).卡片 ? (c(), m(o(g), {
167
- key: 1,
171
+ t.uploadType === o(y).卡片 ? (c(), u(o(v), {
172
+ key: 2,
168
173
  class: "card-uploader__icon"
169
174
  }, {
170
- default: u(() => [
171
- t.defaultUploadIcon ? r("", !0) : (c(), m(o(te), { key: 0 })),
172
- E(s.$slots, "text-slot")
175
+ default: r(() => [
176
+ t.defaultUploadIcon ? T("", !0) : (c(), u(o(le), { key: 0 })),
177
+ I(s.$slots, "text-slot")
173
178
  ]),
174
179
  _: 3
175
- })) : r("", !0),
176
- t.uploadType === o(v).按钮 ? (c(), m(o($), {
177
- key: 2,
180
+ })) : T("", !0),
181
+ t.uploadType === o(y).按钮 ? (c(), u(o(X), {
182
+ key: 3,
178
183
  type: "primary"
179
184
  }, {
180
- default: u(() => [
181
- O(o(g), { style: { "margin-right": "5px" } }, {
182
- default: u(() => [
183
- O(o(le))
185
+ default: r(() => [
186
+ O(o(v), { style: { "margin-right": "5px" } }, {
187
+ default: r(() => [
188
+ O(o(oe))
184
189
  ]),
185
190
  _: 1
186
191
  }),
187
- M(" " + f(o(a)("COMMON_BUTTON.UPLOAD_TEXT")), 1)
192
+ M(" " + m(o(a)("COMMON_BUTTON.UPLOAD_TEXT")), 1)
188
193
  ]),
189
194
  _: 1
190
- })) : r("", !0),
191
- t.uploadType === o(v).面板 ? (c(), C("div", se, [
192
- O(o(g), { size: "48px" }, {
193
- default: u(() => [
194
- O(o(oe))
195
+ })) : T("", !0),
196
+ t.uploadType === o(y).面板 ? (c(), C("div", ie, [
197
+ O(o(v), { size: "48px" }, {
198
+ default: r(() => [
199
+ O(o(ae))
195
200
  ]),
196
201
  _: 1
197
202
  }),
198
- T("div", ie, [
199
- T("div", ce, [
200
- T("span", null, f(o(a)("COMMON_BUTTON.CLICK_TEXT")), 1),
201
- M(" " + f(o(a)("COMMON_BUTTON.OR_TEXT")) + " ", 1),
202
- T("span", null, f(o(a)("COMMON_BUTTON.DRAG_TEXT")), 1),
203
- M(" " + f(o(a)("COMMON_BUTTON.FILE_UPLOAD_TEXT")), 1)
203
+ f("div", ce, [
204
+ f("div", de, [
205
+ f("span", null, m(o(a)("COMMON_BUTTON.CLICK_TEXT")), 1),
206
+ M(" " + m(o(a)("COMMON_BUTTON.OR_TEXT")) + " ", 1),
207
+ f("span", null, m(o(a)("COMMON_BUTTON.DRAG_TEXT")), 1),
208
+ M(" " + m(o(a)("COMMON_BUTTON.FILE_UPLOAD_TEXT")), 1)
204
209
  ]),
205
- t.warnTips2 ? (c(), C("div", de, f(t.warnTips2), 1)) : r("", !0),
206
- T("div", pe, f(t.warnTips), 1)
210
+ t.warnTips2 ? (c(), C("div", pe, m(t.warnTips2), 1)) : T("", !0),
211
+ f("div", ue, m(t.warnTips), 1)
207
212
  ])
208
- ])) : r("", !0),
209
- t.uploadType === o(v).自定义 ? E(s.$slots, "upload-box", { key: 4 }) : r("", !0)
213
+ ])) : T("", !0),
214
+ t.uploadType === o(y).自定义 ? I(s.$slots, "upload-box", { key: 5 }) : T("", !0)
210
215
  ]),
211
216
  _: 3
212
217
  }, 8, ["class", "limit", "accept", "multiple", "drag"])), [
213
- [i, n.value]
218
+ [g, n.value]
214
219
  ])
215
220
  ], 6);
216
221
  };
217
222
  }
218
- }, ve = (t) => {
219
- const { t: e } = F();
223
+ }, xe = (t) => {
224
+ const { t: e } = W();
220
225
  let a = t.toLowerCase(), n = "", l = "";
221
- const x = e("WORKFLOW_COM.TIP_TEXT_3");
222
- return a.includes("file") ? (l = "jpg、jpeg、png、webp、doc、docx、ppt、pptx、pdf、txt、xls、xlsx、csv、mp4、mkv、webm、ts、avi、mov、flv、3gp、ogv、mp3、wav、aac、flac、ogg", n = e("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : a.includes("image") ? (l = "jpg、jpeg、png、webp", n = e("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : a.includes("doc") ? (l = "doc、docx", n = e("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : a.includes("ppt") ? (l = "ppt、pptx", n = e("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : a.includes("pdf") ? (l = "pdf", n = e("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : a.includes("txt") ? (l = "txt", n = e("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : a.includes("excel") ? (l = "xls、xlsx、csv", n = e("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : a.includes("audio") ? (l = "mp3、wav、aac、flac、ogg", n = e("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : a.includes("video") && (l = "mp4、mkv、webm、ts、avi、mov、flv、3gp、ogv", n = e("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })), n + x;
223
- }, ye = (t) => {
226
+ const _ = e("WORKFLOW_COM.TIP_TEXT_3");
227
+ return a.includes("file") ? (l = "jpg、jpeg、png、webp、doc、docx、ppt、pptx、pdf、txt、xls、xlsx、csv、mp4、mkv、webm、ts、avi、mov、flv、3gp、ogv、mp3、wav、aac、flac、ogg", n = e("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : a.includes("image") ? (l = "jpg、jpeg、png、webp", n = e("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : a.includes("doc") ? (l = "doc、docx", n = e("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : a.includes("ppt") ? (l = "ppt、pptx", n = e("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : a.includes("pdf") ? (l = "pdf", n = e("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : a.includes("txt") ? (l = "txt", n = e("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : a.includes("excel") ? (l = "xls、xlsx、csv", n = e("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : a.includes("audio") ? (l = "mp3、wav、aac、flac、ogg", n = e("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : a.includes("video") && (l = "mp4、mkv、webm、ts、avi、mov、flv、3gp、ogv", n = e("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })), n + _;
228
+ }, _e = (t) => {
224
229
  let e = t.toLowerCase();
225
230
  if (e.includes("file"))
226
231
  return ".jpg,.jpeg,.png,.webp,.doc,.docx,.ppt,.pptx,.pdf,.txt,.xls,.xlsx,.csv,.mp4,.mkv,.webm,.ts,.avi,.mov,.flv,.3gp,.ogv,.mp3,.wav,.aac,.flac,.ogg";
@@ -240,15 +245,15 @@ import './assets/FileUploader.css';const v = {
240
245
  return ".mp3,.wav,.aac,.flac,.ogg";
241
246
  if (e.includes("video"))
242
247
  return ".mp4,.mkv,.webm,.ts,.avi,.mov,.flv,.3gp,.ogv";
243
- }, xe = (t) => {
248
+ }, we = (t) => {
244
249
  const e = t.match(/array(\w+)/);
245
250
  return e && e[1] ? e[1].toLowerCase() : null;
246
- }, _e = N(ue);
251
+ }, Ce = N(re);
247
252
  export {
248
- _e as FileUploader,
249
- v as UploadTypesEnum,
250
- _e as default,
251
- xe as extractAndLowerCaseArrayType,
252
- ye as getAcceptType,
253
- ve as getWarnTips
253
+ Ce as FileUploader,
254
+ y as UploadTypesEnum,
255
+ Ce as default,
256
+ we as extractAndLowerCaseArrayType,
257
+ _e as getAcceptType,
258
+ xe as getWarnTips
254
259
  };
@@ -0,0 +1,187 @@
1
+ import { w as B } from "./chunks/index.bCzIhWFw.js";
2
+ import { ref as f, nextTick as U, createBlock as G, openBlock as N, unref as D, normalizeClass as b, withCtx as A, createVNode as O, createElementVNode as L, createTextVNode as h, toDisplayString as F } from "vue";
3
+ import { ElMessage as n, ElButton as w } from "element-plus";
4
+ import { useDialog as x, DialogContainer as $ } from "./DialogContainer.mjs";
5
+ import { CreateMcpForm as k } from "./CreateMcpForm.mjs";
6
+ import { u as V } from "./chunks/i18n.Bd7hh14j.js";
7
+ import { useRouter as X } from "vue-router";
8
+ import { g as z } from "./chunks/request.24c3shPx.js";
9
+ import { _ as Q } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
10
+ import './assets/McpFormDialog.css';const y = () => {
11
+ const { $request: _, $env: a } = z();
12
+ return {
13
+ createMcp: (s) => _({
14
+ url: `${a.VITE_APP_AIBOX_BASE_URL}/api/v1/mcp/customize`,
15
+ method: "post",
16
+ data: s
17
+ }),
18
+ getMcpDetail: (s) => _({
19
+ url: `${a.VITE_APP_AIBOX_BASE_URL}/api/v1/mcp/customize/${s}`,
20
+ method: "get"
21
+ }),
22
+ updateMcp: (s, e) => _({
23
+ url: `${a.VITE_APP_AIBOX_BASE_URL}/api/v1/mcp/customize/${s}`,
24
+ method: "put",
25
+ data: e
26
+ })
27
+ };
28
+ };
29
+ function ae(_ = {}) {
30
+ const { t: a, onSuccess: g, onError: M } = _, E = () => {
31
+ const { getMcpDetail: r, updateMcp: t, createMcp: o } = y();
32
+ return { getMcpDetail: r, updateMcp: t, createMcp: o };
33
+ }, s = f(!0), e = f(null), m = f(!1), u = f(null), I = async (r, t) => {
34
+ if (!r || !r.bnid && !r.id) {
35
+ n.error(a?.("MCPFORMDIALOG.MCP_ID_REQUIRED") || "缺少MCP ID,无法编辑");
36
+ return;
37
+ }
38
+ const o = r.bnid || r.id;
39
+ e.value = o, s.value = !0, t();
40
+ try {
41
+ const { getMcpDetail: l } = E(), p = await l(o);
42
+ p.code === 0 && p.data ? (await U(), u.value && u.value.setFormData(p.data)) : d();
43
+ } catch (l) {
44
+ console.error("获取MCP详情失败:", l), d();
45
+ }
46
+ }, d = (r) => {
47
+ r && r(), e.value = null, s.value = !0;
48
+ };
49
+ return {
50
+ // 状态
51
+ isEdit: s,
52
+ currentBnid: e,
53
+ btnLoading: m,
54
+ createFormRef: u,
55
+ // 方法
56
+ showEditDialog: I,
57
+ hideEditDialog: d,
58
+ submitForm: async (r, t) => {
59
+ if (m.value = !0, !u.value) {
60
+ console.error("表单引用不存在"), m.value = !1;
61
+ return;
62
+ }
63
+ try {
64
+ if (await u.value.validate()) {
65
+ const l = u.value.getFormData();
66
+ if (!e.value) {
67
+ n.error(a?.("MCPFORMDIALOG.MCP_ID_REQUIRED") || "缺少MCP ID,无法更新"), m.value = !1;
68
+ return;
69
+ }
70
+ const { updateMcp: p } = E(), C = await p(e.value, l);
71
+ if (C.code === 0)
72
+ n.success(a?.("MCPFORMDIALOG.UPDATE_SUCCESS") || "更新MCP成功"), d(r), g && g(l, e.value), t && t("refresh");
73
+ else if (C.code === -1)
74
+ console.error("更新MCP失败,返回数据异常:", C), n.error(C.msg || a?.("MCPFORMDIALOG.UPDATE_FAIL"));
75
+ else {
76
+ const v = C.msg || a?.("MCPFORMDIALOG.UPDATE_FAIL") || "更新MCP失败";
77
+ n.error(v), M && M(new Error(v));
78
+ }
79
+ }
80
+ } catch (o) {
81
+ console.error("表单提交错误:", o), n.error(o.message || a?.("MCPFORMDIALOG.UPDATE_FAIL") || "更新MCP失败"), M && M(o);
82
+ } finally {
83
+ m.value = !1;
84
+ }
85
+ }
86
+ };
87
+ }
88
+ const q = {
89
+ class: /* @__PURE__ */ b("custom-mcp-dialog__footer")
90
+ }, j = {
91
+ __name: "McpFormDialog",
92
+ emits: ["refresh"],
93
+ setup(_, { expose: a, emit: g }) {
94
+ const { getMcpDetail: M, updateMcp: E, createMcp: s } = y(), { t: e } = V(), { dialogRef: m, showDialog: u, hideDialog: I } = x(), d = g, R = X(), r = f(!1), t = f(null), o = f(null), l = f(!1), p = () => {
95
+ r.value = !1, o.value = null, u();
96
+ }, C = async (P) => {
97
+ r.value = !0, o.value = P.bnid, u();
98
+ try {
99
+ const c = await M(P.bnid);
100
+ c.code === 0 && c.data ? (await U(), t.value && t.value.setFormData(c.data)) : I();
101
+ } catch (c) {
102
+ console.error("获取MCP详情失败:", c), I();
103
+ }
104
+ }, v = () => {
105
+ I(), o.value = null;
106
+ }, S = async () => {
107
+ if (l.value = !0, !t.value) {
108
+ console.error("表单引用不存在");
109
+ return;
110
+ }
111
+ try {
112
+ if (await t.value.validate()) {
113
+ const c = t.value.getFormData();
114
+ if (r.value) {
115
+ if (!o.value) {
116
+ n.error(
117
+ e("MCPFORMDIALOG.MCP_ID_REQUIRED") || "缺少MCP ID,无法更新"
118
+ );
119
+ return;
120
+ }
121
+ const i = await E(o.value, c);
122
+ i.code === 0 ? (n.success(e("MCPFORMDIALOG.UPDATE_SUCCESS") || "更新MCP成功"), v(), d("refresh")) : i.code === -1 && (console.error("更新MCP失败,返回数据异常:", i), n.error(i.msg || e("MCPFORMDIALOG.UPDATE_FAIL")));
123
+ } else {
124
+ const i = await s(c);
125
+ if (console.log("创建MCP响应:", i), i.code === 0) {
126
+ const T = i.data;
127
+ n.success(e("MCPFORMDIALOG.CREATE_SUCCESS") || "创建MCP成功"), v(), d("refresh"), T ? R.push({
128
+ name: "MCPTool",
129
+ params: {
130
+ bnId: T
131
+ }
132
+ }) : console.warn("创建MCP成功,但未返回bnid,无法跳转");
133
+ } else
134
+ console.error("创建MCP失败,返回数据异常:", i);
135
+ }
136
+ }
137
+ } catch (P) {
138
+ console.error("表单提交错误:", P);
139
+ } finally {
140
+ l.value = !1;
141
+ }
142
+ };
143
+ return a({ showCreateDialog: p, showEditDialog: C }), (P, c) => (N(), G(D($), {
144
+ class: b("custom-mcp-dialog"),
145
+ width: "520px",
146
+ ref_key: "dialogRef",
147
+ ref: m
148
+ }, {
149
+ title: A(() => [
150
+ L("div", null, F(D(e)("MCPFORMDIALOG.TITLE")), 1)
151
+ ]),
152
+ footer: A(() => [
153
+ L("div", q, [
154
+ O(D(w), { onClick: v }, {
155
+ default: A(() => [
156
+ h(F(D(e)("COMMON_BUTTON.CANCEL_TEXT")), 1)
157
+ ]),
158
+ _: 1
159
+ }),
160
+ O(D(w), {
161
+ color: "var(--el-color-primary)",
162
+ type: "primary",
163
+ onClick: c[0] || (c[0] = (i) => S()),
164
+ loading: l.value
165
+ }, {
166
+ default: A(() => [
167
+ h(F(D(e)("COMMON_BUTTON.CONFIRM_TEXT")), 1)
168
+ ]),
169
+ _: 1
170
+ }, 8, ["loading"])
171
+ ])
172
+ ]),
173
+ default: A(() => [
174
+ O(D(k), {
175
+ ref_key: "createFormRef",
176
+ ref: t
177
+ }, null, 512)
178
+ ]),
179
+ _: 1
180
+ }, 512));
181
+ }
182
+ }, H = /* @__PURE__ */ Q(j, [["__scopeId", "data-v-59311b3b"]]), se = B(H);
183
+ export {
184
+ se as McpFormDialog,
185
+ se as default,
186
+ ae as useMcpEditDialog
187
+ };
@@ -0,0 +1,119 @@
1
+ import { w as C } from "./chunks/index.bCzIhWFw.js";
2
+ import { computed as m, createElementBlock as r, openBlock as a, normalizeClass as f, createCommentVNode as d, createVNode as u, createTextVNode as p, createBlock as v, toDisplayString as y, unref as l, withCtx as i, Fragment as S, renderList as k, renderSlot as z } from "vue";
3
+ import { ElTooltip as V, ElIcon as N, ElRadioGroup as T, ElRadio as q } from "element-plus";
4
+ import { IconTip as B } from "color-message-aibox-vue";
5
+ import { _ as E } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
6
+ import './assets/RadioGroup.css';const G = {
7
+ key: 0,
8
+ class: "field-label"
9
+ }, R = {
10
+ key: 0,
11
+ class: "required"
12
+ }, I = {
13
+ __name: "RadioGroup",
14
+ props: {
15
+ modelValue: {
16
+ type: [String, Number, null],
17
+ required: !1,
18
+ default: null
19
+ },
20
+ options: {
21
+ type: Array,
22
+ required: !0,
23
+ default: () => []
24
+ },
25
+ label: {
26
+ type: String,
27
+ default: ""
28
+ },
29
+ required: {
30
+ type: Boolean,
31
+ default: !1
32
+ },
33
+ className: {
34
+ type: String,
35
+ default: ""
36
+ },
37
+ direction: {
38
+ type: String,
39
+ default: "horizontal",
40
+ // horizontal | vertical
41
+ validator: (e) => ["horizontal", "vertical"].includes(e)
42
+ },
43
+ layout: {
44
+ type: String,
45
+ default: "horizontal",
46
+ // horizontal | vertical (controls label and radio group layout)
47
+ validator: (e) => ["horizontal", "vertical"].includes(e)
48
+ },
49
+ tipText: {
50
+ type: String,
51
+ default: ""
52
+ },
53
+ disabled: {
54
+ type: Boolean,
55
+ default: !1
56
+ }
57
+ },
58
+ emits: ["update:modelValue", "change"],
59
+ setup(e, { emit: g }) {
60
+ const n = e, s = g, h = m(() => n.layout === "vertical" ? "container-vertical" : ""), b = m(() => {
61
+ const t = n.className, c = n.direction === "vertical" ? "radio-group-vertical" : "radio-group-horizontal";
62
+ return `${t} ${c}`.trim();
63
+ }), x = (t) => {
64
+ s("update:modelValue", t), s("change", t);
65
+ };
66
+ return (t, c) => (a(), r("div", {
67
+ class: f(["radio-group-container", h.value])
68
+ }, [
69
+ e.label ? (a(), r("div", G, [
70
+ e.required ? (a(), r("span", R, "*")) : d("", !0),
71
+ p(" " + y(e.label) + " ", 1),
72
+ e.tipText ? (a(), v(l(V), {
73
+ key: 1,
74
+ content: e.tipText,
75
+ placement: "top"
76
+ }, {
77
+ default: i(() => [
78
+ u(l(N), {
79
+ style: { "margin-left": "4px" },
80
+ size: "14px",
81
+ color: "#999"
82
+ }, {
83
+ default: i(() => [
84
+ u(l(B))
85
+ ]),
86
+ _: 1
87
+ })
88
+ ]),
89
+ _: 1
90
+ }, 8, ["content"])) : d("", !0)
91
+ ])) : d("", !0),
92
+ u(l(T), {
93
+ "model-value": e.modelValue,
94
+ class: f(b.value),
95
+ disabled: e.disabled,
96
+ onChange: x
97
+ }, {
98
+ default: i(() => [
99
+ (a(!0), r(S, null, k(e.options, (o) => (a(), v(l(q), {
100
+ key: o.value,
101
+ class: "radio-item",
102
+ value: o.value
103
+ }, {
104
+ default: i(() => [
105
+ p(y(o.label) + " ", 1),
106
+ z(t.$slots, o.value, {}, void 0, !0)
107
+ ]),
108
+ _: 2
109
+ }, 1032, ["value"]))), 128))
110
+ ]),
111
+ _: 3
112
+ }, 8, ["model-value", "class", "disabled"])
113
+ ], 2));
114
+ }
115
+ }, w = /* @__PURE__ */ E(I, [["__scopeId", "data-v-f3d9d53f"]]), L = C(w);
116
+ export {
117
+ L as RadioGroup,
118
+ L as default
119
+ };
@@ -5,8 +5,8 @@ import { useRouter as Ee, useRoute as fe } from "vue-router";
5
5
  import { ElIcon as W, ElTooltip as oe, ElCheckbox as Pe, ElButton as me, ElSelect as $, ElOption as ee, ElTag as ue, ElInputNumber as Le, ElForm as Be, ElFormItem as F, ElInput as re, ElSwitch as ce, ElMessage as de } from "element-plus";
6
6
  import { _ as k } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
7
7
  import { g as He } from "./chunks/request.24c3shPx.js";
8
- import { C as pe, f as Ve, b as te, g as y, A as X, i as we, h as Ne, S as le, a as xe, k as ke } from "./chunks/config.DcoKERMt.js";
9
- import { I as Mt, L as Xt, O as Yt, P as Wt, c as zt, d as qt, e as jt, R as Qt, s as Jt, j as Zt } from "./chunks/config.DcoKERMt.js";
8
+ import { C as pe, f as Ve, b as te, g as y, A as X, i as we, h as Ne, S as le, a as xe, k as ke } from "./chunks/config.CgrPt4Zx.js";
9
+ import { I as Mt, L as Xt, O as Yt, P as Wt, c as zt, d as qt, e as jt, R as Qt, s as Jt, j as Zt } from "./chunks/config.CgrPt4Zx.js";
10
10
  import { AvailableRangeSetting as Ge } from "./AvailableRangeSetting.mjs";
11
11
  import { D as _e } from "./chunks/index.5lH4UH_M.js";
12
12
  import { P as el } from "./chunks/index.5lH4UH_M.js";
@@ -1 +1 @@
1
- .upload-preview[data-v-66c3b4f9]{display:flex;flex-wrap:wrap}.upload-preview .preview-item[data-v-66c3b4f9]{position:relative;width:64px;height:64px;margin-right:10px;display:inline-block;cursor:pointer}.upload-preview .preview-item__img[data-v-66c3b4f9]{width:64px;height:64px;display:block;border:1px dashed #ccc;border-radius:5px;cursor:pointer}.upload-preview .preview-item__mask[data-v-66c3b4f9]{display:none;width:100%;height:100%;position:absolute;border-radius:5px;left:0;top:0;background:#000;opacity:.6;text-align:center;line-height:75px}.upload-preview .preview-item__mask--view[data-v-66c3b4f9]{font-size:18px;color:#fff;cursor:pointer;margin-right:10px}.upload-preview .preview-item__mask--delete[data-v-66c3b4f9]{font-size:18px;color:#fff;cursor:pointer}.upload-preview .preview-item:hover .preview-item__mask[data-v-66c3b4f9]{display:block}.panel-preview[data-v-66c3b4f9]{background-color:#fff;width:100%}.panel-preview__row[data-v-66c3b4f9]{margin:10px 0}.panel-preview__box[data-v-66c3b4f9]{display:flex;width:calc(100% - 70px);align-items:center;cursor:pointer}.panel-preview__item[data-v-66c3b4f9]{padding:15px;box-sizing:border-box;border-radius:4px;border:1px solid #f0f0f0;margin-bottom:12px;display:flex;justify-content:space-between;align-items:center}.panel-preview__item>div[data-v-66c3b4f9]{display:flex}.panel-preview__name[data-v-66c3b4f9]{font-family:"Alibaba PuHuiTi 3-55";font-weight:400;font-size:14px;color:var(--el-color-primary);margin-left:5px}.panel-preview__img[data-v-66c3b4f9]{width:32px;height:32px;border-radius:4px}.ai-box-tabs[data-v-f526f5ca]{display:inline-block;height:auto!important;padding:2px;height:32px;background:#f5f5f5;border-radius:4px}.ai-box-tabs ul[data-v-f526f5ca]{display:flex}.ai-box-tabs ul li[data-v-f526f5ca]{padding:4px 12px;cursor:pointer;border-radius:4px;transition:all .3s}.ai-box-tabs ul li[data-v-f526f5ca]:hover{background:#ffffff80}.ai-box-tabs ul li.current[data-v-f526f5ca]{background:#fff!important;box-shadow:0 9px 28px 8px #0000000d,0 6px 16px #00000014,0 3px 6px -4px #0000001f}.delete-title[data-v-71205bec]{color:var(--color-text-base);display:flex;align-items:center}.delete-title .warning-icon[data-v-71205bec]{color:var(--el-color-warning);margin-right:12px;font-size:18px}.delete-tabs[data-v-71205bec]{margin-top:8px;padding:14px;background:#fafafa;border-radius:8px}.delete-tabs[data-v-71205bec] .ai-box-tabs{display:inline-block;height:auto!important;padding:2px;height:32px;box-shadow:0 9px 28px 8px #0000000d,0 6px 16px #00000014,0 3px 6px -4px #0000001f;background:#f5f5f5;border-radius:4px}.delete-tabs[data-v-71205bec] .ai-box-tabs ul li{margin-right:0}.delete-tabs[data-v-71205bec] .ai-box-tabs ul li.current{background:#fff!important;box-shadow:0 9px 28px 8px #0000000d,0 6px 16px #00000014,0 3px 6px -4px #0000001f}.delete-tabs .resource-list[data-v-71205bec]{margin-top:12px}.delete-tabs .resource-list .resource-item[data-v-71205bec]:hover{background-color:#f5f5f5}.delete-tabs .resource-list .resource-item[data-v-71205bec]{display:flex;align-items:center;cursor:pointer;padding:12px;border-radius:8px;height:56px;margin-bottom:4px}.delete-tabs .resource-list .resource-item .flow-name__icon[data-v-71205bec],.delete-tabs .resource-list .resource-item .flow-name__icon-placeholder[data-v-71205bec]{width:32px;height:32px;margin-right:8px;background-color:#f0f0f0;border-radius:4px}.delete-tabs .resource-list .resource-item .item-title[data-v-71205bec]{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:400;font-size:14px;color:#262626;line-height:20px}.cursor-pointer[data-v-36a3918c]{cursor:pointer}.vertical-form[data-v-36a3918c]{max-height:60vh;width:100%;overflow-y:auto;padding-right:24px}.vertical-form[data-v-36a3918c]::-webkit-scrollbar{width:6px;height:6px}.vertical-form[data-v-36a3918c]::-webkit-scrollbar-thumb{border-radius:3px;background:#0003}.vertical-form[data-v-36a3918c]::-webkit-scrollbar-track{border-radius:3px;background:#0000001a}.vertical-form[data-v-36a3918c] .el-form-item{display:flex;flex-direction:column;align-items:flex-start;margin-bottom:20px}.vertical-form[data-v-36a3918c] .el-form-item:last-child{margin-bottom:0}.vertical-form[data-v-36a3918c] .el-form-item .el-form-item__label{text-align:left;padding:0;margin-bottom:4px}.vertical-form[data-v-36a3918c] .el-form-item .el-form-item__label-wrap{margin-left:0!important}.vertical-form[data-v-36a3918c] .el-form-item .el-form-item__content{width:100%;margin-left:0!important}.dialog-footer[data-v-36a3918c]{padding-right:24px}[data-v-36a3918c] .el-textarea__inner::-webkit-scrollbar{width:6px}[data-v-36a3918c] .el-textarea__inner::-webkit-scrollbar-thumb{border-radius:3px}.custom-model-dialog{padding-right:0!important}
1
+ .upload-preview[data-v-58503153]{display:flex;flex-wrap:wrap}.upload-preview .preview-item[data-v-58503153]{position:relative;width:64px;height:64px;margin-right:10px;display:inline-block;cursor:pointer}.upload-preview .preview-item__img[data-v-58503153]{width:64px;height:64px;display:block;border:1px dashed #ccc;border-radius:5px;cursor:pointer}.upload-preview .preview-item__mask[data-v-58503153]{display:none;width:100%;height:100%;position:absolute;border-radius:5px;left:0;top:0;background:#000;opacity:.6;text-align:center;line-height:75px}.upload-preview .preview-item__mask--view[data-v-58503153]{font-size:18px;color:#fff;cursor:pointer;margin-right:10px}.upload-preview .preview-item__mask--delete[data-v-58503153]{font-size:18px;color:#fff;cursor:pointer}.upload-preview .preview-item:hover .preview-item__mask[data-v-58503153]{display:block}.panel-preview[data-v-58503153]{background-color:#fff;width:100%}.panel-preview__row[data-v-58503153]{margin:10px 0}.panel-preview__box[data-v-58503153]{display:flex;width:calc(100% - 70px);align-items:center;cursor:pointer}.panel-preview__item[data-v-58503153]{padding:15px;box-sizing:border-box;border-radius:4px;border:1px solid #f0f0f0;margin-bottom:12px;display:flex;justify-content:space-between;align-items:center}.panel-preview__item>div[data-v-58503153]{display:flex}.panel-preview__name[data-v-58503153]{font-family:"Alibaba PuHuiTi 3-55";font-weight:400;font-size:14px;color:var(--el-color-primary);margin-left:5px}.panel-preview__img[data-v-58503153]{width:32px;height:32px;border-radius:4px}.ai-box-tabs[data-v-82d3878d]{display:inline-block;height:auto!important;padding:2px;height:32px;background:#f5f5f5;border-radius:4px}.ai-box-tabs ul[data-v-82d3878d]{display:flex}.ai-box-tabs ul li[data-v-82d3878d]{padding:4px 12px;cursor:pointer;border-radius:4px;transition:all .3s}.ai-box-tabs ul li[data-v-82d3878d]:hover{background:#ffffff80}.ai-box-tabs ul li.current[data-v-82d3878d]{background:#fff!important;box-shadow:0 9px 28px 8px #0000000d,0 6px 16px #00000014,0 3px 6px -4px #0000001f}.delete-title[data-v-047a5991]{color:var(--color-text-base);display:flex;align-items:center}.delete-title .warning-icon[data-v-047a5991]{color:var(--el-color-warning);margin-right:12px;font-size:18px}.delete-tabs[data-v-047a5991]{margin-top:8px;padding:14px;background:#fafafa;border-radius:8px}.delete-tabs[data-v-047a5991] .ai-box-tabs{display:inline-block;height:auto!important;padding:2px;height:32px;box-shadow:0 9px 28px 8px #0000000d,0 6px 16px #00000014,0 3px 6px -4px #0000001f;background:#f5f5f5;border-radius:4px}.delete-tabs[data-v-047a5991] .ai-box-tabs ul li{margin-right:0}.delete-tabs[data-v-047a5991] .ai-box-tabs ul li.current{background:#fff!important;box-shadow:0 9px 28px 8px #0000000d,0 6px 16px #00000014,0 3px 6px -4px #0000001f}.delete-tabs .resource-list[data-v-047a5991]{margin-top:12px}.delete-tabs .resource-list .resource-item[data-v-047a5991]:hover{background-color:#f5f5f5}.delete-tabs .resource-list .resource-item[data-v-047a5991]{display:flex;align-items:center;cursor:pointer;padding:12px;border-radius:8px;height:56px;margin-bottom:4px}.delete-tabs .resource-list .resource-item .flow-name__icon[data-v-047a5991],.delete-tabs .resource-list .resource-item .flow-name__icon-placeholder[data-v-047a5991]{width:32px;height:32px;margin-right:8px;background-color:#f0f0f0;border-radius:4px}.delete-tabs .resource-list .resource-item .item-title[data-v-047a5991]{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:400;font-size:14px;color:#262626;line-height:20px}.cursor-pointer[data-v-ed4f0da0]{cursor:pointer}.vertical-form[data-v-ed4f0da0]{max-height:60vh;width:100%;overflow-y:auto;padding-right:24px}.vertical-form[data-v-ed4f0da0]::-webkit-scrollbar{width:6px;height:6px}.vertical-form[data-v-ed4f0da0]::-webkit-scrollbar-thumb{border-radius:3px;background:#0003}.vertical-form[data-v-ed4f0da0]::-webkit-scrollbar-track{border-radius:3px;background:#0000001a}.vertical-form[data-v-ed4f0da0] .el-form-item{display:flex;flex-direction:column;align-items:flex-start;margin-bottom:20px}.vertical-form[data-v-ed4f0da0] .el-form-item:last-child{margin-bottom:0}.vertical-form[data-v-ed4f0da0] .el-form-item .el-form-item__label{text-align:left;padding:0;margin-bottom:4px}.vertical-form[data-v-ed4f0da0] .el-form-item .el-form-item__label-wrap{margin-left:0!important}.vertical-form[data-v-ed4f0da0] .el-form-item .el-form-item__content{width:100%;margin-left:0!important}.dialog-footer[data-v-ed4f0da0]{padding-right:24px}[data-v-ed4f0da0] .el-textarea__inner::-webkit-scrollbar{width:6px}[data-v-ed4f0da0] .el-textarea__inner::-webkit-scrollbar-thumb{border-radius:3px}.custom-model-dialog{padding-right:0!important}
@@ -0,0 +1 @@
1
+ .auth-section[data-v-ce4d7772]{height:100%;overflow:auto;display:flex;flex-direction:column;gap:16px;margin-bottom:16px}.auth-section .auth-input-field[data-v-ce4d7772]{display:flex;flex-direction:column;gap:8px}.auth-section .auth-input-field .field-label[data-v-ce4d7772]{display:flex;align-items:center;font-size:14px;font-weight:500;color:#262626;white-space:nowrap}.auth-section .auth-input-field .field-label .required[data-v-ce4d7772]{color:#ff4d4f;margin-right:4px}.auth-section .error-input[data-v-ce4d7772] .el-input__wrapper{border:1px solid #f00!important;box-shadow:none!important;height:32px!important}.auth-section .error-message[data-v-ce4d7772]{color:red;font-size:12px;margin-left:12px}
@@ -0,0 +1 @@
1
+ .code-viewer[data-v-29ff9bad]{padding:10px;border-radius:5px;height:100%;background-color:#fff;position:relative}.code-viewer__copy[data-v-29ff9bad]{position:absolute;right:10px;top:10px;z-index:9;cursor:pointer}.code-viewer.no-padding[data-v-29ff9bad],.code-viewer.no-padding[data-v-29ff9bad] .cm-editor{padding:0}.code-viewer.dark[data-v-29ff9bad],.code-viewer.dark[data-v-29ff9bad] .cm-editor{background-color:#282c34}
@@ -0,0 +1 @@
1
+ [data-v-a92d9b79] .el-input .el-input__inner,[data-v-a92d9b79] .el-input .el-input__wrapper,[data-v-a92d9b79] .el-select .el-input__inner,[data-v-a92d9b79] .el-select .el-input__wrapper{border-color:#d9d9d9!important}[data-v-a92d9b79] .el-input .el-input__inner:hover,[data-v-a92d9b79] .el-input .el-input__inner:focus,[data-v-a92d9b79] .el-input .el-input__wrapper:hover,[data-v-a92d9b79] .el-input .el-input__wrapper:focus,[data-v-a92d9b79] .el-select .el-input__inner:hover,[data-v-a92d9b79] .el-select .el-input__inner:focus,[data-v-a92d9b79] .el-select .el-input__wrapper:hover,[data-v-a92d9b79] .el-select .el-input__wrapper:focus{border-color:#d9d9d9!important}[data-v-a92d9b79] .el-select{width:100%}[data-v-a92d9b79] .el-select .el-input__wrapper{border-color:#d9d9d9!important}.scrollable-form[data-v-a92d9b79]{max-height:500px;width:100%;overflow-y:auto;padding-right:24px}.scrollable-form .el-radio-group .el-radio[data-v-a92d9b79] .radio-item{min-width:80px!important}.scrollable-form[data-v-a92d9b79]::-webkit-scrollbar{width:6px;height:6px}.scrollable-form[data-v-a92d9b79]::-webkit-scrollbar-thumb{border-radius:3px;background:#0003}.scrollable-form[data-v-a92d9b79]::-webkit-scrollbar-track{border-radius:3px;background:#0000001a}.scrollable-form[data-v-a92d9b79] .el-form-item__label{color:var(--color-text-base)!important}.label-with-icon[data-v-a92d9b79]{display:inline-flex;align-items:center;gap:3px}.label-with-icon[data-v-a92d9b79] .el-icon{font-size:14px}.auth-section-wrapper[data-v-a92d9b79]{margin-top:16px;margin-bottom:16px}.auth-section-wrapper[data-v-a92d9b79] .radio-item{min-width:0px}[data-v-a92d9b79] .radio-item{min-width:0px;margin-right:0}
@@ -0,0 +1 @@
1
+ .upload-preview[data-v-fe542fce]{display:flex;flex-wrap:wrap}.upload-preview .preview-item[data-v-fe542fce]{position:relative;width:64px;height:64px;margin-right:10px;display:inline-block;cursor:pointer}.upload-preview .preview-item__img[data-v-fe542fce]{width:64px;height:64px;display:block;border:1px dashed #ccc;border-radius:5px;cursor:pointer}.upload-preview .preview-item__mask[data-v-fe542fce]{display:none;width:100%;height:100%;position:absolute;border-radius:5px;left:0;top:0;background:#000;opacity:.6;text-align:center;line-height:75px}.upload-preview .preview-item__mask--view[data-v-fe542fce]{font-size:18px;color:#fff;cursor:pointer;margin-right:10px}.upload-preview .preview-item__mask--delete[data-v-fe542fce]{font-size:18px;color:#fff;cursor:pointer}.upload-preview .preview-item:hover .preview-item__mask[data-v-fe542fce]{display:block}.panel-preview[data-v-fe542fce]{background-color:#fff;width:100%}.panel-preview__row[data-v-fe542fce]{margin:10px 0}.panel-preview__box[data-v-fe542fce]{display:flex;width:calc(100% - 70px);align-items:center;cursor:pointer}.panel-preview__item[data-v-fe542fce]{padding:15px;box-sizing:border-box;border-radius:4px;border:1px solid #f0f0f0;margin-bottom:12px;display:flex;justify-content:space-between;align-items:center}.panel-preview__item>div[data-v-fe542fce]{display:flex}.panel-preview__name[data-v-fe542fce]{font-family:"Alibaba PuHuiTi 3-55";font-weight:400;font-size:14px;color:var(--el-color-primary);margin-left:5px}.panel-preview__img[data-v-fe542fce]{width:32px;height:32px;border-radius:4px}
@@ -0,0 +1 @@
1
+ .title-tip[data-v-59311b3b]{font-size:14px;color:#aaa}.custom-mcp-dialog{padding-right:0!important}.custom-mcp-dialog__footer{padding-right:24px!important}