china-mobile-international-custom-components 0.0.43 → 0.0.44
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/AvailableRangePreview.mjs +1 -1
- package/es/AvailableRangeSetting.mjs +2 -2
- package/es/CommonTagsList.mjs +3 -3
- package/es/CustomSidebar.mjs +1 -1
- package/es/FileUploader.mjs +1 -1
- package/es/PageContainer.mjs +195 -173
- package/es/ParameterTable.mjs +1 -1
- package/es/SourcePublish.mjs +120 -122
- package/es/Table.mjs +2 -2
- package/es/assets/PageContainer.css +1 -1
- package/es/assets/SourcePublish.css +1 -1
- package/es/assets/index3.css +1 -0
- package/es/assets/layout2.css +1 -1
- package/es/chunks/{BackBar.DY42HcZy.js → BackBar.9Pp2SYB-.js} +1 -1
- package/es/chunks/{BackBar.eaUb1JvV.js → BackBar.DwhmSL-a.js} +98 -98
- package/es/chunks/{config.CyAT4SUn.js → config.DVEvXGIL.js} +11 -11
- package/es/chunks/{i18n.CfMhDOdX.js → i18n.BNeBD4gR.js} +6 -6
- package/es/chunks/{i18n.Bd7hh14j.js → i18n.DMVLcyDY.js} +2 -2
- package/es/chunks/i18n.DUrvNBQz.js +4028 -0
- package/es/chunks/index.BcLVH95_.js +4058 -0
- package/es/chunks/index.CSPp4g5C.js +303 -0
- package/es/chunks/{index.CHlFhI6c.js → index.CZTB65ge.js} +1 -1
- package/es/chunks/index.ClqvUq64.js +302 -0
- package/es/chunks/index.Dh5IGfxO.js +290 -0
- package/es/chunks/index.Doax01RQ.js +254 -0
- package/es/chunks/{layout.B1qqvrXz.js → layout.BSXfM0rC.js} +144 -130
- package/es/index.mjs +5 -5
- package/lib/ApplicationTypeTag.js +1 -1
- package/lib/AvailableRangePreview.js +1 -1
- package/lib/AvailableRangeSetting.js +1 -1
- package/lib/CommonTagsList.js +1 -1
- package/lib/CustomSidebar.js +1 -1
- package/lib/FileUploader.js +1 -1
- package/lib/PageContainer.js +1 -1
- package/lib/ParameterTable.js +1 -1
- package/lib/SourcePublish.js +1 -1
- package/lib/Table.js +1 -1
- package/lib/assets/PageContainer.css +1 -1
- package/lib/assets/SourcePublish.css +1 -1
- package/lib/assets/index3.css +1 -0
- package/lib/assets/layout2.css +1 -1
- package/lib/chunks/BackBar.CYThcqhK.js +1 -0
- package/lib/chunks/{BackBar.CaaASGvb.js → BackBar.DFDSVp2a.js} +1 -1
- package/lib/chunks/{config.BInpXFGZ.js → config.Dwnp4fRZ.js} +1 -1
- package/lib/chunks/{i18n.D3L1FBDI.js → i18n.Bzvn6t8H.js} +2 -2
- package/lib/chunks/i18n.D-d0yyXi.js +6 -0
- package/lib/chunks/index.6X8xsqRJ.js +1 -0
- package/lib/chunks/index.Bk55us0s.js +1 -0
- package/lib/chunks/index.CP9rhXZ5.js +1 -0
- package/lib/chunks/index.CSLWrMRE.js +1 -0
- package/lib/chunks/index.CV29Us4A.js +6 -0
- package/lib/chunks/{index.D-pFPuUr.js → index.DO3h_zf2.js} +1 -1
- package/lib/chunks/layout.DL-8uhpw.js +1 -0
- package/lib/index.js +1 -1
- package/package.json +4 -4
- package/es/chunks/config.JrGX09T5.js +0 -435
- package/es/chunks/index.DjDvyGXt.js +0 -313
- package/lib/chunks/BackBar.By7ouDgL.js +0 -1
- package/lib/chunks/config.CL0cmPQ6.js +0 -1
- package/lib/chunks/index.zQ1SfvBa.js +0 -1
- package/lib/chunks/layout.Cen7E9tF.js +0 -1
package/es/SourcePublish.mjs
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import { w as Ae } from "./chunks/index.bCzIhWFw.js";
|
|
2
|
-
import { createElementBlock as B, openBlock as d, renderSlot as pe, shallowRef as ge, ref as _, onMounted as ne, normalizeStyle as ye, createVNode as i, unref as e, withCtx as a, createBlock as
|
|
3
|
-
import { u as
|
|
2
|
+
import { createElementBlock as B, openBlock as d, renderSlot as pe, shallowRef as ge, ref as _, onMounted as ne, normalizeStyle as ye, createVNode as i, unref as e, withCtx as a, createBlock as b, resolveDynamicComponent as Ie, resolveComponent as Te, createCommentVNode as P, normalizeClass as Ue, createElementVNode as u, createTextVNode as H, toDisplayString as h, getCurrentInstance as Ce, computed as ie, watch as be, Fragment as J, renderList as Z, nextTick as Se, withModifiers as Oe } from "vue";
|
|
3
|
+
import { u as Y } from "./chunks/i18n.DMVLcyDY.js";
|
|
4
4
|
import { useRouter as ve, useRoute as Ee } from "vue-router";
|
|
5
|
-
import { ElIcon as
|
|
5
|
+
import { ElIcon as W, ElTooltip as oe, ElCheckbox as Re, ElButton as fe, ElSelect as $, ElOption as ee, ElTag as ue, ElInputNumber as Pe, ElForm as Le, ElFormItem as F, ElInput as re, ElSwitch as ce } from "element-plus";
|
|
6
6
|
import { _ as k } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
7
7
|
import { g as Be } from "./chunks/request.24c3shPx.js";
|
|
8
|
-
import { C as de, f as He, b as
|
|
9
|
-
import { I as Kt, L as Mt, O as Xt, P as Yt, c as Wt, d as zt, e as qt, R as jt, s as Qt, j as Jt } from "./chunks/config.
|
|
8
|
+
import { C as de, f as He, b as te, g as y, A as X, i as Ve, h as we, S as le, a as Ne, k as xe } from "./chunks/config.DVEvXGIL.js";
|
|
9
|
+
import { I as Kt, L as Mt, O as Xt, P as Yt, c as Wt, d as zt, e as qt, R as jt, s as Qt, j as Jt } from "./chunks/config.DVEvXGIL.js";
|
|
10
10
|
import { AvailableRangeSetting as ke } from "./AvailableRangeSetting.mjs";
|
|
11
|
-
import { D as me } from "./chunks/index.
|
|
12
|
-
import { P as $t } from "./chunks/index.
|
|
11
|
+
import { D as me } from "./chunks/index.CZTB65ge.js";
|
|
12
|
+
import { P as $t } from "./chunks/index.CZTB65ge.js";
|
|
13
13
|
import { IconTip as _e } from "color-message-aibox-vue";
|
|
14
|
-
import { A as Ge, _ as Fe } from "./chunks/BackBar.
|
|
14
|
+
import { A as Ge, _ as Fe } from "./chunks/BackBar.9Pp2SYB-.js";
|
|
15
15
|
import { S as D } from "./chunks/config.DE5PZU2F.js";
|
|
16
16
|
import './assets/SourcePublish.css';const De = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAbeSURBVHic7ZztbxRFHMc/s3vX60FrTynSAi09KIK0aJEY8I32pfFVeYeJ0fIn+BeAfwFvfOE7S2JijDH62kQD7yCK1CAF5OEOigWBwvHUe77xxXDpdXfnbndvr/V6+0muk5md/c3Od3/zsLvTgZCQkJDORXjJvPeoHCmXmUTyGZAARl6G7UxGCDLArJCcyZeYSf8kMm5PdiXg3qNyxIDjUjLt9yrbCSGYWcrxuRshGwq4/2M5JQVf0/6e5pWMkBy7+K34qV6mugJOfCKPIzgR6GW1G5ITs9+IL3SHtQIenJZTSH5szVW1GYIj52ecPdFRwIlpmegySNF5zVZHxqhw4OyMSFsPRJxyb4hyEhmKV0MCwXHgmPWAzQMnp2WiHOPxqlxWm2EKkqe/WumFdg+MM216mh12FJPATG2CTcBIhA8AkCj/dAjj3TD1Phwaa1zi9Xn48ge9ve4ofPoRDGzyWyc99xbhu1/gyfP69XEdwmdYBDSshZoGE6YBpgm68NCYO/EARofg8Jje3uTB1ogHyu6Hh/X18Bya9nHB7oEOmaxs7PZWkU19EDGdj8Vj3mx5JR7Tl+2DEWuCTUDTaCyg4bGPNAx1F50QLe5vBfqyfeDKAxtieLwgQ+jter0ZXhF1yg4Cuwe6KMyr1wiht9tyD6xTdhA4NeGGo5FnDzT0dlstILwUMIhR2OFafTXhZy+8VaBQ1NstlrzZ8kqxBJHg+kAbvprwjQWY/xeGtjTO+9dNmEvr7c6loT8Bgy2Yyiw+hXNza9CEG3lyuQTf/+rN83V2szn4+WxwLcwpjBgta8H+mnDIMr6acMgydg+s7XCXnwHDeDVuIfTAJgn7wCZxnkiHuCZswk0SNuEmsQk4llyLy2hfbAKuxsP9eiIUsElCAZvEJmCr3xC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cFX1wSqWVavhdizwRa4edCdj2lLfzRRgb6DN3Q3IdVn44qcZRHAncwgZhoA8GtrmfIzC2ve/xVlKrjss/nlRp1fj7Z3kmscW0RluEse1Pr9yHy9PE5qNJlWoT0kjzDm/K2ffCysAiQna+yIEd26zb6fmaGX4yqVLSzgiKUWX+/KkegqnWfFMP7N0FQBYhg2K6f6vzxmVVT63Hp1S8E+IsNM+sJR6Hl4bI9m9Zuy1FIyIiIiIiIrzyPx3JLklkX69sAAAAAElFTkSuQmCC", Me = {}, Xe = { class: "style-title" };
|
|
17
|
-
function Ye(
|
|
17
|
+
function Ye(n, v) {
|
|
18
18
|
return d(), B("div", Xe, [
|
|
19
|
-
pe(
|
|
19
|
+
pe(n.$slots, "default", {}, void 0, !0)
|
|
20
20
|
]);
|
|
21
21
|
}
|
|
22
22
|
const se = /* @__PURE__ */ k(Me, [["render", Ye], ["__scopeId", "data-v-58195e4c"]]), We = {}, ze = { class: "card-container" };
|
|
23
|
-
function qe(
|
|
23
|
+
function qe(n, v) {
|
|
24
24
|
return d(), B("div", ze, [
|
|
25
|
-
pe(
|
|
25
|
+
pe(n.$slots, "default", {}, void 0, !0)
|
|
26
26
|
]);
|
|
27
27
|
}
|
|
28
28
|
const ae = /* @__PURE__ */ k(We, [["render", qe], ["__scopeId", "data-v-d8a76b28"]]), he = () => {
|
|
29
|
-
const { $request:
|
|
29
|
+
const { $request: n, $env: v } = Be();
|
|
30
30
|
return {
|
|
31
|
-
sourcePublish: (A) =>
|
|
31
|
+
sourcePublish: (A) => n({
|
|
32
32
|
url: `${v.VITE_APP_AIBOX_BASE_URL}/api/v1/skillets/versions/publish`,
|
|
33
33
|
method: "post",
|
|
34
34
|
data: A
|
|
35
35
|
}),
|
|
36
|
-
getPublishVersionDetail: (A, I) =>
|
|
36
|
+
getPublishVersionDetail: (A, I) => n({
|
|
37
37
|
url: `${v.VITE_APP_AIBOX_BASE_URL}/api/v1/skillets/versions/${A}/${I}`,
|
|
38
38
|
method: "get"
|
|
39
39
|
}),
|
|
40
|
-
checkVersion: (A) =>
|
|
40
|
+
checkVersion: (A) => n({
|
|
41
41
|
url: `${v.VITE_APP_AIBOX_BASE_URL}/api/v1/skillets/versions/exists`,
|
|
42
42
|
method: "get",
|
|
43
43
|
params: A
|
|
44
44
|
}),
|
|
45
|
-
checkToken: () =>
|
|
45
|
+
checkToken: () => n({
|
|
46
46
|
url: `${v.VITE_APP_AUTH_BASE_URL}/api/v1/api/check-token`,
|
|
47
47
|
method: "post"
|
|
48
48
|
})
|
|
@@ -59,27 +59,27 @@ const ae = /* @__PURE__ */ k(We, [["render", qe], ["__scopeId", "data-v-d8a76b28
|
|
|
59
59
|
default: 30
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
|
-
setup(
|
|
63
|
-
const v =
|
|
62
|
+
setup(n) {
|
|
63
|
+
const v = n, O = Object.keys(de).reduce((C, R) => {
|
|
64
64
|
const A = de[R];
|
|
65
|
-
return
|
|
65
|
+
return C[R] = {
|
|
66
66
|
...A,
|
|
67
67
|
icon: ge(A.icon)
|
|
68
|
-
},
|
|
68
|
+
}, C;
|
|
69
69
|
}, {}), U = _({});
|
|
70
70
|
return ne(() => {
|
|
71
|
-
const
|
|
72
|
-
U.value = O[
|
|
73
|
-
}), (
|
|
71
|
+
const C = He[v.publishType] || "h5";
|
|
72
|
+
U.value = O[C];
|
|
73
|
+
}), (C, R) => (d(), B("div", {
|
|
74
74
|
class: "channel-icon flex items-center justify-center radius-8",
|
|
75
75
|
style: ye({ background: U.value?.backgroundColor })
|
|
76
76
|
}, [
|
|
77
|
-
i(e(
|
|
78
|
-
size:
|
|
77
|
+
i(e(W), {
|
|
78
|
+
size: n.size,
|
|
79
79
|
color: U.value?.iconColor
|
|
80
80
|
}, {
|
|
81
81
|
default: a(() => [
|
|
82
|
-
(d(),
|
|
82
|
+
(d(), b(Ie(U.value?.icon)))
|
|
83
83
|
]),
|
|
84
84
|
_: 1
|
|
85
85
|
}, 8, ["size", "color"])
|
|
@@ -122,21 +122,21 @@ const ae = /* @__PURE__ */ k(We, [["render", qe], ["__scopeId", "data-v-d8a76b28
|
|
|
122
122
|
}
|
|
123
123
|
},
|
|
124
124
|
emits: ["update:detail"],
|
|
125
|
-
setup(
|
|
126
|
-
const { t: U } =
|
|
127
|
-
const m = { ...
|
|
125
|
+
setup(n, { expose: v, emit: O }) {
|
|
126
|
+
const { t: U } = Y(), C = n, R = O, A = _(null), I = (E) => {
|
|
127
|
+
const m = { ...C.detail, openStatus: E };
|
|
128
128
|
R("update:detail", m);
|
|
129
129
|
}, w = (E) => {
|
|
130
|
-
const m = { ...
|
|
130
|
+
const m = { ...C.detail, allVisible: E };
|
|
131
131
|
R("update:detail", m);
|
|
132
132
|
}, N = (E) => {
|
|
133
|
-
const m = { ...
|
|
133
|
+
const m = { ...C.detail, visibleScope: E };
|
|
134
134
|
R("update:detail", m);
|
|
135
135
|
};
|
|
136
136
|
return v({
|
|
137
137
|
getSelectedItems: () => {
|
|
138
138
|
let E = {
|
|
139
|
-
openStatus:
|
|
139
|
+
openStatus: C.detail.openStatus || te.FALSE
|
|
140
140
|
};
|
|
141
141
|
if (A.value) {
|
|
142
142
|
const m = A.value.getSelectedItems();
|
|
@@ -147,20 +147,20 @@ const ae = /* @__PURE__ */ k(We, [["render", qe], ["__scopeId", "data-v-d8a76b28
|
|
|
147
147
|
}), (E, m) => {
|
|
148
148
|
const x = Te("IconTip");
|
|
149
149
|
return d(), B("div", Je, [
|
|
150
|
-
|
|
150
|
+
n.showAvailableRange ? (d(), b(e(ke), {
|
|
151
151
|
key: 0,
|
|
152
|
-
"all-visible":
|
|
153
|
-
"model-value":
|
|
152
|
+
"all-visible": n.detail.allVisible,
|
|
153
|
+
"model-value": n.detail.visibleScope,
|
|
154
154
|
class: Ue(["pd-t-16", {
|
|
155
|
-
"pd-b-16": !
|
|
155
|
+
"pd-b-16": !n.showPermissionSetting
|
|
156
156
|
}]),
|
|
157
|
-
"default-show-count":
|
|
157
|
+
"default-show-count": n.defaultShowCount,
|
|
158
158
|
ref_key: "availableRangeSettingRef",
|
|
159
159
|
ref: A,
|
|
160
160
|
"onUpdate:allVisible": w,
|
|
161
161
|
"onUpdate:modelValue": N
|
|
162
162
|
}, null, 8, ["all-visible", "model-value", "class", "default-show-count"])) : P("", !0),
|
|
163
|
-
|
|
163
|
+
n.showPermissionSetting ? (d(), B("div", Ze, [
|
|
164
164
|
u("div", $e, [
|
|
165
165
|
m[0] || (m[0] = u("span", {
|
|
166
166
|
class: "mg-r-2",
|
|
@@ -174,7 +174,7 @@ const ae = /* @__PURE__ */ k(We, [["render", qe], ["__scopeId", "data-v-d8a76b28
|
|
|
174
174
|
placement: "top"
|
|
175
175
|
}, {
|
|
176
176
|
default: a(() => [
|
|
177
|
-
i(e(
|
|
177
|
+
i(e(W), {
|
|
178
178
|
class: "mg-l-4",
|
|
179
179
|
size: "14px"
|
|
180
180
|
}, {
|
|
@@ -189,10 +189,10 @@ const ae = /* @__PURE__ */ k(We, [["render", qe], ["__scopeId", "data-v-d8a76b28
|
|
|
189
189
|
]),
|
|
190
190
|
u("div", et, [
|
|
191
191
|
i(e(Re), {
|
|
192
|
-
"model-value":
|
|
192
|
+
"model-value": n.detail.openStatus,
|
|
193
193
|
"onUpdate:modelValue": I,
|
|
194
|
-
"true-value": e(
|
|
195
|
-
"false-value": e(
|
|
194
|
+
"true-value": e(te).TRUE,
|
|
195
|
+
"false-value": e(te).FALSE,
|
|
196
196
|
class: "mg-r-0"
|
|
197
197
|
}, {
|
|
198
198
|
default: a(() => [
|
|
@@ -214,8 +214,8 @@ const ae = /* @__PURE__ */ k(We, [["render", qe], ["__scopeId", "data-v-d8a76b28
|
|
|
214
214
|
required: !0
|
|
215
215
|
}
|
|
216
216
|
},
|
|
217
|
-
setup(
|
|
218
|
-
return (v, O) =>
|
|
217
|
+
setup(n) {
|
|
218
|
+
return (v, O) => n.channelType === e(y).FEISHU_WEB ? (d(), b(e(oe), {
|
|
219
219
|
key: 0,
|
|
220
220
|
placement: "top"
|
|
221
221
|
}, {
|
|
@@ -223,7 +223,7 @@ const ae = /* @__PURE__ */ k(We, [["render", qe], ["__scopeId", "data-v-d8a76b28
|
|
|
223
223
|
H(" 发布成功后可在飞书工作台找到与智能体同名应用 ", -1)
|
|
224
224
|
])]),
|
|
225
225
|
default: a(() => [
|
|
226
|
-
i(e(
|
|
226
|
+
i(e(W), {
|
|
227
227
|
size: "14px",
|
|
228
228
|
color: "#999",
|
|
229
229
|
style: { "margin-left": "5px" }
|
|
@@ -249,17 +249,17 @@ const ae = /* @__PURE__ */ k(We, [["render", qe], ["__scopeId", "data-v-d8a76b28
|
|
|
249
249
|
required: !0
|
|
250
250
|
}
|
|
251
251
|
},
|
|
252
|
-
setup(
|
|
253
|
-
const { t: v } =
|
|
254
|
-
return (O, U) => e(
|
|
252
|
+
setup(n) {
|
|
253
|
+
const { t: v } = Y();
|
|
254
|
+
return (O, U) => e(X).includes(n.channelType) ? (d(), b(e(oe), {
|
|
255
255
|
key: 0,
|
|
256
256
|
placement: "top"
|
|
257
257
|
}, {
|
|
258
258
|
content: a(() => [
|
|
259
|
-
H(h(
|
|
259
|
+
H(h(n.isAuth ? e(v)("SOURCE_PUBLISH.PUBLISH_AUTHORIZE_MSG") || "请先完成授权" : e(v)("SOURCE_PUBLISH.PUBLISH_ACCESS_TOKEN_MSG") || "调用需要创建访问凭证"), 1)
|
|
260
260
|
]),
|
|
261
261
|
default: a(() => [
|
|
262
|
-
i(e(
|
|
262
|
+
i(e(W), {
|
|
263
263
|
size: "14px",
|
|
264
264
|
color: "#999",
|
|
265
265
|
style: { "margin-left": "5px" }
|
|
@@ -294,14 +294,14 @@ const ae = /* @__PURE__ */ k(We, [["render", qe], ["__scopeId", "data-v-d8a76b28
|
|
|
294
294
|
}
|
|
295
295
|
},
|
|
296
296
|
emits: ["validateField", "update:modelValue"],
|
|
297
|
-
setup(
|
|
298
|
-
const U =
|
|
297
|
+
setup(n, { expose: v, emit: O }) {
|
|
298
|
+
const U = Ce(), C = ve(), R = Ee(), A = O, I = n, { checkToken: w } = he(), N = _(null), S = _(!1), E = _(""), m = _(""), x = _(""), { t: T } = Y(), p = (() => {
|
|
299
299
|
let r = Ve();
|
|
300
300
|
return r.shift(), r;
|
|
301
|
-
})(), G = ie(() => we(I.sourceType, I.channelManagement)),
|
|
301
|
+
})(), G = ie(() => we(I.sourceType, I.channelManagement)), z = ie(() => [
|
|
302
302
|
{
|
|
303
303
|
type: "selection",
|
|
304
|
-
selectable: (s) => s.id == y.AIBox ? !1 :
|
|
304
|
+
selectable: (s) => s.id == y.AIBox ? !1 : X.includes(s.id) ? S.value : !0
|
|
305
305
|
},
|
|
306
306
|
{
|
|
307
307
|
label: T("SOURCE_PUBLISH.PUBLISH_CHANNEL") || "发布渠道",
|
|
@@ -323,7 +323,7 @@ const ae = /* @__PURE__ */ k(We, [["render", qe], ["__scopeId", "data-v-d8a76b28
|
|
|
323
323
|
prop: "action",
|
|
324
324
|
slot: "action"
|
|
325
325
|
}
|
|
326
|
-
]),
|
|
326
|
+
]), q = [
|
|
327
327
|
{
|
|
328
328
|
label: T("COMMON_HOOKS.SERVICE_TYPE_ENUMLIST.LABEL_1") || "专享服务",
|
|
329
329
|
value: "PRIVATE"
|
|
@@ -334,40 +334,40 @@ const ae = /* @__PURE__ */ k(We, [["render", qe], ["__scopeId", "data-v-d8a76b28
|
|
|
334
334
|
}
|
|
335
335
|
], K = (r) => {
|
|
336
336
|
A("update:modelValue", r), A("validateField");
|
|
337
|
-
},
|
|
337
|
+
}, j = (r, s) => {
|
|
338
338
|
r.allVisible = s.allVisible, r.visibleScope = s.visibleScope, r.openStatus = s.openStatus;
|
|
339
339
|
}, M = async () => {
|
|
340
340
|
const r = await w();
|
|
341
341
|
console.log(r, "res"), S.value = r.data || !1;
|
|
342
|
-
},
|
|
342
|
+
}, Q = (r, s) => {
|
|
343
343
|
s && (m.value = s.bakInt, E.value = s.serviceType, l.value = s.currency);
|
|
344
|
-
const
|
|
345
|
-
|
|
344
|
+
const o = G.value.filter((c) => r.includes(c.id));
|
|
345
|
+
o.forEach((c) => {
|
|
346
346
|
N.value?.handleToggleRowSelection(c, !0);
|
|
347
347
|
}), Se(() => {
|
|
348
|
-
K(
|
|
348
|
+
K(o);
|
|
349
349
|
});
|
|
350
350
|
}, g = () => "no-expand", t = () => {
|
|
351
|
-
|
|
351
|
+
C.push({ name: "ApiManage" });
|
|
352
352
|
}, l = _(""), f = _([]), V = _(!1);
|
|
353
|
-
|
|
353
|
+
be(
|
|
354
354
|
() => I.modelValue,
|
|
355
355
|
(r) => {
|
|
356
356
|
const s = [];
|
|
357
|
-
if (r && r.find((
|
|
358
|
-
const
|
|
359
|
-
(c) =>
|
|
357
|
+
if (r && r.find((o) => le.includes(o.id))) {
|
|
358
|
+
const o = r.find(
|
|
359
|
+
(c) => le.includes(c.id)
|
|
360
360
|
);
|
|
361
|
-
|
|
361
|
+
o && s.push(o.id), V.value = !0;
|
|
362
362
|
} else
|
|
363
363
|
V.value = !1;
|
|
364
|
-
r && r.find((
|
|
364
|
+
r && r.find((o) => o.id === y.FEISHU_WEB) && s.push(y.FEISHU_WEB), f.value = s;
|
|
365
365
|
},
|
|
366
366
|
{ immediate: !0, deep: !0 }
|
|
367
367
|
);
|
|
368
368
|
const L = (r) => {
|
|
369
|
-
const s = `permissionSettingRef_${r}`,
|
|
370
|
-
return
|
|
369
|
+
const s = `permissionSettingRef_${r}`, o = U?.refs?.[s];
|
|
370
|
+
return o ? o.getSelectedItems() : null;
|
|
371
371
|
};
|
|
372
372
|
return ne(() => {
|
|
373
373
|
M(), x.value = R.params.authType;
|
|
@@ -378,13 +378,13 @@ const ae = /* @__PURE__ */ k(We, [["render", qe], ["__scopeId", "data-v-d8a76b28
|
|
|
378
378
|
// visibleWorkspace,
|
|
379
379
|
// visibleUser,
|
|
380
380
|
// openStatus,
|
|
381
|
-
handleToggleRowSelection:
|
|
381
|
+
handleToggleRowSelection: Q,
|
|
382
382
|
getVisibleRangeData: L
|
|
383
383
|
}), (r, s) => (d(), B("div", it, [
|
|
384
384
|
i(Ge, {
|
|
385
|
-
columns:
|
|
385
|
+
columns: z.value,
|
|
386
386
|
data: G.value,
|
|
387
|
-
"on-row-key": (
|
|
387
|
+
"on-row-key": (o) => o.id,
|
|
388
388
|
total: G.value.length,
|
|
389
389
|
style: { width: "100%" },
|
|
390
390
|
hasPage: !1,
|
|
@@ -396,30 +396,30 @@ const ae = /* @__PURE__ */ k(We, [["render", qe], ["__scopeId", "data-v-d8a76b28
|
|
|
396
396
|
ref_key: "aiboxTableRef",
|
|
397
397
|
ref: N
|
|
398
398
|
}, {
|
|
399
|
-
name: a(({ row:
|
|
399
|
+
name: a(({ row: o }) => [
|
|
400
400
|
u("div", ut, [
|
|
401
401
|
i(Qe, {
|
|
402
|
-
"publish-type":
|
|
402
|
+
"publish-type": o.id,
|
|
403
403
|
size: 24
|
|
404
404
|
}, null, 8, ["publish-type"]),
|
|
405
405
|
u("div", rt, [
|
|
406
406
|
u("p", ct, [
|
|
407
|
-
H(h(
|
|
407
|
+
H(h(o.name(n.sourceType)) + " ", 1),
|
|
408
408
|
i(ot, {
|
|
409
|
-
"channel-type":
|
|
409
|
+
"channel-type": o.id,
|
|
410
410
|
"is-auth": S.value
|
|
411
411
|
}, null, 8, ["channel-type", "is-auth"]),
|
|
412
412
|
i(nt, {
|
|
413
|
-
"channel-type":
|
|
413
|
+
"channel-type": o.id
|
|
414
414
|
}, null, 8, ["channel-type"])
|
|
415
415
|
]),
|
|
416
|
-
u("p", dt, h(
|
|
416
|
+
u("p", dt, h(o.description), 1)
|
|
417
417
|
])
|
|
418
418
|
])
|
|
419
419
|
]),
|
|
420
|
-
expand: a(({ row:
|
|
421
|
-
|
|
422
|
-
i(e(
|
|
420
|
+
expand: a(({ row: o }) => [
|
|
421
|
+
o.id === e(y).PLUGIN_STORE ? (d(), B("div", pt, [
|
|
422
|
+
i(e($), {
|
|
423
423
|
modelValue: m.value,
|
|
424
424
|
"onUpdate:modelValue": s[0] || (s[0] = (c) => m.value = c),
|
|
425
425
|
placeholder: e(T)("SOURCE_PUBLISH.DEFAULT_SELECT_MSG") || "请选择",
|
|
@@ -430,7 +430,7 @@ const ae = /* @__PURE__ */ k(We, [["render", qe], ["__scopeId", "data-v-d8a76b28
|
|
|
430
430
|
s[4] || (s[4] = u("div", { class: "divider" }, null, -1))
|
|
431
431
|
]),
|
|
432
432
|
default: a(() => [
|
|
433
|
-
(d(!0), B(
|
|
433
|
+
(d(!0), B(J, null, Z(e(p), (c) => (d(), b(e(ee), {
|
|
434
434
|
key: c.value,
|
|
435
435
|
label: c.label,
|
|
436
436
|
value: c.value
|
|
@@ -438,7 +438,7 @@ const ae = /* @__PURE__ */ k(We, [["render", qe], ["__scopeId", "data-v-d8a76b28
|
|
|
438
438
|
]),
|
|
439
439
|
_: 1
|
|
440
440
|
}, 8, ["modelValue", "placeholder"]),
|
|
441
|
-
x.value == "1" ? (d(),
|
|
441
|
+
x.value == "1" ? (d(), b(e($), {
|
|
442
442
|
key: 0,
|
|
443
443
|
modelValue: E.value,
|
|
444
444
|
"onUpdate:modelValue": s[1] || (s[1] = (c) => E.value = c),
|
|
@@ -450,7 +450,7 @@ const ae = /* @__PURE__ */ k(We, [["render", qe], ["__scopeId", "data-v-d8a76b28
|
|
|
450
450
|
s[5] || (s[5] = u("div", { class: "divider" }, null, -1))
|
|
451
451
|
]),
|
|
452
452
|
default: a(() => [
|
|
453
|
-
(d(), B(
|
|
453
|
+
(d(), B(J, null, Z(q, (c) => i(e(ee), {
|
|
454
454
|
key: c.value,
|
|
455
455
|
label: c.label,
|
|
456
456
|
value: c.value
|
|
@@ -458,7 +458,7 @@ const ae = /* @__PURE__ */ k(We, [["render", qe], ["__scopeId", "data-v-d8a76b28
|
|
|
458
458
|
]),
|
|
459
459
|
_: 1
|
|
460
460
|
}, 8, ["modelValue", "placeholder"])) : P("", !0),
|
|
461
|
-
E.value === e(xe).CURRENCY ? (d(),
|
|
461
|
+
E.value === e(xe).CURRENCY ? (d(), b(e(Pe), {
|
|
462
462
|
key: 1,
|
|
463
463
|
modelValue: l.value,
|
|
464
464
|
"onUpdate:modelValue": s[2] || (s[2] = (c) => l.value = c),
|
|
@@ -473,23 +473,21 @@ const ae = /* @__PURE__ */ k(We, [["render", qe], ["__scopeId", "data-v-d8a76b28
|
|
|
473
473
|
_: 1
|
|
474
474
|
}, 8, ["modelValue"])) : P("", !0)
|
|
475
475
|
])) : P("", !0),
|
|
476
|
-
[
|
|
477
|
-
|
|
478
|
-
|
|
476
|
+
[
|
|
477
|
+
e(y).FEISHU_WEB,
|
|
478
|
+
e(y).AGENT_STORE,
|
|
479
|
+
e(y).MCP_STORE
|
|
480
|
+
].includes(o.id) ? (d(), b(at, {
|
|
479
481
|
key: 1,
|
|
480
|
-
"show-permission-setting":
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
e(y).MCP_STORE
|
|
484
|
-
].includes(String(n.id)),
|
|
485
|
-
detail: n,
|
|
486
|
-
ref: `permissionSettingRef_${n.id}`,
|
|
482
|
+
"show-permission-setting": o.id === e(y).MCP_STORE,
|
|
483
|
+
detail: o,
|
|
484
|
+
ref: `permissionSettingRef_${o.id}`,
|
|
487
485
|
"default-show-count": e(me).two,
|
|
488
|
-
"onUpdate:detail": (c) =>
|
|
489
|
-
}, null, 8, ["show-permission-setting", "
|
|
486
|
+
"onUpdate:detail": (c) => j(o, c)
|
|
487
|
+
}, null, 8, ["show-permission-setting", "detail", "default-show-count", "onUpdate:detail"])) : P("", !0)
|
|
490
488
|
]),
|
|
491
|
-
status: a(({ row:
|
|
492
|
-
e(Ne).includes(
|
|
489
|
+
status: a(({ row: o }) => [
|
|
490
|
+
e(Ne).includes(o.id) ? (d(), b(e(ue), {
|
|
493
491
|
key: 0,
|
|
494
492
|
type: "success"
|
|
495
493
|
}, {
|
|
@@ -497,7 +495,7 @@ const ae = /* @__PURE__ */ k(We, [["render", qe], ["__scopeId", "data-v-d8a76b28
|
|
|
497
495
|
H(h(e(T)("SOURCE_PUBLISH.PUBLISH_AUTHORIZE_STATUS") || "已授权"), 1)
|
|
498
496
|
]),
|
|
499
497
|
_: 1
|
|
500
|
-
})) : e(
|
|
498
|
+
})) : e(X).includes(o.id) ? (d(), b(e(ue), {
|
|
501
499
|
key: 1,
|
|
502
500
|
type: S.value ? "success" : "info"
|
|
503
501
|
}, {
|
|
@@ -507,9 +505,9 @@ const ae = /* @__PURE__ */ k(We, [["render", qe], ["__scopeId", "data-v-d8a76b28
|
|
|
507
505
|
_: 1
|
|
508
506
|
}, 8, ["type"])) : P("", !0)
|
|
509
507
|
]),
|
|
510
|
-
action: a(({ row:
|
|
508
|
+
action: a(({ row: o }) => [
|
|
511
509
|
u("div", ft, [
|
|
512
|
-
e(
|
|
510
|
+
e(X).includes(o.id) ? (d(), b(e(fe), {
|
|
513
511
|
key: 0,
|
|
514
512
|
type: "primary",
|
|
515
513
|
link: "",
|
|
@@ -520,7 +518,7 @@ const ae = /* @__PURE__ */ k(We, [["render", qe], ["__scopeId", "data-v-d8a76b28
|
|
|
520
518
|
]),
|
|
521
519
|
_: 1
|
|
522
520
|
}, 8, ["onClick"])) : P("", !0),
|
|
523
|
-
e(
|
|
521
|
+
e(le).slice(0, 3).includes(o.id) && n.sourceType != e(D).PLUGIN && V.value ? (d(), b(e($), {
|
|
524
522
|
key: 1,
|
|
525
523
|
modelValue: m.value,
|
|
526
524
|
"onUpdate:modelValue": s[3] || (s[3] = (c) => m.value = c),
|
|
@@ -532,7 +530,7 @@ const ae = /* @__PURE__ */ k(We, [["render", qe], ["__scopeId", "data-v-d8a76b28
|
|
|
532
530
|
s[7] || (s[7] = u("div", { class: "divider" }, null, -1))
|
|
533
531
|
]),
|
|
534
532
|
default: a(() => [
|
|
535
|
-
(d(!0), B(
|
|
533
|
+
(d(!0), B(J, null, Z(e(p), (c) => (d(), b(e(ee), {
|
|
536
534
|
key: c.value,
|
|
537
535
|
label: c.label,
|
|
538
536
|
value: c.value
|
|
@@ -546,7 +544,7 @@ const ae = /* @__PURE__ */ k(We, [["render", qe], ["__scopeId", "data-v-d8a76b28
|
|
|
546
544
|
}, 8, ["columns", "data", "on-row-key", "total", "expand-row-keys"])
|
|
547
545
|
]));
|
|
548
546
|
}
|
|
549
|
-
}, ht = /* @__PURE__ */ k(_t, [["__scopeId", "data-v-
|
|
547
|
+
}, ht = /* @__PURE__ */ k(_t, [["__scopeId", "data-v-8c3f6f7c"]]), At = {
|
|
550
548
|
class: "publish-container",
|
|
551
549
|
id: "source-publish-container"
|
|
552
550
|
}, gt = { class: "publish-container__back" }, yt = { class: "publish-container__config" }, It = { class: "publish-container__config" }, Tt = {
|
|
@@ -577,8 +575,8 @@ const ae = /* @__PURE__ */ k(We, [["render", qe], ["__scopeId", "data-v-d8a76b28
|
|
|
577
575
|
default: !1
|
|
578
576
|
}
|
|
579
577
|
},
|
|
580
|
-
setup(
|
|
581
|
-
const v = _(null), O = _(null), U = Ee(),
|
|
578
|
+
setup(n) {
|
|
579
|
+
const v = _(null), O = _(null), U = Ee(), C = ve(), R = _(!1), A = _(!1), I = _(""), w = _(""), N = _(""), { t: S } = Y(), E = n, { sourcePublish: m, checkVersion: x, getPublishVersionDetail: T } = he(), p = _({
|
|
582
580
|
versionNumber: "0.0.1",
|
|
583
581
|
selectedData: [],
|
|
584
582
|
showExec: 1
|
|
@@ -631,13 +629,13 @@ const ae = /* @__PURE__ */ k(We, [["render", qe], ["__scopeId", "data-v-d8a76b28
|
|
|
631
629
|
trigger: "change"
|
|
632
630
|
}
|
|
633
631
|
]
|
|
634
|
-
}),
|
|
632
|
+
}), z = () => {
|
|
635
633
|
O.value?.validateField("selectedData");
|
|
636
|
-
},
|
|
634
|
+
}, q = (g) => {
|
|
637
635
|
const t = g.replace(/[^0-9.]/g, ""), l = t.split(".");
|
|
638
636
|
l.length > 3 ? p.value.versionNumber = l.slice(0, 3).join(".") : p.value.versionNumber = t;
|
|
639
637
|
}, K = async () => {
|
|
640
|
-
const g = await
|
|
638
|
+
const g = await j();
|
|
641
639
|
if (!g) return;
|
|
642
640
|
R.value = !0;
|
|
643
641
|
const { code: t } = await m(g).finally(() => {
|
|
@@ -645,12 +643,12 @@ const ae = /* @__PURE__ */ k(We, [["render", qe], ["__scopeId", "data-v-d8a76b28
|
|
|
645
643
|
});
|
|
646
644
|
if (t == 0) {
|
|
647
645
|
const l = window.history.state;
|
|
648
|
-
l &&
|
|
646
|
+
l && C.replace({
|
|
649
647
|
path: l.back,
|
|
650
648
|
query: { active: "publish", from: U.query.from }
|
|
651
649
|
});
|
|
652
650
|
}
|
|
653
|
-
},
|
|
651
|
+
}, j = async () => {
|
|
654
652
|
if (await O.value.validate()) {
|
|
655
653
|
const t = p.value.selectedData.map((L) => {
|
|
656
654
|
const r = {
|
|
@@ -687,7 +685,7 @@ const ae = /* @__PURE__ */ k(We, [["render", qe], ["__scopeId", "data-v-d8a76b28
|
|
|
687
685
|
return delete l.selectedData, l;
|
|
688
686
|
} else
|
|
689
687
|
return console.log("error submit!"), !1;
|
|
690
|
-
}, M = _([]),
|
|
688
|
+
}, M = _([]), Q = async () => {
|
|
691
689
|
console.log(
|
|
692
690
|
I.value,
|
|
693
691
|
w.value,
|
|
@@ -716,7 +714,7 @@ const ae = /* @__PURE__ */ k(We, [["render", qe], ["__scopeId", "data-v-d8a76b28
|
|
|
716
714
|
});
|
|
717
715
|
};
|
|
718
716
|
return ne(() => {
|
|
719
|
-
console.log("props", E), I.value = E.propsSourceType, N.value = E.propsAuthType, w.value = E.propsSourceBnid,
|
|
717
|
+
console.log("props", E), I.value = E.propsSourceType, N.value = E.propsAuthType, w.value = E.propsSourceBnid, Q();
|
|
720
718
|
}), (g, t) => (d(), B("div", At, [
|
|
721
719
|
i(Fe, { "back-bar-style": "#f7f8fa" }, {
|
|
722
720
|
default: a(() => [
|
|
@@ -766,7 +764,7 @@ const ae = /* @__PURE__ */ k(We, [["render", qe], ["__scopeId", "data-v-d8a76b28
|
|
|
766
764
|
modelValue: p.value.versionNumber,
|
|
767
765
|
"onUpdate:modelValue": t[0] || (t[0] = (l) => p.value.versionNumber = l),
|
|
768
766
|
placeholder: e(S)("SOURCE_PUBLISH.VERSION_PLACEHOLDER") || "版本示例:0.0.1",
|
|
769
|
-
onInput:
|
|
767
|
+
onInput: q
|
|
770
768
|
}, null, 8, ["modelValue", "placeholder"])
|
|
771
769
|
]),
|
|
772
770
|
_: 1
|
|
@@ -791,13 +789,13 @@ const ae = /* @__PURE__ */ k(We, [["render", qe], ["__scopeId", "data-v-d8a76b28
|
|
|
791
789
|
]),
|
|
792
790
|
_: 1
|
|
793
791
|
}),
|
|
794
|
-
|
|
792
|
+
n.showPublishConfig ? (d(), b(se, { key: 0 }, {
|
|
795
793
|
default: a(() => [
|
|
796
794
|
H(h(e(S)("SOURCE_PUBLISH.PUBLISH_CONFIG") || "发布配置"), 1)
|
|
797
795
|
]),
|
|
798
796
|
_: 1
|
|
799
797
|
})) : P("", !0),
|
|
800
|
-
|
|
798
|
+
n.showPublishConfig ? (d(), b(ae, { key: 1 }, {
|
|
801
799
|
default: a(() => [
|
|
802
800
|
i(e(F), { prop: "showExec" }, {
|
|
803
801
|
default: a(() => [
|
|
@@ -864,7 +862,7 @@ const ae = /* @__PURE__ */ k(We, [["render", qe], ["__scopeId", "data-v-d8a76b28
|
|
|
864
862
|
"channel-management": M.value,
|
|
865
863
|
modelValue: p.value.selectedData,
|
|
866
864
|
"onUpdate:modelValue": t[4] || (t[4] = (l) => p.value.selectedData = l),
|
|
867
|
-
onValidateField:
|
|
865
|
+
onValidateField: z
|
|
868
866
|
}, null, 8, ["source-type", "channel-management", "modelValue"])
|
|
869
867
|
]),
|
|
870
868
|
_: 1
|
|
@@ -879,7 +877,7 @@ const ae = /* @__PURE__ */ k(We, [["render", qe], ["__scopeId", "data-v-d8a76b28
|
|
|
879
877
|
}
|
|
880
878
|
}, Ut = /* @__PURE__ */ k(Tt, [["__scopeId", "data-v-1d8bec3f"]]), Gt = Ae(Ut);
|
|
881
879
|
export {
|
|
882
|
-
|
|
880
|
+
X as API_CHANNEL_TYPES,
|
|
883
881
|
Ne as AUTHORIZED_CHANNEL_TYPES,
|
|
884
882
|
ot as ApiTooltip,
|
|
885
883
|
de as CHANNEL_ICON_CONFIG,
|
|
@@ -887,7 +885,7 @@ export {
|
|
|
887
885
|
Kt as INACTIVE_ENUM,
|
|
888
886
|
Mt as LIBRARY_PAGE,
|
|
889
887
|
Xt as OFFICIAL_LABEL,
|
|
890
|
-
|
|
888
|
+
te as OPEN_STATUS_VALUE,
|
|
891
889
|
$t as PUBLISH_STATUS,
|
|
892
890
|
Yt as PUBLISH_STATUS_COLORS,
|
|
893
891
|
Wt as PUBLISH_STATUS_ICONS,
|
|
@@ -899,7 +897,7 @@ export {
|
|
|
899
897
|
ht as PublishSettings,
|
|
900
898
|
jt as RELEASE_CHANNEL_CONFIG,
|
|
901
899
|
y as RELEASE_CHANNEL_TYPE,
|
|
902
|
-
|
|
900
|
+
le as STORE_CHANNEL_TYPES,
|
|
903
901
|
Gt as SourcePublish,
|
|
904
902
|
Gt as default,
|
|
905
903
|
we as getChannelsByType,
|
package/es/Table.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { w as a } from "./chunks/index.bCzIhWFw.js";
|
|
2
|
-
import { A as o } from "./chunks/BackBar.
|
|
3
|
-
import { _ as b, T as i } from "./chunks/BackBar.
|
|
2
|
+
import { A as o } from "./chunks/BackBar.9Pp2SYB-.js";
|
|
3
|
+
import { _ as b, T as i } from "./chunks/BackBar.9Pp2SYB-.js";
|
|
4
4
|
const s = a(o);
|
|
5
5
|
export {
|
|
6
6
|
s as AiboxTable,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.search-section[data-v-
|
|
1
|
+
.search-section[data-v-c71661d5]{border-bottom:1px solid var(--border-color)}.action-buttons[data-v-c71661d5]{gap:8px;flex-wrap:wrap}.bg-fff[data-v-c71661d5]{background-color:var(--background-color-2);border:1px solid var(--border-color)}.card-list[data-v-c71661d5]{display:grid;grid-template-columns:repeat(auto-fill,minmax(306px,1fr));gap:16px}[data-v-c71661d5] .el-table__expand-column .el-icon{display:none}[data-v-c71661d5] .el-table__cell.el-table__expanded-cell{position:relative}[data-v-c71661d5] .el-table__cell.el-table__expanded-cell .sticky-left{position:sticky;left:0;top:0;z-index:10}.loading-indicator .is-loading[data-v-c71661d5]{animation:rotating-c71661d5 2s linear infinite}@keyframes rotating-c71661d5{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.style-title[data-v-58195e4c]{font-weight:500;font-size:18px;margin:24px 0 16px}.card-container[data-v-d8a76b28]{padding:16px;background:#fff;border-radius:10px;border:1px solid #f0f0f0}.channel-icon[data-v-197d4379]{width:34px;height:34px}.gap-6[data-v-b28f305d]{gap:6px}.gap-12[data-v-b28f305d]{gap:12px}.publish-settings[data-v-
|
|
1
|
+
@charset "UTF-8";.style-title[data-v-58195e4c]{font-weight:500;font-size:18px;margin:24px 0 16px}.card-container[data-v-d8a76b28]{padding:16px;background:#fff;border-radius:10px;border:1px solid #f0f0f0}.channel-icon[data-v-197d4379]{width:34px;height:34px}.gap-6[data-v-b28f305d]{gap:6px}.gap-12[data-v-b28f305d]{gap:12px}.publish-settings[data-v-8c3f6f7c]{width:100%}.publish-settings .channel-name[data-v-8c3f6f7c]{display:flex;align-items:center}.publish-settings .channel-name .channel-title[data-v-8c3f6f7c]{margin-left:10px;line-height:18px}.publish-settings .channel-name .channel-title__name[data-v-8c3f6f7c]{font-size:14px}.publish-settings .channel-name .channel-title__desc[data-v-8c3f6f7c]{font-size:13px;color:var(--color-text-light1)}.publish-settings .action-container[data-v-8c3f6f7c]{text-align:right;width:100%;display:flex;justify-content:flex-end;align-items:center;gap:10px}.publish-settings .select-label[data-v-8c3f6f7c]{color:#262626}.publish-settings .divider[data-v-8c3f6f7c]{margin:0 2px;height:12px;border-right:1px solid #f0f0f0}.publish-settings .expand-content[data-v-8c3f6f7c]{padding:20px 16px;display:flex;flex-direction:column;gap:20px;background:#fff}.publish-settings[data-v-8c3f6f7c] .no-expand .el-table__expand-icon{display:none!important}.publish-container[data-v-1d8bec3f]{background-color:#f7f8fa;height:100%}.publish-container__back[data-v-1d8bec3f]{width:100%;display:flex;align-items:center;justify-content:space-between}.publish-container__form[data-v-1d8bec3f]{width:800px;margin:0 auto;height:calc(100vh - 70px);overflow:auto}.publish-container__form .channel-name[data-v-1d8bec3f]{display:flex;align-items:center}.publish-container__form .channel-name .channel-icon[data-v-1d8bec3f]{display:flex;justify-content:center;align-items:center;border-radius:8px;width:34px;height:34px}.publish-container__form .channel-name .channel-title[data-v-1d8bec3f]{margin-left:10px;line-height:18px}.publish-container__form .channel-name .channel-title__name[data-v-1d8bec3f]{font-size:14px}.publish-container__form .channel-name .channel-title__desc[data-v-1d8bec3f]{font-size:13px;color:var(--color-text-light1)}.publish-container__config[data-v-1d8bec3f]{width:100%;padding:7px 20px;display:flex;align-items:center;justify-content:space-between;background:#fafafa;border-radius:4px}.publish-container__config p[data-v-1d8bec3f]{display:flex;align-items:center}.publish-container__config p img[data-v-1d8bec3f]{margin-right:10px}.publish-container__required[data-v-1d8bec3f]{color:var(--el-color-danger);font-size:14px}.publish-container[data-v-1d8bec3f] .el-form .el-form-item:last-child{margin-bottom:0}.publish-container[data-v-1d8bec3f] .card-container:last-child{padding:0 16px 16px}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.nowrap[data-v-32a1fa42]{white-space:nowrap}.tag-list .tag-item[data-v-32a1fa42]{display:inline-block;line-height:22px}.gap-4[data-v-32a1fa42]{gap:4px}.tag-list-popover[data-v-32a1fa42]{max-height:300px}.tag-list-popover-wrapper{z-index:10000!important}
|