aibox-custom-component-packages 0.0.6 → 0.0.7

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 (153) hide show
  1. package/es/AddOrEditSupplierDialog.mjs +786 -0
  2. package/es/ApplicationTypeTag.mjs +58 -0
  3. package/es/AuthSection.mjs +199 -0
  4. package/es/AutoShowTooltip.mjs +90 -0
  5. package/es/AvailableRangePreview.mjs +1 -1
  6. package/es/AvailableRangeSetting.mjs +11 -10
  7. package/es/CodeView.mjs +7 -0
  8. package/es/CommonTagsList.mjs +4 -4
  9. package/es/CreateMcpForm.mjs +384 -0
  10. package/es/CustomSidebar.mjs +712 -0
  11. package/es/CustomTitle.mjs +7 -0
  12. package/es/CustomToggle.mjs +170 -0
  13. package/es/DialogContainer.mjs +21 -21
  14. package/es/FileDisplay.mjs +6 -0
  15. package/es/FilePreview.mjs +179 -0
  16. package/es/FileUploader.mjs +266 -9
  17. package/es/McpFormDialog.mjs +8 -0
  18. package/es/McpParamsSet.mjs +630 -0
  19. package/es/MdEditor.mjs +201 -0
  20. package/es/PageContainer.mjs +360 -11
  21. package/es/ParameterTable.mjs +2288 -0
  22. package/es/PublishRecord.mjs +6 -6
  23. package/es/RadioGroup.mjs +119 -0
  24. package/es/SourcePublish.mjs +6 -6
  25. package/es/Table.mjs +2 -2
  26. package/es/assets/AddOrEditSupplierDialog.css +1 -0
  27. package/es/assets/AiboxTable.css +1 -0
  28. package/es/assets/ApplicationTypeTag.css +1 -0
  29. package/es/assets/AuthSection.css +1 -0
  30. package/es/assets/AutoShowTooltip.css +1 -0
  31. package/es/assets/CreateMcpForm.css +1 -0
  32. package/es/assets/CustomSidebar.css +1 -0
  33. package/es/assets/CustomToggle.css +1 -0
  34. package/es/assets/FilePreview.css +1 -0
  35. package/es/assets/FileUploader.css +1 -0
  36. package/es/assets/McpParamsSet.css +1 -0
  37. package/es/assets/MdEditor.css +1 -0
  38. package/es/assets/PageContainer.css +1 -0
  39. package/es/assets/ParameterTable.css +1 -0
  40. package/es/assets/RadioGroup.css +1 -0
  41. package/es/assets/index.css +1 -1
  42. package/es/assets/index2.css +1 -1
  43. package/es/assets/index3.css +1 -0
  44. package/es/assets/index4.css +1 -0
  45. package/es/assets/index5.css +1 -0
  46. package/es/assets/index6.css +1 -0
  47. package/es/assets/layout.css +1 -0
  48. package/es/assets/usePreview.css +1 -0
  49. package/es/chunks/AiboxTable.DUGBBVXh.js +645 -0
  50. package/es/chunks/BackBar.B5Er8ZdJ.js +645 -0
  51. package/es/chunks/config.DPkdwjwD.js +49 -0
  52. package/es/chunks/config.Dklrsn-B.js +49 -0
  53. package/es/chunks/config.DqhQdkz7.js +325 -0
  54. package/es/chunks/config.RrNwuFkQ.js +325 -0
  55. package/es/chunks/config.gNZ_rT87.js +325 -0
  56. package/es/chunks/enums.DuBbLcd-.js +83 -0
  57. package/es/chunks/enums.Dvec-maC.js +62 -0
  58. package/es/chunks/field-types.CPnMOjle.js +13 -0
  59. package/es/chunks/files.cduUqjHX.js +16 -0
  60. package/es/chunks/i18n.DDMVloiU.js +443 -0
  61. package/es/chunks/i18n.k9Q_HVMs.js +443 -0
  62. package/es/chunks/index.BSA3IKSF.js +111 -0
  63. package/es/chunks/index.BT1khSY9.js +111 -0
  64. package/es/chunks/index.CDvh263l.js +257 -0
  65. package/es/chunks/index.CLyfh6p1.js +257 -0
  66. package/es/chunks/index.CSjjAi3w.js +396 -0
  67. package/es/chunks/index.CdEBk4F_.js +134 -0
  68. package/es/chunks/index.CgbxJCEU.js +265 -0
  69. package/es/chunks/index.CuDwuRO7.js +265 -0
  70. package/es/chunks/index.DWR4lc30.js +203 -0
  71. package/es/chunks/index.GuEzdh6b.js +257 -0
  72. package/es/chunks/index.uOZzvHrF.js +135 -0
  73. package/es/chunks/layout.BREUWPEJ.js +26 -0
  74. package/es/chunks/publish.DlD0o09n.js +50 -0
  75. package/es/chunks/request.24c3shPx.js +5 -0
  76. package/es/chunks/usePreview.B5lboHeg.js +153 -0
  77. package/es/chunks/usePreview.C36fNlVd.js +153 -0
  78. package/es/index.mjs +325 -312
  79. package/index.css +1 -1
  80. package/lib/AddOrEditSupplierDialog.js +1 -0
  81. package/lib/ApplicationTypeTag.js +1 -0
  82. package/lib/AuthSection.js +1 -0
  83. package/lib/AutoShowTooltip.js +1 -0
  84. package/lib/AvailableRangePreview.js +1 -1
  85. package/lib/AvailableRangeSetting.js +1 -1
  86. package/lib/CodeView.js +1 -0
  87. package/lib/CommonTagsList.js +1 -1
  88. package/lib/CreateMcpForm.js +1 -0
  89. package/lib/CustomSidebar.js +1 -0
  90. package/lib/CustomTitle.js +1 -0
  91. package/lib/CustomToggle.js +1 -0
  92. package/lib/DialogContainer.js +1 -1
  93. package/lib/FileDisplay.js +1 -0
  94. package/lib/FilePreview.js +1 -0
  95. package/lib/FileUploader.js +1 -1
  96. package/lib/McpFormDialog.js +1 -0
  97. package/lib/McpParamsSet.js +1 -0
  98. package/lib/MdEditor.js +1 -0
  99. package/lib/PageContainer.js +1 -1
  100. package/lib/ParameterTable.js +1 -0
  101. package/lib/PublishRecord.js +4 -4
  102. package/lib/RadioGroup.js +1 -0
  103. package/lib/SourcePublish.js +1 -1
  104. package/lib/Table.js +1 -1
  105. package/lib/assets/AddOrEditSupplierDialog.css +1 -0
  106. package/lib/assets/AiboxTable.css +1 -0
  107. package/lib/assets/ApplicationTypeTag.css +1 -0
  108. package/lib/assets/AuthSection.css +1 -0
  109. package/lib/assets/AutoShowTooltip.css +1 -0
  110. package/lib/assets/CreateMcpForm.css +1 -0
  111. package/lib/assets/CustomSidebar.css +1 -0
  112. package/lib/assets/CustomToggle.css +1 -0
  113. package/lib/assets/FilePreview.css +1 -0
  114. package/lib/assets/FileUploader.css +1 -0
  115. package/lib/assets/McpParamsSet.css +1 -0
  116. package/lib/assets/MdEditor.css +1 -0
  117. package/lib/assets/PageContainer.css +1 -0
  118. package/lib/assets/ParameterTable.css +1 -0
  119. package/lib/assets/RadioGroup.css +1 -0
  120. package/lib/assets/index.css +1 -1
  121. package/lib/assets/index2.css +1 -1
  122. package/lib/assets/index3.css +1 -0
  123. package/lib/assets/index4.css +1 -0
  124. package/lib/assets/index5.css +1 -0
  125. package/lib/assets/index6.css +1 -0
  126. package/lib/assets/layout.css +1 -0
  127. package/lib/assets/usePreview.css +1 -0
  128. package/lib/chunks/AiboxTable.BnoHJ7xL.js +1 -0
  129. package/lib/chunks/BackBar.C8Xrc6qW.js +1 -0
  130. package/lib/chunks/config.1oaIKLGn.js +1 -0
  131. package/lib/chunks/config.BF7MO0O5.js +1 -0
  132. package/lib/chunks/enums.DnuzPZCR.js +1 -0
  133. package/lib/chunks/field-types.Ch_2yDfg.js +1 -0
  134. package/lib/chunks/files.B3-8UC0v.js +1 -0
  135. package/lib/chunks/i18n.DgOp_D7R.js +1 -0
  136. package/lib/chunks/index.BZcSlgOO.js +1 -0
  137. package/lib/chunks/index.Bc71XWQn.js +1 -0
  138. package/lib/chunks/index.CH7XdMru.js +1 -0
  139. package/lib/chunks/index.CaidDlAx.js +1 -0
  140. package/lib/chunks/index.D7wBInWr.js +1 -0
  141. package/lib/chunks/index.DGWHQFdx.js +6 -0
  142. package/lib/chunks/index.DME62Yfo.js +1 -0
  143. package/lib/chunks/index.DWohILMv.js +1 -0
  144. package/lib/chunks/index.LK2ulXTE.js +1 -0
  145. package/lib/chunks/index.qDAoOzk9.js +1 -0
  146. package/lib/chunks/index.s8vGOJKG.js +1 -0
  147. package/lib/chunks/layout.sgE9JoNq.js +1 -0
  148. package/lib/chunks/publish.3TrK3fZf.js +1 -0
  149. package/lib/chunks/request.D8T4MgGX.js +1 -0
  150. package/lib/chunks/usePreview.2PZJSy5w.js +1 -0
  151. package/lib/chunks/usePreview.E5SeS2uw.js +1 -0
  152. package/lib/index.js +1 -4
  153. package/package.json +2 -2
@@ -0,0 +1,384 @@
1
+ import { w as k } from "./chunks/index.bCzIhWFw.js";
2
+ import { ref as R, reactive as S, watch as x, createBlock as d, openBlock as C, unref as e, withCtx as u, createVNode as i, createCommentVNode as f, createElementVNode as m, toDisplayString as E, createTextVNode as h } from "vue";
3
+ import { ElForm as Q, ElFormItem as p, ElTooltip as b, ElIcon as F, ElInput as M, ElMessage as T } from "element-plus";
4
+ import { IconTip as U } from "color-message-aibox-vue";
5
+ import { n as K } from "./chunks/usePreview.B5lboHeg.js";
6
+ import { AuthSection as H } from "./AuthSection.mjs";
7
+ import { RadioGroup as j } from "./RadioGroup.mjs";
8
+ import { u as g } from "./chunks/i18n.DDMVloiU.js";
9
+ import { FilePreview as q } from "./FilePreview.mjs";
10
+ import { FileUploader as z } from "./FileUploader.mjs";
11
+ import { MdEditor as W } from "./MdEditor.mjs";
12
+ import { _ as X } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
13
+ import './assets/CreateMcpForm.css';const G = () => {
14
+ const { t: s } = g();
15
+ return {
16
+ rulesObj: {
17
+ name: [
18
+ {
19
+ required: !0,
20
+ message: s("LIBRARY_CREATEMCPFORM.MCP_NAME_PLACEHOLDER"),
21
+ trigger: "blur"
22
+ },
23
+ {
24
+ max: 20,
25
+ message: s("LIBRARY_CREATEMCPFORM.MCP_NAME_MAX"),
26
+ trigger: "blur"
27
+ }
28
+ ],
29
+ description: [
30
+ {
31
+ required: !0,
32
+ message: s("LIBRARY_CREATEMCPFORM.MCP_DESCRIPTION_REQUIRED"),
33
+ trigger: "blur"
34
+ },
35
+ {
36
+ max: 200,
37
+ message: s("LIBRARY_CREATEMCPFORM.MCP_DESCRIPTION_MAX"),
38
+ trigger: "blur"
39
+ }
40
+ ],
41
+ overview: [
42
+ {
43
+ required: !0,
44
+ message: s("LIBRARY_CREATEMCPFORM.MCP_OVERVIEW_REQUIRED"),
45
+ trigger: "blur"
46
+ }
47
+ ],
48
+ address: [
49
+ {
50
+ type: "url",
51
+ required: !0,
52
+ message: s("LIBRARY_CREATEMCPFORM.SERVICE_URL_INVALID"),
53
+ trigger: ["blur", "change"]
54
+ }
55
+ ],
56
+ communicationType: [
57
+ {
58
+ required: !0,
59
+ message: s("LIBRARY_CREATEMCPFORM.TRANSFER_METHOD_REQUIRED"),
60
+ trigger: "change"
61
+ }
62
+ ],
63
+ applyLink: [
64
+ {
65
+ type: "url",
66
+ message: s("LIBRARY_CREATEMCPFORM.DOCUMENTATION_URL_INVALID"),
67
+ trigger: ["blur", "change"]
68
+ }
69
+ ]
70
+ },
71
+ communicationTypeOpts: [
72
+ { label: "SSE", value: "SSE" },
73
+ { label: "Streamable HTTP", value: "HTTP" }
74
+ ]
75
+ };
76
+ }, Z = { class: "label-with-icon" }, $ = { class: "label-with-icon" }, J = { class: "auth-section-wrapper" }, ee = {
77
+ __name: "CreateMcpForm",
78
+ props: {
79
+ // 控制是否显示 MCP 概览字段
80
+ showOverview: {
81
+ type: Boolean,
82
+ default: !1
83
+ }
84
+ },
85
+ setup(s, { expose: O }) {
86
+ const _ = s, { t } = g(), { previewImage: w } = K(), v = R(null), I = R(null), { rulesObj: P, communicationTypeOpts: V } = G(), l = S({
87
+ icon: "",
88
+ iconUrl: "",
89
+ name: "",
90
+ description: "",
91
+ overview: "",
92
+ communicationType: "HTTP",
93
+ // 默认值改为与 options 中的 value 匹配
94
+ address: "",
95
+ applyLink: ""
96
+ }), N = R(V), o = R({
97
+ auth: {
98
+ authType: "none",
99
+ keyType: "custom",
100
+ paramLocation: "header",
101
+ paramName: "",
102
+ paramValue: "",
103
+ token: ""
104
+ }
105
+ }), A = R({
106
+ ...P
107
+ }), L = () => {
108
+ _.showOverview ? A.value.overview = P.overview : delete A.value.overview;
109
+ };
110
+ x(
111
+ () => _.showOverview,
112
+ () => {
113
+ L();
114
+ },
115
+ { immediate: !0 }
116
+ );
117
+ const c = R([]), D = (a) => {
118
+ l.iconUrl = a.url, l.icon = a.bnid, c.value = [a];
119
+ }, B = () => {
120
+ l.iconUrl = "", l.icon = "", c.value = [];
121
+ }, Y = (a) => {
122
+ w(a.url);
123
+ };
124
+ return O({ validate: async (a) => {
125
+ if (!v.value) return !1;
126
+ if (L(), I.value?.validateField) {
127
+ const r = I.value.validateField();
128
+ if (Object.keys(r).length > 0)
129
+ return r.paramName ? T.error(
130
+ t("LIBRARY_CREATEMCPFORM.PARAMETER_NAME_REQUIRED") || "请输入密钥参数名"
131
+ ) : r.paramValue ? T.error(
132
+ t("LIBRARY_CREATEMCPFORM.INPUT_API_KEY_REQUIRED") || "请输入密钥值"
133
+ ) : r.token ? T.error(
134
+ t("LIBRARY_CREATEMCPFORM.INPUT_API_KEY_REQUIRED") || "请输入密钥值"
135
+ ) : T.error(
136
+ t("LIBRARY_CREATEMCPFORM.MCP_AUTH_REQUIRED") || "请完善鉴权信息"
137
+ ), a?.(
138
+ new Error(
139
+ t("LIBRARY_CREATEMCPFORM.MCP_AUTH_REQUIRED") || "请完善鉴权信息"
140
+ )
141
+ ), !1;
142
+ }
143
+ return v.value.validate(a);
144
+ }, getFormData: () => ({
145
+ name: l.name,
146
+ icon: l.icon,
147
+ // iconUrl: ruleForm.iconUrl,
148
+ description: l.description,
149
+ overview: _.showOverview ? l.overview : "",
150
+ // 根据是否显示返回概览值
151
+ address: l.address,
152
+ communicationType: l.communicationType,
153
+ // 鉴权相关字段
154
+ authType: o.value.auth.authType === "none" ? 0 : 1,
155
+ // none->0, apiKey->1
156
+ authLocation: o.value.auth.paramLocation === "header" ? 0 : 1,
157
+ // header->0, query->1
158
+ apiKeyName: o.value.auth.keyType === "bearer" ? "Authorization" : o.value.auth.paramName || "",
159
+ apiKeyValue: o.value.auth.keyType === "bearer" ? o.value.auth.token ? `Bearer ${o.value.auth.token}` : "" : o.value.auth.paramValue || "",
160
+ // 可选字段
161
+ applyLink: l.applyLink || "",
162
+ headerPrefixType: 1
163
+ }), setFormData: (a) => {
164
+ if (!a) return;
165
+ Object.assign(l, {
166
+ name: a.name || "",
167
+ description: a.description || "",
168
+ overview: a.overview || "",
169
+ icon: a.icon || "",
170
+ iconUrl: a.iconUrl || "",
171
+ communicationType: a.communicationType || "SSE",
172
+ address: a.address || "",
173
+ applyLink: a.applyLink || ""
174
+ });
175
+ const r = a.authType === 1 || a.authType === "1";
176
+ if (o.value.auth.authType = r ? "apiKey" : "none", o.value.auth.paramLocation = a.authLocation === 0 || a.authLocation === "0" ? "header" : "query", r) {
177
+ const n = !a.apiKeyName || a.apiKeyName === "Authorization";
178
+ if (o.value.auth.keyType = n ? "bearer" : "custom", n) {
179
+ o.value.auth.paramName = "", o.value.auth.paramValue = "";
180
+ const y = a.apiKeyValue || "";
181
+ o.value.auth.token = y.startsWith("Bearer ") ? y.substring(7) : y;
182
+ } else
183
+ o.value.auth.paramName = a.apiKeyName || "", o.value.auth.paramValue = a.apiKeyValue || "", o.value.auth.token = "";
184
+ } else
185
+ o.value.auth.keyType = "custom", o.value.auth.paramName = "", o.value.auth.paramValue = "", o.value.auth.token = "";
186
+ a.icon && a.icon !== "0" && a.iconUrl && (c.value = [{ bnid: a.icon, url: a.iconUrl }]);
187
+ } }), (a, r) => (C(), d(e(Q), {
188
+ ref_key: "ruleFormRef",
189
+ ref: v,
190
+ model: l,
191
+ rules: A.value,
192
+ "label-width": "auto",
193
+ "label-position": "top",
194
+ class: "scrollable-form"
195
+ }, {
196
+ default: u(() => [
197
+ i(e(p), {
198
+ class: "scrollable-form__item",
199
+ label: e(t)("LIBRARY_CREATEMCPFORM.MCP_ICON"),
200
+ prop: "icon"
201
+ }, {
202
+ label: u(() => [
203
+ m("div", Z, [
204
+ m("span", null, E(e(t)("LIBRARY_CREATEMCPFORM.MCP_ICON")), 1),
205
+ i(e(b), { placement: "top" }, {
206
+ content: u(() => [
207
+ h(E(e(t)("LIBRARY_CREATEMCPFORM.MCP_ICON_TIP")), 1),
208
+ r[7] || (r[7] = m("br", null, null, -1)),
209
+ h(" " + E(e(t)("LIBRARY_CREATEMCPFORM.MCP_ICON_SIZE_TIP")), 1)
210
+ ]),
211
+ default: u(() => [
212
+ i(e(F), {
213
+ size: "14px",
214
+ color: "#999"
215
+ }, {
216
+ default: u(() => [
217
+ i(e(U))
218
+ ]),
219
+ _: 1
220
+ })
221
+ ]),
222
+ _: 1
223
+ })
224
+ ])
225
+ ]),
226
+ default: u(() => [
227
+ i(e(q), {
228
+ fileList: c.value,
229
+ previewType: "Card",
230
+ isCustom: !0,
231
+ onOnRemove: B,
232
+ onOnPreview: Y
233
+ }, {
234
+ CardUploader: u(() => [
235
+ c.value.length === 0 ? (C(), d(e(z), {
236
+ key: 0,
237
+ "upload-type": "Card",
238
+ onOnSuccess: D,
239
+ limitSize: 5,
240
+ acceptType: ".jpg,.png",
241
+ businessType: "mcp",
242
+ defaultUploadIcon: "mcp"
243
+ })) : f("", !0)
244
+ ]),
245
+ _: 1
246
+ }, 8, ["fileList"])
247
+ ]),
248
+ _: 1
249
+ }, 8, ["label"]),
250
+ i(e(p), {
251
+ class: "scrollable-form__item",
252
+ label: e(t)("LIBRARY_CREATEMCPFORM.MCP_NAME"),
253
+ prop: "name"
254
+ }, {
255
+ default: u(() => [
256
+ i(e(M), {
257
+ modelValue: l.name,
258
+ "onUpdate:modelValue": r[0] || (r[0] = (n) => l.name = n),
259
+ placeholder: e(t)("LIBRARY_CREATEMCPFORM.MCP_NAME_REQUIRED"),
260
+ maxlength: "20",
261
+ "show-word-limit": ""
262
+ }, null, 8, ["modelValue", "placeholder"])
263
+ ]),
264
+ _: 1
265
+ }, 8, ["label"]),
266
+ i(e(p), {
267
+ class: "scrollable-form__item",
268
+ label: e(t)("LIBRARY_CREATEMCPFORM.MCP_DESCRIPTION"),
269
+ prop: "description"
270
+ }, {
271
+ default: u(() => [
272
+ i(e(M), {
273
+ modelValue: l.description,
274
+ "onUpdate:modelValue": r[1] || (r[1] = (n) => l.description = n),
275
+ type: "textarea",
276
+ rows: 3,
277
+ placeholder: e(t)("LIBRARY_CREATEMCPFORM.MCP_DESCRIPTION_REQUIRED"),
278
+ maxlength: "200",
279
+ "show-word-limit": ""
280
+ }, null, 8, ["modelValue", "placeholder"])
281
+ ]),
282
+ _: 1
283
+ }, 8, ["label"]),
284
+ s.showOverview ? (C(), d(e(p), {
285
+ key: 0,
286
+ class: "scrollable-form__item",
287
+ label: e(t)("LIBRARY_CREATEMCPFORM.MCP_OVERVIEW"),
288
+ prop: "overview"
289
+ }, {
290
+ default: u(() => [
291
+ i(e(W), {
292
+ modelValue: l.overview,
293
+ "onUpdate:modelValue": r[2] || (r[2] = (n) => l.overview = n),
294
+ height: "300px",
295
+ placeholder: e(t)("LIBRARY_CREATEMCPFORM.MCP_OVERVIEW_REQUIRED"),
296
+ businessType: "mcp"
297
+ }, null, 8, ["modelValue", "placeholder"])
298
+ ]),
299
+ _: 1
300
+ }, 8, ["label"])) : f("", !0),
301
+ i(e(p), {
302
+ class: "scrollable-form__item",
303
+ label: e(t)("LIBRARY_CREATEMCPFORM.TRANSFER_METHOD"),
304
+ prop: "communicationType"
305
+ }, {
306
+ default: u(() => [
307
+ i(e(j), {
308
+ modelValue: l.communicationType,
309
+ "onUpdate:modelValue": r[3] || (r[3] = (n) => l.communicationType = n),
310
+ options: N.value,
311
+ layout: "vertical",
312
+ "class-name": "scrollable-form__item-radio"
313
+ }, null, 8, ["modelValue", "options"])
314
+ ]),
315
+ _: 1
316
+ }, 8, ["label"]),
317
+ i(e(p), {
318
+ class: "scrollable-form__item",
319
+ label: e(t)("LIBRARY_CREATEMCPFORM.SERVICE_URL"),
320
+ prop: "address"
321
+ }, {
322
+ default: u(() => [
323
+ i(e(M), {
324
+ modelValue: l.address,
325
+ "onUpdate:modelValue": r[4] || (r[4] = (n) => l.address = n),
326
+ placeholder: e(t)("LIBRARY_CREATEMCPFORM.SERVICE_URL_REQUIRED")
327
+ }, null, 8, ["modelValue", "placeholder"])
328
+ ]),
329
+ _: 1
330
+ }, 8, ["label"]),
331
+ o.value.auth.authType === "apiKey" ? (C(), d(e(p), {
332
+ key: 1,
333
+ class: "scrollable-form__item",
334
+ prop: "applyLink"
335
+ }, {
336
+ label: u(() => [
337
+ m("div", $, [
338
+ m("span", null, E(e(t)("LIBRARY_CREATEMCPFORM.DOCUMENTATION_URL")), 1),
339
+ i(e(b), { placement: "top" }, {
340
+ content: u(() => [
341
+ h(E(e(t)("LIBRARY_CREATEMCPFORM.DOCUMENTATION_URL_TIP")), 1)
342
+ ]),
343
+ default: u(() => [
344
+ i(e(F), {
345
+ size: "14px",
346
+ color: "#999"
347
+ }, {
348
+ default: u(() => [
349
+ i(e(U))
350
+ ]),
351
+ _: 1
352
+ })
353
+ ]),
354
+ _: 1
355
+ })
356
+ ])
357
+ ]),
358
+ default: u(() => [
359
+ i(e(M), {
360
+ modelValue: l.applyLink,
361
+ "onUpdate:modelValue": r[5] || (r[5] = (n) => l.applyLink = n),
362
+ placeholder: e(t)("LIBRARY_CREATEMCPFORM.DOCUMENTATION_URL_REQUIRED")
363
+ }, null, 8, ["modelValue", "placeholder"])
364
+ ]),
365
+ _: 1
366
+ })) : f("", !0),
367
+ m("div", J, [
368
+ i(e(H), {
369
+ ref_key: "authSectionRef",
370
+ ref: I,
371
+ featData: o.value,
372
+ "onUpdate:featData": r[6] || (r[6] = (n) => o.value = n),
373
+ layout: "vertical"
374
+ }, null, 8, ["featData"])
375
+ ])
376
+ ]),
377
+ _: 1
378
+ }, 8, ["model", "rules"]));
379
+ }
380
+ }, ae = /* @__PURE__ */ X(ee, [["__scopeId", "data-v-ce7c5259"]]), Ce = k(ae);
381
+ export {
382
+ Ce as CreateMcpForm,
383
+ Ce as default
384
+ };