aibox-custom-component-packages 0.0.32 → 0.0.34
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/README.md +64 -64
- package/es/AddOrEditSupplierDialog.mjs +3 -3
- package/es/ApplicationTypeTag.mjs +1 -1
- package/es/AuthSection.mjs +1 -1
- package/es/AutoShowTooltip.mjs +1 -1
- package/es/AvailableRangePreview.mjs +1 -1
- package/es/AvailableRangeSetting.mjs +2 -2
- package/es/CodeView.mjs +1 -1
- package/es/CommonTagsList.mjs +1 -1
- package/es/CreateMcpForm.mjs +1 -1
- package/es/CustomSidebar.mjs +1 -1
- package/es/CustomTitle.mjs +1 -1
- package/es/CustomToggle.mjs +1 -1
- package/es/DocSyncSelect.mjs +1 -1
- package/es/FileDisplay.mjs +1 -1
- package/es/FilePreview.mjs +2 -2
- package/es/FileUploader.mjs +1 -1
- package/es/LoginRedirectScreen.mjs +1 -1
- package/es/Logo.mjs +1 -1
- package/es/McpFormDialog.mjs +1 -1
- package/es/McpParamsSet.mjs +1 -1
- package/es/MdEditor.mjs +1 -1
- package/es/PageContainer.mjs +1 -1
- package/es/ParameterTable.mjs +1 -1
- package/es/PublishRecord.mjs +1 -1
- package/es/RadioGroup.mjs +1 -1
- package/es/SourcePublish.mjs +3 -3
- package/es/Table.mjs +3 -3
- package/es/assets/AddOrEditSupplierDialog.css +1 -1
- package/es/assets/AiboxTable.css +1 -0
- package/es/assets/ApplicationTypeTag.css +1 -1
- package/es/assets/AuthSection.css +1 -1
- package/es/assets/AutoShowTooltip.css +1 -1
- package/es/assets/AvailableRangePreview.css +1 -1
- package/es/assets/CodeView.css +1 -1
- package/es/assets/CommonTagsList.css +1 -1
- package/es/assets/CreateMcpForm.css +1 -1
- package/es/assets/CustomSidebar.css +1 -1
- package/es/assets/CustomToggle.css +1 -1
- package/es/assets/DocSyncSelect.css +1 -1
- package/es/assets/FileDisplay.css +1 -1
- package/es/assets/FilePreview.css +1 -1
- package/es/assets/LoginRedirectScreen.css +1 -1
- package/es/assets/Logo.css +1 -1
- package/es/assets/McpFormDialog.css +1 -1
- package/es/assets/McpParamsSet.css +1 -1
- package/es/assets/MdEditor.css +1 -1
- package/es/assets/PageContainer.css +1 -1
- package/es/assets/ParameterTable.css +1 -1
- package/es/assets/PublishRecord.css +1 -1
- package/es/assets/RadioGroup.css +1 -1
- package/es/assets/SourcePublish.css +1 -1
- package/es/assets/layout.css +1 -1
- package/es/chunks/{AddOrEditSupplierDialog.DhGagQdN.js → AddOrEditSupplierDialog.D0WrS7zb.js} +6 -6
- package/es/chunks/AddOrEditSupplierDialog.u9M_J9ps.js +779 -0
- package/es/chunks/{BackBar.DzJ2OzUe.js → AiboxTable.CNJGTKaO.js} +84 -84
- package/es/chunks/{ApplicationTypeTag.BP3y2wxh.js → ApplicationTypeTag.Ctbs4Cfh.js} +2 -2
- package/es/chunks/{AuthSection.jrp3zawz.js → AuthSection.DoHCPqfe.js} +3 -3
- package/es/chunks/{AutoShowTooltip.Duo0-HYn.js → AutoShowTooltip.DKVXyaU4.js} +1 -1
- package/es/chunks/{AvailableRangePreview.Cc_D7qn-.js → AvailableRangePreview.Daug_hry.js} +3 -3
- package/es/chunks/{AvailableRangeSetting.BjNvRqad.js → AvailableRangeSetting.F8v_IaDj.js} +3 -3
- package/es/chunks/{CodeView.Du-CTWN-.js → CodeView.CrofMsZq.js} +2 -2
- package/es/chunks/{CommonTagsList.B4UNIT4z.js → CommonTagsList.CaDCnfaw.js} +5 -5
- package/es/chunks/CommonTagsList.DsAsA9Ul.js +159 -0
- package/es/chunks/{CreateMcpForm.B0jFYT0_.js → CreateMcpForm.CmDJvBZn.js} +8 -8
- package/es/chunks/CustomSidebar.CcOD8-wi.js +594 -0
- package/es/chunks/{CustomSidebar.ByfCcFOC.js → CustomSidebar.SNazR8Qi.js} +6 -6
- package/es/chunks/CustomToggle.DKRF3u_m.js +190 -0
- package/es/chunks/{CustomToggle.DBXPEHY5.js → CustomToggle.Da9-ySi3.js} +1 -1
- package/es/chunks/{DocSyncSelect.tbtnTok_.js → DocSyncSelect.BXAEaFps.js} +13 -15
- package/es/chunks/{FileDisplay.CqgQ3rtu.js → FileDisplay.D308Pw4L.js} +10 -12
- package/es/chunks/{FilePreview.CwdS-fNc.js → FilePreview.CZGtuNLk.js} +2 -2
- package/es/chunks/{FileUploader.0a_MfmvR.js → FileUploader.Dzz9qaG4.js} +9 -10
- package/es/chunks/{LoginRedirectScreen.B7kkQoP_.js → LoginRedirectScreen.DWykKkE4.js} +1 -1
- package/es/chunks/{Logo.zn-NFPWL.js → Logo.CSphmM19.js} +1 -1
- package/es/chunks/{McpFormDialog.BxxfxU1y.js → McpFormDialog.BFdJy9Aa.js} +3 -3
- package/es/chunks/{McpParamsSet.CZkVuUuD.js → McpParamsSet.Dpsku0Bq.js} +11 -13
- package/es/chunks/{MdEditor.mj5o3zYF.js → MdEditor.DXniUyrY.js} +2 -2
- package/es/chunks/PageContainer.Bf0DWQNo.js +462 -0
- package/es/chunks/{PageContainer.B400LILM.js → PageContainer.D_aKk9S0.js} +2 -2
- package/es/chunks/{ParameterTable.CPlrR4n_.js → ParameterTable.DIzML7kY.js} +14 -16
- package/es/chunks/{PublishRecord.nJhg5VCt.js → PublishRecord.B8_7fRU8.js} +4 -4
- package/es/chunks/PublishRecord.MUK6tcgd.js +136 -0
- package/es/chunks/{RadioGroup.BGO267-v.js → RadioGroup.CB4jkuR3.js} +1 -1
- package/es/chunks/SourcePublish.01DUJyfK.js +987 -0
- package/es/chunks/{SourcePublish.Bf25XcZi.js → SourcePublish.CyBDYK5p.js} +25 -22
- package/es/chunks/{config.C9iiPD4U.js → config.BVTdMgQ9.js} +2 -2
- package/es/chunks/config.DbvuSKlD.js +270 -0
- package/es/chunks/{config.DnXRhz1z.js → config.rFstR-MG.js} +1 -1
- package/es/chunks/{i18n.CFUdEPHr.js → i18n.CfGGAcJH.js} +1 -1
- package/es/chunks/{layout.D9PXutv4.js → layout.CUSAJyQL.js} +1 -1
- package/es/chunks/{usePreview.BbNxKBck.js → usePreview.yIUda0Hv.js} +7 -9
- package/es/index.mjs +65 -65
- package/lib/AddOrEditSupplierDialog.js +1 -1
- package/lib/ApplicationTypeTag.js +1 -1
- package/lib/AuthSection.js +1 -1
- package/lib/AutoShowTooltip.js +1 -1
- package/lib/AvailableRangePreview.js +1 -1
- package/lib/AvailableRangeSetting.js +1 -1
- package/lib/CodeView.js +1 -1
- package/lib/CommonTagsList.js +1 -1
- package/lib/CreateMcpForm.js +1 -1
- package/lib/CustomSidebar.js +1 -1
- package/lib/CustomTitle.js +1 -1
- package/lib/CustomToggle.js +1 -1
- package/lib/DocSyncSelect.js +1 -1
- package/lib/FileDisplay.js +1 -1
- package/lib/FilePreview.js +1 -1
- package/lib/FileUploader.js +1 -1
- package/lib/LoginRedirectScreen.js +1 -1
- package/lib/Logo.js +1 -1
- package/lib/McpFormDialog.js +1 -1
- package/lib/McpParamsSet.js +1 -1
- package/lib/MdEditor.js +1 -1
- package/lib/PageContainer.js +1 -1
- package/lib/ParameterTable.js +1 -1
- package/lib/PublishRecord.js +1 -1
- package/lib/RadioGroup.js +1 -1
- package/lib/SourcePublish.js +1 -1
- package/lib/Table.js +1 -1
- package/lib/assets/AddOrEditSupplierDialog.css +1 -1
- package/lib/assets/AiboxTable.css +1 -0
- package/lib/assets/ApplicationTypeTag.css +1 -1
- package/lib/assets/AuthSection.css +1 -1
- package/lib/assets/AutoShowTooltip.css +1 -1
- package/lib/assets/AvailableRangePreview.css +1 -1
- package/lib/assets/CodeView.css +1 -1
- package/lib/assets/CommonTagsList.css +1 -1
- package/lib/assets/CreateMcpForm.css +1 -1
- package/lib/assets/CustomSidebar.css +1 -1
- package/lib/assets/CustomToggle.css +1 -1
- package/lib/assets/DocSyncSelect.css +1 -1
- package/lib/assets/FileDisplay.css +1 -1
- package/lib/assets/FilePreview.css +1 -1
- package/lib/assets/LoginRedirectScreen.css +1 -1
- package/lib/assets/Logo.css +1 -1
- package/lib/assets/McpFormDialog.css +1 -1
- package/lib/assets/McpParamsSet.css +1 -1
- package/lib/assets/MdEditor.css +1 -1
- package/lib/assets/PageContainer.css +1 -1
- package/lib/assets/ParameterTable.css +1 -1
- package/lib/assets/PublishRecord.css +1 -1
- package/lib/assets/RadioGroup.css +1 -1
- package/lib/assets/SourcePublish.css +1 -1
- package/lib/assets/layout.css +1 -1
- package/lib/chunks/AddOrEditSupplierDialog.DfOMS_bh.js +1 -0
- package/lib/chunks/{AddOrEditSupplierDialog.CdbWF4S7.js → AddOrEditSupplierDialog.tSju0y-W.js} +1 -1
- package/lib/chunks/AiboxTable.B-VuIQSp.js +1 -0
- package/lib/chunks/{ApplicationTypeTag.Bbb9onnO.js → ApplicationTypeTag.ctv_-FsI.js} +1 -1
- package/lib/chunks/{AuthSection.BqnII7Zc.js → AuthSection.aaNWUYhk.js} +1 -1
- package/lib/chunks/{AutoShowTooltip.BCg_5NZ0.js → AutoShowTooltip.DIrXDh7U.js} +1 -1
- package/lib/chunks/{AvailableRangePreview.CgkgcULo.js → AvailableRangePreview.CiOxEA4F.js} +1 -1
- package/lib/chunks/{AvailableRangeSetting.B8UyU_gN.js → AvailableRangeSetting.Bb32NVYo.js} +1 -1
- package/lib/chunks/{CodeView.DAWK7jtf.js → CodeView.Ct9TXiwX.js} +1 -1
- package/lib/chunks/CommonTagsList.Boc8vbyY.js +1 -0
- package/lib/chunks/{CommonTagsList.BabaB3RQ.js → CommonTagsList.CKstJRCG.js} +1 -1
- package/lib/chunks/{CreateMcpForm.D7lh0uKb.js → CreateMcpForm.BWs-4Onu.js} +1 -1
- package/lib/chunks/CustomSidebar.Cygx-8nO.js +1 -0
- package/lib/chunks/{CustomSidebar.Dc22wPkh.js → CustomSidebar.DCW29MKi.js} +1 -1
- package/lib/chunks/{CustomToggle.Cd7F_zwB.js → CustomToggle.BF7s0G8h.js} +1 -1
- package/lib/chunks/CustomToggle.HbP41BJh.js +1 -0
- package/lib/chunks/DocSyncSelect.ZlOVqBG1.js +1 -0
- package/lib/chunks/{FileDisplay.C3x1xoJt.js → FileDisplay.B3CFfeuo.js} +3 -3
- package/lib/chunks/{FilePreview.D9d-eoIn.js → FilePreview.T-kQ_iiJ.js} +1 -1
- package/lib/chunks/FileUploader.yvoUFzla.js +1 -0
- package/lib/chunks/{LoginRedirectScreen.247pzgjB.js → LoginRedirectScreen.DE21-wqJ.js} +1 -1
- package/lib/chunks/{Logo.DYRnRQYI.js → Logo.BvlHIPja.js} +1 -1
- package/lib/chunks/{McpFormDialog.BMLlvDii.js → McpFormDialog.CuYkPlUY.js} +2 -2
- package/lib/chunks/McpParamsSet.BZ3lptGl.js +1 -0
- package/lib/chunks/{MdEditor.CXIDWs1-.js → MdEditor.BSUp8pUb.js} +1 -1
- package/lib/chunks/{PageContainer.D_p3Rz5e.js → PageContainer.BYyJE7u_.js} +1 -1
- package/lib/chunks/PageContainer.CE8Pz6hD.js +1 -0
- package/lib/chunks/ParameterTable.CLnOL3k_.js +1 -0
- package/lib/chunks/PublishRecord.BZH5_Usb.js +5 -0
- package/lib/chunks/{PublishRecord.BQ_eSDcv.js → PublishRecord.DXoKtUn0.js} +1 -1
- package/lib/chunks/{RadioGroup.BYy3omgq.js → RadioGroup.CLHduGxc.js} +1 -1
- package/lib/chunks/SourcePublish.B23eXpNS.js +1 -0
- package/lib/chunks/SourcePublish.QB3O6fdx.js +1 -0
- package/lib/chunks/config.C0x1xjU-.js +1 -0
- package/lib/chunks/{layout.CFYuqtHu.js → layout.CNYc7QUj.js} +1 -1
- package/lib/chunks/usePreview.C3f_R7Np.js +1 -0
- package/lib/index.js +2 -2
- package/package.json +6 -6
- package/es/assets/BackBar.css +0 -1
- package/lib/assets/BackBar.css +0 -1
- package/lib/chunks/BackBar.BO_3ReYW.js +0 -1
- package/lib/chunks/DocSyncSelect.--DSxOmn.js +0 -1
- package/lib/chunks/FileUploader.TkV0c3Xt.js +0 -1
- package/lib/chunks/McpParamsSet.gd9UXa8L.js +0 -1
- package/lib/chunks/ParameterTable.BevV6CXV.js +0 -1
- package/lib/chunks/SourcePublish.BlG6iYjM.js +0 -1
- package/lib/chunks/usePreview.Byl992Ne.js +0 -1
|
@@ -1,11 +1,63 @@
|
|
|
1
|
-
import { m as e } from "./i18n.
|
|
1
|
+
import { m as e } from "./i18n.CfGGAcJH.js";
|
|
2
2
|
import { t } from "./_plugin-vue_export-helper.B3ysoDQm.js";
|
|
3
3
|
import { Fragment as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createSlots as c, createTextVNode as l, createVNode as u, normalizeClass as d, normalizeStyle as f, openBlock as p, ref as m, renderList as h, renderSlot as g, toDisplayString as _, unref as v, withCtx as y, withModifiers as b } from "vue";
|
|
4
4
|
import { ElButton as x, ElDropdown as S, ElDropdownItem as C, ElDropdownMenu as w, ElEmpty as ee, ElIcon as T, ElPagination as te, ElTable as ne, ElTableColumn as E, ElTooltip as D } from "element-plus";
|
|
5
5
|
import { IconMore as O, IconTip as k, IconZuo as A } from "color-message-aibox-vue";
|
|
6
6
|
import { useRouter as j } from "vue-router";
|
|
7
|
-
import '../assets/
|
|
8
|
-
var M = { class: "
|
|
7
|
+
import '../assets/AiboxTable.css';//#region components/Table/BackBar.vue
|
|
8
|
+
var M = { class: "back-bar__icon" }, N = {
|
|
9
|
+
key: 0,
|
|
10
|
+
class: "back-bar__title"
|
|
11
|
+
}, P = {
|
|
12
|
+
key: 1,
|
|
13
|
+
class: "back-bar__tip"
|
|
14
|
+
}, F = {
|
|
15
|
+
__name: "BackBar",
|
|
16
|
+
props: {
|
|
17
|
+
goBackFn: {
|
|
18
|
+
type: Function,
|
|
19
|
+
default: null
|
|
20
|
+
},
|
|
21
|
+
backBarStyle: {
|
|
22
|
+
type: String,
|
|
23
|
+
default: "#fff"
|
|
24
|
+
},
|
|
25
|
+
title: {
|
|
26
|
+
type: String,
|
|
27
|
+
default: ""
|
|
28
|
+
},
|
|
29
|
+
tipContent: {
|
|
30
|
+
type: String,
|
|
31
|
+
default: ""
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
setup(e) {
|
|
35
|
+
let t = e, n = j(), r = () => {
|
|
36
|
+
t.goBackFn ? t.goBackFn() : n.back();
|
|
37
|
+
};
|
|
38
|
+
return (t, n) => (p(), o("div", {
|
|
39
|
+
class: "back-bar",
|
|
40
|
+
style: f({ "background-color": e.backBarStyle })
|
|
41
|
+
}, [
|
|
42
|
+
s("div", M, [u(v(T), { onClick: b(r, ["stop"]) }, {
|
|
43
|
+
default: y(() => [u(v(A))]),
|
|
44
|
+
_: 1
|
|
45
|
+
})]),
|
|
46
|
+
g(t.$slots, "default"),
|
|
47
|
+
e.title ? (p(), o("div", N, _(e.title), 1)) : a("", !0),
|
|
48
|
+
e.tipContent ? (p(), o("div", P, [u(v(D), {
|
|
49
|
+
content: e.tipContent,
|
|
50
|
+
placement: "right"
|
|
51
|
+
}, {
|
|
52
|
+
default: y(() => [u(v(T), { size: "14" }, {
|
|
53
|
+
default: y(() => [u(v(k))]),
|
|
54
|
+
_: 1
|
|
55
|
+
})]),
|
|
56
|
+
_: 1
|
|
57
|
+
}, 8, ["content"])])) : a("", !0)
|
|
58
|
+
], 4));
|
|
59
|
+
}
|
|
60
|
+
}, I = { class: "table-btns" }, L = { class: "btn-box" }, R = /*#__PURE__*/ t({
|
|
9
61
|
__name: "TableBtns",
|
|
10
62
|
props: {
|
|
11
63
|
config: {
|
|
@@ -37,7 +89,7 @@ var M = { class: "table-btns" }, N = { class: "btn-box" }, P = /*#__PURE__*/ t({
|
|
|
37
89
|
show: m.value.slice(0, a.showNums),
|
|
38
90
|
hide: m.value.slice(a.showNums)
|
|
39
91
|
}));
|
|
40
|
-
return (e, r) => (p(), o("div",
|
|
92
|
+
return (e, r) => (p(), o("div", I, [m.value.length > t.showNums ? (p(), o(n, { key: 0 }, [(p(!0), o(n, null, h(g.value.show, (e, t) => (p(), i(v(x), {
|
|
41
93
|
key: t,
|
|
42
94
|
type: "primary",
|
|
43
95
|
link: "",
|
|
@@ -60,7 +112,7 @@ var M = { class: "table-btns" }, N = { class: "btn-box" }, P = /*#__PURE__*/ t({
|
|
|
60
112
|
}, 1032, ["class", "onClick"]))), 128))]),
|
|
61
113
|
_: 1
|
|
62
114
|
})]),
|
|
63
|
-
default: y(() => [s("div",
|
|
115
|
+
default: y(() => [s("div", L, [u(v(T), { style: {
|
|
64
116
|
"font-size": "20px",
|
|
65
117
|
color: "#999"
|
|
66
118
|
} }, {
|
|
@@ -78,16 +130,16 @@ var M = { class: "table-btns" }, N = { class: "btn-box" }, P = /*#__PURE__*/ t({
|
|
|
78
130
|
_: 2
|
|
79
131
|
}, 1032, ["onClick"]))), 128))]));
|
|
80
132
|
}
|
|
81
|
-
}, [["__scopeId", "data-v-
|
|
133
|
+
}, [["__scopeId", "data-v-552341e3"]]), z = {
|
|
82
134
|
key: 0,
|
|
83
135
|
class: "aibox-table__handle"
|
|
84
|
-
},
|
|
136
|
+
}, B = { class: "handle-left" }, V = { class: "handle-right" }, H = { class: "aibox-table__content" }, U = { key: 0 }, W = {
|
|
85
137
|
key: 0,
|
|
86
138
|
class: "aibox-table__slot-wrapper"
|
|
87
|
-
},
|
|
139
|
+
}, G = { class: "aibox-table__slot-wrapper" }, K = ["innerHTML"], q = ["innerHTML"], J = { class: "aibox-table__slot-wrapper" }, Y = ["onClick"], X = { class: "aibox-table__slot-wrapper" }, re = ["onClick"], ie = { class: "aibox-table__slot-wrapper" }, ae = { class: "flex items-center" }, oe = { class: "aibox-table__slot-wrapper" }, se = {
|
|
88
140
|
key: 0,
|
|
89
141
|
class: "aibox-table__slot-wrapper"
|
|
90
|
-
},
|
|
142
|
+
}, Z = /*#__PURE__*/ t({
|
|
91
143
|
__name: "AiboxTable",
|
|
92
144
|
props: {
|
|
93
145
|
columns: {
|
|
@@ -215,17 +267,17 @@ var M = { class: "table-btns" }, N = { class: "btn-box" }, P = /*#__PURE__*/ t({
|
|
|
215
267
|
if (!e.length) return !1;
|
|
216
268
|
let t = O.value;
|
|
217
269
|
return !e.some((e, n) => t(e, n));
|
|
218
|
-
}), A = ({ column: e }) => e?.type === "selection" && k.value ? "aibox-table__select-all-disabled" : "", j = f, M = () => !0, N = (e) => b.onRowKey(e, (e) => e),
|
|
270
|
+
}), A = ({ column: e }) => e?.type === "selection" && k.value ? "aibox-table__select-all-disabled" : "", j = f, M = () => !0, N = (e) => b.onRowKey(e, (e) => e), P = (e) => b.onRowClassName(e), F = (e) => {
|
|
219
271
|
j("onPageChange", {
|
|
220
272
|
...b.pages,
|
|
221
273
|
page: e
|
|
222
274
|
});
|
|
223
|
-
},
|
|
275
|
+
}, I = (e) => {
|
|
224
276
|
j("onPageChange", {
|
|
225
277
|
page: 1,
|
|
226
278
|
size: e
|
|
227
279
|
});
|
|
228
|
-
},
|
|
280
|
+
}, L = (e) => {
|
|
229
281
|
b.selectionType !== "radio" && j("onMultiSelection", e);
|
|
230
282
|
}, Z = (e) => {
|
|
231
283
|
if (b.selectionType === "radio") {
|
|
@@ -258,15 +310,15 @@ var M = { class: "table-btns" }, N = { class: "btn-box" }, P = /*#__PURE__*/ t({
|
|
|
258
310
|
"row-click-style": t.isCanRowClick,
|
|
259
311
|
"no-pagination": !D.value
|
|
260
312
|
}, "aibox-table"]) }, [
|
|
261
|
-
t.hasHeaderHandle ? (p(), o("div",
|
|
262
|
-
s("div",
|
|
313
|
+
t.hasHeaderHandle ? (p(), o("div", z, [s("div", B, [g(e.$slots, "handleLeft", {}, void 0, !0)]), s("div", V, [g(e.$slots, "handleRight", {}, void 0, !0)])])) : a("", !0),
|
|
314
|
+
s("div", H, [u(v(ne), {
|
|
263
315
|
ref_key: "aiboxTable",
|
|
264
316
|
ref: S,
|
|
265
317
|
"element-loading-text": v(x)("COMMON_DATA.LOADING_SUFFIX"),
|
|
266
318
|
"tree-props": t.treeProps,
|
|
267
319
|
"header-row-class-name": t.isSecondaryHeader ? "aibox-table__header secondary-header" : "aibox-table__header",
|
|
268
320
|
"header-cell-class-name": A,
|
|
269
|
-
"row-class-name":
|
|
321
|
+
"row-class-name": P,
|
|
270
322
|
data: t.data,
|
|
271
323
|
border: t.hasBorder,
|
|
272
324
|
style: { width: "100%" },
|
|
@@ -275,7 +327,7 @@ var M = { class: "table-btns" }, N = { class: "btn-box" }, P = /*#__PURE__*/ t({
|
|
|
275
327
|
"default-sort": t.defaultSort,
|
|
276
328
|
"span-method": t.spanMethod,
|
|
277
329
|
"expand-row-keys": t.expandRowKeys,
|
|
278
|
-
onSelectionChange:
|
|
330
|
+
onSelectionChange: L,
|
|
279
331
|
onSortChange: le,
|
|
280
332
|
onCellDblclick: ue,
|
|
281
333
|
onCurrentChange: Z,
|
|
@@ -304,7 +356,7 @@ var M = { class: "table-btns" }, N = { class: "btn-box" }, P = /*#__PURE__*/ t({
|
|
|
304
356
|
fixed: "left",
|
|
305
357
|
width: r.width || "100px"
|
|
306
358
|
}, {
|
|
307
|
-
default: y((e) => [t.isLoading ? a("", !0) : (p(), o("span",
|
|
359
|
+
default: y((e) => [t.isLoading ? a("", !0) : (p(), o("span", U, _((t.pages.page - 1) * t.pages.size + e.$index + 1), 1))]),
|
|
308
360
|
_: 1
|
|
309
361
|
}, 8, ["label", "width"])) : r.slot ? (p(), i(v(E), {
|
|
310
362
|
align: r.align || "left",
|
|
@@ -319,11 +371,11 @@ var M = { class: "table-btns" }, N = { class: "btn-box" }, P = /*#__PURE__*/ t({
|
|
|
319
371
|
sortable: r.sortable,
|
|
320
372
|
"show-overflow-tooltip": r.showOverflowTooltip
|
|
321
373
|
}, {
|
|
322
|
-
header: y(() => [r.headerSlot ? (p(), o("div",
|
|
374
|
+
header: y(() => [r.headerSlot ? (p(), o("div", W, [g(e.$slots, r.headerSlot, {
|
|
323
375
|
item: r,
|
|
324
376
|
minWidth: r.minWidth
|
|
325
377
|
}, void 0, !0)])) : a("", !0)]),
|
|
326
|
-
default: y((t) => [s("div",
|
|
378
|
+
default: y((t) => [s("div", G, [g(e.$slots, r.slot, {
|
|
327
379
|
row: t.row,
|
|
328
380
|
index: t.$index,
|
|
329
381
|
minWidth: r.minWidth
|
|
@@ -349,7 +401,7 @@ var M = { class: "table-btns" }, N = { class: "btn-box" }, P = /*#__PURE__*/ t({
|
|
|
349
401
|
fixed: r.fixed,
|
|
350
402
|
sortable: r.sortable
|
|
351
403
|
}, {
|
|
352
|
-
default: y((e) => [s("span", { innerHTML: r.callback && r.callback(e.row) }, null, 8,
|
|
404
|
+
default: y((e) => [s("span", { innerHTML: r.callback && r.callback(e.row) }, null, 8, K)]),
|
|
353
405
|
_: 2
|
|
354
406
|
}, 1032, [
|
|
355
407
|
"align",
|
|
@@ -376,7 +428,7 @@ var M = { class: "table-btns" }, N = { class: "btn-box" }, P = /*#__PURE__*/ t({
|
|
|
376
428
|
"min-width": t.minWidth,
|
|
377
429
|
"show-overflow-tooltip": ""
|
|
378
430
|
}, {
|
|
379
|
-
default: y((e) => [s("span", { innerHTML: t.callback && t.callback(e.row) }, null, 8,
|
|
431
|
+
default: y((e) => [s("span", { innerHTML: t.callback && t.callback(e.row) }, null, 8, q)]),
|
|
380
432
|
_: 2
|
|
381
433
|
}, 1032, [
|
|
382
434
|
"prop",
|
|
@@ -388,7 +440,7 @@ var M = { class: "table-btns" }, N = { class: "btn-box" }, P = /*#__PURE__*/ t({
|
|
|
388
440
|
prop: t.prop,
|
|
389
441
|
label: t.label
|
|
390
442
|
}, {
|
|
391
|
-
default: y((n) => [s("div",
|
|
443
|
+
default: y((n) => [s("div", J, [g(e.$slots, t.slot, {
|
|
392
444
|
row: n.row,
|
|
393
445
|
column: n.column,
|
|
394
446
|
index: n.$index
|
|
@@ -414,8 +466,8 @@ var M = { class: "table-btns" }, N = { class: "btn-box" }, P = /*#__PURE__*/ t({
|
|
|
414
466
|
color: "#5b9bd1",
|
|
415
467
|
cursor: "pointer"
|
|
416
468
|
}
|
|
417
|
-
}, _(t.label), 9,
|
|
418
|
-
default: y((n) => [s("div",
|
|
469
|
+
}, _(t.label), 9, Y)]),
|
|
470
|
+
default: y((n) => [s("div", X, [g(e.$slots, "custom", { data: {
|
|
419
471
|
col: {
|
|
420
472
|
parent: r.label,
|
|
421
473
|
...t
|
|
@@ -468,8 +520,8 @@ var M = { class: "table-btns" }, N = { class: "btn-box" }, P = /*#__PURE__*/ t({
|
|
|
468
520
|
color: "#5b9bd1",
|
|
469
521
|
cursor: "pointer"
|
|
470
522
|
}
|
|
471
|
-
}, _(r.label), 9,
|
|
472
|
-
default: y((t) => [s("div",
|
|
523
|
+
}, _(r.label), 9, re)]),
|
|
524
|
+
default: y((t) => [s("div", ie, [g(e.$slots, "custom", { data: {
|
|
473
525
|
col: {
|
|
474
526
|
parent: "",
|
|
475
527
|
...r
|
|
@@ -488,7 +540,7 @@ var M = { class: "table-btns" }, N = { class: "btn-box" }, P = /*#__PURE__*/ t({
|
|
|
488
540
|
type: "action",
|
|
489
541
|
fixed: "right"
|
|
490
542
|
}, {
|
|
491
|
-
default: y((n) => [s("div",
|
|
543
|
+
default: y((n) => [s("div", ae, [g(e.$slots, "goto", { row: n.row }, void 0, !0), r?.config?.(n.row)?.length ? (p(), i(R, {
|
|
492
544
|
key: 0,
|
|
493
545
|
"show-nums": t.showHandleNums,
|
|
494
546
|
config: r.config(n.row, n.$index),
|
|
@@ -504,7 +556,7 @@ var M = { class: "table-btns" }, N = { class: "btn-box" }, P = /*#__PURE__*/ t({
|
|
|
504
556
|
key: "expand" + r.prop,
|
|
505
557
|
width: r.width
|
|
506
558
|
}, {
|
|
507
|
-
default: y((t) => [s("div",
|
|
559
|
+
default: y((t) => [s("div", oe, [g(e.$slots, "expand", {
|
|
508
560
|
row: t.row,
|
|
509
561
|
column: t.column
|
|
510
562
|
}, void 0, !0)])]),
|
|
@@ -566,8 +618,8 @@ var M = { class: "table-btns" }, N = { class: "btn-box" }, P = /*#__PURE__*/ t({
|
|
|
566
618
|
total: w.value,
|
|
567
619
|
"pager-count": t.pagerCount,
|
|
568
620
|
size: t.size,
|
|
569
|
-
onSizeChange:
|
|
570
|
-
onCurrentChange:
|
|
621
|
+
onSizeChange: I,
|
|
622
|
+
onCurrentChange: F
|
|
571
623
|
}, null, 8, [
|
|
572
624
|
"layout",
|
|
573
625
|
"current-page",
|
|
@@ -578,58 +630,6 @@ var M = { class: "table-btns" }, N = { class: "btn-box" }, P = /*#__PURE__*/ t({
|
|
|
578
630
|
])], 2)) : a("", !0)
|
|
579
631
|
], 2));
|
|
580
632
|
}
|
|
581
|
-
}, [["__scopeId", "data-v-
|
|
582
|
-
key: 0,
|
|
583
|
-
class: "back-bar__title"
|
|
584
|
-
}, X = {
|
|
585
|
-
key: 1,
|
|
586
|
-
class: "back-bar__tip"
|
|
587
|
-
}, Z = {
|
|
588
|
-
__name: "BackBar",
|
|
589
|
-
props: {
|
|
590
|
-
goBackFn: {
|
|
591
|
-
type: Function,
|
|
592
|
-
default: null
|
|
593
|
-
},
|
|
594
|
-
backBarStyle: {
|
|
595
|
-
type: String,
|
|
596
|
-
default: "#fff"
|
|
597
|
-
},
|
|
598
|
-
title: {
|
|
599
|
-
type: String,
|
|
600
|
-
default: ""
|
|
601
|
-
},
|
|
602
|
-
tipContent: {
|
|
603
|
-
type: String,
|
|
604
|
-
default: ""
|
|
605
|
-
}
|
|
606
|
-
},
|
|
607
|
-
setup(e) {
|
|
608
|
-
let t = e, n = j(), r = () => {
|
|
609
|
-
t.goBackFn ? t.goBackFn() : n.back();
|
|
610
|
-
};
|
|
611
|
-
return (t, n) => (p(), o("div", {
|
|
612
|
-
class: "back-bar",
|
|
613
|
-
style: f({ "background-color": e.backBarStyle })
|
|
614
|
-
}, [
|
|
615
|
-
s("div", J, [u(v(T), { onClick: b(r, ["stop"]) }, {
|
|
616
|
-
default: y(() => [u(v(A))]),
|
|
617
|
-
_: 1
|
|
618
|
-
})]),
|
|
619
|
-
g(t.$slots, "default"),
|
|
620
|
-
e.title ? (p(), o("div", Y, _(e.title), 1)) : a("", !0),
|
|
621
|
-
e.tipContent ? (p(), o("div", X, [u(v(D), {
|
|
622
|
-
content: e.tipContent,
|
|
623
|
-
placement: "right"
|
|
624
|
-
}, {
|
|
625
|
-
default: y(() => [u(v(T), { size: "14" }, {
|
|
626
|
-
default: y(() => [u(v(k))]),
|
|
627
|
-
_: 1
|
|
628
|
-
})]),
|
|
629
|
-
_: 1
|
|
630
|
-
}, 8, ["content"])])) : a("", !0)
|
|
631
|
-
], 4));
|
|
632
|
-
}
|
|
633
|
-
};
|
|
633
|
+
}, [["__scopeId", "data-v-7d82383b"]]);
|
|
634
634
|
//#endregion
|
|
635
|
-
export {
|
|
635
|
+
export { R as n, F as r, Z as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./withinstall.CMngc-br.js";
|
|
2
|
-
import { m as t } from "./i18n.
|
|
2
|
+
import { m as t } from "./i18n.CfGGAcJH.js";
|
|
3
3
|
import { t as n } from "./_plugin-vue_export-helper.B3ysoDQm.js";
|
|
4
4
|
import { computed as r, createElementBlock as i, normalizeClass as a, openBlock as o, toDisplayString as s } from "vue";
|
|
5
5
|
import { APPLICATION_TYPE as c } from "color-star-custom-components";
|
|
@@ -51,6 +51,6 @@ var l = () => {
|
|
|
51
51
|
let t = e, { APPLICATION_TYPE_TAB_LIST: n } = l(), u = r(() => n.find((e) => e.value === t.type)?.alias || ""), d = r(() => t.type === c.dialogue ? "dialogue" : "autonomously");
|
|
52
52
|
return (e, t) => (o(), i("div", { class: a(d.value) }, s(u.value), 3));
|
|
53
53
|
}
|
|
54
|
-
}), [["__scopeId", "data-v-
|
|
54
|
+
}), [["__scopeId", "data-v-d97d0a0a"]]));
|
|
55
55
|
//#endregion
|
|
56
56
|
export { l as n, u as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./withinstall.CMngc-br.js";
|
|
2
|
-
import { m as t } from "./i18n.
|
|
2
|
+
import { m as t } from "./i18n.CfGGAcJH.js";
|
|
3
3
|
import { t as n } from "./_plugin-vue_export-helper.B3ysoDQm.js";
|
|
4
|
-
import { t as r } from "./RadioGroup.
|
|
4
|
+
import { t as r } from "./RadioGroup.CB4jkuR3.js";
|
|
5
5
|
import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, normalizeClass as d, openBlock as f, ref as p, toDisplayString as m, unref as h, vShow as g, watch as _, withCtx as v, withDirectives as y } from "vue";
|
|
6
6
|
import { ElIcon as b, ElInput as x, ElTooltip as S } from "element-plus";
|
|
7
7
|
import { IconTip as C } from "color-message-aibox-vue";
|
|
@@ -196,6 +196,6 @@ var w = { class: "auth-section" }, T = {
|
|
|
196
196
|
])) : o("", !0)
|
|
197
197
|
]));
|
|
198
198
|
}
|
|
199
|
-
}), [["__scopeId", "data-v-
|
|
199
|
+
}), [["__scopeId", "data-v-6b26c051"]]));
|
|
200
200
|
//#endregion
|
|
201
201
|
export { k as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./withinstall.CMngc-br.js";
|
|
2
|
-
import { m as t } from "./i18n.
|
|
2
|
+
import { m as t } from "./i18n.CfGGAcJH.js";
|
|
3
3
|
import { t as n } from "./_plugin-vue_export-helper.B3ysoDQm.js";
|
|
4
|
-
import { i as r, n as i, o as a, t as o } from "./config.
|
|
4
|
+
import { i as r, n as i, o as a, t as o } from "./config.rFstR-MG.js";
|
|
5
5
|
import { Fragment as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, nextTick as h, normalizeClass as g, onMounted as _, openBlock as v, ref as y, renderList as b, toDisplayString as x, unref as S, watch as C, withCtx as w } from "vue";
|
|
6
6
|
import { ElButton as T, ElPopover as E } from "element-plus";
|
|
7
7
|
import '../assets/AvailableRangePreview.css';//#region components/AvailableRangePreview/TagList.vue
|
|
@@ -48,7 +48,7 @@ var D = {
|
|
|
48
48
|
})) : u("", !0)], 2)
|
|
49
49
|
], 64)) : u("", !0);
|
|
50
50
|
}
|
|
51
|
-
}, [["__scopeId", "data-v-
|
|
51
|
+
}, [["__scopeId", "data-v-a2c44011"]]), M = (e, t) => e?.filter(t) || [], N = (e, t) => M(e, (e) => e.memberType === t), P = (e, t) => {
|
|
52
52
|
if (e.children) for (let n of e.children) n.memberType === i.MEMBER ? t(n) : n.memberType === i.DEPARTMENT && P(n, t);
|
|
53
53
|
}, F = (e) => {
|
|
54
54
|
let t = [];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./withinstall.CMngc-br.js";
|
|
2
|
-
import { m as t } from "./i18n.
|
|
2
|
+
import { m as t } from "./i18n.CfGGAcJH.js";
|
|
3
3
|
import { t as n } from "./request.CfSQnDD0.js";
|
|
4
4
|
import { n as r, t as i } from "./DialogContainer.Bgf3f2T5.js";
|
|
5
|
-
import { a, i as o, o as s } from "./config.
|
|
6
|
-
import { r as c, t as l } from "./AvailableRangePreview.
|
|
5
|
+
import { a, i as o, o as s } from "./config.rFstR-MG.js";
|
|
6
|
+
import { r as c, t as l } from "./AvailableRangePreview.Daug_hry.js";
|
|
7
7
|
import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createTextVNode as g, createVNode as _, nextTick as v, onMounted as y, openBlock as b, ref as x, renderList as S, toDisplayString as C, unref as w, watch as T, withCtx as E } from "vue";
|
|
8
8
|
import { ElButton as D, ElMessage as O, ElRadio as k, ElRadioGroup as A } from "element-plus";
|
|
9
9
|
import { TreeShowSelect as j } from "color-star-custom-components";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as e } from "./i18n.
|
|
1
|
+
import { m as e } from "./i18n.CfGGAcJH.js";
|
|
2
2
|
import { t } from "./_plugin-vue_export-helper.B3ysoDQm.js";
|
|
3
3
|
import { createBlock as n, createCommentVNode as r, createElementBlock as i, createVNode as a, normalizeClass as o, onMounted as s, openBlock as c, ref as l, shallowRef as u, unref as d, watch as f, withCtx as p } from "vue";
|
|
4
4
|
import { ElIcon as m, ElMessage as h, ElScrollbar as g } from "element-plus";
|
|
@@ -144,6 +144,6 @@ var w = () => {
|
|
|
144
144
|
_: 1
|
|
145
145
|
}, 8, ["max-height"])], 2));
|
|
146
146
|
}
|
|
147
|
-
}, [["__scopeId", "data-v-
|
|
147
|
+
}, [["__scopeId", "data-v-011cdc70"]]);
|
|
148
148
|
//#endregion
|
|
149
149
|
export { w as n, T as t };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./withinstall.CMngc-br.js";
|
|
2
|
-
import { m as t } from "./i18n.
|
|
2
|
+
import { m as t } from "./i18n.CfGGAcJH.js";
|
|
3
3
|
import { t as n } from "./_plugin-vue_export-helper.B3ysoDQm.js";
|
|
4
|
-
import { r } from "./config.
|
|
5
|
-
import { t as i } from "./AvailableRangePreview.
|
|
6
|
-
import { d as a, f as o, l as s, m as c, p as l, r as u, u as d } from "./config.
|
|
4
|
+
import { r } from "./config.rFstR-MG.js";
|
|
5
|
+
import { t as i } from "./AvailableRangePreview.Daug_hry.js";
|
|
6
|
+
import { d as a, f as o, l as s, m as c, p as l, r as u, u as d } from "./config.BVTdMgQ9.js";
|
|
7
7
|
import { Fragment as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createTextVNode as v, createVNode as y, normalizeStyle as b, openBlock as x, renderList as S, resolveDynamicComponent as C, toDisplayString as w, unref as T, withCtx as E, withModifiers as D } from "vue";
|
|
8
8
|
import { ElIcon as O, ElPopover as k, ElTag as A } from "element-plus";
|
|
9
9
|
import '../assets/CommonTagsList.css';//#region components/CommonTagsList/StatusTag.vue
|
|
@@ -39,7 +39,7 @@ var j = { class: "status-tag-content flex items-center" }, M = { class: "status-
|
|
|
39
39
|
_: 1
|
|
40
40
|
}, 8, ["type"]));
|
|
41
41
|
}
|
|
42
|
-
}, [["__scopeId", "data-v-
|
|
42
|
+
}, [["__scopeId", "data-v-b780b53f"]]), P = { class: "commont-status-box" }, F = {
|
|
43
43
|
class: "common-content w-full overflow-y-auto",
|
|
44
44
|
style: { "max-height": "200px" }
|
|
45
45
|
}, I = {
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import { t as e } from "./withinstall.CMngc-br.js";
|
|
2
|
+
import { m as t } from "./i18n.CfGGAcJH.js";
|
|
3
|
+
import { t as n } from "./_plugin-vue_export-helper.B3ysoDQm.js";
|
|
4
|
+
import { r } from "./config.rFstR-MG.js";
|
|
5
|
+
import { t as i } from "./AvailableRangePreview.Daug_hry.js";
|
|
6
|
+
import { d as a, f as o, l as s, m as c, p as l, r as u, u as d } from "./config.DbvuSKlD.js";
|
|
7
|
+
import { Fragment as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createTextVNode as v, createVNode as y, normalizeStyle as b, openBlock as x, renderList as S, resolveDynamicComponent as C, toDisplayString as w, unref as T, withCtx as E, withModifiers as D } from "vue";
|
|
8
|
+
import { ElIcon as O, ElPopover as k, ElTag as A } from "element-plus";
|
|
9
|
+
import '../assets/CommonTagsList.css';//#region components/CommonTagsList/StatusTag.vue
|
|
10
|
+
var j = { class: "status-tag-content flex items-center" }, M = { class: "status-text fz-12" }, N = /*#__PURE__*/ n({
|
|
11
|
+
__name: "StatusTag",
|
|
12
|
+
props: {
|
|
13
|
+
channelStatus: {
|
|
14
|
+
type: [String, Number],
|
|
15
|
+
default: null
|
|
16
|
+
},
|
|
17
|
+
statusText: {
|
|
18
|
+
type: String,
|
|
19
|
+
default: null
|
|
20
|
+
},
|
|
21
|
+
showIcon: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: !1
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
setup(e) {
|
|
27
|
+
let t = e, n = p(() => o[t.channelStatus]), r = p(() => a[t.channelStatus]), i = p(() => d[t.channelStatus]), c = p(() => s[t.channelStatus]);
|
|
28
|
+
return (t, a) => (x(), m(T(A), { type: n.value }, {
|
|
29
|
+
default: E(() => [_("div", j, [e.showIcon && i.value ? (x(), m(T(O), {
|
|
30
|
+
key: 0,
|
|
31
|
+
color: c.value
|
|
32
|
+
}, {
|
|
33
|
+
default: E(() => [(x(), m(C(i.value)))]),
|
|
34
|
+
_: 1
|
|
35
|
+
}, 8, ["color"])) : h("", !0), _("span", M, w(e.statusText || r.value), 1)])]),
|
|
36
|
+
_: 1
|
|
37
|
+
}, 8, ["type"]));
|
|
38
|
+
}
|
|
39
|
+
}, [["__scopeId", "data-v-1efeeed8"]]), P = { class: "commont-status-box" }, F = {
|
|
40
|
+
class: "common-content w-full overflow-y-auto",
|
|
41
|
+
style: { "max-height": "200px" }
|
|
42
|
+
}, I = {
|
|
43
|
+
key: 0,
|
|
44
|
+
class: "content-item"
|
|
45
|
+
}, L = { class: "content-item-top flex items-center" }, R = { class: "item-bottom-box mg-l-4 pd-t-8 flex flex-wrap" }, z = {
|
|
46
|
+
key: 1,
|
|
47
|
+
class: "icon-placeholder w-full mg-t-4 mg-b-8 bg-e6e8ea",
|
|
48
|
+
style: { height: "1px" }
|
|
49
|
+
}, B = {
|
|
50
|
+
key: 0,
|
|
51
|
+
class: "all-visible-ranges-section mg-t-12"
|
|
52
|
+
}, V = { class: "channel-name fz-12 weight-500 mg-b-4 text-1f2329 flex items-center" }, H = {
|
|
53
|
+
key: 0,
|
|
54
|
+
class: "range-separator w-full mg-t-8 mg-b-8 bg-e6e8ea",
|
|
55
|
+
style: { height: "1px" }
|
|
56
|
+
}, U = e(/* @__PURE__ */ Object.assign({ name: "CommonTagsList" }, {
|
|
57
|
+
__name: "layout",
|
|
58
|
+
props: {
|
|
59
|
+
publishChannelList: {
|
|
60
|
+
type: Array,
|
|
61
|
+
default: () => []
|
|
62
|
+
},
|
|
63
|
+
sourceType: {
|
|
64
|
+
type: [String, Number],
|
|
65
|
+
default: null
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
setup(e) {
|
|
69
|
+
let { t: n } = t(), j = e, M = p(() => {
|
|
70
|
+
let e = j.publishChannelList || [], t = e.filter((e) => e.channelStatus === r.PUBLISHED).map((e) => ({
|
|
71
|
+
...e,
|
|
72
|
+
displayText: c?.[e.channelType]?.name(j.sourceType) || ""
|
|
73
|
+
})), n = e.filter((e) => e.channelStatus !== r.PUBLISHED).reduce((e, t) => {
|
|
74
|
+
let n = t.channelStatus;
|
|
75
|
+
return e[n] || (e[n] = []), e[n].push(t), e;
|
|
76
|
+
}, {}), i = Object.entries(n).map(([e, t]) => ({
|
|
77
|
+
channelStatus: parseInt(e),
|
|
78
|
+
displayText: `${a[parseInt(e)]}(${t.length})`,
|
|
79
|
+
isGroup: !0,
|
|
80
|
+
channels: t
|
|
81
|
+
})).sort((e, t) => t.channelStatus - e.channelStatus);
|
|
82
|
+
return [...t, ...i];
|
|
83
|
+
}), U = p(() => {
|
|
84
|
+
if (!j.publishChannelList?.length) return [];
|
|
85
|
+
let e = j.publishChannelList.reduce((e, t) => {
|
|
86
|
+
let n = t.channelStatus;
|
|
87
|
+
return e[n] || (e[n] = []), e[n].push(t), e;
|
|
88
|
+
}, {});
|
|
89
|
+
return Object.entries(e).map(([e, t]) => ({
|
|
90
|
+
status: parseInt(e),
|
|
91
|
+
channels: t
|
|
92
|
+
})).sort((e, t) => e.status === r.PUBLISHED ? -1 : t.status === r.PUBLISHED ? 1 : t.status - e.status);
|
|
93
|
+
}), W = p(() => {
|
|
94
|
+
if (!j.publishChannelList?.length) return [];
|
|
95
|
+
let e = n("COMMON_TAGS_LIST.UNKNOWN_CHANNEL");
|
|
96
|
+
return j.publishChannelList.filter((e) => !e.visibleScope || e.visibleScope.length === 0 ? !1 : e.channelStatus === r.PUBLISHED).map((t) => ({
|
|
97
|
+
channelName: c[t.channelType]?.name(j.sourceType) || e,
|
|
98
|
+
channelType: t.channelType,
|
|
99
|
+
visibleScope: t.visibleScope,
|
|
100
|
+
allVisible: t.allVisible
|
|
101
|
+
}));
|
|
102
|
+
}), G = (e) => {
|
|
103
|
+
let t = l[e];
|
|
104
|
+
return u[t];
|
|
105
|
+
};
|
|
106
|
+
return (t, l) => (x(), g("div", P, [(x(!0), g(f, null, S(M.value, (t, r) => (x(), m(T(k), {
|
|
107
|
+
key: r,
|
|
108
|
+
placement: "bottom",
|
|
109
|
+
trigger: "click",
|
|
110
|
+
width: "300"
|
|
111
|
+
}, {
|
|
112
|
+
reference: E(() => [y(N, {
|
|
113
|
+
onClick: l[0] ||= D(() => {}, ["stop"]),
|
|
114
|
+
"channel-status": t.channelStatus,
|
|
115
|
+
"status-text": t.displayText,
|
|
116
|
+
"show-icon": !0,
|
|
117
|
+
class: "mg-r-4 mg-b-4"
|
|
118
|
+
}, null, 8, ["channel-status", "status-text"])]),
|
|
119
|
+
default: E(() => [_("div", F, [(x(!0), g(f, null, S(U.value, (t, n) => (x(), g(f, { key: t.status }, [t.channels.length > 0 ? (x(), g("div", I, [_("div", L, [y(T(O), { style: b({ color: T(s)[t.status] }) }, {
|
|
120
|
+
default: E(() => [(x(), m(C(T(d)[t.status])))]),
|
|
121
|
+
_: 2
|
|
122
|
+
}, 1032, ["style"]), _("div", {
|
|
123
|
+
class: "content-item-name fz-14 mg-l-4",
|
|
124
|
+
style: b({ color: T(s)[t.status] })
|
|
125
|
+
}, w(T(a)[t.status]) + "(" + w(t.channels.length) + ") ", 5)]), _("div", R, [(x(!0), g(f, null, S(t.channels, (t) => (x(), g("div", {
|
|
126
|
+
class: "b-item-box mg-r-8 radius-4 fz-12 pd-t-4 pd-b-4 pd-l-8 pd-r-8 mg-b-8 text-1f2329 bg-f5f6f7",
|
|
127
|
+
key: t.channelType
|
|
128
|
+
}, w(T(c)?.[t.channelType]?.name(e.sourceType)), 1))), 128))])])) : h("", !0), n < U.value.length - 1 ? (x(), g("div", z)) : h("", !0)], 64))), 128)), W.value.length > 0 ? (x(), g("div", B, [(x(!0), g(f, null, S(W.value, (e, t) => (x(), g("div", {
|
|
129
|
+
key: e.channelType,
|
|
130
|
+
class: "channel-visible-range"
|
|
131
|
+
}, [
|
|
132
|
+
_("div", V, [y(T(O), {
|
|
133
|
+
class: "mg-r-2",
|
|
134
|
+
size: "14",
|
|
135
|
+
color: G(e.channelType)?.iconColor
|
|
136
|
+
}, {
|
|
137
|
+
default: E(() => [(x(), m(C(G(e.channelType)?.icon)))]),
|
|
138
|
+
_: 2
|
|
139
|
+
}, 1032, ["color"]), v(" " + w(e.channelName) + " " + w(T(n)("COMMON_TAGS_LIST.AVAILABLE_SCOPE")), 1)]),
|
|
140
|
+
y(T(i), {
|
|
141
|
+
"all-visible": e.allVisible,
|
|
142
|
+
"model-value": e.visibleScope,
|
|
143
|
+
"tree-list": [],
|
|
144
|
+
readonly: !0
|
|
145
|
+
}, null, 8, ["all-visible", "model-value"]),
|
|
146
|
+
t < W.value.length - 1 ? (x(), g("div", H)) : h("", !0)
|
|
147
|
+
]))), 128))])) : h("", !0)])]),
|
|
148
|
+
_: 2
|
|
149
|
+
}, 1024))), 128)), e.publishChannelList?.length ? h("", !0) : (x(), m(T(A), {
|
|
150
|
+
key: 0,
|
|
151
|
+
type: T(o)[T(r).UNPUBLISHED]
|
|
152
|
+
}, {
|
|
153
|
+
default: E(() => [v(w(T(a)[T(r).UNPUBLISHED]), 1)]),
|
|
154
|
+
_: 1
|
|
155
|
+
}, 8, ["type"]))]));
|
|
156
|
+
}
|
|
157
|
+
}));
|
|
158
|
+
//#endregion
|
|
159
|
+
export { N as n, U as t };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as e } from "./withinstall.CMngc-br.js";
|
|
2
|
-
import { m as t } from "./i18n.
|
|
3
|
-
import { t as n } from "./usePreview.
|
|
4
|
-
import { t as r } from "./FilePreview.
|
|
2
|
+
import { m as t } from "./i18n.CfGGAcJH.js";
|
|
3
|
+
import { t as n } from "./usePreview.yIUda0Hv.js";
|
|
4
|
+
import { t as r } from "./FilePreview.CZGtuNLk.js";
|
|
5
5
|
import { t as i } from "./_plugin-vue_export-helper.B3ysoDQm.js";
|
|
6
|
-
import { t as a } from "./FileUploader.
|
|
7
|
-
import { t as o } from "./RadioGroup.
|
|
8
|
-
import { t as s } from "./AuthSection.
|
|
9
|
-
import { t as c } from "./MdEditor.
|
|
6
|
+
import { t as a } from "./FileUploader.Dzz9qaG4.js";
|
|
7
|
+
import { t as o } from "./RadioGroup.CB4jkuR3.js";
|
|
8
|
+
import { t as s } from "./AuthSection.DoHCPqfe.js";
|
|
9
|
+
import { t as c } from "./MdEditor.DXniUyrY.js";
|
|
10
10
|
import { createBlock as l, createCommentVNode as u, createElementVNode as d, createTextVNode as f, createVNode as p, openBlock as m, reactive as h, ref as g, toDisplayString as _, unref as v, watch as y, withCtx as b } from "vue";
|
|
11
11
|
import { ElForm as x, ElFormItem as S, ElIcon as C, ElInput as w, ElMessage as T, ElTooltip as E } from "element-plus";
|
|
12
12
|
import { IconTip as D } from "color-message-aibox-vue";
|
|
@@ -303,6 +303,6 @@ var O = () => {
|
|
|
303
303
|
_: 1
|
|
304
304
|
}, 8, ["model", "rules"]));
|
|
305
305
|
}
|
|
306
|
-
}, [["__scopeId", "data-v-
|
|
306
|
+
}, [["__scopeId", "data-v-47c4a3f2"]]));
|
|
307
307
|
//#endregion
|
|
308
308
|
export { M as t };
|