china-mobile-international-custom-components 0.0.40 → 0.0.42
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/ApplicationTypeTag.mjs +1 -1
- package/es/AutoShowTooltip.mjs +92 -0
- package/es/AvailableRangePreview.mjs +1 -1
- package/es/AvailableRangeSetting.mjs +266 -11
- package/es/CommonTagsList.mjs +200 -0
- package/es/DialogContainer.mjs +130 -0
- package/es/FileUploader.mjs +255 -0
- package/es/ParameterTable.mjs +2303 -0
- package/es/SourcePublish.mjs +471 -820
- package/es/Table.mjs +6 -6
- package/es/assets/AutoShowTooltip.css +1 -0
- package/es/assets/AvailableRangeSetting.css +1 -0
- package/es/assets/BackBar.css +1 -1
- package/es/assets/CommonTagsList.css +1 -0
- package/es/assets/DialogContainer.css +1 -0
- package/es/assets/FileUploader.css +1 -0
- package/es/assets/ParameterTable.css +1 -0
- package/es/assets/SourcePublish.css +1 -1
- package/es/assets/index2.css +1 -1
- package/es/chunks/BackBar.DY42HcZy.js +601 -0
- package/es/chunks/{BackBar.DwhmSL-a.js → BackBar.zjPh_z_w.js} +96 -96
- package/es/chunks/config.JrGX09T5.js +435 -0
- package/es/chunks/{i18n.DUrvNBQz.js → i18n.CfMhDOdX.js} +8 -8
- package/es/chunks/index.D1cu8OUn.js +260 -0
- package/es/chunks/index.DENagLDS.js +313 -0
- package/es/chunks/index.DjDvyGXt.js +313 -0
- package/es/chunks/request.24c3shPx.js +5 -0
- package/es/index.mjs +184 -130
- package/lib/ApplicationTypeTag.js +1 -1
- package/lib/AutoShowTooltip.js +1 -0
- package/lib/AvailableRangePreview.js +1 -1
- package/lib/AvailableRangeSetting.js +1 -1
- package/lib/CommonTagsList.js +1 -0
- package/lib/DialogContainer.js +1 -0
- package/lib/FileUploader.js +1 -0
- package/lib/ParameterTable.js +1 -0
- package/lib/SourcePublish.js +1 -1
- package/lib/Table.js +1 -1
- package/lib/assets/AutoShowTooltip.css +1 -0
- package/lib/assets/AvailableRangeSetting.css +1 -0
- package/lib/assets/BackBar.css +1 -1
- package/lib/assets/CommonTagsList.css +1 -0
- package/lib/assets/DialogContainer.css +1 -0
- package/lib/assets/FileUploader.css +1 -0
- package/lib/assets/ParameterTable.css +1 -0
- package/lib/assets/SourcePublish.css +1 -1
- package/lib/assets/index2.css +1 -1
- package/lib/chunks/BackBar.BL8repFN.js +1 -0
- package/lib/chunks/BackBar.By7ouDgL.js +1 -0
- package/lib/chunks/config.CL0cmPQ6.js +1 -0
- package/lib/chunks/index.5Su4CrC-.js +1 -0
- package/lib/chunks/index.B_esKpWv.js +1 -0
- package/lib/chunks/index.zQ1SfvBa.js +1 -0
- package/lib/chunks/request.D8T4MgGX.js +1 -0
- package/lib/index.js +1 -1
- package/package.json +4 -4
- package/es/chunks/index.BcLVH95_.js +0 -4058
- package/es/chunks/index.CSPp4g5C.js +0 -303
- package/es/chunks/index.ClqvUq64.js +0 -302
- package/es/chunks/index.Dh5IGfxO.js +0 -290
- package/es/chunks/index.Doax01RQ.js +0 -254
- package/lib/chunks/BackBar.CYThcqhK.js +0 -1
- package/lib/chunks/i18n.D-d0yyXi.js +0 -6
- package/lib/chunks/index.6X8xsqRJ.js +0 -1
- package/lib/chunks/index.Bk55us0s.js +0 -1
- package/lib/chunks/index.CP9rhXZ5.js +0 -1
- package/lib/chunks/index.CSLWrMRE.js +0 -1
- package/lib/chunks/index.CV29Us4A.js +0 -6
package/es/SourcePublish.mjs
CHANGED
|
@@ -1,415 +1,53 @@
|
|
|
1
|
-
import { w as
|
|
2
|
-
import { createElementBlock as B, openBlock as
|
|
3
|
-
import {
|
|
4
|
-
import { useRouter as
|
|
1
|
+
import { w as ge } from "./chunks/index.bCzIhWFw.js";
|
|
2
|
+
import { createElementBlock as B, openBlock as d, renderSlot as Se, shallowRef as ye, ref as _, onMounted as ne, normalizeStyle as Ie, createVNode as i, unref as e, withCtx as a, createBlock as C, resolveDynamicComponent as Te, resolveComponent as Ue, createCommentVNode as P, normalizeClass as be, createElementVNode as u, createTextVNode as H, toDisplayString as h, getCurrentInstance as Ce, computed as ie, watch as Oe, Fragment as Z, renderList as $, nextTick as ve, withModifiers as Re } from "vue";
|
|
3
|
+
import { u as W } from "./chunks/i18n.CfMhDOdX.js";
|
|
4
|
+
import { useRouter as Ee, useRoute as fe } from "vue-router";
|
|
5
5
|
import { _ as k } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
6
|
-
import { ElIcon as
|
|
7
|
-
import { g as He
|
|
8
|
-
import { S as
|
|
9
|
-
import { P as
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
6
|
+
import { ElIcon as z, ElTooltip as oe, ElCheckbox as Pe, ElButton as me, ElSelect as ee, ElOption as te, ElTag as ue, ElInputNumber as Le, ElForm as Be, ElFormItem as F, ElInput as re, ElSwitch as ce, ElMessage as de } from "element-plus";
|
|
7
|
+
import { g as He } from "./chunks/request.24c3shPx.js";
|
|
8
|
+
import { C as pe, f as Ve, b as le, g as y, A as Y, i as we, h as Ne, S as X, a as xe, k as ke } from "./chunks/config.JrGX09T5.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.JrGX09T5.js";
|
|
10
|
+
import { AvailableRangeSetting as Ge } from "./AvailableRangeSetting.mjs";
|
|
11
|
+
import { D as _e } from "./chunks/index.DjDvyGXt.js";
|
|
12
|
+
import { P as el } from "./chunks/index.DjDvyGXt.js";
|
|
13
|
+
import { IconTip as he } from "color-message-aibox-vue";
|
|
14
|
+
import { A as Fe, _ as De } from "./chunks/BackBar.DY42HcZy.js";
|
|
15
|
+
import { S as D } from "./chunks/config.DE5PZU2F.js";
|
|
16
|
+
import './assets/SourcePublish.css';const Ke = "data:image/png;base64,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", Me = "data:image/png;base64,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", Xe = {}, Ye = { class: "style-title" };
|
|
17
|
+
function We(o, v) {
|
|
18
|
+
return d(), B("div", Ye, [
|
|
19
|
+
Se(o.$slots, "default", {}, void 0, !0)
|
|
16
20
|
]);
|
|
17
21
|
}
|
|
18
|
-
const
|
|
19
|
-
function
|
|
20
|
-
return
|
|
21
|
-
|
|
22
|
+
const se = /* @__PURE__ */ k(Xe, [["render", We], ["__scopeId", "data-v-58195e4c"]]), ze = {}, qe = { class: "card-container" };
|
|
23
|
+
function je(o, v) {
|
|
24
|
+
return d(), B("div", qe, [
|
|
25
|
+
Se(o.$slots, "default", {}, void 0, !0)
|
|
22
26
|
]);
|
|
23
27
|
}
|
|
24
|
-
const
|
|
25
|
-
const { $request:
|
|
28
|
+
const ae = /* @__PURE__ */ k(ze, [["render", je], ["__scopeId", "data-v-d8a76b28"]]), Ae = () => {
|
|
29
|
+
const { $request: o, $env: v } = He();
|
|
26
30
|
return {
|
|
27
|
-
sourcePublish: (
|
|
28
|
-
url: `${
|
|
31
|
+
sourcePublish: (A) => o({
|
|
32
|
+
url: `${v.VITE_APP_AIBOX_BASE_URL}/api/v1/skillets/versions/publish`,
|
|
29
33
|
method: "post",
|
|
30
|
-
data:
|
|
34
|
+
data: A
|
|
31
35
|
}),
|
|
32
|
-
getPublishVersionDetail: (
|
|
33
|
-
url: `${
|
|
36
|
+
getPublishVersionDetail: (A, I) => o({
|
|
37
|
+
url: `${v.VITE_APP_AIBOX_BASE_URL}/api/v1/skillets/versions/${A}/${I}`,
|
|
34
38
|
method: "get"
|
|
35
39
|
}),
|
|
36
|
-
checkVersion: (
|
|
37
|
-
url: `${
|
|
40
|
+
checkVersion: (A) => o({
|
|
41
|
+
url: `${v.VITE_APP_AIBOX_BASE_URL}/api/v1/skillets/versions/exists`,
|
|
38
42
|
method: "get",
|
|
39
|
-
params:
|
|
43
|
+
params: A
|
|
40
44
|
}),
|
|
41
|
-
checkToken: () =>
|
|
42
|
-
url: `${
|
|
45
|
+
checkToken: () => o({
|
|
46
|
+
url: `${v.VITE_APP_AUTH_BASE_URL}/api/v1/api/check-token`,
|
|
43
47
|
method: "post"
|
|
44
48
|
})
|
|
45
49
|
};
|
|
46
|
-
},
|
|
47
|
-
// 智能体
|
|
48
|
-
H5: "1",
|
|
49
|
-
API: "2",
|
|
50
|
-
AIBox: "3",
|
|
51
|
-
AGENT_STORE: "5",
|
|
52
|
-
// 智能体广场
|
|
53
|
-
FEISHU_WEB: "11",
|
|
54
|
-
// 飞书网页应用
|
|
55
|
-
// 工作流
|
|
56
|
-
WORKFLOW_API: "4",
|
|
57
|
-
WORKFLOW_STORE: "7",
|
|
58
|
-
// 组件广场
|
|
59
|
-
// 插件
|
|
60
|
-
PLUGIN_API: "8",
|
|
61
|
-
PLUGIN_STORE: "9",
|
|
62
|
-
// 组件广场
|
|
63
|
-
// MCP
|
|
64
|
-
MCP_STORE: "10"
|
|
65
|
-
// 组件广场
|
|
66
|
-
}, qe = {
|
|
67
|
-
// 智能体渠道
|
|
68
|
-
[t.H5]: {
|
|
69
|
-
id: t.H5,
|
|
70
|
-
name: () => "H5",
|
|
71
|
-
get description() {
|
|
72
|
-
return o("COMMON_DICT.ENUMS.DESCRIPTION_H5") || "可通过PC或移动设备立即开始对话";
|
|
73
|
-
},
|
|
74
|
-
visible: !0
|
|
75
|
-
// 默认显示
|
|
76
|
-
},
|
|
77
|
-
[t.API]: {
|
|
78
|
-
id: t.API,
|
|
79
|
-
name: () => "API",
|
|
80
|
-
get description() {
|
|
81
|
-
return o("COMMON_DICT.ENUMS.DESCRIPTION_API") || "可通过API方式快速集成到你的软件";
|
|
82
|
-
},
|
|
83
|
-
visible: !0
|
|
84
|
-
},
|
|
85
|
-
[t.AIBox]: {
|
|
86
|
-
id: t.AIBox,
|
|
87
|
-
name: (i) => i === V.AGENT ? o("COMMON_DICT.ENUMS.NAME_MY_AI") : o("COMMON_DICT.ENUMS.NAME_MY_ZJ"),
|
|
88
|
-
description: "可应用于你的智能体",
|
|
89
|
-
visible: !0
|
|
90
|
-
},
|
|
91
|
-
[t.AGENT_STORE]: {
|
|
92
|
-
id: t.AGENT_STORE,
|
|
93
|
-
get name() {
|
|
94
|
-
return () => o("COMMON_DICT.ENUMS.NAME_ZNTGC") || "智能体广场";
|
|
95
|
-
},
|
|
96
|
-
get description() {
|
|
97
|
-
return o("COMMON_DICT.ENUMS.DESCRIPTION_ZNTGC") || "分享到智能体广场,获得更多曝光";
|
|
98
|
-
},
|
|
99
|
-
visible: !0
|
|
100
|
-
// 根据配置决定是否显示
|
|
101
|
-
},
|
|
102
|
-
[t.FEISHU_WEB]: {
|
|
103
|
-
id: t.FEISHU_WEB,
|
|
104
|
-
get name() {
|
|
105
|
-
return () => o("COMMON_DICT.ENUMS.NAME_WEB") || "飞书网页应用";
|
|
106
|
-
},
|
|
107
|
-
get description() {
|
|
108
|
-
return o("COMMON_DICT.ENUMS.DESCRIPTION_WEB") || "在飞书客户端内访问智能体对话页面";
|
|
109
|
-
},
|
|
110
|
-
visible: !0
|
|
111
|
-
},
|
|
112
|
-
// 工作流渠道
|
|
113
|
-
[t.WORKFLOW_API]: {
|
|
114
|
-
id: t.WORKFLOW_API,
|
|
115
|
-
name: () => "API",
|
|
116
|
-
get description() {
|
|
117
|
-
return o("COMMON_DICT.ENUMS.DESCRIPTION_API") || "可通过API方式快速集成到你的软件";
|
|
118
|
-
},
|
|
119
|
-
visible: !0
|
|
120
|
-
},
|
|
121
|
-
[t.WORKFLOW_STORE]: {
|
|
122
|
-
id: t.WORKFLOW_STORE,
|
|
123
|
-
get name() {
|
|
124
|
-
return () => o("COMMON_DICT.ENUMS.NAME_ZJGC") || "组件广场";
|
|
125
|
-
},
|
|
126
|
-
get description() {
|
|
127
|
-
return o("COMMON_DICT.ENUMS.DESCRIPTION_ZJGC") || "分享到组件广场,获得更多曝光";
|
|
128
|
-
},
|
|
129
|
-
visible: !0
|
|
130
|
-
},
|
|
131
|
-
// 插件渠道
|
|
132
|
-
[t.PLUGIN_API]: {
|
|
133
|
-
id: t.PLUGIN_API,
|
|
134
|
-
name: () => "API",
|
|
135
|
-
get description() {
|
|
136
|
-
return o("COMMON_DICT.ENUMS.DESCRIPTION_API") || "可通过API方式快速集成到你的软件";
|
|
137
|
-
},
|
|
138
|
-
visible: !1
|
|
139
|
-
// 暂时不上
|
|
140
|
-
},
|
|
141
|
-
[t.PLUGIN_STORE]: {
|
|
142
|
-
id: t.PLUGIN_STORE,
|
|
143
|
-
name: () => "AIBox Store",
|
|
144
|
-
get description() {
|
|
145
|
-
return o("COMMON_DICT.ENUMS.DESCRIPTION_PLUGIN") || "分享到广场,获得更多曝光";
|
|
146
|
-
},
|
|
147
|
-
visible: !1
|
|
148
|
-
// 暂时不上
|
|
149
|
-
},
|
|
150
|
-
// MCP渠道
|
|
151
|
-
[t.MCP_STORE]: {
|
|
152
|
-
id: t.MCP_STORE,
|
|
153
|
-
get name() {
|
|
154
|
-
return () => o("COMMON_DICT.ENUMS.NAME_ZJGC") || "组件广场";
|
|
155
|
-
},
|
|
156
|
-
get description() {
|
|
157
|
-
return o("COMMON_DICT.ENUMS.DESCRIPTION_ZJGC") || "分享到组件广场,获得更多曝光";
|
|
158
|
-
},
|
|
159
|
-
visible: !0
|
|
160
|
-
}
|
|
161
|
-
}, z = [
|
|
162
|
-
t.API,
|
|
163
|
-
t.WORKFLOW_API,
|
|
164
|
-
t.PLUGIN_API
|
|
165
|
-
], X = [
|
|
166
|
-
t.AGENT_STORE,
|
|
167
|
-
t.WORKFLOW_STORE,
|
|
168
|
-
t.MCP_STORE,
|
|
169
|
-
t.PLUGIN_STORE
|
|
170
|
-
], je = [
|
|
171
|
-
t.H5,
|
|
172
|
-
t.AIBox,
|
|
173
|
-
t.AGENT_STORE,
|
|
174
|
-
t.WORKFLOW_STORE,
|
|
175
|
-
t.MCP_STORE
|
|
176
|
-
], pe = {
|
|
177
|
-
h5: {
|
|
178
|
-
icon: "IconH5",
|
|
179
|
-
iconColor: "var(--el-color-primary)",
|
|
180
|
-
backgroundColor: "#EAF0FE"
|
|
181
|
-
},
|
|
182
|
-
apikey: {
|
|
183
|
-
icon: "IconApikey",
|
|
184
|
-
iconColor: "#822FFF",
|
|
185
|
-
backgroundColor: "#F3EBFF"
|
|
186
|
-
},
|
|
187
|
-
aibox: {
|
|
188
|
-
icon: "Bot",
|
|
189
|
-
backgroundColor: "#EBEFFF"
|
|
190
|
-
},
|
|
191
|
-
store: {
|
|
192
|
-
icon: "IconStore",
|
|
193
|
-
iconColor: "#27C637",
|
|
194
|
-
backgroundColor: "#EBFCDE"
|
|
195
|
-
},
|
|
196
|
-
feishu: {
|
|
197
|
-
icon: "Feishu",
|
|
198
|
-
iconColor: "#EBF5FF",
|
|
199
|
-
backgroundColor: "#EBF5FF"
|
|
200
|
-
}
|
|
201
|
-
}, Ze = {
|
|
202
|
-
[t.H5]: "h5",
|
|
203
|
-
[t.API]: "apikey",
|
|
204
|
-
[t.AIBox]: "aibox",
|
|
205
|
-
[t.WORKFLOW_API]: "apikey",
|
|
206
|
-
[t.AGENT_STORE]: "store",
|
|
207
|
-
[t.WORKFLOW_STORE]: "store",
|
|
208
|
-
[t.PLUGIN_API]: "apikey",
|
|
209
|
-
[t.PLUGIN_STORE]: "store",
|
|
210
|
-
[t.MCP_STORE]: "store",
|
|
211
|
-
[t.FEISHU_WEB]: "feishu"
|
|
212
|
-
}, Je = (i, S) => ({
|
|
213
|
-
// 智能体
|
|
214
|
-
[V.AGENT]: [
|
|
215
|
-
t.AIBox,
|
|
216
|
-
t.H5,
|
|
217
|
-
t.API,
|
|
218
|
-
t.FEISHU_WEB,
|
|
219
|
-
t.AGENT_STORE
|
|
220
|
-
],
|
|
221
|
-
// 工作流
|
|
222
|
-
[V.WORKFLOW]: [
|
|
223
|
-
t.AIBox,
|
|
224
|
-
t.WORKFLOW_API,
|
|
225
|
-
t.WORKFLOW_STORE
|
|
226
|
-
],
|
|
227
|
-
// 插件
|
|
228
|
-
[V.PLUGIN]: [
|
|
229
|
-
t.AIBox
|
|
230
|
-
// 暂时不上API和Store
|
|
231
|
-
// RELEASE_CHANNEL_TYPE.PLUGIN_API,
|
|
232
|
-
// RELEASE_CHANNEL_TYPE.PLUGIN_STORE
|
|
233
|
-
],
|
|
234
|
-
// MCP
|
|
235
|
-
[V.MCP]: [
|
|
236
|
-
t.AIBox,
|
|
237
|
-
t.MCP_STORE
|
|
238
|
-
]
|
|
239
|
-
}[i] || []).map((O) => {
|
|
240
|
-
const U = qe[O], I = S.find((g) => g.channelType == O);
|
|
241
|
-
return I ? {
|
|
242
|
-
...U,
|
|
243
|
-
...I,
|
|
244
|
-
channelType: String(O)
|
|
245
|
-
} : {
|
|
246
|
-
...U,
|
|
247
|
-
channelType: String(O),
|
|
248
|
-
channelStatus: Fe.UNPUBLISHED
|
|
249
|
-
};
|
|
250
|
-
}).filter((O) => (typeof O.visible == "function", O.visible)), oe = {
|
|
251
|
-
TRUE: 1,
|
|
252
|
-
FALSE: 0
|
|
253
|
-
}, ie = {
|
|
254
|
-
// CURRENCY: 'CURRENCY',
|
|
255
|
-
PRIVATE: "PRIVATE",
|
|
256
|
-
DEVELOPER: "DEVELOPER"
|
|
257
|
-
}, kt = [
|
|
258
|
-
// {
|
|
259
|
-
// label: '平台代币',
|
|
260
|
-
// value: serviceTypeMap.CURRENCY
|
|
261
|
-
// },
|
|
262
|
-
{
|
|
263
|
-
get label() {
|
|
264
|
-
return o("COMMON_DICT.SERVICE_TYPE.PRIVATE");
|
|
265
|
-
},
|
|
266
|
-
value: ie.PRIVATE
|
|
267
|
-
},
|
|
268
|
-
{
|
|
269
|
-
get label() {
|
|
270
|
-
return o("COMMON_DICT.SERVICE_TYPE.DEVELOPER");
|
|
271
|
-
},
|
|
272
|
-
value: ie.DEVELOPER
|
|
273
|
-
}
|
|
274
|
-
], wt = [
|
|
275
|
-
// {
|
|
276
|
-
// label: '抵扣中', //(服务类型为货币结算且当前色元额度充足)
|
|
277
|
-
// value: 'CURRENCY_USING'
|
|
278
|
-
// },
|
|
279
|
-
// {
|
|
280
|
-
// label: '额度不足', // (服务类型为货币结算且当前色元额度不足)
|
|
281
|
-
// value: 'CURRENCY_NO_ENOUGH'
|
|
282
|
-
// },
|
|
283
|
-
{
|
|
284
|
-
get label() {
|
|
285
|
-
return o("COMMON_DICT.SERVICE_STATUS.IN_CALL");
|
|
286
|
-
},
|
|
287
|
-
value: "IN_CALL"
|
|
288
|
-
},
|
|
289
|
-
{
|
|
290
|
-
get label() {
|
|
291
|
-
return o("COMMON_DICT.SERVICE_STATUS.NO_CONFIG");
|
|
292
|
-
},
|
|
293
|
-
value: "NO_CONFIG"
|
|
294
|
-
}
|
|
295
|
-
// {
|
|
296
|
-
// label: '开发者结算',
|
|
297
|
-
// value: 'DEVELOPER'
|
|
298
|
-
// }
|
|
299
|
-
], D = {
|
|
300
|
-
UP_BUTTOM: {
|
|
301
|
-
get label() {
|
|
302
|
-
return o("UP_DATA.UP_TEXT");
|
|
303
|
-
},
|
|
304
|
-
get sceneWorkFlow() {
|
|
305
|
-
return o("SCENEBUTTOM.SCENE_WORKFLOW");
|
|
306
|
-
},
|
|
307
|
-
get scenePlugin() {
|
|
308
|
-
return o("SCENEBUTTOM.SCENE_PLUGIN");
|
|
309
|
-
},
|
|
310
|
-
get sceneModmcp() {
|
|
311
|
-
return o("SCENEBUTTOM.SCENE_MODMCP");
|
|
312
|
-
},
|
|
313
|
-
get sceneArbitrarily() {
|
|
314
|
-
return o("SCENEBUTTOM.ARBITRARILY");
|
|
315
|
-
},
|
|
316
|
-
get searchText() {
|
|
317
|
-
return o("SCENEBUTTOM.SEARCHTEXT");
|
|
318
|
-
},
|
|
319
|
-
get intellectuAlagent() {
|
|
320
|
-
return o("SCENEBUTTOM.INTELLECTUALAGENT");
|
|
321
|
-
},
|
|
322
|
-
get searchWorkflow() {
|
|
323
|
-
return o("SCENEBUTTOM.WORKFLOW");
|
|
324
|
-
},
|
|
325
|
-
get searchPlugin() {
|
|
326
|
-
return o("SCENEBUTTOM.PLUGIN");
|
|
327
|
-
},
|
|
328
|
-
get searchModmcp() {
|
|
329
|
-
return o("SCENEBUTTOM.MODMCP");
|
|
330
|
-
}
|
|
331
|
-
},
|
|
332
|
-
STOREDETAILTYPE_STORECONTENTLAYOUT: {
|
|
333
|
-
get labelAll() {
|
|
334
|
-
return o("STOREDETAILTYPE_STORECONTENTLAYOUT.LABEL_ALL");
|
|
335
|
-
},
|
|
336
|
-
get labelTextCreation() {
|
|
337
|
-
return o(
|
|
338
|
-
"STOREDETAILTYPE_STORECONTENTLAYOUT.LABEL_TEXT_CREATION"
|
|
339
|
-
);
|
|
340
|
-
},
|
|
341
|
-
get labelEfficiencyTools() {
|
|
342
|
-
return o(
|
|
343
|
-
"STOREDETAILTYPE_STORECONTENTLAYOUT.LABEL_EFFICIENCY_TOOLS"
|
|
344
|
-
);
|
|
345
|
-
},
|
|
346
|
-
get labelMediaEntertainment() {
|
|
347
|
-
return o(
|
|
348
|
-
"STOREDETAILTYPE_STORECONTENTLAYOUT.LABEL_MEDIA_ENTERTAINMENT"
|
|
349
|
-
);
|
|
350
|
-
},
|
|
351
|
-
get labelOfficeHr() {
|
|
352
|
-
return o("STOREDETAILTYPE_STORECONTENTLAYOUT.LABEL_OFFICE_HR");
|
|
353
|
-
},
|
|
354
|
-
get labelGovernmentServices() {
|
|
355
|
-
return o(
|
|
356
|
-
"STOREDETAILTYPE_STORECONTENTLAYOUT.LABEL_GOVERNMENT_SERVICES"
|
|
357
|
-
);
|
|
358
|
-
},
|
|
359
|
-
get labelTravelSightseeing() {
|
|
360
|
-
return o(
|
|
361
|
-
"STOREDETAILTYPE_STORECONTENTLAYOUT.LABEL_TRAVEL_SIGHTSEEING"
|
|
362
|
-
);
|
|
363
|
-
},
|
|
364
|
-
get labelFinancialServices() {
|
|
365
|
-
return o(
|
|
366
|
-
"STOREDETAILTYPE_STORECONTENTLAYOUT.LABEL_FINANCIAL_SERVICES"
|
|
367
|
-
);
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
}, Qe = () => [
|
|
371
|
-
// { label: '所有标签', value: '0', icon: 'IconType22' },
|
|
372
|
-
{
|
|
373
|
-
label: D.STOREDETAILTYPE_STORECONTENTLAYOUT.labelAll,
|
|
374
|
-
value: "0",
|
|
375
|
-
icon: "IconType22"
|
|
376
|
-
},
|
|
377
|
-
{
|
|
378
|
-
label: D.STOREDETAILTYPE_STORECONTENTLAYOUT.labelTextCreation,
|
|
379
|
-
value: "1",
|
|
380
|
-
icon: "IconWrite"
|
|
381
|
-
},
|
|
382
|
-
{
|
|
383
|
-
label: D.STOREDETAILTYPE_STORECONTENTLAYOUT.labelEfficiencyTools,
|
|
384
|
-
value: "3",
|
|
385
|
-
icon: "IconEfficiency2"
|
|
386
|
-
},
|
|
387
|
-
{
|
|
388
|
-
label: D.STOREDETAILTYPE_STORECONTENTLAYOUT.labelMediaEntertainment,
|
|
389
|
-
value: "4",
|
|
390
|
-
icon: "IconVideo"
|
|
391
|
-
},
|
|
392
|
-
{
|
|
393
|
-
label: D.STOREDETAILTYPE_STORECONTENTLAYOUT.labelOfficeHr,
|
|
394
|
-
value: "5",
|
|
395
|
-
icon: "IconOffice"
|
|
396
|
-
},
|
|
397
|
-
{
|
|
398
|
-
label: D.STOREDETAILTYPE_STORECONTENTLAYOUT.labelGovernmentServices,
|
|
399
|
-
value: "6",
|
|
400
|
-
icon: "IconGovernment"
|
|
401
|
-
},
|
|
402
|
-
{
|
|
403
|
-
label: D.STOREDETAILTYPE_STORECONTENTLAYOUT.labelTravelSightseeing,
|
|
404
|
-
value: "7",
|
|
405
|
-
icon: "IconTravel"
|
|
406
|
-
},
|
|
407
|
-
{
|
|
408
|
-
label: D.STOREDETAILTYPE_STORECONTENTLAYOUT.labelFinancialServices,
|
|
409
|
-
value: "8",
|
|
410
|
-
icon: "IconFinance"
|
|
411
|
-
}
|
|
412
|
-
], Wt = "CMI官方", $e = {
|
|
50
|
+
}, Qe = {
|
|
413
51
|
__name: "PublishIcon",
|
|
414
52
|
props: {
|
|
415
53
|
publishType: {
|
|
@@ -421,45 +59,45 @@ const se = /* @__PURE__ */ k(Ke, [["render", ze], ["__scopeId", "data-v-d8a76b28
|
|
|
421
59
|
default: 30
|
|
422
60
|
}
|
|
423
61
|
},
|
|
424
|
-
setup(
|
|
425
|
-
const
|
|
426
|
-
const
|
|
427
|
-
return
|
|
428
|
-
...
|
|
429
|
-
icon:
|
|
430
|
-
},
|
|
431
|
-
}, {}),
|
|
432
|
-
return
|
|
433
|
-
const
|
|
434
|
-
|
|
435
|
-
}), (
|
|
62
|
+
setup(o) {
|
|
63
|
+
const v = o, O = Object.keys(pe).reduce((b, R) => {
|
|
64
|
+
const A = pe[R];
|
|
65
|
+
return b[R] = {
|
|
66
|
+
...A,
|
|
67
|
+
icon: ye(A.icon)
|
|
68
|
+
}, b;
|
|
69
|
+
}, {}), U = _({});
|
|
70
|
+
return ne(() => {
|
|
71
|
+
const b = Ve[v.publishType] || "h5";
|
|
72
|
+
U.value = O[b];
|
|
73
|
+
}), (b, R) => (d(), B("div", {
|
|
436
74
|
class: "channel-icon flex items-center justify-center radius-8",
|
|
437
|
-
style:
|
|
75
|
+
style: Ie({ background: U.value?.backgroundColor })
|
|
438
76
|
}, [
|
|
439
|
-
|
|
440
|
-
size:
|
|
441
|
-
color:
|
|
77
|
+
i(e(z), {
|
|
78
|
+
size: o.size,
|
|
79
|
+
color: U.value?.iconColor
|
|
442
80
|
}, {
|
|
443
|
-
default:
|
|
444
|
-
(
|
|
81
|
+
default: a(() => [
|
|
82
|
+
(d(), C(Te(U.value?.icon)))
|
|
445
83
|
]),
|
|
446
84
|
_: 1
|
|
447
85
|
}, 8, ["size", "color"])
|
|
448
86
|
], 4));
|
|
449
87
|
}
|
|
450
|
-
},
|
|
88
|
+
}, Je = /* @__PURE__ */ k(Qe, [["__scopeId", "data-v-197d4379"]]), Ze = { class: "permission-setting" }, $e = {
|
|
451
89
|
key: 1,
|
|
452
90
|
class: "flex items-center gap-12 pd-t-16 pd-b-16"
|
|
453
|
-
},
|
|
91
|
+
}, et = {
|
|
454
92
|
class: "min-w-110 fz-14 text-left flex-shrink-0",
|
|
455
93
|
style: { color: "var(--el-text-color-primary)" }
|
|
456
|
-
},
|
|
94
|
+
}, tt = { class: "flex items-center gap-6" }, lt = {
|
|
457
95
|
class: "flex flex-col lh-18",
|
|
458
96
|
style: { "align-items": "flex-start" }
|
|
459
|
-
},
|
|
97
|
+
}, st = {
|
|
460
98
|
class: "fz-12",
|
|
461
99
|
style: { color: "var(--el-text-color-secondary)" }
|
|
462
|
-
},
|
|
100
|
+
}, at = {
|
|
463
101
|
__name: "PermissionSetting",
|
|
464
102
|
props: {
|
|
465
103
|
// 是否显示可见范围设置
|
|
@@ -476,66 +114,72 @@ const se = /* @__PURE__ */ k(Ke, [["render", ze], ["__scopeId", "data-v-d8a76b28
|
|
|
476
114
|
detail: {
|
|
477
115
|
type: Object,
|
|
478
116
|
default: () => ({})
|
|
117
|
+
},
|
|
118
|
+
// 默认显示的数量
|
|
119
|
+
defaultShowCount: {
|
|
120
|
+
type: Number,
|
|
121
|
+
default: _e.one
|
|
479
122
|
}
|
|
480
123
|
},
|
|
481
124
|
emits: ["update:detail"],
|
|
482
|
-
setup(
|
|
483
|
-
const { t:
|
|
484
|
-
const
|
|
485
|
-
|
|
486
|
-
},
|
|
487
|
-
const
|
|
488
|
-
|
|
489
|
-
},
|
|
490
|
-
const
|
|
491
|
-
|
|
125
|
+
setup(o, { expose: v, emit: O }) {
|
|
126
|
+
const { t: U } = W(), b = o, R = O, A = _(null), I = (E) => {
|
|
127
|
+
const m = { ...b.detail, openStatus: E };
|
|
128
|
+
R("update:detail", m);
|
|
129
|
+
}, w = (E) => {
|
|
130
|
+
const m = { ...b.detail, allVisible: E };
|
|
131
|
+
R("update:detail", m);
|
|
132
|
+
}, N = (E) => {
|
|
133
|
+
const m = { ...b.detail, visibleScope: E };
|
|
134
|
+
R("update:detail", m);
|
|
492
135
|
};
|
|
493
|
-
return
|
|
136
|
+
return v({
|
|
494
137
|
getSelectedItems: () => {
|
|
495
|
-
let
|
|
496
|
-
openStatus:
|
|
138
|
+
let E = {
|
|
139
|
+
openStatus: b.detail.openStatus || le.FALSE
|
|
497
140
|
};
|
|
498
|
-
if (
|
|
499
|
-
const
|
|
500
|
-
|
|
141
|
+
if (A.value) {
|
|
142
|
+
const m = A.value.getSelectedItems();
|
|
143
|
+
E.allVisible = m.allVisible, E.visibleScope = m.visibleScope;
|
|
501
144
|
}
|
|
502
|
-
return
|
|
145
|
+
return E;
|
|
503
146
|
}
|
|
504
|
-
}), (
|
|
505
|
-
const x =
|
|
506
|
-
return
|
|
507
|
-
|
|
147
|
+
}), (E, m) => {
|
|
148
|
+
const x = Ue("IconTip");
|
|
149
|
+
return d(), B("div", Ze, [
|
|
150
|
+
o.showAvailableRange ? (d(), C(e(Ge), {
|
|
508
151
|
key: 0,
|
|
509
|
-
"all-visible":
|
|
510
|
-
"model-value":
|
|
511
|
-
class:
|
|
512
|
-
"pd-b-16": !
|
|
152
|
+
"all-visible": o.detail.allVisible,
|
|
153
|
+
"model-value": o.detail.visibleScope,
|
|
154
|
+
class: be(["pd-t-16", {
|
|
155
|
+
"pd-b-16": !o.showPermissionSetting
|
|
513
156
|
}]),
|
|
157
|
+
"default-show-count": o.defaultShowCount,
|
|
514
158
|
ref_key: "availableRangeSettingRef",
|
|
515
|
-
ref:
|
|
516
|
-
"onUpdate:allVisible":
|
|
517
|
-
"onUpdate:modelValue":
|
|
518
|
-
}, null, 8, ["all-visible", "model-value", "class"])) :
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
159
|
+
ref: A,
|
|
160
|
+
"onUpdate:allVisible": w,
|
|
161
|
+
"onUpdate:modelValue": N
|
|
162
|
+
}, null, 8, ["all-visible", "model-value", "class", "default-show-count"])) : P("", !0),
|
|
163
|
+
o.showPermissionSetting ? (d(), B("div", $e, [
|
|
164
|
+
u("div", et, [
|
|
165
|
+
m[0] || (m[0] = u("span", {
|
|
522
166
|
class: "mg-r-2",
|
|
523
167
|
style: { color: "var(--el-color-danger)" }
|
|
524
168
|
}, "*", -1)),
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
content: e(
|
|
169
|
+
H(" " + h(e(U)("PUTRESOURCEONSHELFDIALOG_TEXT.RESOURCE_PERMISSION_SETTING")) + " ", 1),
|
|
170
|
+
i(e(oe), {
|
|
171
|
+
content: e(U)(
|
|
528
172
|
"PUTRESOURCEONSHELFDIALOG_TEXT.RESOURCE_PERMISSION_SETTING_TOOLTIP"
|
|
529
173
|
),
|
|
530
174
|
placement: "top"
|
|
531
175
|
}, {
|
|
532
|
-
default:
|
|
533
|
-
|
|
176
|
+
default: a(() => [
|
|
177
|
+
i(e(z), {
|
|
534
178
|
class: "mg-l-4",
|
|
535
179
|
size: "14px"
|
|
536
180
|
}, {
|
|
537
|
-
default:
|
|
538
|
-
|
|
181
|
+
default: a(() => [
|
|
182
|
+
i(x)
|
|
539
183
|
]),
|
|
540
184
|
_: 1
|
|
541
185
|
})
|
|
@@ -543,26 +187,26 @@ const se = /* @__PURE__ */ k(Ke, [["render", ze], ["__scopeId", "data-v-d8a76b28
|
|
|
543
187
|
_: 1
|
|
544
188
|
}, 8, ["content"])
|
|
545
189
|
]),
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
"model-value":
|
|
549
|
-
"onUpdate:modelValue":
|
|
550
|
-
"true-value": e(
|
|
551
|
-
"false-value": e(
|
|
190
|
+
u("div", tt, [
|
|
191
|
+
i(e(Pe), {
|
|
192
|
+
"model-value": o.detail.openStatus,
|
|
193
|
+
"onUpdate:modelValue": I,
|
|
194
|
+
"true-value": e(le).TRUE,
|
|
195
|
+
"false-value": e(le).FALSE,
|
|
552
196
|
class: "mg-r-0"
|
|
553
197
|
}, {
|
|
554
|
-
default:
|
|
555
|
-
|
|
198
|
+
default: a(() => [
|
|
199
|
+
u("div", lt, h(e(U)("PUTRESOURCEONSHELFDIALOG_TEXT.FREE_RESOURCE")), 1)
|
|
556
200
|
]),
|
|
557
201
|
_: 1
|
|
558
202
|
}, 8, ["model-value", "true-value", "false-value"]),
|
|
559
|
-
|
|
203
|
+
u("span", st, h(e(U)("PUTRESOURCEONSHELFDIALOG_TEXT.FREE_RESOURCE_MCPKEY")), 1)
|
|
560
204
|
])
|
|
561
|
-
])) :
|
|
205
|
+
])) : P("", !0)
|
|
562
206
|
]);
|
|
563
207
|
};
|
|
564
208
|
}
|
|
565
|
-
},
|
|
209
|
+
}, nt = /* @__PURE__ */ k(at, [["__scopeId", "data-v-b28f305d"]]), ot = {
|
|
566
210
|
__name: "FeishuTooltip",
|
|
567
211
|
props: {
|
|
568
212
|
channelType: {
|
|
@@ -570,30 +214,30 @@ const se = /* @__PURE__ */ k(Ke, [["render", ze], ["__scopeId", "data-v-d8a76b28
|
|
|
570
214
|
required: !0
|
|
571
215
|
}
|
|
572
216
|
},
|
|
573
|
-
setup(
|
|
574
|
-
return (
|
|
217
|
+
setup(o) {
|
|
218
|
+
return (v, O) => o.channelType === e(y).FEISHU_WEB ? (d(), C(e(oe), {
|
|
575
219
|
key: 0,
|
|
576
220
|
placement: "top"
|
|
577
221
|
}, {
|
|
578
|
-
content:
|
|
579
|
-
|
|
222
|
+
content: a(() => [...O[0] || (O[0] = [
|
|
223
|
+
H(" 发布成功后可在飞书工作台找到与智能体同名应用 ", -1)
|
|
580
224
|
])]),
|
|
581
|
-
default:
|
|
582
|
-
|
|
225
|
+
default: a(() => [
|
|
226
|
+
i(e(z), {
|
|
583
227
|
size: "14px",
|
|
584
228
|
color: "#999",
|
|
585
229
|
style: { "margin-left": "5px" }
|
|
586
230
|
}, {
|
|
587
|
-
default:
|
|
588
|
-
|
|
231
|
+
default: a(() => [
|
|
232
|
+
i(e(he))
|
|
589
233
|
]),
|
|
590
234
|
_: 1
|
|
591
235
|
})
|
|
592
236
|
]),
|
|
593
237
|
_: 1
|
|
594
|
-
})) :
|
|
238
|
+
})) : P("", !0);
|
|
595
239
|
}
|
|
596
|
-
},
|
|
240
|
+
}, it = {
|
|
597
241
|
__name: "ApiTooltip",
|
|
598
242
|
props: {
|
|
599
243
|
channelType: {
|
|
@@ -605,34 +249,34 @@ const se = /* @__PURE__ */ k(Ke, [["render", ze], ["__scopeId", "data-v-d8a76b28
|
|
|
605
249
|
required: !0
|
|
606
250
|
}
|
|
607
251
|
},
|
|
608
|
-
setup(
|
|
609
|
-
const { t:
|
|
610
|
-
return (
|
|
252
|
+
setup(o) {
|
|
253
|
+
const { t: v } = W();
|
|
254
|
+
return (O, U) => e(Y).includes(o.channelType) ? (d(), C(e(oe), {
|
|
611
255
|
key: 0,
|
|
612
256
|
placement: "top"
|
|
613
257
|
}, {
|
|
614
|
-
content:
|
|
615
|
-
|
|
258
|
+
content: a(() => [
|
|
259
|
+
H(h(o.isAuth ? e(v)("SOURCE_PUBLISH.PUBLISH_AUTHORIZE_MSG") || "请先完成授权" : e(v)("SOURCE_PUBLISH.PUBLISH_ACCESS_TOKEN_MSG") || "调用需要创建访问凭证"), 1)
|
|
616
260
|
]),
|
|
617
|
-
default:
|
|
618
|
-
|
|
261
|
+
default: a(() => [
|
|
262
|
+
i(e(z), {
|
|
619
263
|
size: "14px",
|
|
620
264
|
color: "#999",
|
|
621
265
|
style: { "margin-left": "5px" }
|
|
622
266
|
}, {
|
|
623
|
-
default:
|
|
624
|
-
|
|
267
|
+
default: a(() => [
|
|
268
|
+
i(e(he))
|
|
625
269
|
]),
|
|
626
270
|
_: 1
|
|
627
271
|
})
|
|
628
272
|
]),
|
|
629
273
|
_: 1
|
|
630
|
-
})) :
|
|
274
|
+
})) : P("", !0);
|
|
631
275
|
}
|
|
632
|
-
},
|
|
276
|
+
}, ut = { class: "publish-settings" }, rt = { class: "channel-name" }, ct = { class: "channel-title" }, dt = { class: "channel-title__name" }, pt = { class: "channel-title__desc" }, St = {
|
|
633
277
|
key: 0,
|
|
634
278
|
class: "expand-content"
|
|
635
|
-
},
|
|
279
|
+
}, vt = { class: "select-label" }, Et = { class: "select-label" }, ft = { class: "select-label" }, mt = { class: "action-container" }, _t = { class: "select-label" }, ht = {
|
|
636
280
|
__name: "PublishSettings",
|
|
637
281
|
props: {
|
|
638
282
|
modelValue: {
|
|
@@ -642,7 +286,7 @@ const se = /* @__PURE__ */ k(Ke, [["render", ze], ["__scopeId", "data-v-d8a76b28
|
|
|
642
286
|
// 3 智能体 4 工作流 5 插件 8 MCP
|
|
643
287
|
sourceType: {
|
|
644
288
|
type: String,
|
|
645
|
-
default:
|
|
289
|
+
default: D.AGENT
|
|
646
290
|
},
|
|
647
291
|
channelManagement: {
|
|
648
292
|
type: Array,
|
|
@@ -650,17 +294,17 @@ const se = /* @__PURE__ */ k(Ke, [["render", ze], ["__scopeId", "data-v-d8a76b28
|
|
|
650
294
|
}
|
|
651
295
|
},
|
|
652
296
|
emits: ["validateField", "update:modelValue"],
|
|
653
|
-
setup(
|
|
654
|
-
const
|
|
655
|
-
let
|
|
656
|
-
return
|
|
657
|
-
})(),
|
|
297
|
+
setup(o, { expose: v, emit: O }) {
|
|
298
|
+
const U = Ce(), b = Ee(), R = fe(), A = O, I = o, { checkToken: w } = Ae(), N = _(null), S = _(!1), E = _(""), m = _(""), x = _(""), { t: T } = W(), p = (() => {
|
|
299
|
+
let r = we();
|
|
300
|
+
return r.shift(), r;
|
|
301
|
+
})(), G = ie(() => Ne(I.sourceType, I.channelManagement)), q = ie(() => [
|
|
658
302
|
{
|
|
659
303
|
type: "selection",
|
|
660
|
-
selectable: (
|
|
304
|
+
selectable: (s) => s.id == y.AIBox ? !1 : Y.includes(s.id) ? S.value : !0
|
|
661
305
|
},
|
|
662
306
|
{
|
|
663
|
-
label:
|
|
307
|
+
label: T("SOURCE_PUBLISH.PUBLISH_CHANNEL") || "发布渠道",
|
|
664
308
|
prop: "name",
|
|
665
309
|
slot: "name"
|
|
666
310
|
},
|
|
@@ -679,232 +323,233 @@ const se = /* @__PURE__ */ k(Ke, [["render", ze], ["__scopeId", "data-v-d8a76b28
|
|
|
679
323
|
prop: "action",
|
|
680
324
|
slot: "action"
|
|
681
325
|
}
|
|
682
|
-
]),
|
|
326
|
+
]), j = [
|
|
683
327
|
{
|
|
684
|
-
label:
|
|
328
|
+
label: T("COMMON_HOOKS.SERVICE_TYPE_ENUMLIST.LABEL_1") || "专享服务",
|
|
685
329
|
value: "PRIVATE"
|
|
686
330
|
},
|
|
687
331
|
{
|
|
688
|
-
label:
|
|
332
|
+
label: T("COMMON_HOOKS.SERVICE_TYPE_ENUMLIST.LABEL_2") || "开发者计算",
|
|
689
333
|
value: "DEVELOPER"
|
|
690
334
|
}
|
|
691
|
-
],
|
|
692
|
-
|
|
693
|
-
}, Q = (
|
|
694
|
-
|
|
695
|
-
},
|
|
696
|
-
const
|
|
697
|
-
console.log(
|
|
698
|
-
},
|
|
699
|
-
|
|
700
|
-
const
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
}),
|
|
704
|
-
|
|
335
|
+
], K = (r) => {
|
|
336
|
+
A("update:modelValue", r), A("validateField");
|
|
337
|
+
}, Q = (r, s) => {
|
|
338
|
+
r.allVisible = s.allVisible, r.visibleScope = s.visibleScope, r.openStatus = s.openStatus;
|
|
339
|
+
}, M = async () => {
|
|
340
|
+
const r = await w();
|
|
341
|
+
console.log(r, "res"), S.value = r.data || !1;
|
|
342
|
+
}, J = (r, s) => {
|
|
343
|
+
s && (m.value = s.bakInt, E.value = s.serviceType, l.value = s.currency);
|
|
344
|
+
const n = G.value.filter((c) => r.includes(c.id));
|
|
345
|
+
n.forEach((c) => {
|
|
346
|
+
N.value?.handleToggleRowSelection(c, !0);
|
|
347
|
+
}), ve(() => {
|
|
348
|
+
K(n);
|
|
705
349
|
});
|
|
706
|
-
},
|
|
707
|
-
|
|
708
|
-
},
|
|
709
|
-
|
|
710
|
-
() =>
|
|
711
|
-
(
|
|
712
|
-
const
|
|
713
|
-
if (
|
|
714
|
-
const
|
|
715
|
-
(
|
|
350
|
+
}, g = () => "no-expand", t = () => {
|
|
351
|
+
b.push({ name: "ApiManage" });
|
|
352
|
+
}, l = _(""), f = _([]), V = _(!1);
|
|
353
|
+
Oe(
|
|
354
|
+
() => I.modelValue,
|
|
355
|
+
(r) => {
|
|
356
|
+
const s = [];
|
|
357
|
+
if (r && r.find((n) => X.includes(n.id))) {
|
|
358
|
+
const n = r.find(
|
|
359
|
+
(c) => X.includes(c.id)
|
|
716
360
|
);
|
|
717
|
-
|
|
361
|
+
n && s.push(n.id), V.value = !0;
|
|
718
362
|
} else
|
|
719
|
-
|
|
720
|
-
|
|
363
|
+
V.value = !1;
|
|
364
|
+
r && r.find((n) => n.id === y.FEISHU_WEB) && s.push(y.FEISHU_WEB), f.value = s;
|
|
721
365
|
},
|
|
722
366
|
{ immediate: !0, deep: !0 }
|
|
723
367
|
);
|
|
724
|
-
const
|
|
725
|
-
const
|
|
726
|
-
return
|
|
368
|
+
const L = (r) => {
|
|
369
|
+
const s = `permissionSettingRef_${r}`, n = U?.refs?.[s];
|
|
370
|
+
return n ? n.getSelectedItems() : null;
|
|
727
371
|
};
|
|
728
|
-
return
|
|
729
|
-
|
|
730
|
-
}),
|
|
731
|
-
bakInt:
|
|
732
|
-
serviceType:
|
|
733
|
-
currency:
|
|
372
|
+
return ne(() => {
|
|
373
|
+
M(), x.value = R.params.authType;
|
|
374
|
+
}), v({
|
|
375
|
+
bakInt: m,
|
|
376
|
+
serviceType: E,
|
|
377
|
+
currency: l,
|
|
734
378
|
// visibleWorkspace,
|
|
735
379
|
// visibleUser,
|
|
736
380
|
// openStatus,
|
|
737
|
-
handleToggleRowSelection:
|
|
738
|
-
getVisibleRangeData:
|
|
739
|
-
}), (
|
|
740
|
-
|
|
741
|
-
columns:
|
|
742
|
-
data:
|
|
743
|
-
"on-row-key": (
|
|
744
|
-
total:
|
|
381
|
+
handleToggleRowSelection: J,
|
|
382
|
+
getVisibleRangeData: L
|
|
383
|
+
}), (r, s) => (d(), B("div", ut, [
|
|
384
|
+
i(Fe, {
|
|
385
|
+
columns: q.value,
|
|
386
|
+
data: G.value,
|
|
387
|
+
"on-row-key": (n) => n.id,
|
|
388
|
+
total: G.value.length,
|
|
745
389
|
style: { width: "100%" },
|
|
746
390
|
hasPage: !1,
|
|
747
391
|
"show-handle-nums": 1,
|
|
748
|
-
onRowClassName:
|
|
749
|
-
"expand-row-keys":
|
|
392
|
+
onRowClassName: g,
|
|
393
|
+
"expand-row-keys": f.value,
|
|
750
394
|
"default-expand-all": !1,
|
|
751
|
-
onOnMultiSelection:
|
|
395
|
+
onOnMultiSelection: K,
|
|
752
396
|
ref_key: "aiboxTableRef",
|
|
753
|
-
ref:
|
|
397
|
+
ref: N
|
|
754
398
|
}, {
|
|
755
|
-
name:
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
"publish-type":
|
|
399
|
+
name: a(({ row: n }) => [
|
|
400
|
+
u("div", rt, [
|
|
401
|
+
i(Je, {
|
|
402
|
+
"publish-type": n.id,
|
|
759
403
|
size: 24
|
|
760
404
|
}, null, 8, ["publish-type"]),
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
"channel-type":
|
|
766
|
-
"is-auth":
|
|
405
|
+
u("div", ct, [
|
|
406
|
+
u("p", dt, [
|
|
407
|
+
H(h(n.name(o.sourceType)) + " ", 1),
|
|
408
|
+
i(it, {
|
|
409
|
+
"channel-type": n.id,
|
|
410
|
+
"is-auth": S.value
|
|
767
411
|
}, null, 8, ["channel-type", "is-auth"]),
|
|
768
|
-
|
|
769
|
-
"channel-type":
|
|
412
|
+
i(ot, {
|
|
413
|
+
"channel-type": n.id
|
|
770
414
|
}, null, 8, ["channel-type"])
|
|
771
415
|
]),
|
|
772
|
-
|
|
416
|
+
u("p", pt, h(n.description), 1)
|
|
773
417
|
])
|
|
774
418
|
])
|
|
775
419
|
]),
|
|
776
|
-
expand:
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
modelValue:
|
|
780
|
-
"onUpdate:modelValue":
|
|
781
|
-
placeholder: e(
|
|
420
|
+
expand: a(({ row: n }) => [
|
|
421
|
+
n.id === e(y).PLUGIN_STORE ? (d(), B("div", St, [
|
|
422
|
+
i(e(ee), {
|
|
423
|
+
modelValue: m.value,
|
|
424
|
+
"onUpdate:modelValue": s[0] || (s[0] = (c) => m.value = c),
|
|
425
|
+
placeholder: e(T)("SOURCE_PUBLISH.DEFAULT_SELECT_MSG") || "请选择",
|
|
782
426
|
style: { width: "200px" }
|
|
783
427
|
}, {
|
|
784
|
-
prefix:
|
|
785
|
-
|
|
786
|
-
|
|
428
|
+
prefix: a(() => [
|
|
429
|
+
u("div", vt, h(e(T)("SOURCE_PUBLISH.CATEGORY") || "分类"), 1),
|
|
430
|
+
s[4] || (s[4] = u("div", { class: "divider" }, null, -1))
|
|
787
431
|
]),
|
|
788
|
-
default:
|
|
789
|
-
(
|
|
790
|
-
key:
|
|
791
|
-
label:
|
|
792
|
-
value:
|
|
432
|
+
default: a(() => [
|
|
433
|
+
(d(!0), B(Z, null, $(e(p), (c) => (d(), C(e(te), {
|
|
434
|
+
key: c.value,
|
|
435
|
+
label: c.label,
|
|
436
|
+
value: c.value
|
|
793
437
|
}, null, 8, ["label", "value"]))), 128))
|
|
794
438
|
]),
|
|
795
439
|
_: 1
|
|
796
440
|
}, 8, ["modelValue", "placeholder"]),
|
|
797
|
-
x.value == "1" ? (
|
|
441
|
+
x.value == "1" ? (d(), C(e(ee), {
|
|
798
442
|
key: 0,
|
|
799
|
-
modelValue:
|
|
800
|
-
"onUpdate:modelValue":
|
|
801
|
-
placeholder: e(
|
|
443
|
+
modelValue: E.value,
|
|
444
|
+
"onUpdate:modelValue": s[1] || (s[1] = (c) => E.value = c),
|
|
445
|
+
placeholder: e(T)("SOURCE_PUBLISH.DEFAULT_SELECT_MSG") || "请选择",
|
|
802
446
|
style: { width: "200px" }
|
|
803
447
|
}, {
|
|
804
|
-
prefix:
|
|
805
|
-
|
|
806
|
-
|
|
448
|
+
prefix: a(() => [
|
|
449
|
+
u("div", Et, h(e(T)("SOURCE_PUBLISH.SERVICE_TYPE") || "服务类型"), 1),
|
|
450
|
+
s[5] || (s[5] = u("div", { class: "divider" }, null, -1))
|
|
807
451
|
]),
|
|
808
|
-
default:
|
|
809
|
-
(
|
|
810
|
-
key:
|
|
811
|
-
label:
|
|
812
|
-
value:
|
|
452
|
+
default: a(() => [
|
|
453
|
+
(d(), B(Z, null, $(j, (c) => i(e(te), {
|
|
454
|
+
key: c.value,
|
|
455
|
+
label: c.label,
|
|
456
|
+
value: c.value
|
|
813
457
|
}, null, 8, ["label", "value"])), 64))
|
|
814
458
|
]),
|
|
815
459
|
_: 1
|
|
816
|
-
}, 8, ["modelValue", "placeholder"])) :
|
|
817
|
-
|
|
460
|
+
}, 8, ["modelValue", "placeholder"])) : P("", !0),
|
|
461
|
+
E.value === e(ke).CURRENCY ? (d(), C(e(Le), {
|
|
818
462
|
key: 1,
|
|
819
|
-
modelValue:
|
|
820
|
-
"onUpdate:modelValue":
|
|
463
|
+
modelValue: l.value,
|
|
464
|
+
"onUpdate:modelValue": s[2] || (s[2] = (c) => l.value = c),
|
|
821
465
|
precision: 2,
|
|
822
466
|
style: { width: "200px" },
|
|
823
467
|
"controls-position": "right"
|
|
824
468
|
}, {
|
|
825
|
-
prefix:
|
|
826
|
-
|
|
827
|
-
|
|
469
|
+
prefix: a(() => [
|
|
470
|
+
u("div", ft, h(e(T)("SOURCE_PUBLISH.CONSUME_VALUE") || "消费值"), 1),
|
|
471
|
+
s[6] || (s[6] = u("div", { class: "divider" }, null, -1))
|
|
828
472
|
]),
|
|
829
473
|
_: 1
|
|
830
|
-
}, 8, ["modelValue"])) :
|
|
831
|
-
])) :
|
|
832
|
-
[e(
|
|
833
|
-
|
|
834
|
-
) ? (
|
|
474
|
+
}, 8, ["modelValue"])) : P("", !0)
|
|
475
|
+
])) : P("", !0),
|
|
476
|
+
[e(y).FEISHU_WEB, ...e(X)].includes(
|
|
477
|
+
n.id
|
|
478
|
+
) ? (d(), C(nt, {
|
|
835
479
|
key: 1,
|
|
836
|
-
"show-permission-setting":
|
|
480
|
+
"show-permission-setting": n.id === e(y).MCP_STORE,
|
|
837
481
|
showAvailableRange: [
|
|
838
|
-
e(
|
|
839
|
-
e(
|
|
840
|
-
].includes(String(
|
|
841
|
-
detail:
|
|
842
|
-
ref: `permissionSettingRef_${
|
|
843
|
-
"
|
|
844
|
-
|
|
482
|
+
e(y).AGENT_STORE,
|
|
483
|
+
e(y).MCP_STORE
|
|
484
|
+
].includes(String(n.id)),
|
|
485
|
+
detail: n,
|
|
486
|
+
ref: `permissionSettingRef_${n.id}`,
|
|
487
|
+
"default-show-count": e(_e).two,
|
|
488
|
+
"onUpdate:detail": (c) => Q(n, c)
|
|
489
|
+
}, null, 8, ["show-permission-setting", "showAvailableRange", "detail", "default-show-count", "onUpdate:detail"])) : P("", !0)
|
|
845
490
|
]),
|
|
846
|
-
status:
|
|
847
|
-
e(
|
|
491
|
+
status: a(({ row: n }) => [
|
|
492
|
+
e(xe).includes(n.id) ? (d(), C(e(ue), {
|
|
848
493
|
key: 0,
|
|
849
494
|
type: "success"
|
|
850
495
|
}, {
|
|
851
|
-
default:
|
|
852
|
-
|
|
496
|
+
default: a(() => [
|
|
497
|
+
H(h(e(T)("SOURCE_PUBLISH.PUBLISH_AUTHORIZE_STATUS") || "已授权"), 1)
|
|
853
498
|
]),
|
|
854
499
|
_: 1
|
|
855
|
-
})) : e(
|
|
500
|
+
})) : e(Y).includes(n.id) ? (d(), C(e(ue), {
|
|
856
501
|
key: 1,
|
|
857
|
-
type:
|
|
502
|
+
type: S.value ? "success" : "info"
|
|
858
503
|
}, {
|
|
859
|
-
default:
|
|
860
|
-
|
|
504
|
+
default: a(() => [
|
|
505
|
+
H(h(S.value ? e(T)("SOURCE_PUBLISH.PUBLISH_AUTHORIZE_STATUS") || "已授权" : e(T)("SOURCE_PUBLISH.PUBLISH_UNAUTHORIZE_STATUS") || "未授权"), 1)
|
|
861
506
|
]),
|
|
862
507
|
_: 1
|
|
863
|
-
}, 8, ["type"])) :
|
|
508
|
+
}, 8, ["type"])) : P("", !0)
|
|
864
509
|
]),
|
|
865
|
-
action:
|
|
866
|
-
|
|
867
|
-
e(
|
|
510
|
+
action: a(({ row: n }) => [
|
|
511
|
+
u("div", mt, [
|
|
512
|
+
e(Y).includes(n.id) ? (d(), C(e(me), {
|
|
868
513
|
key: 0,
|
|
869
514
|
type: "primary",
|
|
870
515
|
link: "",
|
|
871
|
-
onClick: (
|
|
516
|
+
onClick: (c) => t()
|
|
872
517
|
}, {
|
|
873
|
-
default:
|
|
874
|
-
|
|
518
|
+
default: a(() => [
|
|
519
|
+
H(h(e(T)("SOURCE_PUBLISH.CONFIG") || "配置"), 1)
|
|
875
520
|
]),
|
|
876
521
|
_: 1
|
|
877
|
-
}, 8, ["onClick"])) :
|
|
878
|
-
e(X).slice(0, 3).includes(
|
|
522
|
+
}, 8, ["onClick"])) : P("", !0),
|
|
523
|
+
e(X).slice(0, 3).includes(n.id) && o.sourceType != e(D).PLUGIN && V.value ? (d(), C(e(ee), {
|
|
879
524
|
key: 1,
|
|
880
|
-
modelValue:
|
|
881
|
-
"onUpdate:modelValue":
|
|
882
|
-
placeholder: e(
|
|
525
|
+
modelValue: m.value,
|
|
526
|
+
"onUpdate:modelValue": s[3] || (s[3] = (c) => m.value = c),
|
|
527
|
+
placeholder: e(T)("SOURCE_PUBLISH.DEFAULT_SELECT_MSG") || "请选择",
|
|
883
528
|
style: { width: "150px" }
|
|
884
529
|
}, {
|
|
885
|
-
prefix:
|
|
886
|
-
|
|
887
|
-
|
|
530
|
+
prefix: a(() => [
|
|
531
|
+
u("div", _t, h(e(T)("SOURCE_PUBLISH.CATEGORY") || "分类"), 1),
|
|
532
|
+
s[7] || (s[7] = u("div", { class: "divider" }, null, -1))
|
|
888
533
|
]),
|
|
889
|
-
default:
|
|
890
|
-
(
|
|
891
|
-
key:
|
|
892
|
-
label:
|
|
893
|
-
value:
|
|
534
|
+
default: a(() => [
|
|
535
|
+
(d(!0), B(Z, null, $(e(p), (c) => (d(), C(e(te), {
|
|
536
|
+
key: c.value,
|
|
537
|
+
label: c.label,
|
|
538
|
+
value: c.value
|
|
894
539
|
}, null, 8, ["label", "value"]))), 128))
|
|
895
540
|
]),
|
|
896
541
|
_: 1
|
|
897
|
-
}, 8, ["modelValue", "placeholder"])) :
|
|
542
|
+
}, 8, ["modelValue", "placeholder"])) : P("", !0)
|
|
898
543
|
])
|
|
899
544
|
]),
|
|
900
545
|
_: 1
|
|
901
546
|
}, 8, ["columns", "data", "on-row-key", "total", "expand-row-keys"])
|
|
902
547
|
]));
|
|
903
548
|
}
|
|
904
|
-
},
|
|
549
|
+
}, At = /* @__PURE__ */ k(ht, [["__scopeId", "data-v-5ffe42e0"]]), gt = {
|
|
905
550
|
class: "publish-container",
|
|
906
551
|
id: "source-publish-container"
|
|
907
|
-
},
|
|
552
|
+
}, yt = { class: "publish-container__back" }, It = { class: "publish-container__config" }, Tt = { class: "publish-container__config" }, Ut = {
|
|
908
553
|
__name: "layout",
|
|
909
554
|
props: {
|
|
910
555
|
showPublishConfig: {
|
|
@@ -932,16 +577,16 @@ const se = /* @__PURE__ */ k(Ke, [["render", ze], ["__scopeId", "data-v-d8a76b28
|
|
|
932
577
|
default: !1
|
|
933
578
|
}
|
|
934
579
|
},
|
|
935
|
-
setup(
|
|
936
|
-
const
|
|
580
|
+
setup(o) {
|
|
581
|
+
const v = _(null), O = _(null), U = fe(), b = Ee(), R = _(!1), A = _(!1), I = _(""), w = _(""), N = _(""), { t: S } = W(), E = o, { sourcePublish: m, checkVersion: x, getPublishVersionDetail: T } = Ae(), p = _({
|
|
937
582
|
versionNumber: "0.0.1",
|
|
938
583
|
selectedData: [],
|
|
939
584
|
showExec: 1
|
|
940
|
-
}),
|
|
585
|
+
}), G = _({
|
|
941
586
|
versionNumber: [
|
|
942
587
|
{
|
|
943
588
|
required: !0,
|
|
944
|
-
message:
|
|
589
|
+
message: S("SOURCE_PUBLISH.VERSION_NUMBER_MSG") || "请输入版本号",
|
|
945
590
|
trigger: "blur"
|
|
946
591
|
},
|
|
947
592
|
{
|
|
@@ -950,21 +595,21 @@ const se = /* @__PURE__ */ k(Ke, [["render", ze], ["__scopeId", "data-v-d8a76b28
|
|
|
950
595
|
trigger: "blur"
|
|
951
596
|
},
|
|
952
597
|
{
|
|
953
|
-
validator: async (
|
|
954
|
-
if (
|
|
955
|
-
|
|
956
|
-
const { data:
|
|
957
|
-
sourceType:
|
|
958
|
-
sourceId:
|
|
598
|
+
validator: async (g, t, l) => {
|
|
599
|
+
if (A.value) return;
|
|
600
|
+
A.value = !0;
|
|
601
|
+
const { data: f } = await x({
|
|
602
|
+
sourceType: I.value,
|
|
603
|
+
sourceId: w.value,
|
|
959
604
|
versionNumber: p.value.versionNumber
|
|
960
605
|
}).finally(() => {
|
|
961
|
-
|
|
606
|
+
A.value = !1;
|
|
962
607
|
});
|
|
963
|
-
if (
|
|
964
|
-
const
|
|
965
|
-
|
|
608
|
+
if (f) {
|
|
609
|
+
const V = S("SOURCE_PUBLISH.VERSION_NUMBER_EXIST_MSG") || "版本号已存在";
|
|
610
|
+
l(new Error(V));
|
|
966
611
|
} else
|
|
967
|
-
|
|
612
|
+
l();
|
|
968
613
|
},
|
|
969
614
|
trigger: "blur"
|
|
970
615
|
}
|
|
@@ -972,119 +617,119 @@ const se = /* @__PURE__ */ k(Ke, [["render", ze], ["__scopeId", "data-v-d8a76b28
|
|
|
972
617
|
selectedData: [
|
|
973
618
|
{
|
|
974
619
|
required: !0,
|
|
975
|
-
message:
|
|
620
|
+
message: S("SOURCE_PUBLISH.PUBLISH_CHANNEL_MSG") || "请至少选择一个发布渠道",
|
|
976
621
|
trigger: "change"
|
|
977
622
|
},
|
|
978
623
|
{
|
|
979
|
-
validator: (
|
|
624
|
+
validator: (g, t, l) => {
|
|
980
625
|
if (p.value.selectedData.length === 0) {
|
|
981
|
-
const
|
|
982
|
-
|
|
626
|
+
const f = S("SOURCE_PUBLISH.PUBLISH_CHANNEL_MSG") || "请至少选择一个发布渠道";
|
|
627
|
+
l(new Error(f));
|
|
983
628
|
} else
|
|
984
|
-
|
|
629
|
+
l();
|
|
985
630
|
},
|
|
986
631
|
trigger: "change"
|
|
987
632
|
}
|
|
988
633
|
]
|
|
989
|
-
}),
|
|
990
|
-
|
|
991
|
-
},
|
|
992
|
-
const
|
|
993
|
-
|
|
994
|
-
},
|
|
995
|
-
const
|
|
996
|
-
if (!
|
|
997
|
-
|
|
998
|
-
const { code:
|
|
999
|
-
|
|
634
|
+
}), q = () => {
|
|
635
|
+
O.value?.validateField("selectedData");
|
|
636
|
+
}, j = (g) => {
|
|
637
|
+
const t = g.replace(/[^0-9.]/g, ""), l = t.split(".");
|
|
638
|
+
l.length > 3 ? p.value.versionNumber = l.slice(0, 3).join(".") : p.value.versionNumber = t;
|
|
639
|
+
}, K = async () => {
|
|
640
|
+
const g = await Q();
|
|
641
|
+
if (!g) return;
|
|
642
|
+
R.value = !0;
|
|
643
|
+
const { code: t } = await m(g).finally(() => {
|
|
644
|
+
R.value = !1;
|
|
1000
645
|
});
|
|
1001
|
-
if (
|
|
1002
|
-
const
|
|
1003
|
-
|
|
1004
|
-
path:
|
|
1005
|
-
query: { active: "publish", from:
|
|
646
|
+
if (t == 0) {
|
|
647
|
+
const l = window.history.state;
|
|
648
|
+
l && b.replace({
|
|
649
|
+
path: l.back,
|
|
650
|
+
query: { active: "publish", from: U.query.from }
|
|
1006
651
|
});
|
|
1007
652
|
}
|
|
1008
653
|
}, Q = async () => {
|
|
1009
|
-
if (await
|
|
1010
|
-
const
|
|
1011
|
-
const
|
|
1012
|
-
channelType: Number(
|
|
1013
|
-
},
|
|
1014
|
-
return
|
|
1015
|
-
}),
|
|
654
|
+
if (await O.value.validate()) {
|
|
655
|
+
const t = p.value.selectedData.map((L) => {
|
|
656
|
+
const r = {
|
|
657
|
+
channelType: Number(L.id)
|
|
658
|
+
}, s = v.value.getVisibleRangeData(L.id);
|
|
659
|
+
return s && (r.visibleScope = s.visibleScope, r.allVisible = s.allVisible, r.openStatus = s.openStatus), r;
|
|
660
|
+
}), l = {
|
|
1016
661
|
...p.value,
|
|
1017
|
-
channels:
|
|
1018
|
-
sourceType:
|
|
1019
|
-
sourceId:
|
|
1020
|
-
workspaceBnid:
|
|
662
|
+
channels: t,
|
|
663
|
+
sourceType: I.value,
|
|
664
|
+
sourceId: w.value,
|
|
665
|
+
workspaceBnid: E.businessSpace || ""
|
|
1021
666
|
};
|
|
1022
|
-
|
|
1023
|
-
let
|
|
1024
|
-
const
|
|
1025
|
-
if (
|
|
1026
|
-
(
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
].includes(
|
|
1032
|
-
),
|
|
1033
|
-
if (
|
|
1034
|
-
const
|
|
1035
|
-
return
|
|
667
|
+
I.value == D.WORKFLOW && (l.forcePublish = !0);
|
|
668
|
+
let f = !1;
|
|
669
|
+
const V = p.value.selectedData.map((L) => L.id);
|
|
670
|
+
if (f = V.find(
|
|
671
|
+
(L) => [
|
|
672
|
+
y.AGENT_STORE,
|
|
673
|
+
y.WORKFLOW_STORE,
|
|
674
|
+
y.PLUGIN_STORE,
|
|
675
|
+
y.MCP_STORE
|
|
676
|
+
].includes(L)
|
|
677
|
+
), f) {
|
|
678
|
+
if (l.bakInt = v.value.bakInt, !l.bakInt) {
|
|
679
|
+
const L = S("SOURCE_PUBLISH.PUBLISH_CATEGORY_MSG") || "请选择分类";
|
|
680
|
+
return de.warning(L), !1;
|
|
1036
681
|
}
|
|
1037
|
-
if (
|
|
1038
|
-
const
|
|
1039
|
-
return
|
|
682
|
+
if (V.includes(y.PLUGIN_STORE) && N.value == "1" && (l.serviceType = v.value.serviceType, !l.serviceType)) {
|
|
683
|
+
const L = S("SOURCE_PUBLISH.PUBLISH_SERVICE_TYPE_MSG") || "请选择服务类型";
|
|
684
|
+
return de.warning(L), !1;
|
|
1040
685
|
}
|
|
1041
686
|
}
|
|
1042
|
-
return delete
|
|
687
|
+
return delete l.selectedData, l;
|
|
1043
688
|
} else
|
|
1044
689
|
return console.log("error submit!"), !1;
|
|
1045
|
-
},
|
|
690
|
+
}, M = _([]), J = async () => {
|
|
1046
691
|
console.log(
|
|
1047
|
-
|
|
1048
|
-
|
|
692
|
+
I.value,
|
|
693
|
+
w.value,
|
|
1049
694
|
"sourceType.value,sourceBnid.value,"
|
|
1050
695
|
);
|
|
1051
|
-
const { data:
|
|
1052
|
-
|
|
1053
|
-
|
|
696
|
+
const { data: g } = await T(
|
|
697
|
+
I.value,
|
|
698
|
+
w.value
|
|
1054
699
|
);
|
|
1055
|
-
if (
|
|
1056
|
-
const
|
|
1057
|
-
|
|
700
|
+
if (g) {
|
|
701
|
+
const t = g.versionNumber.split(".");
|
|
702
|
+
t.length === 3 ? t[2] = parseInt(t[2]) + 1 : t.push("1"), p.value.versionNumber = t.join("."), p.value.versionDesc = g.versionDesc, p.value.showExec = g.showExec, p.value.showKnowledge = g.showKnowledge, v.value.bakInt = g.bakInt;
|
|
1058
703
|
}
|
|
1059
|
-
|
|
1060
|
-
let
|
|
1061
|
-
const
|
|
1062
|
-
if (
|
|
1063
|
-
|
|
1064
|
-
}),
|
|
1065
|
-
|
|
704
|
+
M.value = g?.channels || [], ve(() => {
|
|
705
|
+
let t = [];
|
|
706
|
+
const l = {};
|
|
707
|
+
if (g?.channels.forEach((f) => {
|
|
708
|
+
t.push(String(f.channelType)), (f.bakInt || f.bakInt == 0) && (l.bakInt = String(f.bakInt)), (f.serviceType || f.serviceType == 0) && (l.serviceType = String(f.serviceType)), (f.currency || f.currency == 0) && (l.currency = f.currency);
|
|
709
|
+
}), t.length == 0)
|
|
710
|
+
I.value == D.AGENT ? t = [y.H5, y.AIBox] : t = [y.AIBox];
|
|
1066
711
|
else {
|
|
1067
|
-
const
|
|
1068
|
-
|
|
712
|
+
const f = t.find((V) => V == y.AIBox);
|
|
713
|
+
I.value == D.AGENT && !f && t.push(y.AIBox);
|
|
1069
714
|
}
|
|
1070
|
-
|
|
715
|
+
v.value?.handleToggleRowSelection(t, l);
|
|
1071
716
|
});
|
|
1072
717
|
};
|
|
1073
|
-
return
|
|
1074
|
-
console.log("props",
|
|
1075
|
-
}), (
|
|
1076
|
-
|
|
1077
|
-
default:
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
718
|
+
return ne(() => {
|
|
719
|
+
console.log("props", E), I.value = E.propsSourceType, N.value = E.propsAuthType, w.value = E.propsSourceBnid, J();
|
|
720
|
+
}), (g, t) => (d(), B("div", gt, [
|
|
721
|
+
i(De, { "back-bar-style": "#f7f8fa" }, {
|
|
722
|
+
default: a(() => [
|
|
723
|
+
u("div", yt, [
|
|
724
|
+
u("span", null, h(e(S)("SOURCE_PUBLISH.PUBLISH") || "发布"), 1),
|
|
725
|
+
i(e(me), {
|
|
1081
726
|
type: "primary",
|
|
1082
727
|
class: "publish-container__sure",
|
|
1083
|
-
onClick:
|
|
1084
|
-
loading:
|
|
728
|
+
onClick: K,
|
|
729
|
+
loading: R.value
|
|
1085
730
|
}, {
|
|
1086
|
-
default:
|
|
1087
|
-
|
|
731
|
+
default: a(() => [
|
|
732
|
+
H(h(e(S)("SOURCE_PUBLISH.SURE_PUBLISH") || "确认发布"), 1)
|
|
1088
733
|
]),
|
|
1089
734
|
_: 1
|
|
1090
735
|
}, 8, ["loading"])
|
|
@@ -1092,53 +737,53 @@ const se = /* @__PURE__ */ k(Ke, [["render", ze], ["__scopeId", "data-v-d8a76b28
|
|
|
1092
737
|
]),
|
|
1093
738
|
_: 1
|
|
1094
739
|
}),
|
|
1095
|
-
|
|
740
|
+
i(e(Be), {
|
|
1096
741
|
ref_key: "formRef",
|
|
1097
|
-
ref:
|
|
742
|
+
ref: O,
|
|
1098
743
|
model: p.value,
|
|
1099
744
|
"label-width": "80px",
|
|
1100
745
|
class: "publish-container__form",
|
|
1101
|
-
rules:
|
|
746
|
+
rules: G.value,
|
|
1102
747
|
"label-position": "top",
|
|
1103
|
-
onSubmit:
|
|
748
|
+
onSubmit: t[5] || (t[5] = Re(() => {
|
|
1104
749
|
}, ["prevent"]))
|
|
1105
750
|
}, {
|
|
1106
|
-
default:
|
|
1107
|
-
|
|
1108
|
-
default:
|
|
1109
|
-
|
|
751
|
+
default: a(() => [
|
|
752
|
+
i(se, null, {
|
|
753
|
+
default: a(() => [
|
|
754
|
+
H(h(e(S)("SOURCE_PUBLISH.PUBLISH_RECORD") || "发布记录"), 1)
|
|
1110
755
|
]),
|
|
1111
756
|
_: 1
|
|
1112
757
|
}),
|
|
1113
|
-
|
|
1114
|
-
default:
|
|
1115
|
-
|
|
1116
|
-
label: e(
|
|
758
|
+
i(ae, null, {
|
|
759
|
+
default: a(() => [
|
|
760
|
+
i(e(F), {
|
|
761
|
+
label: e(S)("SOURCE_PUBLISH.VERSION_NUMBER") || "版本号",
|
|
1117
762
|
prop: "versionNumber"
|
|
1118
763
|
}, {
|
|
1119
|
-
default:
|
|
1120
|
-
|
|
764
|
+
default: a(() => [
|
|
765
|
+
i(e(re), {
|
|
1121
766
|
modelValue: p.value.versionNumber,
|
|
1122
|
-
"onUpdate:modelValue":
|
|
1123
|
-
placeholder: e(
|
|
1124
|
-
onInput:
|
|
767
|
+
"onUpdate:modelValue": t[0] || (t[0] = (l) => p.value.versionNumber = l),
|
|
768
|
+
placeholder: e(S)("SOURCE_PUBLISH.VERSION_PLACEHOLDER") || "版本示例:0.0.1",
|
|
769
|
+
onInput: j
|
|
1125
770
|
}, null, 8, ["modelValue", "placeholder"])
|
|
1126
771
|
]),
|
|
1127
772
|
_: 1
|
|
1128
773
|
}, 8, ["label"]),
|
|
1129
|
-
|
|
1130
|
-
label: e(
|
|
774
|
+
i(e(F), {
|
|
775
|
+
label: e(S)("SOURCE_PUBLISH.VERSION_DESC") || "版本描述",
|
|
1131
776
|
prop: "versionDesc"
|
|
1132
777
|
}, {
|
|
1133
|
-
default:
|
|
1134
|
-
|
|
778
|
+
default: a(() => [
|
|
779
|
+
i(e(re), {
|
|
1135
780
|
type: "textarea",
|
|
1136
781
|
modelValue: p.value.versionDesc,
|
|
1137
|
-
"onUpdate:modelValue":
|
|
782
|
+
"onUpdate:modelValue": t[1] || (t[1] = (l) => p.value.versionDesc = l),
|
|
1138
783
|
rows: 4,
|
|
1139
784
|
maxlength: "2000",
|
|
1140
785
|
"show-word-limit": "",
|
|
1141
|
-
placeholder: e(
|
|
786
|
+
placeholder: e(S)("SOURCE_PUBLISH.VERSION_DESC") || "版本描述"
|
|
1142
787
|
}, null, 8, ["modelValue", "placeholder"])
|
|
1143
788
|
]),
|
|
1144
789
|
_: 1
|
|
@@ -1146,29 +791,29 @@ const se = /* @__PURE__ */ k(Ke, [["render", ze], ["__scopeId", "data-v-d8a76b28
|
|
|
1146
791
|
]),
|
|
1147
792
|
_: 1
|
|
1148
793
|
}),
|
|
1149
|
-
|
|
1150
|
-
default:
|
|
1151
|
-
|
|
794
|
+
o.showPublishConfig ? (d(), C(se, { key: 0 }, {
|
|
795
|
+
default: a(() => [
|
|
796
|
+
H(h(e(S)("SOURCE_PUBLISH.PUBLISH_CONFIG") || "发布配置"), 1)
|
|
1152
797
|
]),
|
|
1153
798
|
_: 1
|
|
1154
|
-
})) :
|
|
1155
|
-
|
|
1156
|
-
default:
|
|
1157
|
-
|
|
1158
|
-
default:
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
src:
|
|
799
|
+
})) : P("", !0),
|
|
800
|
+
o.showPublishConfig ? (d(), C(ae, { key: 1 }, {
|
|
801
|
+
default: a(() => [
|
|
802
|
+
i(e(F), { prop: "showExec" }, {
|
|
803
|
+
default: a(() => [
|
|
804
|
+
u("div", It, [
|
|
805
|
+
u("p", null, [
|
|
806
|
+
t[6] || (t[6] = u("img", {
|
|
807
|
+
src: Ke,
|
|
1163
808
|
width: "20",
|
|
1164
809
|
height: "20",
|
|
1165
810
|
alt: ""
|
|
1166
811
|
}, null, -1)),
|
|
1167
|
-
|
|
812
|
+
u("span", null, h(e(S)("SOURCE_PUBLISH.SHOW_EXECUTE_PROCESS") || "展示执行过程"), 1)
|
|
1168
813
|
]),
|
|
1169
|
-
|
|
814
|
+
i(e(ce), {
|
|
1170
815
|
modelValue: p.value.showExec,
|
|
1171
|
-
"onUpdate:modelValue":
|
|
816
|
+
"onUpdate:modelValue": t[2] || (t[2] = (l) => p.value.showExec = l),
|
|
1172
817
|
"active-value": 1,
|
|
1173
818
|
"inactive-value": 0
|
|
1174
819
|
}, null, 8, ["modelValue"])
|
|
@@ -1176,21 +821,21 @@ const se = /* @__PURE__ */ k(Ke, [["render", ze], ["__scopeId", "data-v-d8a76b28
|
|
|
1176
821
|
]),
|
|
1177
822
|
_: 1
|
|
1178
823
|
}),
|
|
1179
|
-
|
|
1180
|
-
default:
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
src:
|
|
824
|
+
i(e(F), { prop: "showKnowledge" }, {
|
|
825
|
+
default: a(() => [
|
|
826
|
+
u("div", Tt, [
|
|
827
|
+
u("p", null, [
|
|
828
|
+
t[7] || (t[7] = u("img", {
|
|
829
|
+
src: Me,
|
|
1185
830
|
width: "20",
|
|
1186
831
|
height: "20",
|
|
1187
832
|
alt: ""
|
|
1188
833
|
}, null, -1)),
|
|
1189
|
-
|
|
834
|
+
u("span", null, h(e(S)("SOURCE_PUBLISH.SHOW_RECALL_KNOWLEDGE") || "展示召回的知识库内容"), 1)
|
|
1190
835
|
]),
|
|
1191
|
-
|
|
836
|
+
i(e(ce), {
|
|
1192
837
|
modelValue: p.value.showKnowledge,
|
|
1193
|
-
"onUpdate:modelValue":
|
|
838
|
+
"onUpdate:modelValue": t[3] || (t[3] = (l) => p.value.showKnowledge = l),
|
|
1194
839
|
"active-value": 1,
|
|
1195
840
|
"inactive-value": 0
|
|
1196
841
|
}, null, 8, ["modelValue"])
|
|
@@ -1200,26 +845,26 @@ const se = /* @__PURE__ */ k(Ke, [["render", ze], ["__scopeId", "data-v-d8a76b28
|
|
|
1200
845
|
})
|
|
1201
846
|
]),
|
|
1202
847
|
_: 1
|
|
1203
|
-
})) :
|
|
1204
|
-
|
|
1205
|
-
default:
|
|
1206
|
-
|
|
1207
|
-
|
|
848
|
+
})) : P("", !0),
|
|
849
|
+
i(se, null, {
|
|
850
|
+
default: a(() => [
|
|
851
|
+
t[8] || (t[8] = u("span", { class: "publish-container__required" }, "*", -1)),
|
|
852
|
+
H(h(e(S)("SOURCE_PUBLISH.PUBLISH_SETTING") || "发布设置"), 1)
|
|
1208
853
|
]),
|
|
1209
854
|
_: 1
|
|
1210
855
|
}),
|
|
1211
|
-
|
|
1212
|
-
default:
|
|
1213
|
-
|
|
1214
|
-
default:
|
|
1215
|
-
|
|
856
|
+
i(ae, null, {
|
|
857
|
+
default: a(() => [
|
|
858
|
+
i(e(F), { prop: "selectedData" }, {
|
|
859
|
+
default: a(() => [
|
|
860
|
+
i(At, {
|
|
1216
861
|
ref_key: "publishSettingsRef",
|
|
1217
|
-
ref:
|
|
1218
|
-
"source-type":
|
|
1219
|
-
"channel-management":
|
|
862
|
+
ref: v,
|
|
863
|
+
"source-type": I.value,
|
|
864
|
+
"channel-management": M.value,
|
|
1220
865
|
modelValue: p.value.selectedData,
|
|
1221
|
-
"onUpdate:modelValue":
|
|
1222
|
-
onValidateField:
|
|
866
|
+
"onUpdate:modelValue": t[4] || (t[4] = (l) => p.value.selectedData = l),
|
|
867
|
+
onValidateField: q
|
|
1223
868
|
}, null, 8, ["source-type", "channel-management", "modelValue"])
|
|
1224
869
|
]),
|
|
1225
870
|
_: 1
|
|
@@ -1232,28 +877,34 @@ const se = /* @__PURE__ */ k(Ke, [["render", ze], ["__scopeId", "data-v-d8a76b28
|
|
|
1232
877
|
}, 8, ["model", "rules"])
|
|
1233
878
|
]));
|
|
1234
879
|
}
|
|
1235
|
-
},
|
|
880
|
+
}, bt = /* @__PURE__ */ k(Ut, [["__scopeId", "data-v-5f779e86"]]), Ft = ge(bt);
|
|
1236
881
|
export {
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
882
|
+
Y as API_CHANNEL_TYPES,
|
|
883
|
+
xe as AUTHORIZED_CHANNEL_TYPES,
|
|
884
|
+
it as ApiTooltip,
|
|
1240
885
|
pe as CHANNEL_ICON_CONFIG,
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
886
|
+
ot as FeishuTooltip,
|
|
887
|
+
Mt as INACTIVE_ENUM,
|
|
888
|
+
Xt as LIBRARY_PAGE,
|
|
889
|
+
Yt as OFFICIAL_LABEL,
|
|
890
|
+
le as OPEN_STATUS_VALUE,
|
|
891
|
+
el as PUBLISH_STATUS,
|
|
892
|
+
Wt as PUBLISH_STATUS_COLORS,
|
|
893
|
+
zt as PUBLISH_STATUS_ICONS,
|
|
894
|
+
qt as PUBLISH_STATUS_TEXT,
|
|
895
|
+
jt as PUBLISH_STATUS_TYPE,
|
|
896
|
+
Ve as PUBLISH_TYPE_ICON_MAPPING,
|
|
897
|
+
nt as PermissionSetting,
|
|
898
|
+
Je as PublishIcon,
|
|
899
|
+
At as PublishSettings,
|
|
900
|
+
Qt as RELEASE_CHANNEL_CONFIG,
|
|
901
|
+
y as RELEASE_CHANNEL_TYPE,
|
|
1251
902
|
X as STORE_CHANNEL_TYPES,
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
903
|
+
Ft as SourcePublish,
|
|
904
|
+
Ft as default,
|
|
905
|
+
Ne as getChannelsByType,
|
|
906
|
+
we as getStoreDetailType,
|
|
907
|
+
Jt as serviceStatus,
|
|
908
|
+
Zt as serviceType,
|
|
909
|
+
ke as serviceTypeMap
|
|
1259
910
|
};
|