aibox-custom-component-packages 0.0.21 → 0.0.23
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/AiboxTabs.mjs +71 -0
- package/es/DocSyncSelect.mjs +1 -1
- package/es/ExampleComponent.mjs +35 -0
- package/es/SourcePublish.mjs +1 -1
- package/es/assets/AiboxTabs.css +1 -0
- package/es/assets/BackBar.css +1 -0
- package/es/assets/DocSyncSelect.css +1 -1
- package/es/assets/ExampleComponent.css +1 -0
- package/es/assets/SourcePublish.css +1 -1
- package/es/assets/index.css +1 -0
- package/es/assets/index2.css +1 -0
- package/es/assets/index3.css +1 -0
- package/es/assets/index4.css +1 -0
- package/es/chunks/AiboxTable.CF4T_OCu.js +645 -0
- package/es/chunks/BackBar.Bc2NIuzk.js +645 -0
- package/es/chunks/{DocSyncSelect.DlJXL1lq.js → DocSyncSelect.dhZh4w45.js} +3 -3
- package/es/chunks/{SourcePublish.BjY8OTLS.js → SourcePublish.CjzqOFwj.js} +23 -10
- package/es/chunks/_plugin-vue_export-helper.CHgC5LLL.js +9 -0
- package/es/chunks/config.8htFF04x.js +325 -0
- package/es/chunks/config.BU21Gda2.js +49 -0
- package/es/chunks/config.DPkdwjwD.js +49 -0
- package/es/chunks/config.gNZ_rT87.js +325 -0
- package/es/chunks/enums.CfSBDD6u.js +83 -0
- package/es/chunks/enums.WrpwbF4w.js +14 -0
- package/es/chunks/field-types.CPnMOjle.js +13 -0
- package/es/chunks/files.cduUqjHX.js +16 -0
- package/es/chunks/i18n.DmqkiK-h.js +444 -0
- package/es/chunks/i18n.k9Q_HVMs.js +443 -0
- package/es/chunks/index.BDd6hHiU.js +172 -0
- package/es/chunks/index.CF_YHLP5.js +257 -0
- package/es/chunks/index.DM3o2YX3.js +398 -0
- package/es/chunks/index.Dx-mCS4E.js +1298 -0
- package/es/chunks/index.bCzIhWFw.js +7 -0
- package/es/chunks/index.ml5i7aB5.js +257 -0
- package/es/chunks/layout.CygCXa6s.js +26 -0
- package/es/chunks/publish.D6friivo.js +50 -0
- package/es/chunks/publish.DlD0o09n.js +50 -0
- package/es/chunks/request.24c3shPx.js +5 -0
- package/es/chunks/usePreview.BHvXwaNi.js +157 -0
- package/es/index.mjs +2 -2
- package/lib/AiboxTabs.js +1 -0
- package/lib/DocSyncSelect.js +1 -1
- package/lib/ExampleComponent.js +1 -0
- package/lib/SourcePublish.js +1 -1
- package/lib/assets/AiboxTabs.css +1 -0
- package/lib/assets/BackBar.css +1 -0
- package/lib/assets/DocSyncSelect.css +1 -1
- package/lib/assets/ExampleComponent.css +1 -0
- package/lib/assets/SourcePublish.css +1 -1
- package/lib/assets/index.css +1 -0
- package/lib/assets/index2.css +1 -0
- package/lib/assets/index3.css +1 -0
- package/lib/assets/index4.css +1 -0
- package/lib/chunks/AiboxTable.CJOPGJtU.js +1 -0
- package/lib/chunks/BackBar.CZsNxoX1.js +1 -0
- package/lib/chunks/{DocSyncSelect.1gaXRzps.js → DocSyncSelect.kDNcepY-.js} +2 -2
- package/lib/chunks/SourcePublish.eOSEULjP.js +1 -0
- package/lib/chunks/_plugin-vue_export-helper.BHFhmbuH.js +1 -0
- package/lib/chunks/config.1oaIKLGn.js +1 -0
- package/lib/chunks/config.B0XKkp1w.js +1 -0
- package/lib/chunks/config.BCAuBVxV.js +1 -0
- package/lib/chunks/config.BF7MO0O5.js +1 -0
- package/lib/chunks/enums.Dmq4PdUc.js +1 -0
- package/lib/chunks/enums.DpU2er5r.js +1 -0
- package/lib/chunks/field-types.Ch_2yDfg.js +1 -0
- package/lib/chunks/files.B3-8UC0v.js +1 -0
- package/lib/chunks/i18n.CL5L6nx6.js +1 -0
- package/lib/chunks/i18n.DgOp_D7R.js +1 -0
- package/lib/chunks/index.4hFddClT.js +6 -0
- package/lib/chunks/index.BNivYbtq.js +1 -0
- package/lib/chunks/index.B_keI1Aq.js +1 -0
- package/lib/chunks/index.Bk-RwmaH.js +1 -0
- package/lib/chunks/index.CJFk1R2u.js +59 -0
- package/lib/chunks/index.CkihWzK6.js +1 -0
- package/lib/chunks/layout.DbBSbLgm.js +1 -0
- package/lib/chunks/publish.3TrK3fZf.js +1 -0
- package/lib/chunks/publish.Bw1acrSu.js +1 -0
- package/lib/chunks/request.D8T4MgGX.js +1 -0
- package/lib/chunks/usePreview.BojIDW7Z.js +1 -0
- package/lib/index.js +1 -1
- package/package.json +5 -5
- package/es/chunks/AddOrEditSupplierDialog.BCiXcUBu.js +0 -721
- package/es/chunks/AiboxTable.B_Yli5E8.js +0 -635
- package/es/chunks/ApplicationTypeTag.BbJwXyVa.js +0 -47
- package/es/chunks/AuthSection.CLi8HcIx.js +0 -201
- package/es/chunks/AvailableRangePreview.BgeL_bMq.js +0 -194
- package/es/chunks/AvailableRangeSetting.CGJxgfPT.js +0 -229
- package/es/chunks/CodeView.CWbewuHs.js +0 -148
- package/es/chunks/CommonTagsList.CJdBie2N.js +0 -156
- package/es/chunks/CreateMcpForm.C0HqvD-g.js +0 -308
- package/es/chunks/FileUploader.BSIhrd9M.js +0 -216
- package/es/chunks/McpFormDialog.CDH31D2Q.js +0 -297
- package/es/chunks/McpParamsSet.Bx3aRL9j.js +0 -501
- package/es/chunks/MdEditor.Bb9S_hso.js +0 -163
- package/es/chunks/ParameterTable.CoRz_932.js +0 -2010
- package/es/chunks/PublishRecord.C8h1tu3w.js +0 -133
- package/es/chunks/SourcePublish.CebmryAz.js +0 -966
- package/es/chunks/SourcePublish.Dk7O9GzI.js +0 -968
- package/es/chunks/config.CIQoQGOb.js +0 -35
- package/es/chunks/config.lm2B-n0s.js +0 -270
- package/es/chunks/i18n.CIhVBbR3.js +0 -418
- package/lib/chunks/AddOrEditSupplierDialog.XtPxc5yr.js +0 -1
- package/lib/chunks/AiboxTable.DFyqwoGc.js +0 -1
- package/lib/chunks/ApplicationTypeTag.CZReMt-9.js +0 -1
- package/lib/chunks/AuthSection.CP9c-YTW.js +0 -1
- package/lib/chunks/AvailableRangePreview.DvREyHNH.js +0 -1
- package/lib/chunks/AvailableRangeSetting.DDHTOLJA.js +0 -1
- package/lib/chunks/CodeView.DeBxLqyC.js +0 -1
- package/lib/chunks/CommonTagsList.QEP4G-Em.js +0 -1
- package/lib/chunks/CreateMcpForm.B2o0Ghjg.js +0 -1
- package/lib/chunks/FileUploader.6IW_QL-h.js +0 -1
- package/lib/chunks/McpFormDialog.FwXnBBd2.js +0 -6
- package/lib/chunks/McpParamsSet.BYrxVvDL.js +0 -1
- package/lib/chunks/MdEditor.Cp24y4DJ.js +0 -1
- package/lib/chunks/ParameterTable.CeufAEXh.js +0 -1
- package/lib/chunks/PublishRecord.BVndvj7F.js +0 -5
- package/lib/chunks/SourcePublish.Bz8MaRPm.js +0 -1
- package/lib/chunks/SourcePublish.I7ORXPok.js +0 -1
- package/lib/chunks/SourcePublish.OeB6i-Iu.js +0 -1
- package/lib/chunks/config.B9Di8LtU.js +0 -1
- package/lib/chunks/config.CZl1kYtI.js +0 -1
- package/lib/chunks/i18n.BGe5gOau.js +0 -1
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
import { w as _ } from "./index.bCzIhWFw.js";
|
|
2
|
+
import { computed as p, createElementBlock as b, createCommentVNode as h, openBlock as m, Fragment as N, createElementVNode as M, toDisplayString as E, normalizeClass as w, createBlock as D, renderList as k, unref as i, withCtx as A, ref as P, watch as O, onMounted as L, createVNode as z, createTextVNode as U, nextTick as F } from "vue";
|
|
3
|
+
import { ElPopover as $, ElButton as G } from "element-plus";
|
|
4
|
+
import { D as g, M as c, R as B, r as Y } from "./config.BU21Gda2.js";
|
|
5
|
+
import { _ as q } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
6
|
+
import { u as H } from "./i18n.DmqkiK-h.js";
|
|
7
|
+
import '../assets/index2.css';const W = {
|
|
8
|
+
key: 0,
|
|
9
|
+
class: "pd-l-16 text-dee0e3 pd-r-16"
|
|
10
|
+
}, X = { class: "fz-14 text-646a73 nowrap" }, j = { class: "tag-item nowrap fz-12 pd-l-8 pd-r-8 radius-4 bg-eaf0fe text-3271fe pointer" }, J = { class: "tag-list-popover overflow-y-auto flex gap-4 flex-wrap" }, K = {
|
|
11
|
+
__name: "TagList",
|
|
12
|
+
props: {
|
|
13
|
+
// 显示的标签
|
|
14
|
+
label: {
|
|
15
|
+
type: String,
|
|
16
|
+
required: !0
|
|
17
|
+
},
|
|
18
|
+
// 数据项列表
|
|
19
|
+
items: {
|
|
20
|
+
type: Array,
|
|
21
|
+
default: () => []
|
|
22
|
+
},
|
|
23
|
+
// 是否为只读模式
|
|
24
|
+
readonly: {
|
|
25
|
+
type: Boolean,
|
|
26
|
+
default: !1
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
setup(e) {
|
|
30
|
+
const t = e, l = p(() => t.readonly ? t.items : t.items.slice(0, g.one)), d = p(() => t.items.length > g.one), T = p(() => t.items.length - g.one), u = p(() => t.items.slice(g.one));
|
|
31
|
+
return (n, s) => e.items.length > 0 ? (m(), b(N, { key: 0 }, [
|
|
32
|
+
e.readonly ? h("", !0) : (m(), b("span", W, "|")),
|
|
33
|
+
M("span", X, E(e.label), 1),
|
|
34
|
+
M("div", {
|
|
35
|
+
class: w(["tag-list", { "flex items-center gap-4": !e.readonly }])
|
|
36
|
+
}, [
|
|
37
|
+
(m(!0), b(N, null, k(l.value, (a) => (m(), b("div", {
|
|
38
|
+
key: a.memberId,
|
|
39
|
+
class: w(["tag-item fz-12 pd-l-8 pd-r-8 radius-4 bg-eaf0fe text-3271fe nowrap", { "mg-r-4 mg-b-4": e.readonly }])
|
|
40
|
+
}, E(a.memberName), 3))), 128)),
|
|
41
|
+
!e.readonly && d.value ? (m(), D(i($), {
|
|
42
|
+
key: 0,
|
|
43
|
+
placement: "top",
|
|
44
|
+
trigger: "click",
|
|
45
|
+
width: "300",
|
|
46
|
+
"popper-class": "tag-list-popover-wrapper"
|
|
47
|
+
}, {
|
|
48
|
+
reference: A(() => [
|
|
49
|
+
M("span", j, " +" + E(T.value), 1)
|
|
50
|
+
]),
|
|
51
|
+
default: A(() => [
|
|
52
|
+
M("div", J, [
|
|
53
|
+
(m(!0), b(N, null, k(u.value, (a) => (m(), b("span", {
|
|
54
|
+
key: a.memberId,
|
|
55
|
+
class: "tag-item nowrap fz-12 pd-l-8 pd-r-8 radius-4 bg-eaf0fe text-3271fe"
|
|
56
|
+
}, E(a.memberName), 1))), 128))
|
|
57
|
+
])
|
|
58
|
+
]),
|
|
59
|
+
_: 1
|
|
60
|
+
})) : h("", !0)
|
|
61
|
+
], 2)
|
|
62
|
+
], 64)) : h("", !0);
|
|
63
|
+
}
|
|
64
|
+
}, R = /* @__PURE__ */ q(K, [["__scopeId", "data-v-eecd9e0b"]]), V = (e, t) => e?.filter(t) || [], I = (e, t) => V(e, (l) => l.memberType === t), x = (e, t) => {
|
|
65
|
+
if (e.children)
|
|
66
|
+
for (const l of e.children)
|
|
67
|
+
l.memberType === c.MEMBER ? t(l) : l.memberType === c.DEPARTMENT && x(l, t);
|
|
68
|
+
}, S = (e) => {
|
|
69
|
+
const t = [];
|
|
70
|
+
return x(e, (l) => t.push(l.memberId)), t;
|
|
71
|
+
};
|
|
72
|
+
function Q(e, t, l = !1) {
|
|
73
|
+
const d = p(() => {
|
|
74
|
+
if (!e.value) return [];
|
|
75
|
+
const n = [...e.value], s = I(
|
|
76
|
+
n,
|
|
77
|
+
c.DEPARTMENT
|
|
78
|
+
);
|
|
79
|
+
if (s.length > 0 && t.value && t.value.length > 0) {
|
|
80
|
+
const a = /* @__PURE__ */ new Set();
|
|
81
|
+
s.forEach((o) => {
|
|
82
|
+
const f = (y) => {
|
|
83
|
+
for (const v of y) {
|
|
84
|
+
if (v.memberType === c.DEPARTMENT && v.memberId === o.memberId)
|
|
85
|
+
return x(
|
|
86
|
+
v,
|
|
87
|
+
(C) => a.add(C)
|
|
88
|
+
), !0;
|
|
89
|
+
if (v.children && f(v.children))
|
|
90
|
+
return !0;
|
|
91
|
+
}
|
|
92
|
+
return !1;
|
|
93
|
+
};
|
|
94
|
+
f(t.value);
|
|
95
|
+
});
|
|
96
|
+
const r = new Set(
|
|
97
|
+
I(n, c.MEMBER).map(
|
|
98
|
+
(o) => o.memberId
|
|
99
|
+
)
|
|
100
|
+
);
|
|
101
|
+
a.forEach((o) => {
|
|
102
|
+
r.has(o.memberId) || n.push(o);
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
return n;
|
|
106
|
+
}), T = p(() => {
|
|
107
|
+
if (l)
|
|
108
|
+
return I(
|
|
109
|
+
d.value,
|
|
110
|
+
c.MEMBER
|
|
111
|
+
);
|
|
112
|
+
{
|
|
113
|
+
const n = /* @__PURE__ */ new Set();
|
|
114
|
+
return u.value.forEach((s) => {
|
|
115
|
+
S(s).forEach((r) => n.add(r));
|
|
116
|
+
}), V(
|
|
117
|
+
d.value,
|
|
118
|
+
(s) => s.memberType === c.MEMBER && !n.has(s.memberId)
|
|
119
|
+
);
|
|
120
|
+
}
|
|
121
|
+
}), u = p(() => {
|
|
122
|
+
if (l)
|
|
123
|
+
return I(
|
|
124
|
+
d.value,
|
|
125
|
+
c.DEPARTMENT
|
|
126
|
+
);
|
|
127
|
+
{
|
|
128
|
+
const n = [], s = (r) => {
|
|
129
|
+
if (!r.children || r.children.length === 0) return !1;
|
|
130
|
+
const o = S(r);
|
|
131
|
+
return o.length === 0 ? !1 : o.every(
|
|
132
|
+
(f) => d.value.some(
|
|
133
|
+
(y) => y.memberType === c.MEMBER && y.memberId === f
|
|
134
|
+
)
|
|
135
|
+
);
|
|
136
|
+
}, a = (r, o = !1) => {
|
|
137
|
+
if (r.memberType === c.DEPARTMENT) {
|
|
138
|
+
const f = s(r);
|
|
139
|
+
if (f && !o) {
|
|
140
|
+
if (n.push({
|
|
141
|
+
memberId: r.memberId,
|
|
142
|
+
memberName: r.memberName,
|
|
143
|
+
memberType: c.DEPARTMENT,
|
|
144
|
+
bnid: r.bnid,
|
|
145
|
+
children: r.children
|
|
146
|
+
}), r.children)
|
|
147
|
+
for (const y of r.children)
|
|
148
|
+
a(y, !0);
|
|
149
|
+
} else if (!f && r.children)
|
|
150
|
+
for (const y of r.children)
|
|
151
|
+
a(y, !1);
|
|
152
|
+
}
|
|
153
|
+
};
|
|
154
|
+
for (const r of t.value)
|
|
155
|
+
a(r, !1);
|
|
156
|
+
return n;
|
|
157
|
+
}
|
|
158
|
+
});
|
|
159
|
+
return {
|
|
160
|
+
selectedMembers: T,
|
|
161
|
+
selectedDepartments: u
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
const Z = { class: "text-1f2329" }, ee = { class: "fz-14 text-1f2329" }, te = {
|
|
165
|
+
__name: "layout",
|
|
166
|
+
props: {
|
|
167
|
+
// 当前选择的范围类型(是否全部可见)
|
|
168
|
+
allVisible: {
|
|
169
|
+
type: Boolean,
|
|
170
|
+
default: B.ALL
|
|
171
|
+
},
|
|
172
|
+
// 选中的项目列表(完整对象数组,由父组件根据ID从树中查找得到)
|
|
173
|
+
modelValue: {
|
|
174
|
+
type: Array,
|
|
175
|
+
default: () => []
|
|
176
|
+
},
|
|
177
|
+
// 完整的树形数据(用于判断部门成员是否全部选中)
|
|
178
|
+
treeList: {
|
|
179
|
+
type: Array,
|
|
180
|
+
default: () => []
|
|
181
|
+
},
|
|
182
|
+
// 是否为只读模式
|
|
183
|
+
readonly: {
|
|
184
|
+
type: Boolean,
|
|
185
|
+
default: !1
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
setup(e, { expose: t }) {
|
|
189
|
+
const { t: l } = H(), d = P(null), T = () => {
|
|
190
|
+
d.value && F(() => {
|
|
191
|
+
d.value.scrollIntoView({
|
|
192
|
+
behavior: "smooth",
|
|
193
|
+
block: "center"
|
|
194
|
+
});
|
|
195
|
+
});
|
|
196
|
+
}, u = e, { selectedMembers: n, selectedDepartments: s } = Q(
|
|
197
|
+
p(() => u.modelValue),
|
|
198
|
+
p(() => u.treeList),
|
|
199
|
+
u.readonly
|
|
200
|
+
), a = p(() => [...n.value, ...s.value]);
|
|
201
|
+
return O(
|
|
202
|
+
() => [u.allVisible, u.modelValue],
|
|
203
|
+
() => {
|
|
204
|
+
T();
|
|
205
|
+
},
|
|
206
|
+
{ immediate: !1, deep: !0 }
|
|
207
|
+
), L(() => {
|
|
208
|
+
T();
|
|
209
|
+
}), t({
|
|
210
|
+
allSelectedItems: a
|
|
211
|
+
}), (r, o) => (m(), b("div", {
|
|
212
|
+
ref_key: "previewRef",
|
|
213
|
+
ref: d,
|
|
214
|
+
class: w(["available-range-preview w-full overflow-hidden", {
|
|
215
|
+
"flex items-center": !e.readonly
|
|
216
|
+
}])
|
|
217
|
+
}, [
|
|
218
|
+
e.readonly ? h("", !0) : (m(), b(N, { key: 0 }, [
|
|
219
|
+
M("div", Z, E(i(l)("COMMON_DICT.ENUMS.AVAILABLE_RANGE")) + ": ", 1),
|
|
220
|
+
M("span", ee, E(i(Y).find((f) => f.value === e.allVisible)?.label), 1),
|
|
221
|
+
z(i(G), {
|
|
222
|
+
class: "mg-l-16",
|
|
223
|
+
type: "primary",
|
|
224
|
+
link: "",
|
|
225
|
+
onClick: o[0] || (o[0] = (f) => r.$emit("edit"))
|
|
226
|
+
}, {
|
|
227
|
+
default: A(() => [
|
|
228
|
+
U(E(i(l)("COMMON_BUTTON.EDIT_TEXT")), 1)
|
|
229
|
+
]),
|
|
230
|
+
_: 1
|
|
231
|
+
})
|
|
232
|
+
], 64)),
|
|
233
|
+
e.allVisible === i(B).PARTIAL ? (m(), b("div", {
|
|
234
|
+
key: 1,
|
|
235
|
+
class: w(["flex-1 overflow-hidden", { "flex items-center": !e.readonly }])
|
|
236
|
+
}, [
|
|
237
|
+
i(n)?.length ? (m(), D(R, {
|
|
238
|
+
key: 0,
|
|
239
|
+
label: i(l)("COMMON_DICT.ENUMS.MEMBER") + ":",
|
|
240
|
+
items: i(n),
|
|
241
|
+
readonly: e.readonly
|
|
242
|
+
}, null, 8, ["label", "items", "readonly"])) : h("", !0),
|
|
243
|
+
i(s)?.length ? (m(), D(R, {
|
|
244
|
+
key: 1,
|
|
245
|
+
label: i(l)("COMMON_DICT.ENUMS.DEPARTMENT") + ":",
|
|
246
|
+
items: i(s),
|
|
247
|
+
readonly: e.readonly
|
|
248
|
+
}, null, 8, ["label", "items", "readonly"])) : h("", !0)
|
|
249
|
+
], 2)) : h("", !0)
|
|
250
|
+
], 2));
|
|
251
|
+
}
|
|
252
|
+
}, ie = _(te), me = _(R);
|
|
253
|
+
export {
|
|
254
|
+
ie as A,
|
|
255
|
+
me as T,
|
|
256
|
+
Q as u
|
|
257
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { createElementBlock as o, openBlock as i, createElementVNode as t, toDisplayString as n, renderSlot as d } from "vue";
|
|
2
|
+
import { _ as r } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
3
|
+
import '../assets/layout.css';const c = { class: "custom-title flex items-center w-full overflow-hidden w-full pd-b-16" }, a = { class: "title-text fz-14 weight-500 pd-l-8 text-1f2329" }, f = { class: "title-actions flex-1 overflow-hidden flex items-center justify-end" }, u = /* @__PURE__ */ Object.assign({
|
|
4
|
+
name: "CustomTitle"
|
|
5
|
+
}, {
|
|
6
|
+
__name: "layout",
|
|
7
|
+
props: {
|
|
8
|
+
// 标题文本
|
|
9
|
+
title: {
|
|
10
|
+
type: String,
|
|
11
|
+
default: ""
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
setup(s) {
|
|
15
|
+
return (l, e) => (i(), o("div", c, [
|
|
16
|
+
e[0] || (e[0] = t("div", { class: "title-icon bg-3271fe radius-2" }, null, -1)),
|
|
17
|
+
t("div", a, n(s.title), 1),
|
|
18
|
+
t("div", f, [
|
|
19
|
+
d(l.$slots, "default", {}, void 0, !0)
|
|
20
|
+
])
|
|
21
|
+
]));
|
|
22
|
+
}
|
|
23
|
+
}), p = /* @__PURE__ */ r(u, [["__scopeId", "data-v-0e2d1884"]]);
|
|
24
|
+
export {
|
|
25
|
+
p as C
|
|
26
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { g as i } from "./i18n.DmqkiK-h.js";
|
|
2
|
+
const E = () => {
|
|
3
|
+
const { $request: t, $env: s } = i();
|
|
4
|
+
return {
|
|
5
|
+
sourcePublish: (e) => t({
|
|
6
|
+
url: `${s.VITE_APP_AIBOX_BASE_URL}/api/v1/skillets/versions/publish`,
|
|
7
|
+
method: "post",
|
|
8
|
+
data: e
|
|
9
|
+
}),
|
|
10
|
+
getPublishVersionDetail: (e, r) => t({
|
|
11
|
+
url: `${s.VITE_APP_AIBOX_BASE_URL}/api/v1/skillets/versions/${e}/${r}`,
|
|
12
|
+
method: "get"
|
|
13
|
+
}),
|
|
14
|
+
checkVersion: (e) => t({
|
|
15
|
+
url: `${s.VITE_APP_AIBOX_BASE_URL}/api/v1/skillets/versions/exists`,
|
|
16
|
+
method: "get",
|
|
17
|
+
params: e
|
|
18
|
+
}),
|
|
19
|
+
checkToken: () => t({
|
|
20
|
+
url: `${s.VITE_APP_AUTH_BASE_URL}/api/v1/api/check-token`,
|
|
21
|
+
method: "post"
|
|
22
|
+
}),
|
|
23
|
+
sourceRePublish: (e) => t({
|
|
24
|
+
url: `${s.VITE_APP_AIBOX_BASE_URL}/api/v1/skillets/versions/re-publish`,
|
|
25
|
+
method: "post",
|
|
26
|
+
data: e
|
|
27
|
+
}),
|
|
28
|
+
getPublishHistory: (e, r, o) => t({
|
|
29
|
+
url: `${s.VITE_APP_AIBOX_BASE_URL}/api/v1/skillets/${e}/${r}/versions/page`,
|
|
30
|
+
method: "get",
|
|
31
|
+
params: o
|
|
32
|
+
}),
|
|
33
|
+
checkDeleteComponent: (e) => t({
|
|
34
|
+
url: `${s.VITE_APP_AIBOX_BASE_URL}/api/v1/system/tip/agent`,
|
|
35
|
+
method: "get",
|
|
36
|
+
params: e
|
|
37
|
+
}),
|
|
38
|
+
rollbackVersion: (e, r) => t({
|
|
39
|
+
url: `${s.VITE_APP_AIBOX_BASE_URL}/api/v1/skillets/versions/${e}/${r}/revert`,
|
|
40
|
+
method: "post"
|
|
41
|
+
}),
|
|
42
|
+
getStoreDetailType: () => t({
|
|
43
|
+
url: `${s.VITE_APP_STORE_BASE_URL}/api/v1/store/all-classification`,
|
|
44
|
+
method: "get"
|
|
45
|
+
})
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
export {
|
|
49
|
+
E as g
|
|
50
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { g as i } from "./request.24c3shPx.js";
|
|
2
|
+
const E = () => {
|
|
3
|
+
const { $request: t, $env: s } = i();
|
|
4
|
+
return {
|
|
5
|
+
sourcePublish: (e) => t({
|
|
6
|
+
url: `${s.VITE_APP_AIBOX_BASE_URL}/api/v1/skillets/versions/publish`,
|
|
7
|
+
method: "post",
|
|
8
|
+
data: e
|
|
9
|
+
}),
|
|
10
|
+
getPublishVersionDetail: (e, r) => t({
|
|
11
|
+
url: `${s.VITE_APP_AIBOX_BASE_URL}/api/v1/skillets/versions/${e}/${r}`,
|
|
12
|
+
method: "get"
|
|
13
|
+
}),
|
|
14
|
+
checkVersion: (e) => t({
|
|
15
|
+
url: `${s.VITE_APP_AIBOX_BASE_URL}/api/v1/skillets/versions/exists`,
|
|
16
|
+
method: "get",
|
|
17
|
+
params: e
|
|
18
|
+
}),
|
|
19
|
+
checkToken: () => t({
|
|
20
|
+
url: `${s.VITE_APP_AUTH_BASE_URL}/api/v1/api/check-token`,
|
|
21
|
+
method: "post"
|
|
22
|
+
}),
|
|
23
|
+
sourceRePublish: (e) => t({
|
|
24
|
+
url: `${s.VITE_APP_AIBOX_BASE_URL}/api/v1/skillets/versions/re-publish`,
|
|
25
|
+
method: "post",
|
|
26
|
+
data: e
|
|
27
|
+
}),
|
|
28
|
+
getPublishHistory: (e, r, o) => t({
|
|
29
|
+
url: `${s.VITE_APP_AIBOX_BASE_URL}/api/v1/skillets/${e}/${r}/versions/page`,
|
|
30
|
+
method: "get",
|
|
31
|
+
params: o
|
|
32
|
+
}),
|
|
33
|
+
checkDeleteComponent: (e) => t({
|
|
34
|
+
url: `${s.VITE_APP_AIBOX_BASE_URL}/api/v1/system/tip/agent`,
|
|
35
|
+
method: "get",
|
|
36
|
+
params: e
|
|
37
|
+
}),
|
|
38
|
+
rollbackVersion: (e, r) => t({
|
|
39
|
+
url: `${s.VITE_APP_AIBOX_BASE_URL}/api/v1/skillets/versions/${e}/${r}/revert`,
|
|
40
|
+
method: "post"
|
|
41
|
+
}),
|
|
42
|
+
getStoreDetailType: () => t({
|
|
43
|
+
url: `${s.VITE_APP_STORE_BASE_URL}/api/v1/store/all-classification`,
|
|
44
|
+
method: "get"
|
|
45
|
+
})
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
export {
|
|
49
|
+
E as g
|
|
50
|
+
};
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import { api as c } from "v-viewer";
|
|
2
|
+
import { g as d } from "./request.24c3shPx.js";
|
|
3
|
+
import '../assets/usePreview.css';const m = (e) => /(txt|yaml)/i.test(e), x = (e) => /ppt|pptx/i.test(e), g = (e) => /pdf/i.test(e);
|
|
4
|
+
function w(e) {
|
|
5
|
+
return /(docx|doc|msword)/i.test(e);
|
|
6
|
+
}
|
|
7
|
+
function p(e) {
|
|
8
|
+
return /(xlsx|xls|sheet|csv)/i.test(e);
|
|
9
|
+
}
|
|
10
|
+
function b(e) {
|
|
11
|
+
return /(zip|rar|7z)$/i.test(e);
|
|
12
|
+
}
|
|
13
|
+
const u = (e, t) => {
|
|
14
|
+
if (e)
|
|
15
|
+
return /(jpe?g|png|bmp|gif|webp|svg|ico)(\?.*)?$/i.test(e);
|
|
16
|
+
if (t) {
|
|
17
|
+
const s = new Image();
|
|
18
|
+
return s.src = t, new Promise(async (r) => {
|
|
19
|
+
s.onload = () => {
|
|
20
|
+
r(!0);
|
|
21
|
+
}, s.onerror = () => {
|
|
22
|
+
r(!1);
|
|
23
|
+
};
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
}, v = (e) => /(mp4|avi|rmvb|rm|wmv|flv|3gp|mkv|mov)(\?.*)?$/i.test(e), F = (e) => /(mp3|wav|wma|aac|flac)(\?.*)?$/i.test(e), I = (e) => /(md|markdown)/i.test(e), P = (e) => /(html|htm|xhtml|xml)/i.test(e), h = (e) => /(json)/i.test(e), R = (e) => {
|
|
27
|
+
if (g(e.suffix))
|
|
28
|
+
return "Pdf1";
|
|
29
|
+
if (w(e.suffix))
|
|
30
|
+
return "Doc";
|
|
31
|
+
if (p(e.suffix))
|
|
32
|
+
return "Excel1";
|
|
33
|
+
if (v(e.suffix))
|
|
34
|
+
return "Video";
|
|
35
|
+
if (F(e.suffix))
|
|
36
|
+
return "Music";
|
|
37
|
+
if (x(e.suffix))
|
|
38
|
+
return "Ppt1";
|
|
39
|
+
if (I(e.suffix))
|
|
40
|
+
return "Md";
|
|
41
|
+
if (P(e.suffix))
|
|
42
|
+
return "Html";
|
|
43
|
+
if (m(e.suffix))
|
|
44
|
+
return "Txt1";
|
|
45
|
+
if (h(e.suffix))
|
|
46
|
+
return "Other";
|
|
47
|
+
if (b(e.suffix))
|
|
48
|
+
return "Other";
|
|
49
|
+
if (u(e.suffix, e.url))
|
|
50
|
+
return "Pic";
|
|
51
|
+
}, _ = () => {
|
|
52
|
+
const { $request: e, $env: t } = d();
|
|
53
|
+
return {
|
|
54
|
+
commonDownloadInterior: (i) => e({
|
|
55
|
+
method: "get",
|
|
56
|
+
url: `${t.VITE_APP_AIBOX_BASE_URL}/api/v1/common/file/download/streams`,
|
|
57
|
+
params: i,
|
|
58
|
+
responseType: "arraybuffer"
|
|
59
|
+
}),
|
|
60
|
+
commonDownloadForeign: (i) => e({
|
|
61
|
+
method: "get",
|
|
62
|
+
url: `${t.VITE_APP_AIBOX_BASE_URL}/api/v1/common/file/download/urls`,
|
|
63
|
+
params: i
|
|
64
|
+
}),
|
|
65
|
+
commonFileDelete: (i) => e({
|
|
66
|
+
method: "delete",
|
|
67
|
+
url: `${t.VITE_APP_AIBOX_BASE_URL}/api/v1/common/file`,
|
|
68
|
+
params: i
|
|
69
|
+
})
|
|
70
|
+
};
|
|
71
|
+
}, f = (e, t = "", s = "file") => {
|
|
72
|
+
const r = new Blob([e]);
|
|
73
|
+
if (s == "image")
|
|
74
|
+
return URL.createObjectURL(r);
|
|
75
|
+
{
|
|
76
|
+
const l = document.createElement("a");
|
|
77
|
+
l.style.display = "none";
|
|
78
|
+
const i = window.URL.createObjectURL(r);
|
|
79
|
+
l.href = i, l.setAttribute("download", t), document.body.appendChild(l), l.click(), document.body.removeChild(l), setTimeout(() => {
|
|
80
|
+
window.URL.revokeObjectURL(i);
|
|
81
|
+
}, 5e3);
|
|
82
|
+
}
|
|
83
|
+
}, E = () => {
|
|
84
|
+
const { commonDownloadForeign: e, commonDownloadInterior: t, commonFileDelete: s } = _(), r = {
|
|
85
|
+
zIndex: 3e3,
|
|
86
|
+
toolbar: {
|
|
87
|
+
rotateLeft: !0,
|
|
88
|
+
rotateRight: !0,
|
|
89
|
+
zoomIn: !0,
|
|
90
|
+
zoomOut: !0,
|
|
91
|
+
reset: !0,
|
|
92
|
+
prev: !0,
|
|
93
|
+
next: !0
|
|
94
|
+
},
|
|
95
|
+
navbar: !1
|
|
96
|
+
};
|
|
97
|
+
return {
|
|
98
|
+
downloadPrew: async (o) => {
|
|
99
|
+
const { data: n } = await e({ "file-ids": [o.bnid] });
|
|
100
|
+
if (n) {
|
|
101
|
+
const a = n?.[0]?.url;
|
|
102
|
+
u(o.suffix, o.url) || u(o.suffix, a) ? (n && n.length, c({
|
|
103
|
+
images: [a],
|
|
104
|
+
options: r
|
|
105
|
+
})) : window.open(a, "_blank");
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
downloadStreamPrew: async (o) => {
|
|
109
|
+
const n = await t({ "file-ids": [o.bnid] });
|
|
110
|
+
if (n)
|
|
111
|
+
if (u(o.suffix, o.url)) {
|
|
112
|
+
const a = f(n, o.name, "image");
|
|
113
|
+
n && c({
|
|
114
|
+
images: [a],
|
|
115
|
+
options: r
|
|
116
|
+
});
|
|
117
|
+
} else
|
|
118
|
+
f(n, o.name);
|
|
119
|
+
},
|
|
120
|
+
previewImage: (o) => {
|
|
121
|
+
c({
|
|
122
|
+
images: [o],
|
|
123
|
+
options: r
|
|
124
|
+
});
|
|
125
|
+
},
|
|
126
|
+
deleteFile: async (o) => {
|
|
127
|
+
await s({ "file-ids": [o.bnid] });
|
|
128
|
+
},
|
|
129
|
+
previewMultiImage: (o) => {
|
|
130
|
+
const { urls: n, initialIndex: a } = o;
|
|
131
|
+
c({
|
|
132
|
+
images: n,
|
|
133
|
+
options: {
|
|
134
|
+
...r,
|
|
135
|
+
initialViewIndex: a || 0
|
|
136
|
+
}
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
export {
|
|
142
|
+
R as a,
|
|
143
|
+
m as b,
|
|
144
|
+
x as c,
|
|
145
|
+
g as d,
|
|
146
|
+
w as e,
|
|
147
|
+
p as f,
|
|
148
|
+
b as g,
|
|
149
|
+
v as h,
|
|
150
|
+
u as i,
|
|
151
|
+
F as j,
|
|
152
|
+
I as k,
|
|
153
|
+
P as l,
|
|
154
|
+
h as m,
|
|
155
|
+
f as n,
|
|
156
|
+
E as u
|
|
157
|
+
};
|
package/es/index.mjs
CHANGED
|
@@ -22,7 +22,7 @@ import { _ as Ue, a as We, b as Ge, c as Ke, d as qe, f as Je, g as Ye, h as Xe,
|
|
|
22
22
|
import "./chunks/layout.C9wKDpv-.js";
|
|
23
23
|
import { CustomTitle as ut } from "./CustomTitle.mjs";
|
|
24
24
|
import { t as dt } from "./chunks/CustomToggle.BxxsaD-W.js";
|
|
25
|
-
import { n as ft, t as pt } from "./chunks/DocSyncSelect.
|
|
25
|
+
import { n as ft, t as pt } from "./chunks/DocSyncSelect.dhZh4w45.js";
|
|
26
26
|
import { a as mt, c as ht, d as gt, f as _t, i as vt, l as yt, n as bt, o as xt, r as St, s as Ct, t as wt, u as Tt } from "./chunks/FileDisplay.CJ7KCID6.js";
|
|
27
27
|
import { n as Et, t as Dt } from "./chunks/Logo.0myMjGux.js";
|
|
28
28
|
import { a as Ot, i as kt, n as At, r as jt, t as Mt } from "./chunks/McpFormDialog.BmGiXP7Z.js";
|
|
@@ -33,7 +33,7 @@ import { n as Wt, t as Gt } from "./chunks/McpParamsSet.2sRWE--W.js";
|
|
|
33
33
|
import { n as Kt, r as qt, t as Jt } from "./chunks/field-types.zf28gvKR.js";
|
|
34
34
|
import { t as Yt } from "./chunks/PageContainer.DXddaRs1.js";
|
|
35
35
|
import { t as Xt } from "./chunks/PublishRecord.1bbefkRj.js";
|
|
36
|
-
import { a as Zt, c as Qt, i as $t, n as en, o as tn, r as nn, s as rn, t as an } from "./chunks/SourcePublish.
|
|
36
|
+
import { a as Zt, c as Qt, i as $t, n as en, o as tn, r as nn, s as rn, t as an } from "./chunks/SourcePublish.CjzqOFwj.js";
|
|
37
37
|
import { dayjs as on } from "element-plus";
|
|
38
38
|
//#region components/index.js
|
|
39
39
|
var $ = /* @__PURE__ */ e({
|
package/lib/AiboxTabs.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require('./assets/AiboxTabs.css');const i=require("./chunks/index.CkihWzK6.js"),e=require("vue"),p=require("element-plus"),d=require("./chunks/_plugin-vue_export-helper.BHFhmbuH.js"),b=["onClick"],y={__name:"layout",props:{modelValue:{type:String,default:""},tabList:{type:Array,default:()=>[]},propsObj:{type:Object,default:()=>({label:"label",value:"value"})},styleType:{type:[Number,String],default:1},isShowIcon:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(t,{emit:c}){const n=c,o=t,s=a=>{n("update:modelValue",a[o.propsObj.value]),n("change",a[o.propsObj.value])};return(a,f)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["ai-box-tabs",`style-${t.styleType}`])},[e.createElementVNode("ul",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.tabList,(l,u)=>(e.openBlock(),e.createElementBlock("li",{key:l[o.propsObj.value],onClick:g=>s(l),class:e.normalizeClass(t.modelValue===l[o.propsObj.value]?"current":""),style:e.normalizeStyle(u==t.tabList.length-1?"margin-right: 0;":"")},[l.icon&&t.isShowIcon?(e.openBlock(),e.createBlock(e.unref(p.ElIcon),{key:0,size:"18px",style:{"margin-right":"4px"},color:t.modelValue===l[o.propsObj.value]?"#262626":"#7f8387"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.icon)))]),_:2},1032,["color"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(l[o.propsObj.label]),1)],14,b))),128))])],2))}},m=d._export_sfc(y,[["__scopeId","data-v-efe9e16f"]]),r=i.withInstall(m);exports.AiboxTabs=r;exports.default=r;
|
package/lib/DocSyncSelect.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require(`./chunks/DocSyncSelect.
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require(`./chunks/DocSyncSelect.kDNcepY-.js`);exports.DocSyncSelect=e.t,exports.default=e.t,exports.FileTypeIcon=e.n;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require('./assets/ExampleComponent.css');const t=require("vue"),r=e=>(e.install=n=>{const o=e.name||e.__name;n.component(o,e)},e),c=(e,n)=>{const o=e.__vccOpts||e;for(const[a,s]of n)o[a]=s;return o},u={class:"example-component"},i=Object.assign({name:"ExampleComponent"},{__name:"layout",props:{title:{type:String,default:"示例组件"},message:{type:String,default:"这是一个示例组件"}},setup(e){return(n,o)=>(t.openBlock(),t.createElementBlock("div",u,[t.createElementVNode("h3",null,t.toDisplayString(e.title),1),t.createElementVNode("p",null,t.toDisplayString(e.message),1),t.renderSlot(n.$slots,"default",{},void 0,!0)]))}}),m=c(i,[["__scopeId","data-v-28b17e43"]]),l=r(m);exports.ExampleComponent=l;exports.default=l;
|
package/lib/SourcePublish.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}}),require(`./chunks/DialogContainer.C0Hsohgn.js`);const e=require(`./chunks/config.D4x1DE4S.js`);require(`./chunks/AvailableRangePreview.DBZrEGgr.js`);const t=require(`./chunks/config.BCxoVxuB.js`);require(`./chunks/AiboxTable.cjZA3qfn.js`);const n=require(`./chunks/SourcePublish.
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}}),require(`./chunks/DialogContainer.C0Hsohgn.js`);const e=require(`./chunks/config.D4x1DE4S.js`);require(`./chunks/AvailableRangePreview.DBZrEGgr.js`);const t=require(`./chunks/config.BCxoVxuB.js`);require(`./chunks/AiboxTable.cjZA3qfn.js`);const n=require(`./chunks/SourcePublish.eOSEULjP.js`);exports.API_CHANNEL_TYPES=t.t,exports.AUTHORIZED_CHANNEL_TYPES=t.n,exports.ApiTooltip=n.a,exports.CHANNEL_ICON_CONFIG=t.r,exports.FeishuTooltip=n.o,exports.INACTIVE_ENUM=t.i,exports.INACTIVE_LIST=t.a,exports.LIBRARY_PAGE=t.o,exports.OFFICIAL_LABEL=t.s,exports.OPEN_STATUS_VALUE=t.c,exports.PUBLISH_STATUS=e.r,exports.PUBLISH_STATUS_COLORS=t.l,exports.PUBLISH_STATUS_ICONS=t.u,exports.PUBLISH_STATUS_TEXT=t.d,exports.PUBLISH_STATUS_TYPE=t.f,exports.PUBLISH_TYPE_ICON_MAPPING=t.p,exports.PermissionSetting=n.s,exports.PublishIcon=n.c,exports.PublishSettings=n.i,exports.RELEASE_CHANNEL_CONFIG=t.m,exports.RELEASE_CHANNEL_TYPE=t.h,exports.STORE_CHANNEL_TYPES=t.g,exports.STORE_DETAIL_TYPE=t._,exports.SourcePublish=n.t,exports.default=n.t,exports.getChannelsByType=t.v,exports.serviceTypeMap=t.y,exports.useServiceConfig=n.r,exports.useStoreDetailType=n.n;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ai-box-tabs[data-v-efe9e16f]{display:inline-block;height:32px}.ai-box-tabs ul[data-v-efe9e16f]{display:flex;align-items:center}.ai-box-tabs ul li[data-v-efe9e16f]{padding:6px 16px;border-radius:4px;margin-right:8px;color:#606266;font-size:14px;cursor:pointer;transition:all .3s}.ai-box-tabs ul li[data-v-efe9e16f]:hover{color:var(--el-color-primary);background-color:#f0f2f5}.ai-box-tabs ul .current[data-v-efe9e16f]{background:#f5f7fa;color:#262626;font-weight:500}.style-2[data-v-efe9e16f]{background-color:#f5f5f5!important;padding:0 4px;height:32px;display:inline-flex;align-items:center;box-sizing:border-box;border-radius:8px;overflow:hidden}.style-2 li[data-v-efe9e16f]{color:#666!important;display:flex;align-items:center;height:26px;border-radius:14px;padding:0 16px!important}.style-2 li[data-v-efe9e16f]:hover{border-radius:8px;background-color:#e1edf7!important}.style-2 li.current[data-v-efe9e16f]{border-radius:8px;color:#262626!important;background:#fff!important}.style-3[data-v-efe9e16f]{background:#ffffff80;border:1px solid rgba(255,255,255,.2);padding:0 4px;height:36px;display:inline-flex;align-items:center;box-sizing:border-box;border-radius:18px;overflow:hidden}.style-3 li[data-v-efe9e16f]{color:#7f8387!important;display:flex;align-items:center;height:28px;border-radius:14px;padding:0 16px!important}.style-3 li[data-v-efe9e16f]:hover{background-color:#e1edf7!important;border-radius:14px}.style-3 li.current[data-v-efe9e16f]{color:#262626!important;background:#fff!important;border-radius:14px}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@charset "UTF-8";.table-btns[data-v-a15d8f7e]{display:flex;align-items:center;cursor:pointer;color:var(--el-color-primary)}.table-btns[data-v-a15d8f7e]>*:not(:first-child){margin-left:10px}.table-btns .btn-box[data-v-a15d8f7e]{display:flex;justify-content:center;align-items:center;width:24px;height:24px;outline:none;border-radius:4px}.table-btns .btn-box[data-v-a15d8f7e]:hover{background:#ecedee}.custom-dropdown{border-radius:8px;background:#fff;box-shadow:0 6px 40px 16px #00000005,0 4px 28px #00000005,0 3px 16px -8px #0000000a}.custom-dropdown .el-dropdown-menu{min-width:106px;padding:5px 4px!important;border-radius:8px}.custom-dropdown .el-dropdown-menu .el-dropdown-menu__item{font-size:14px;color:var(--color-text-base);border-radius:4px}.custom-dropdown .el-dropdown-menu .el-dropdown-menu__item:not(.is-disabled):hover,.custom-dropdown .el-dropdown-menu .el-dropdown-menu__item:not(.is-disabled):focus{background-color:#f5f5f5}.custom-dropdown .el-dropdown-menu .el-dropdown-menu__item.is-delete{color:#f5222d}.aibox-table[data-v-1e856800]{background:#fff;border-radius:4px;position:relative}.aibox-table__handle[data-v-1e856800]{height:54px;box-sizing:border-box;padding:0 20px 18px;display:flex;justify-content:space-between;align-items:center}.aibox-table__handle .handle-left[data-v-1e856800],.aibox-table__handle .handle-right[data-v-1e856800]{display:flex;align-items:center}.aibox-table__pages[data-v-1e856800]{position:absolute;bottom:-45px;right:0}.aibox-table__page[data-v-1e856800]{margin-top:10px;display:flex;justify-content:end;margin-bottom:10px}.aibox-table__header[data-v-1e856800]{height:55px;line-height:55px;font-family:"Alibaba PuHuiTi 3-55";font-weight:700;font-size:14px;color:var(--color-text-base)}.aibox-table__header.secondary-header .el-table__cell[data-v-1e856800]{background-color:#fafafa!important}.aibox-table .el-table__cell[data-v-1e856800]{padding:0}.aibox-table__slot-wrapper[data-v-1e856800]{width:100%}.el-table[data-v-1e856800]{--el-table-row-hover-bg-color: #fafafa}.el-table .cell[data-v-1e856800]{padding:16px;line-height:1.5;min-height:48px}.row-click-style .el-table__row[data-v-1e856800]:hover{cursor:pointer}.aibox-table.no-pagination .el-table--border[data-v-1e856800]:after,.aibox-table.no-pagination .el-table--border[data-v-1e856800]:before,.aibox-table.no-pagination .el-table--border .el-table__inner-wrapper[data-v-1e856800]:after,.aibox-table.no-pagination .el-table__inner-wrapper[data-v-1e856800]:before{background-color:transparent!important}[data-v-1e856800]::deep(.aibox-table__select-all-disabled .el-checkbox){pointer-events:none}[data-v-1e856800]::deep(.aibox-table__select-all-disabled .el-checkbox__input){cursor:not-allowed}[data-v-1e856800]::deep(.aibox-table__select-all-disabled .el-checkbox__inner){background-color:var(--el-checkbox-disabled-input-fill);border-color:var(--el-checkbox-disabled-border-color)}.back-bar{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:12px 20px;height:64px;background:#f7f8fa;border-bottom:1px solid #f0f0f0}.back-bar__icon{display:flex;align-items:center;justify-content:center;height:18px;width:18px;border-radius:4px;margin-right:10px;cursor:pointer}.back-bar__icon:hover{background:#f0f0f0}.back-bar .back-bar__title{font-weight:700;font-size:16px;color:#262626;line-height:22px}.back-bar__tip{margin-left:10px;display:flex;align-items:center;cursor:help}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.right-wrap[data-v-6736cdb6]{flex-direction:column;flex:1;height:100%;display:flex}.right-wrap .content[data-v-6736cdb6]{padding:12px;overflow-y:auto}.right-wrap .content .empty-state[data-v-6736cdb6]{color:#86909c;text-align:center;padding-top:60px}.right-wrap .content .selected-list[data-v-6736cdb6]{height:100%;overflow-y:auto}.right-wrap .content .selected-list .selected-item[data-v-6736cdb6]{cursor:pointer;margin-bottom:8px}.right-wrap .content .selected-list .selected-item .item-content[data-v-6736cdb6]{background:#fff;border-radius:8px;justify-content:space-between;align-items:center;padding:8px 12px;display:flex}.right-wrap .content .selected-list .selected-item .item-content[data-v-6736cdb6]:hover{background:#eaf0fe}.right-wrap .content .selected-list .selected-item .item-content .item-main[data-v-6736cdb6]{flex:1;align-items:center;gap:8px;display:flex}.right-wrap .content .selected-list .selected-item .item-content .item-main .doc-icon[data-v-6736cdb6]{border-radius:4px;justify-content:center;align-items:center;width:30px;height:30px;display:flex}.right-wrap .content .selected-list .selected-item .item-content .item-main .doc-info[data-v-6736cdb6]{flex:1}.right-wrap .content .selected-list .selected-item .item-content .item-main .doc-info .doc-name[data-v-6736cdb6]{color:#1f2329;font-size:14px;font-weight:400;line-height:20px}.right-wrap .content .selected-list .selected-item .item-content .item-main .doc-info .doc-suffix[data-v-6736cdb6]{color:#bbbfc4;margin-top:2px;font-size:12px;line-height:16px}.right-wrap .content .selected-list .selected-item .item-content .delete-btn[data-v-6736cdb6]{cursor:pointer;background:0 0;border:none;padding:4px}.right-wrap .content .selected-list .selected-item .item-content .delete-btn:hover svg[data-v-6736cdb6]{color:#f53f3f!important}.right-wrap .content .selected-list .selected-item.is-selected .item-content[data-v-6736cdb6]{border-radius:8px}.el-tree .el-tree-node__content{position:relative}.element-tree-node-label-wrapper{flex:1;align-items:center;display:flex}.element-tree-node-label{font-size:12px}.element-tree-node-line-ver{border-left:1px dashed #dcdfe6;height:100%;display:block;position:absolute;top:0;left:0}.element-tree-node-line-ver.last-node-isLeaf-line{height:50%}.element-tree-node-line-hor{border-bottom:1px dashed #dcdfe6;height:0;display:block;position:absolute;top:50%;left:0}.element-tree-node-label-line{border-top:1px dashed #dcdfe6;flex:1;align-self:center;margin:0 10px}[data-v-258f00ca] .el-tree-node__label{line-height:22px}[data-v-258f00ca] .el-tree-node:focus>.el-tree-node__content{background-color:#0000}[data-v-258f00ca] .el-tree-node__content{border-radius:8px}[data-v-258f00ca] .el-tree-node__content:hover{background-color:var(--primary-color-5)}[data-v-258f00ca] .element-tree-node-label{font-size:14px}[data-v-258f00ca] .element-tree-node-line-ver,[data-v-258f00ca] .element-tree-node-line-hor{border-color:var(--neutral-color-19)}.hide-false-child-checkbox[data-v-258f00ca] .el-tree-node__content:has(.false-child-node) .el-checkbox{display:none!important}.vue-recycle-scroller{position:relative}.vue-recycle-scroller.direction-vertical:not(.page-mode){overflow-y:auto}.vue-recycle-scroller.direction-horizontal:not(.page-mode){overflow-x:auto}.vue-recycle-scroller.direction-horizontal{display:flex}.vue-recycle-scroller__slot{flex:none}.vue-recycle-scroller__item-wrapper{box-sizing:border-box;flex:1;position:relative;overflow:hidden}.vue-recycle-scroller.ready .vue-recycle-scroller__item-view{will-change:transform;position:absolute;top:0;left:0}.vue-recycle-scroller.direction-vertical .vue-recycle-scroller__item-wrapper{width:100%}.vue-recycle-scroller.direction-horizontal .vue-recycle-scroller__item-wrapper{height:100%}.vue-recycle-scroller.ready.direction-vertical .vue-recycle-scroller__item-view{width:100%}.vue-recycle-scroller.ready.direction-horizontal .vue-recycle-scroller__item-view{height:100%}.resize-observer[data-v-b329ee4c]{z-index:-1;pointer-events:none;opacity:0;background-color:#0000;border:none;width:100%;height:100%;display:block;position:absolute;top:0;left:0;overflow:hidden}.resize-observer[data-v-b329ee4c] object{pointer-events:none;z-index:-1;width:100%;height:100%;display:block;position:absolute;top:0;left:0;overflow:hidden}.scroll-list[data-v-37e01654]{flex-direction:column;flex:1;display:flex;position:relative;overflow:hidden}.scroller[data-v-37e01654]{flex:1;overflow:hidden}.scroller[data-v-37e01654]::-webkit-scrollbar{width:6px}.scroller[data-v-37e01654]::-webkit-scrollbar-track{background:0 0}.scroller[data-v-37e01654]::-webkit-scrollbar-thumb{background-color:#0000001a;border-radius:3px}.scroller[data-v-37e01654]::-webkit-scrollbar-thumb:hover{background-color:#0003}.load-more-trigger[data-v-37e01654]{text-align:center;padding:16px 0}.loading-indicator[data-v-37e01654]{color:var(--color-text-light1);font-size:var(--font-size-m);justify-content:center;align-items:center;gap:8px;display:flex}.loading-indicator .is-loading[data-v-37e01654]{animation:2s linear infinite rotating-37e01654}.no-more-tip[data-v-37e01654]{text-align:center;color:var(--color-text-light1);font-size:var(--font-size-m);padding:16px 0}.empty-state[data-v-37e01654]{flex-direction:column;justify-content:center;align-items:center;min-height:300px;padding:48px 16px;display:flex}.empty-state .empty-icon[data-v-37e01654]{opacity:.5;margin-bottom:16px;font-size:48px}.empty-state .empty-text[data-v-37e01654]{font-size:var(--font-size-m);color:var(--color-text-light1)}@keyframes rotating-37e01654{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.search-wrap[data-v-
|
|
1
|
+
.right-wrap[data-v-6736cdb6]{flex-direction:column;flex:1;height:100%;display:flex}.right-wrap .content[data-v-6736cdb6]{padding:12px;overflow-y:auto}.right-wrap .content .empty-state[data-v-6736cdb6]{color:#86909c;text-align:center;padding-top:60px}.right-wrap .content .selected-list[data-v-6736cdb6]{height:100%;overflow-y:auto}.right-wrap .content .selected-list .selected-item[data-v-6736cdb6]{cursor:pointer;margin-bottom:8px}.right-wrap .content .selected-list .selected-item .item-content[data-v-6736cdb6]{background:#fff;border-radius:8px;justify-content:space-between;align-items:center;padding:8px 12px;display:flex}.right-wrap .content .selected-list .selected-item .item-content[data-v-6736cdb6]:hover{background:#eaf0fe}.right-wrap .content .selected-list .selected-item .item-content .item-main[data-v-6736cdb6]{flex:1;align-items:center;gap:8px;display:flex}.right-wrap .content .selected-list .selected-item .item-content .item-main .doc-icon[data-v-6736cdb6]{border-radius:4px;justify-content:center;align-items:center;width:30px;height:30px;display:flex}.right-wrap .content .selected-list .selected-item .item-content .item-main .doc-info[data-v-6736cdb6]{flex:1}.right-wrap .content .selected-list .selected-item .item-content .item-main .doc-info .doc-name[data-v-6736cdb6]{color:#1f2329;font-size:14px;font-weight:400;line-height:20px}.right-wrap .content .selected-list .selected-item .item-content .item-main .doc-info .doc-suffix[data-v-6736cdb6]{color:#bbbfc4;margin-top:2px;font-size:12px;line-height:16px}.right-wrap .content .selected-list .selected-item .item-content .delete-btn[data-v-6736cdb6]{cursor:pointer;background:0 0;border:none;padding:4px}.right-wrap .content .selected-list .selected-item .item-content .delete-btn:hover svg[data-v-6736cdb6]{color:#f53f3f!important}.right-wrap .content .selected-list .selected-item.is-selected .item-content[data-v-6736cdb6]{border-radius:8px}.el-tree .el-tree-node__content{position:relative}.element-tree-node-label-wrapper{flex:1;align-items:center;display:flex}.element-tree-node-label{font-size:12px}.element-tree-node-line-ver{border-left:1px dashed #dcdfe6;height:100%;display:block;position:absolute;top:0;left:0}.element-tree-node-line-ver.last-node-isLeaf-line{height:50%}.element-tree-node-line-hor{border-bottom:1px dashed #dcdfe6;height:0;display:block;position:absolute;top:50%;left:0}.element-tree-node-label-line{border-top:1px dashed #dcdfe6;flex:1;align-self:center;margin:0 10px}[data-v-258f00ca] .el-tree-node__label{line-height:22px}[data-v-258f00ca] .el-tree-node:focus>.el-tree-node__content{background-color:#0000}[data-v-258f00ca] .el-tree-node__content{border-radius:8px}[data-v-258f00ca] .el-tree-node__content:hover{background-color:var(--primary-color-5)}[data-v-258f00ca] .element-tree-node-label{font-size:14px}[data-v-258f00ca] .element-tree-node-line-ver,[data-v-258f00ca] .element-tree-node-line-hor{border-color:var(--neutral-color-19)}.hide-false-child-checkbox[data-v-258f00ca] .el-tree-node__content:has(.false-child-node) .el-checkbox{display:none!important}.vue-recycle-scroller{position:relative}.vue-recycle-scroller.direction-vertical:not(.page-mode){overflow-y:auto}.vue-recycle-scroller.direction-horizontal:not(.page-mode){overflow-x:auto}.vue-recycle-scroller.direction-horizontal{display:flex}.vue-recycle-scroller__slot{flex:none}.vue-recycle-scroller__item-wrapper{box-sizing:border-box;flex:1;position:relative;overflow:hidden}.vue-recycle-scroller.ready .vue-recycle-scroller__item-view{will-change:transform;position:absolute;top:0;left:0}.vue-recycle-scroller.direction-vertical .vue-recycle-scroller__item-wrapper{width:100%}.vue-recycle-scroller.direction-horizontal .vue-recycle-scroller__item-wrapper{height:100%}.vue-recycle-scroller.ready.direction-vertical .vue-recycle-scroller__item-view{width:100%}.vue-recycle-scroller.ready.direction-horizontal .vue-recycle-scroller__item-view{height:100%}.resize-observer[data-v-b329ee4c]{z-index:-1;pointer-events:none;opacity:0;background-color:#0000;border:none;width:100%;height:100%;display:block;position:absolute;top:0;left:0;overflow:hidden}.resize-observer[data-v-b329ee4c] object{pointer-events:none;z-index:-1;width:100%;height:100%;display:block;position:absolute;top:0;left:0;overflow:hidden}.scroll-list[data-v-37e01654]{flex-direction:column;flex:1;display:flex;position:relative;overflow:hidden}.scroller[data-v-37e01654]{flex:1;overflow:hidden}.scroller[data-v-37e01654]::-webkit-scrollbar{width:6px}.scroller[data-v-37e01654]::-webkit-scrollbar-track{background:0 0}.scroller[data-v-37e01654]::-webkit-scrollbar-thumb{background-color:#0000001a;border-radius:3px}.scroller[data-v-37e01654]::-webkit-scrollbar-thumb:hover{background-color:#0003}.load-more-trigger[data-v-37e01654]{text-align:center;padding:16px 0}.loading-indicator[data-v-37e01654]{color:var(--color-text-light1);font-size:var(--font-size-m);justify-content:center;align-items:center;gap:8px;display:flex}.loading-indicator .is-loading[data-v-37e01654]{animation:2s linear infinite rotating-37e01654}.no-more-tip[data-v-37e01654]{text-align:center;color:var(--color-text-light1);font-size:var(--font-size-m);padding:16px 0}.empty-state[data-v-37e01654]{flex-direction:column;justify-content:center;align-items:center;min-height:300px;padding:48px 16px;display:flex}.empty-state .empty-icon[data-v-37e01654]{opacity:.5;margin-bottom:16px;font-size:48px}.empty-state .empty-text[data-v-37e01654]{font-size:var(--font-size-m);color:var(--color-text-light1)}@keyframes rotating-37e01654{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.search-wrap[data-v-a129f241]{height:100%}.search-wrap .list-item[data-v-a129f241]{border-bottom:1px solid #0000}.search-wrap .list-item .search-item[data-v-a129f241]{cursor:pointer;align-items:center;min-height:50px;padding:8px 12px;transition:background-color .2s;display:flex}.search-wrap .list-item .search-item[data-v-a129f241]:hover{background-color:#eaf0fe}.search-wrap .list-item .search-item[data-v-a129f241] .el-checkbox,.search-wrap .list-item .search-item .file-type-icon[data-v-a129f241]{margin-right:8px}.search-wrap .list-item .search-item .node-info[data-v-a129f241]{flex-direction:column;flex:1;padding-left:8px;display:flex}.search-wrap .list-item .search-item .node-info .node-label[data-v-a129f241]{color:#1f2329;font-size:14px;font-weight:400;line-height:20px}.search-wrap .list-item .search-item .node-info .node-suffix[data-v-a129f241]{color:#bbbfc4;font-size:12px;line-height:16px}.left-wrap[data-v-6bf8c501]{flex-direction:column;width:50%;height:100%;display:flex}.left-wrap .content[data-v-6bf8c501]{border-right:1px solid #dee0e3;flex-direction:column;height:100%;padding:12px;display:flex}.left-wrap .content .input-wrap[data-v-6bf8c501]{margin-bottom:14px}.left-wrap .content .input-wrap[data-v-6bf8c501] .el-input__wrapper{border-radius:4px}.left-wrap .content[data-v-6bf8c501] .el-segmented{margin-bottom:16px;width:fit-content!important;display:inline-flex!important}.left-wrap .content .tree-container[data-v-6bf8c501]{flex:1;position:relative;overflow:hidden}.left-wrap .content .tree-container .loading-wrapper[data-v-6bf8c501]{z-index:10;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.left-wrap .content .tree-container[data-v-6bf8c501] .element-tree-node-line-ver,.left-wrap .content .tree-container[data-v-6bf8c501] .element-tree-node-line-hor{border-style:solid!important;border-color:#dee0e3!important}.left-wrap .content .tree-container[data-v-6bf8c501] .el-tree-node__content:hover,.left-wrap .content .tree-container[data-v-6bf8c501] .element-tree-node:hover{background-color:#eaf0fe!important}.left-wrap .content .tree-container[data-v-6bf8c501] .el-tree-node__content.is-current{background-color:#0000!important}.left-wrap .content .tree-container .tree-node-content[data-v-6bf8c501]{align-items:center;width:100%;display:flex}.left-wrap .content .tree-container .tree-node-content .node-info[data-v-6bf8c501]{flex-direction:column;flex:1;padding-left:8px;display:flex}.left-wrap .content .tree-container .tree-node-content .node-info .node-label[data-v-6bf8c501]{color:#1f2329;font-size:14px;font-weight:400;line-height:20px}.left-wrap .content .tree-container .tree-node-content .node-info .node-suffix[data-v-6bf8c501]{color:#bbbfc4;font-size:12px;line-height:16px}.doc-sync-select[data-v-c45c2d8e]{border:1px solid #d0d3d6;border-radius:4px;flex-direction:row;width:100%;height:100%;display:flex}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.example-component[data-v-28b17e43]{padding:20px;border:1px solid #ddd;border-radius:4px;background-color:#fff}.example-component h3[data-v-28b17e43]{margin:0 0 10px;color:#333;font-size:16px;font-weight:500}.example-component p[data-v-28b17e43]{margin:0;color:#666;font-size:14px}
|