china-mobile-international-custom-components 0.0.54 → 0.0.55
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/AddOrEditSupplierDialog.mjs +920 -22
- package/es/AuthSection.mjs +192 -0
- package/es/CommonTagsList.mjs +31 -30
- package/es/CreateMcpForm.mjs +321 -0
- package/es/FilePreview.mjs +229 -0
- package/es/McpFormDialog.mjs +188 -0
- package/es/RadioGroup.mjs +120 -0
- package/es/SourcePublish.mjs +2 -2
- package/es/assets/AddOrEditSupplierDialog.css +1 -1
- package/es/assets/AuthSection.css +1 -0
- package/es/assets/CreateMcpForm.css +1 -0
- package/es/assets/FilePreview.css +1 -0
- package/es/assets/McpFormDialog.css +1 -0
- package/es/assets/RadioGroup.css +1 -0
- package/es/assets/usePreview.css +1 -0
- package/es/chunks/config.CgrPt4Zx.js +435 -0
- package/es/chunks/usePreview.BMkgYO7E.js +124 -0
- package/es/index.mjs +162 -147
- package/lib/AddOrEditSupplierDialog.js +1 -1
- package/lib/AuthSection.js +1 -0
- package/lib/CommonTagsList.js +1 -1
- package/lib/CreateMcpForm.js +1 -0
- package/lib/FilePreview.js +1 -0
- package/lib/McpFormDialog.js +1 -0
- package/lib/RadioGroup.js +1 -0
- package/lib/SourcePublish.js +1 -1
- package/lib/assets/AddOrEditSupplierDialog.css +1 -1
- package/lib/assets/AuthSection.css +1 -0
- package/lib/assets/CreateMcpForm.css +1 -0
- package/lib/assets/FilePreview.css +1 -0
- package/lib/assets/McpFormDialog.css +1 -0
- package/lib/assets/RadioGroup.css +1 -0
- package/lib/assets/usePreview.css +1 -0
- package/lib/chunks/config.BvBtwI1A.js +1 -0
- package/lib/chunks/usePreview.BzTCNJfE.js +1 -0
- package/lib/index.js +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
import { w as U } from "./chunks/index.bCzIhWFw.js";
|
|
2
|
+
import { resolveComponent as c, createElementBlock as r, openBlock as n, createCommentVNode as w, unref as _, renderSlot as C, createVNode as u, withCtx as i, Fragment as D, renderList as b, createBlock as a, createElementVNode as x, resolveDynamicComponent as S, toDisplayString as V, createTextVNode as L } from "vue";
|
|
3
|
+
import { o as H } from "./chunks/usePreview.BMkgYO7E.js";
|
|
4
|
+
import { _ as N } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
5
|
+
import './assets/FilePreview.css';const g = {
|
|
6
|
+
卡片: "Card",
|
|
7
|
+
按钮: "Button",
|
|
8
|
+
面板: "Panel",
|
|
9
|
+
自定义: "Custom"
|
|
10
|
+
}, M = (e) => /(txt|yaml)/i.test(e), j = (e) => /ppt|pptx/i.test(e), A = (e) => /pdf/i.test(e);
|
|
11
|
+
function O(e) {
|
|
12
|
+
return /(docx|doc|msword)/i.test(e);
|
|
13
|
+
}
|
|
14
|
+
function J(e) {
|
|
15
|
+
return /(xlsx|xls|sheet|csv)/i.test(e);
|
|
16
|
+
}
|
|
17
|
+
function W(e) {
|
|
18
|
+
return /(zip|rar|7z)$/i.test(e);
|
|
19
|
+
}
|
|
20
|
+
const k = (e) => /(jpe?g|png|bmp|gif|webp|svg|ico)(\?.*)?$/i.test(e), Z = (e) => /(mp4|avi|rmvb|rm|wmv|flv|3gp|mkv|mov)(\?.*)?$/i.test(e), q = (e) => /(mp3|wav|wma|aac|flac)(\?.*)?$/i.test(e), G = (e) => /(md|markdown)/i.test(e), K = (e) => /(html|htm|xhtml|xml)/i.test(e), Q = (e) => /(json)/i.test(e), R = (e) => {
|
|
21
|
+
if (A(e.suffix))
|
|
22
|
+
return "Pdf1";
|
|
23
|
+
if (O(e.suffix))
|
|
24
|
+
return "Doc";
|
|
25
|
+
if (J(e.suffix))
|
|
26
|
+
return "Excel1";
|
|
27
|
+
if (Z(e.suffix))
|
|
28
|
+
return "Video";
|
|
29
|
+
if (q(e.suffix))
|
|
30
|
+
return "Music";
|
|
31
|
+
if (j(e.suffix))
|
|
32
|
+
return "Ppt1";
|
|
33
|
+
if (G(e.suffix))
|
|
34
|
+
return "Md";
|
|
35
|
+
if (K(e.suffix))
|
|
36
|
+
return "Html";
|
|
37
|
+
if (M(e.suffix))
|
|
38
|
+
return "Txt1";
|
|
39
|
+
if (Q(e.suffix))
|
|
40
|
+
return "Other";
|
|
41
|
+
if (W(e.suffix))
|
|
42
|
+
return "Other";
|
|
43
|
+
if (k(e.suffix))
|
|
44
|
+
return "Pic";
|
|
45
|
+
}, X = { class: "file-preview-wrapper" }, Y = {
|
|
46
|
+
key: 0,
|
|
47
|
+
class: "panel-preview"
|
|
48
|
+
}, ee = { class: "panel-preview__item" }, te = ["onClick"], ne = ["src", "alt"], oe = { class: "panel-preview__name ellipsis" }, se = { key: 0 }, re = { key: 1 }, le = {
|
|
49
|
+
key: 1,
|
|
50
|
+
class: "upload-preview"
|
|
51
|
+
}, ie = ["src", "alt"], ae = { class: "preview-item__mask" }, ce = {
|
|
52
|
+
__name: "index",
|
|
53
|
+
props: {
|
|
54
|
+
fileList: {
|
|
55
|
+
type: Array,
|
|
56
|
+
default: () => []
|
|
57
|
+
},
|
|
58
|
+
canEdit: {
|
|
59
|
+
type: Boolean,
|
|
60
|
+
default: !0
|
|
61
|
+
},
|
|
62
|
+
previewType: {
|
|
63
|
+
type: String,
|
|
64
|
+
default: g.面板
|
|
65
|
+
},
|
|
66
|
+
isStream: {
|
|
67
|
+
type: Boolean,
|
|
68
|
+
default: !1
|
|
69
|
+
},
|
|
70
|
+
isCustom: {
|
|
71
|
+
type: Boolean,
|
|
72
|
+
default: !1
|
|
73
|
+
},
|
|
74
|
+
// 下载文件函数,接收 (item) => Promise<Array<{ url, suffix }>>
|
|
75
|
+
onDownload: {
|
|
76
|
+
type: Function,
|
|
77
|
+
default: null
|
|
78
|
+
},
|
|
79
|
+
// 下载文件流函数,接收 (item) => Promise<Blob>
|
|
80
|
+
onDownloadStream: {
|
|
81
|
+
type: Function,
|
|
82
|
+
default: null
|
|
83
|
+
},
|
|
84
|
+
// 预览图片函数,接收 (url) => void
|
|
85
|
+
onPreviewImage: {
|
|
86
|
+
type: Function,
|
|
87
|
+
default: null
|
|
88
|
+
},
|
|
89
|
+
// 下载 Blob 文件函数,接收 (blob, name, type) => string
|
|
90
|
+
downloadBlobFile: {
|
|
91
|
+
type: Function,
|
|
92
|
+
default: null
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
emits: ["on-remove", "on-preview"],
|
|
96
|
+
setup(e, { emit: s }) {
|
|
97
|
+
const l = e, f = s, { downloadPrew: B, downloadStreamPrew: I } = H({
|
|
98
|
+
onDownload: l.onDownload,
|
|
99
|
+
onDownloadStream: l.onDownloadStream,
|
|
100
|
+
onPreviewImage: l.onPreviewImage || ((o) => window.open(o, "_blank")),
|
|
101
|
+
downloadBlobFile: l.downloadBlobFile
|
|
102
|
+
}), y = (o) => R(o);
|
|
103
|
+
function F(o) {
|
|
104
|
+
l.isCustom ? f("on-preview", o) : l.isStream ? l.onDownloadStream ? I(o) : (console.warn("FilePreview: isStream 为 true 但未提供 onDownloadStream 函数"), f("on-preview", o)) : l.onDownload ? B(o) : f("on-preview", o);
|
|
105
|
+
}
|
|
106
|
+
function h(o, p) {
|
|
107
|
+
f("on-remove", o, p);
|
|
108
|
+
}
|
|
109
|
+
return (o, p) => {
|
|
110
|
+
const d = c("el-icon"), $ = c("el-button"), P = c("IconDelete"), E = c("el-col"), T = c("el-row"), z = c("IconHide");
|
|
111
|
+
return n(), r("div", X, [
|
|
112
|
+
e.previewType === _(g).面板 ? (n(), r("div", Y, [
|
|
113
|
+
C(o.$slots, "PanelUploader", {}, void 0, !0),
|
|
114
|
+
u(T, {
|
|
115
|
+
gutter: 20,
|
|
116
|
+
class: "panel-preview__row"
|
|
117
|
+
}, {
|
|
118
|
+
default: i(() => [
|
|
119
|
+
(n(!0), r(D, null, b(e.fileList, (t, m) => (n(), a(E, {
|
|
120
|
+
span: 8,
|
|
121
|
+
key: t.bnid
|
|
122
|
+
}, {
|
|
123
|
+
default: i(() => [
|
|
124
|
+
x("div", ee, [
|
|
125
|
+
x("div", {
|
|
126
|
+
class: "panel-preview__box",
|
|
127
|
+
onClick: (v) => F(t)
|
|
128
|
+
}, [
|
|
129
|
+
_(k)(t.suffix) ? (n(), r("img", {
|
|
130
|
+
key: 0,
|
|
131
|
+
src: t.url,
|
|
132
|
+
alt: t.name,
|
|
133
|
+
class: "panel-preview__img"
|
|
134
|
+
}, null, 8, ne)) : (n(), a(d, {
|
|
135
|
+
key: 1,
|
|
136
|
+
size: "32px",
|
|
137
|
+
class: "panel-preview__img"
|
|
138
|
+
}, {
|
|
139
|
+
default: i(() => [
|
|
140
|
+
(n(), a(S(y(t))))
|
|
141
|
+
]),
|
|
142
|
+
_: 2
|
|
143
|
+
}, 1024)),
|
|
144
|
+
x("span", oe, V(t.name), 1)
|
|
145
|
+
], 8, te),
|
|
146
|
+
t.isUploading ? (n(), r("div", se, [
|
|
147
|
+
u($, {
|
|
148
|
+
text: "",
|
|
149
|
+
size: "small",
|
|
150
|
+
loading: ""
|
|
151
|
+
}, {
|
|
152
|
+
default: i(() => [...p[0] || (p[0] = [
|
|
153
|
+
L("上传中...", -1)
|
|
154
|
+
])]),
|
|
155
|
+
_: 1
|
|
156
|
+
})
|
|
157
|
+
])) : (n(), r("div", re, [
|
|
158
|
+
e.canEdit ? (n(), a(d, {
|
|
159
|
+
key: 0,
|
|
160
|
+
size: "18",
|
|
161
|
+
style: { cursor: "pointer" },
|
|
162
|
+
onClick: (v) => h(m, t)
|
|
163
|
+
}, {
|
|
164
|
+
default: i(() => [
|
|
165
|
+
u(P)
|
|
166
|
+
]),
|
|
167
|
+
_: 1
|
|
168
|
+
}, 8, ["onClick"])) : w("", !0)
|
|
169
|
+
]))
|
|
170
|
+
])
|
|
171
|
+
]),
|
|
172
|
+
_: 2
|
|
173
|
+
}, 1024))), 128))
|
|
174
|
+
]),
|
|
175
|
+
_: 1
|
|
176
|
+
})
|
|
177
|
+
])) : w("", !0),
|
|
178
|
+
e.previewType === _(g).卡片 ? (n(), r("ul", le, [
|
|
179
|
+
(n(!0), r(D, null, b(e.fileList, (t, m) => (n(), r("li", {
|
|
180
|
+
class: "preview-item",
|
|
181
|
+
key: t.bnid
|
|
182
|
+
}, [
|
|
183
|
+
_(k)(t.suffix) ? (n(), r("img", {
|
|
184
|
+
key: 0,
|
|
185
|
+
src: t.url,
|
|
186
|
+
alt: t.name,
|
|
187
|
+
class: "preview-item__img"
|
|
188
|
+
}, null, 8, ie)) : (n(), a(d, {
|
|
189
|
+
key: 1,
|
|
190
|
+
size: "32px",
|
|
191
|
+
class: "preview-item__img"
|
|
192
|
+
}, {
|
|
193
|
+
default: i(() => [
|
|
194
|
+
(n(), a(S(y(t))))
|
|
195
|
+
]),
|
|
196
|
+
_: 2
|
|
197
|
+
}, 1024)),
|
|
198
|
+
x("div", ae, [
|
|
199
|
+
u(d, {
|
|
200
|
+
class: "preview-item__mask--view",
|
|
201
|
+
onClick: (v) => F(t)
|
|
202
|
+
}, {
|
|
203
|
+
default: i(() => [
|
|
204
|
+
u(z)
|
|
205
|
+
]),
|
|
206
|
+
_: 1
|
|
207
|
+
}, 8, ["onClick"]),
|
|
208
|
+
e.canEdit ? (n(), a(d, {
|
|
209
|
+
key: 0,
|
|
210
|
+
class: "preview-item__mask--delete",
|
|
211
|
+
onClick: (v) => h(m, t)
|
|
212
|
+
}, {
|
|
213
|
+
default: i(() => [
|
|
214
|
+
u(P)
|
|
215
|
+
]),
|
|
216
|
+
_: 1
|
|
217
|
+
}, 8, ["onClick"])) : w("", !0)
|
|
218
|
+
])
|
|
219
|
+
]))), 128)),
|
|
220
|
+
C(o.$slots, "CardUploader", {}, void 0, !0)
|
|
221
|
+
])) : w("", !0)
|
|
222
|
+
]);
|
|
223
|
+
};
|
|
224
|
+
}
|
|
225
|
+
}, ue = /* @__PURE__ */ N(ce, [["__scopeId", "data-v-fe542fce"]]), _e = U(ue);
|
|
226
|
+
export {
|
|
227
|
+
_e as FilePreview,
|
|
228
|
+
_e as default
|
|
229
|
+
};
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import { w as S } from "./chunks/index.bCzIhWFw.js";
|
|
2
|
+
import { ref as u, nextTick as w, resolveComponent as B, createBlock as G, openBlock as N, unref as I, normalizeClass as U, withCtx as A, createVNode as F, createElementVNode as L, createTextVNode as h, toDisplayString as R } from "vue";
|
|
3
|
+
import { useDialog as $, DialogContainer as x } from "./DialogContainer.mjs";
|
|
4
|
+
import { CreateMcpForm as k } from "./CreateMcpForm.mjs";
|
|
5
|
+
import { u as V } from "./chunks/i18n.Bd7hh14j.js";
|
|
6
|
+
import { useRouter as X } from "vue-router";
|
|
7
|
+
import { g as z } from "./chunks/request.24c3shPx.js";
|
|
8
|
+
import { _ as Q } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
9
|
+
import { ElMessage as v } from "element-plus";
|
|
10
|
+
import './assets/McpFormDialog.css';const b = () => {
|
|
11
|
+
const { $request: _, $env: a } = z();
|
|
12
|
+
return {
|
|
13
|
+
createMcp: (l) => _({
|
|
14
|
+
url: `${a.VITE_APP_AIBOX_BASE_URL}/api/v1/mcp/customize`,
|
|
15
|
+
method: "post",
|
|
16
|
+
data: l
|
|
17
|
+
}),
|
|
18
|
+
getMcpDetail: (l) => _({
|
|
19
|
+
url: `${a.VITE_APP_AIBOX_BASE_URL}/api/v1/mcp/customize/${l}`,
|
|
20
|
+
method: "get"
|
|
21
|
+
}),
|
|
22
|
+
updateMcp: (l, e) => _({
|
|
23
|
+
url: `${a.VITE_APP_AIBOX_BASE_URL}/api/v1/mcp/customize/${l}`,
|
|
24
|
+
method: "put",
|
|
25
|
+
data: e
|
|
26
|
+
})
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
function ae(_ = {}) {
|
|
30
|
+
const { t: a, onSuccess: g, onError: M } = _, P = () => {
|
|
31
|
+
const { getMcpDetail: o, updateMcp: t, createMcp: r } = b();
|
|
32
|
+
return { getMcpDetail: o, updateMcp: t, createMcp: r };
|
|
33
|
+
}, l = u(!0), e = u(null), f = u(!1), i = u(null), E = async (o, t) => {
|
|
34
|
+
if (!o || !o.bnid && !o.id) {
|
|
35
|
+
v.error(a?.("MCPFORMDIALOG.MCP_ID_REQUIRED") || "缺少MCP ID,无法编辑");
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
const r = o.bnid || o.id;
|
|
39
|
+
e.value = r, l.value = !0, t();
|
|
40
|
+
try {
|
|
41
|
+
const { getMcpDetail: n } = P(), p = await n(r);
|
|
42
|
+
p.code === 0 && p.data ? (await w(), i.value && i.value.setFormData(p.data)) : m();
|
|
43
|
+
} catch (n) {
|
|
44
|
+
console.error("获取MCP详情失败:", n), m();
|
|
45
|
+
}
|
|
46
|
+
}, m = (o) => {
|
|
47
|
+
o && o(), e.value = null, l.value = !0;
|
|
48
|
+
};
|
|
49
|
+
return {
|
|
50
|
+
// 状态
|
|
51
|
+
isEdit: l,
|
|
52
|
+
currentBnid: e,
|
|
53
|
+
btnLoading: f,
|
|
54
|
+
createFormRef: i,
|
|
55
|
+
// 方法
|
|
56
|
+
showEditDialog: E,
|
|
57
|
+
hideEditDialog: m,
|
|
58
|
+
submitForm: async (o, t) => {
|
|
59
|
+
if (f.value = !0, !i.value) {
|
|
60
|
+
console.error("表单引用不存在"), f.value = !1;
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
try {
|
|
64
|
+
if (await i.value.validate()) {
|
|
65
|
+
const n = i.value.getFormData();
|
|
66
|
+
if (!e.value) {
|
|
67
|
+
v.error(a?.("MCPFORMDIALOG.MCP_ID_REQUIRED") || "缺少MCP ID,无法更新"), f.value = !1;
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
const { updateMcp: p } = P(), d = await p(e.value, n);
|
|
71
|
+
if (d.code === 0)
|
|
72
|
+
v.success(a?.("MCPFORMDIALOG.UPDATE_SUCCESS") || "更新MCP成功"), m(o), g && g(n, e.value), t && t("refresh");
|
|
73
|
+
else if (d.code === -1)
|
|
74
|
+
console.error("更新MCP失败,返回数据异常:", d), v.error(d.msg || a?.("MCPFORMDIALOG.UPDATE_FAIL"));
|
|
75
|
+
else {
|
|
76
|
+
const C = d.msg || a?.("MCPFORMDIALOG.UPDATE_FAIL") || "更新MCP失败";
|
|
77
|
+
v.error(C), M && M(new Error(C));
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
} catch (r) {
|
|
81
|
+
console.error("表单提交错误:", r), v.error(r.message || a?.("MCPFORMDIALOG.UPDATE_FAIL") || "更新MCP失败"), M && M(r);
|
|
82
|
+
} finally {
|
|
83
|
+
f.value = !1;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
const q = {
|
|
89
|
+
class: /* @__PURE__ */ U("custom-mcp-dialog__footer")
|
|
90
|
+
}, j = {
|
|
91
|
+
__name: "McpFormDialog",
|
|
92
|
+
emits: ["refresh"],
|
|
93
|
+
setup(_, { expose: a, emit: g }) {
|
|
94
|
+
const { getMcpDetail: M, updateMcp: P, createMcp: l } = b(), { t: e } = V(), { dialogRef: f, showDialog: i, hideDialog: E } = $(), m = g, T = X(), o = u(!1), t = u(null), r = u(null), n = u(!1), p = () => {
|
|
95
|
+
o.value = !1, r.value = null, i();
|
|
96
|
+
}, d = async (D) => {
|
|
97
|
+
o.value = !0, r.value = D.bnid, i();
|
|
98
|
+
try {
|
|
99
|
+
const c = await M(D.bnid);
|
|
100
|
+
c.code === 0 && c.data ? (await w(), t.value && t.value.setFormData(c.data)) : E();
|
|
101
|
+
} catch (c) {
|
|
102
|
+
console.error("获取MCP详情失败:", c), E();
|
|
103
|
+
}
|
|
104
|
+
}, C = () => {
|
|
105
|
+
E(), r.value = null;
|
|
106
|
+
}, y = async () => {
|
|
107
|
+
if (n.value = !0, !t.value) {
|
|
108
|
+
console.error("表单引用不存在");
|
|
109
|
+
return;
|
|
110
|
+
}
|
|
111
|
+
try {
|
|
112
|
+
if (await t.value.validate()) {
|
|
113
|
+
const c = t.value.getFormData();
|
|
114
|
+
if (o.value) {
|
|
115
|
+
if (!r.value) {
|
|
116
|
+
ElMessage.error(e("MCPFORMDIALOG.MCP_ID_REQUIRED") || "缺少MCP ID,无法更新");
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
const s = await P(r.value, c);
|
|
120
|
+
s.code === 0 ? (ElMessage.success(e("MCPFORMDIALOG.UPDATE_SUCCESS") || "更新MCP成功"), C(), m("refresh")) : s.code === -1 && (console.error("更新MCP失败,返回数据异常:", s), ElMessage.error(s.msg || e("MCPFORMDIALOG.UPDATE_FAIL")));
|
|
121
|
+
} else {
|
|
122
|
+
const s = await l(c);
|
|
123
|
+
if (console.log("创建MCP响应:", s), s.code === 0) {
|
|
124
|
+
const O = s.data;
|
|
125
|
+
ElMessage.success(e("MCPFORMDIALOG.CREATE_SUCCESS") || "创建MCP成功"), C(), m("refresh"), O ? T.push({
|
|
126
|
+
name: "MCPTool",
|
|
127
|
+
params: {
|
|
128
|
+
bnId: O
|
|
129
|
+
}
|
|
130
|
+
}) : console.warn("创建MCP成功,但未返回bnid,无法跳转");
|
|
131
|
+
} else
|
|
132
|
+
console.error("创建MCP失败,返回数据异常:", s);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
} catch (D) {
|
|
136
|
+
console.error("表单提交错误:", D);
|
|
137
|
+
} finally {
|
|
138
|
+
n.value = !1;
|
|
139
|
+
}
|
|
140
|
+
};
|
|
141
|
+
return a({ showCreateDialog: p, showEditDialog: d }), (D, c) => {
|
|
142
|
+
const s = B("el-button");
|
|
143
|
+
return N(), G(I(x), {
|
|
144
|
+
class: U("custom-mcp-dialog"),
|
|
145
|
+
width: "520px",
|
|
146
|
+
ref_key: "dialogRef",
|
|
147
|
+
ref: f
|
|
148
|
+
}, {
|
|
149
|
+
title: A(() => [
|
|
150
|
+
L("div", null, R(I(e)("MCPFORMDIALOG.TITLE")), 1)
|
|
151
|
+
]),
|
|
152
|
+
footer: A(() => [
|
|
153
|
+
L("div", q, [
|
|
154
|
+
F(s, { onClick: C }, {
|
|
155
|
+
default: A(() => [
|
|
156
|
+
h(R(I(e)("COMMON_BUTTON.CANCEL_TEXT")), 1)
|
|
157
|
+
]),
|
|
158
|
+
_: 1
|
|
159
|
+
}),
|
|
160
|
+
F(s, {
|
|
161
|
+
color: "var(--el-color-primary)",
|
|
162
|
+
type: "primary",
|
|
163
|
+
onClick: c[0] || (c[0] = (O) => y()),
|
|
164
|
+
loading: n.value
|
|
165
|
+
}, {
|
|
166
|
+
default: A(() => [
|
|
167
|
+
h(R(I(e)("COMMON_BUTTON.CONFIRM_TEXT")), 1)
|
|
168
|
+
]),
|
|
169
|
+
_: 1
|
|
170
|
+
}, 8, ["loading"])
|
|
171
|
+
])
|
|
172
|
+
]),
|
|
173
|
+
default: A(() => [
|
|
174
|
+
F(I(k), {
|
|
175
|
+
ref_key: "createFormRef",
|
|
176
|
+
ref: t
|
|
177
|
+
}, null, 512)
|
|
178
|
+
]),
|
|
179
|
+
_: 1
|
|
180
|
+
}, 512);
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
}, H = /* @__PURE__ */ Q(j, [["__scopeId", "data-v-69163ac9"]]), se = S(H);
|
|
184
|
+
export {
|
|
185
|
+
se as McpFormDialog,
|
|
186
|
+
se as default,
|
|
187
|
+
ae as useMcpEditDialog
|
|
188
|
+
};
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { w as V } from "./chunks/index.bCzIhWFw.js";
|
|
2
|
+
import { computed as m, resolveComponent as l, createElementBlock as n, openBlock as a, normalizeClass as p, createCommentVNode as d, createVNode as c, createTextVNode as f, createBlock as v, toDisplayString as g, withCtx as r, Fragment as N, renderList as T, renderSlot as q } from "vue";
|
|
3
|
+
import { _ as B } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
4
|
+
import './assets/RadioGroup.css';const G = {
|
|
5
|
+
key: 0,
|
|
6
|
+
class: "field-label"
|
|
7
|
+
}, I = {
|
|
8
|
+
key: 0,
|
|
9
|
+
class: "required"
|
|
10
|
+
}, w = {
|
|
11
|
+
__name: "RadioGroup",
|
|
12
|
+
props: {
|
|
13
|
+
modelValue: {
|
|
14
|
+
type: [String, Number, null],
|
|
15
|
+
required: !1,
|
|
16
|
+
default: null
|
|
17
|
+
},
|
|
18
|
+
options: {
|
|
19
|
+
type: Array,
|
|
20
|
+
required: !0,
|
|
21
|
+
default: () => []
|
|
22
|
+
},
|
|
23
|
+
label: {
|
|
24
|
+
type: String,
|
|
25
|
+
default: ""
|
|
26
|
+
},
|
|
27
|
+
required: {
|
|
28
|
+
type: Boolean,
|
|
29
|
+
default: !1
|
|
30
|
+
},
|
|
31
|
+
className: {
|
|
32
|
+
type: String,
|
|
33
|
+
default: ""
|
|
34
|
+
},
|
|
35
|
+
direction: {
|
|
36
|
+
type: String,
|
|
37
|
+
default: "horizontal",
|
|
38
|
+
// horizontal | vertical
|
|
39
|
+
validator: (e) => ["horizontal", "vertical"].includes(e)
|
|
40
|
+
},
|
|
41
|
+
layout: {
|
|
42
|
+
type: String,
|
|
43
|
+
default: "horizontal",
|
|
44
|
+
// horizontal | vertical (controls label and radio group layout)
|
|
45
|
+
validator: (e) => ["horizontal", "vertical"].includes(e)
|
|
46
|
+
},
|
|
47
|
+
tipText: {
|
|
48
|
+
type: String,
|
|
49
|
+
default: ""
|
|
50
|
+
},
|
|
51
|
+
disabled: {
|
|
52
|
+
type: Boolean,
|
|
53
|
+
default: !1
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
emits: ["update:modelValue", "change"],
|
|
57
|
+
setup(e, { emit: y }) {
|
|
58
|
+
const i = e, s = y, _ = m(() => i.layout === "vertical" ? "container-vertical" : ""), h = m(() => {
|
|
59
|
+
const t = i.className, u = i.direction === "vertical" ? "radio-group-vertical" : "radio-group-horizontal";
|
|
60
|
+
return `${t} ${u}`.trim();
|
|
61
|
+
}), b = (t) => {
|
|
62
|
+
s("update:modelValue", t), s("change", t);
|
|
63
|
+
};
|
|
64
|
+
return (t, u) => {
|
|
65
|
+
const C = l("IconTip"), x = l("el-icon"), S = l("el-tooltip"), k = l("el-radio"), z = l("el-radio-group");
|
|
66
|
+
return a(), n("div", {
|
|
67
|
+
class: p(["radio-group-container", _.value])
|
|
68
|
+
}, [
|
|
69
|
+
e.label ? (a(), n("div", G, [
|
|
70
|
+
e.required ? (a(), n("span", I, "*")) : d("", !0),
|
|
71
|
+
f(" " + g(e.label) + " ", 1),
|
|
72
|
+
e.tipText ? (a(), v(S, {
|
|
73
|
+
key: 1,
|
|
74
|
+
content: e.tipText,
|
|
75
|
+
placement: "top"
|
|
76
|
+
}, {
|
|
77
|
+
default: r(() => [
|
|
78
|
+
c(x, {
|
|
79
|
+
style: { "margin-left": "4px" },
|
|
80
|
+
size: "14px",
|
|
81
|
+
color: "#999"
|
|
82
|
+
}, {
|
|
83
|
+
default: r(() => [
|
|
84
|
+
c(C)
|
|
85
|
+
]),
|
|
86
|
+
_: 1
|
|
87
|
+
})
|
|
88
|
+
]),
|
|
89
|
+
_: 1
|
|
90
|
+
}, 8, ["content"])) : d("", !0)
|
|
91
|
+
])) : d("", !0),
|
|
92
|
+
c(z, {
|
|
93
|
+
"model-value": e.modelValue,
|
|
94
|
+
class: p(h.value),
|
|
95
|
+
disabled: e.disabled,
|
|
96
|
+
onChange: b
|
|
97
|
+
}, {
|
|
98
|
+
default: r(() => [
|
|
99
|
+
(a(!0), n(N, null, T(e.options, (o) => (a(), v(k, {
|
|
100
|
+
key: o.value,
|
|
101
|
+
class: "radio-item",
|
|
102
|
+
value: o.value
|
|
103
|
+
}, {
|
|
104
|
+
default: r(() => [
|
|
105
|
+
f(g(o.label) + " ", 1),
|
|
106
|
+
q(t.$slots, o.value, {}, void 0, !0)
|
|
107
|
+
]),
|
|
108
|
+
_: 2
|
|
109
|
+
}, 1032, ["value"]))), 128))
|
|
110
|
+
]),
|
|
111
|
+
_: 3
|
|
112
|
+
}, 8, ["model-value", "class", "disabled"])
|
|
113
|
+
], 2);
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
}, R = /* @__PURE__ */ B(w, [["__scopeId", "data-v-e31adbcf"]]), E = V(R);
|
|
117
|
+
export {
|
|
118
|
+
E as RadioGroup,
|
|
119
|
+
E as default
|
|
120
|
+
};
|
package/es/SourcePublish.mjs
CHANGED
|
@@ -5,8 +5,8 @@ import { useRouter as Ee, useRoute as fe } from "vue-router";
|
|
|
5
5
|
import { ElIcon as W, ElTooltip as oe, ElCheckbox as Pe, ElButton as me, ElSelect as $, ElOption as ee, ElTag as ue, ElInputNumber as Le, ElForm as Be, ElFormItem as F, ElInput as re, ElSwitch as ce, ElMessage as de } from "element-plus";
|
|
6
6
|
import { _ as k } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
7
7
|
import { g as He } from "./chunks/request.24c3shPx.js";
|
|
8
|
-
import { C as pe, f as Ve, b as te, g as y, A as X, i as we, h as Ne, S as le, a as xe, k as ke } from "./chunks/config.
|
|
9
|
-
import { I as Mt, L as Xt, O as Yt, P as Wt, c as zt, d as qt, e as jt, R as Qt, s as Jt, j as Zt } from "./chunks/config.
|
|
8
|
+
import { C as pe, f as Ve, b as te, g as y, A as X, i as we, h as Ne, S as le, a as xe, k as ke } from "./chunks/config.CgrPt4Zx.js";
|
|
9
|
+
import { I as Mt, L as Xt, O as Yt, P as Wt, c as zt, d as qt, e as jt, R as Qt, s as Jt, j as Zt } from "./chunks/config.CgrPt4Zx.js";
|
|
10
10
|
import { AvailableRangeSetting as Ge } from "./AvailableRangeSetting.mjs";
|
|
11
11
|
import { D as _e } from "./chunks/index.5lH4UH_M.js";
|
|
12
12
|
import { P as el } from "./chunks/index.5lH4UH_M.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.upload-preview[data-v-
|
|
1
|
+
.upload-preview[data-v-58503153]{display:flex;flex-wrap:wrap}.upload-preview .preview-item[data-v-58503153]{position:relative;width:64px;height:64px;margin-right:10px;display:inline-block;cursor:pointer}.upload-preview .preview-item__img[data-v-58503153]{width:64px;height:64px;display:block;border:1px dashed #ccc;border-radius:5px;cursor:pointer}.upload-preview .preview-item__mask[data-v-58503153]{display:none;width:100%;height:100%;position:absolute;border-radius:5px;left:0;top:0;background:#000;opacity:.6;text-align:center;line-height:75px}.upload-preview .preview-item__mask--view[data-v-58503153]{font-size:18px;color:#fff;cursor:pointer;margin-right:10px}.upload-preview .preview-item__mask--delete[data-v-58503153]{font-size:18px;color:#fff;cursor:pointer}.upload-preview .preview-item:hover .preview-item__mask[data-v-58503153]{display:block}.panel-preview[data-v-58503153]{background-color:#fff;width:100%}.panel-preview__row[data-v-58503153]{margin:10px 0}.panel-preview__box[data-v-58503153]{display:flex;width:calc(100% - 70px);align-items:center;cursor:pointer}.panel-preview__item[data-v-58503153]{padding:15px;box-sizing:border-box;border-radius:4px;border:1px solid #f0f0f0;margin-bottom:12px;display:flex;justify-content:space-between;align-items:center}.panel-preview__item>div[data-v-58503153]{display:flex}.panel-preview__name[data-v-58503153]{font-family:"Alibaba PuHuiTi 3-55";font-weight:400;font-size:14px;color:var(--el-color-primary);margin-left:5px}.panel-preview__img[data-v-58503153]{width:32px;height:32px;border-radius:4px}.ai-box-tabs[data-v-82d3878d]{display:inline-block;height:auto!important;padding:2px;height:32px;background:#f5f5f5;border-radius:4px}.ai-box-tabs ul[data-v-82d3878d]{display:flex}.ai-box-tabs ul li[data-v-82d3878d]{padding:4px 12px;cursor:pointer;border-radius:4px;transition:all .3s}.ai-box-tabs ul li[data-v-82d3878d]:hover{background:#ffffff80}.ai-box-tabs ul li.current[data-v-82d3878d]{background:#fff!important;box-shadow:0 9px 28px 8px #0000000d,0 6px 16px #00000014,0 3px 6px -4px #0000001f}.delete-title[data-v-047a5991]{color:var(--color-text-base);display:flex;align-items:center}.delete-title .warning-icon[data-v-047a5991]{color:var(--el-color-warning);margin-right:12px;font-size:18px}.delete-tabs[data-v-047a5991]{margin-top:8px;padding:14px;background:#fafafa;border-radius:8px}.delete-tabs[data-v-047a5991] .ai-box-tabs{display:inline-block;height:auto!important;padding:2px;height:32px;box-shadow:0 9px 28px 8px #0000000d,0 6px 16px #00000014,0 3px 6px -4px #0000001f;background:#f5f5f5;border-radius:4px}.delete-tabs[data-v-047a5991] .ai-box-tabs ul li{margin-right:0}.delete-tabs[data-v-047a5991] .ai-box-tabs ul li.current{background:#fff!important;box-shadow:0 9px 28px 8px #0000000d,0 6px 16px #00000014,0 3px 6px -4px #0000001f}.delete-tabs .resource-list[data-v-047a5991]{margin-top:12px}.delete-tabs .resource-list .resource-item[data-v-047a5991]:hover{background-color:#f5f5f5}.delete-tabs .resource-list .resource-item[data-v-047a5991]{display:flex;align-items:center;cursor:pointer;padding:12px;border-radius:8px;height:56px;margin-bottom:4px}.delete-tabs .resource-list .resource-item .flow-name__icon[data-v-047a5991],.delete-tabs .resource-list .resource-item .flow-name__icon-placeholder[data-v-047a5991]{width:32px;height:32px;margin-right:8px;background-color:#f0f0f0;border-radius:4px}.delete-tabs .resource-list .resource-item .item-title[data-v-047a5991]{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:400;font-size:14px;color:#262626;line-height:20px}.cursor-pointer[data-v-ed4f0da0]{cursor:pointer}.vertical-form[data-v-ed4f0da0]{max-height:60vh;width:100%;overflow-y:auto;padding-right:24px}.vertical-form[data-v-ed4f0da0]::-webkit-scrollbar{width:6px;height:6px}.vertical-form[data-v-ed4f0da0]::-webkit-scrollbar-thumb{border-radius:3px;background:#0003}.vertical-form[data-v-ed4f0da0]::-webkit-scrollbar-track{border-radius:3px;background:#0000001a}.vertical-form[data-v-ed4f0da0] .el-form-item{display:flex;flex-direction:column;align-items:flex-start;margin-bottom:20px}.vertical-form[data-v-ed4f0da0] .el-form-item:last-child{margin-bottom:0}.vertical-form[data-v-ed4f0da0] .el-form-item .el-form-item__label{text-align:left;padding:0;margin-bottom:4px}.vertical-form[data-v-ed4f0da0] .el-form-item .el-form-item__label-wrap{margin-left:0!important}.vertical-form[data-v-ed4f0da0] .el-form-item .el-form-item__content{width:100%;margin-left:0!important}.dialog-footer[data-v-ed4f0da0]{padding-right:24px}[data-v-ed4f0da0] .el-textarea__inner::-webkit-scrollbar{width:6px}[data-v-ed4f0da0] .el-textarea__inner::-webkit-scrollbar-thumb{border-radius:3px}.custom-model-dialog{padding-right:0!important}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.auth-section[data-v-236741b6]{height:100%;overflow:auto;display:flex;flex-direction:column;gap:16px;margin-bottom:16px}.auth-section .auth-input-field[data-v-236741b6]{display:flex;flex-direction:column;gap:8px}.auth-section .auth-input-field .field-label[data-v-236741b6]{display:flex;align-items:center;font-size:14px;font-weight:500;color:#262626;white-space:nowrap}.auth-section .auth-input-field .field-label .required[data-v-236741b6]{color:#ff4d4f;margin-right:4px}.auth-section .error-input[data-v-236741b6] .el-input__wrapper{border:1px solid #f00!important;box-shadow:none!important;height:32px!important}.auth-section .error-message[data-v-236741b6]{color:red;font-size:12px;margin-left:12px}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[data-v-12ffddd4] .el-input .el-input__inner,[data-v-12ffddd4] .el-input .el-input__wrapper,[data-v-12ffddd4] .el-select .el-input__inner,[data-v-12ffddd4] .el-select .el-input__wrapper{border-color:#d9d9d9!important}[data-v-12ffddd4] .el-input .el-input__inner:hover,[data-v-12ffddd4] .el-input .el-input__inner:focus,[data-v-12ffddd4] .el-input .el-input__wrapper:hover,[data-v-12ffddd4] .el-input .el-input__wrapper:focus,[data-v-12ffddd4] .el-select .el-input__inner:hover,[data-v-12ffddd4] .el-select .el-input__inner:focus,[data-v-12ffddd4] .el-select .el-input__wrapper:hover,[data-v-12ffddd4] .el-select .el-input__wrapper:focus{border-color:#d9d9d9!important}[data-v-12ffddd4] .el-select{width:100%}[data-v-12ffddd4] .el-select .el-input__wrapper{border-color:#d9d9d9!important}.scrollable-form[data-v-12ffddd4]{max-height:500px;width:100%;overflow-y:auto;padding-right:24px}.scrollable-form .el-radio-group .el-radio[data-v-12ffddd4] .radio-item{min-width:80px!important}.scrollable-form[data-v-12ffddd4]::-webkit-scrollbar{width:6px;height:6px}.scrollable-form[data-v-12ffddd4]::-webkit-scrollbar-thumb{border-radius:3px;background:#0003}.scrollable-form[data-v-12ffddd4]::-webkit-scrollbar-track{border-radius:3px;background:#0000001a}.scrollable-form[data-v-12ffddd4] .el-form-item__label{color:var(--color-text-base)!important}.label-with-icon[data-v-12ffddd4]{display:inline-flex;align-items:center;gap:3px}.label-with-icon[data-v-12ffddd4] .el-icon{font-size:14px}.auth-section-wrapper[data-v-12ffddd4]{margin-top:16px;margin-bottom:16px}.auth-section-wrapper[data-v-12ffddd4] .radio-item{min-width:0px}[data-v-12ffddd4] .radio-item{min-width:0px;margin-right:0}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.upload-preview[data-v-fe542fce]{display:flex;flex-wrap:wrap}.upload-preview .preview-item[data-v-fe542fce]{position:relative;width:64px;height:64px;margin-right:10px;display:inline-block;cursor:pointer}.upload-preview .preview-item__img[data-v-fe542fce]{width:64px;height:64px;display:block;border:1px dashed #ccc;border-radius:5px;cursor:pointer}.upload-preview .preview-item__mask[data-v-fe542fce]{display:none;width:100%;height:100%;position:absolute;border-radius:5px;left:0;top:0;background:#000;opacity:.6;text-align:center;line-height:75px}.upload-preview .preview-item__mask--view[data-v-fe542fce]{font-size:18px;color:#fff;cursor:pointer;margin-right:10px}.upload-preview .preview-item__mask--delete[data-v-fe542fce]{font-size:18px;color:#fff;cursor:pointer}.upload-preview .preview-item:hover .preview-item__mask[data-v-fe542fce]{display:block}.panel-preview[data-v-fe542fce]{background-color:#fff;width:100%}.panel-preview__row[data-v-fe542fce]{margin:10px 0}.panel-preview__box[data-v-fe542fce]{display:flex;width:calc(100% - 70px);align-items:center;cursor:pointer}.panel-preview__item[data-v-fe542fce]{padding:15px;box-sizing:border-box;border-radius:4px;border:1px solid #f0f0f0;margin-bottom:12px;display:flex;justify-content:space-between;align-items:center}.panel-preview__item>div[data-v-fe542fce]{display:flex}.panel-preview__name[data-v-fe542fce]{font-family:"Alibaba PuHuiTi 3-55";font-weight:400;font-size:14px;color:var(--el-color-primary);margin-left:5px}.panel-preview__img[data-v-fe542fce]{width:32px;height:32px;border-radius:4px}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.title-tip[data-v-69163ac9]{font-size:14px;color:#aaa}.custom-mcp-dialog{padding-right:0!important}.custom-mcp-dialog__footer{padding-right:24px!important}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.radio-group-container[data-v-e31adbcf]{display:flex;align-items:center;gap:12px}.radio-group-container .field-label[data-v-e31adbcf]{display:flex;align-items:center;font-size:14px;font-weight:500;color:#262626;white-space:nowrap;width:150px}.radio-group-container .field-label .required[data-v-e31adbcf]{color:#ff4d4f;margin-right:4px}.radio-group-container.container-vertical[data-v-e31adbcf]{flex-direction:column;align-items:flex-start}.radio-group-container.container-vertical .field-label[data-v-e31adbcf]{width:auto;margin-bottom:4px}.radio-group-horizontal[data-v-e31adbcf]{display:flex;flex-direction:row;gap:12px;align-items:center}.radio-group-vertical[data-v-e31adbcf]{display:flex;flex-direction:column;gap:12px;align-items:flex-start}.radio-group-vertical .el-radio[data-v-e31adbcf]{margin-right:0;font-size:14px;height:32px;line-height:32px}.radio-group-vertical .el-radio[data-v-e31adbcf] .el-radio__label{font-size:14px;color:#262626}.radio-group-vertical .el-radio[data-v-e31adbcf] .el-radio__input.is-checked .el-radio__inner{background-color:#1890ff;border-color:#1890ff}.radio-group-vertical .el-radio[data-v-e31adbcf] .el-radio__input.is-checked+.el-radio__label{color:#1890ff}[data-v-e31adbcf] .el-radio{margin-right:0;font-size:13px}.radio-item[data-v-e31adbcf]{min-width:130px;margin-right:20px}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.viewer-zoom-in:before,.viewer-zoom-out:before,.viewer-one-to-one:before,.viewer-reset:before,.viewer-prev:before,.viewer-play:before,.viewer-next:before,.viewer-rotate-left:before,.viewer-rotate-right:before,.viewer-flip-horizontal:before,.viewer-flip-vertical:before,.viewer-fullscreen:before,.viewer-fullscreen-exit:before,.viewer-close:before{background-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 viewBox%3D%220 0 560 40%22%3E%3Cpath fill%3D%22%23fff%22 d%3D%22M49.6 17.9h20.2v3.9H49.6zm123.1 2 10.9-11 2.7 2.8-8.2 8.2 8.2 8.2-2.7 2.7-10.9-10.9zm94 0-10.8-11-2.7 2.8 8.1 8.2-8.1 8.2 2.7 2.7 10.8-10.9zM212 9.3l20.1 10.6L212 30.5V9.3zm161.5 4.6-7.2 6 7.2 5.9v-4h12.4v4l7.3-5.9-7.3-6v4h-12.4v-4zm40.2 12.3 5.9 7.2 5.9-7.2h-4V13.6h4l-5.9-7.3-5.9 7.3h4v12.6h-4zm35.9-16.5h6.3v2h-4.3V16h-2V9.7Zm14 0h6.2V16h-2v-4.3h-4.2v-2Zm6.2 14V30h-6.2v-2h4.2v-4.3h2Zm-14 6.3h-6.2v-6.3h2v4.4h4.3v2Zm-438 .1v-8.3H9.6v-3.9h8.2V9.7h3.9v8.2h8.1v3.9h-8.1v8.3h-3.9zM93.6 9.7h-5.8v3.9h2V30h3.8V9.7zm16.1 0h-5.8v3.9h1.9V30h3.9V9.7zm-11.9 4.1h3.9v3.9h-3.9zm0 8.2h3.9v3.9h-3.9zm244.6-11.7 7.2 5.9-7.2 6v-3.6c-5.4-.4-7.8.8-8.7 2.8-.8 1.7-1.8 4.9 2.8 8.2-6.3-2-7.5-6.9-6-11.3 1.6-4.4 8-5 11.9-4.9v-3.1Zm147.2 13.4h6.3V30h-2v-4.3h-4.3v-2zm14 6.3v-6.3h6.2v2h-4.3V30h-1.9zm6.2-14h-6.2V9.7h1.9V14h4.3v2zm-13.9 0h-6.3v-2h4.3V9.7h2V16zm33.3 12.5 8.6-8.6-8.6-8.7 1.9-1.9 8.6 8.7 8.6-8.7 1.9 1.9-8.6 8.7 8.6 8.6-1.9 2-8.6-8.7-8.6 8.7-1.9-2zM297 10.3l-7.1 5.9 7.2 6v-3.6c5.3-.4 7.7.8 8.7 2.8.8 1.7 1.7 4.9-2.9 8.2 6.3-2 7.5-6.9 6-11.3-1.6-4.4-7.9-5-11.8-4.9v-3.1Zm-157.3-.6c2.3 0 4.4.7 6 2l2.5-3 1.9 9.2h-9.3l2.6-3.1a6.2 6.2 0 0 0-9.9 5.1c0 3.4 2.8 6.3 6.2 6.3 2.8 0 5.1-1.9 6-4.4h4c-1 4.7-5 8.3-10 8.3a10 10 0 0 1-10-10.2 10 10 0 0 1 10-10.2Z%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-size:280px;color:transparent;display:block;font-size:0;height:20px;line-height:0;width:20px}.viewer-zoom-in:before{background-position:0 0;content:"Zoom In"}.viewer-zoom-out:before{background-position:-20px 0;content:"Zoom Out"}.viewer-one-to-one:before{background-position:-40px 0;content:"One to One"}.viewer-reset:before{background-position:-60px 0;content:"Reset"}.viewer-prev:before{background-position:-80px 0;content:"Previous"}.viewer-play:before{background-position:-100px 0;content:"Play"}.viewer-next:before{background-position:-120px 0;content:"Next"}.viewer-rotate-left:before{background-position:-140px 0;content:"Rotate Left"}.viewer-rotate-right:before{background-position:-160px 0;content:"Rotate Right"}.viewer-flip-horizontal:before{background-position:-180px 0;content:"Flip Horizontal"}.viewer-flip-vertical:before{background-position:-200px 0;content:"Flip Vertical"}.viewer-fullscreen:before{background-position:-220px 0;content:"Enter Full Screen"}.viewer-fullscreen-exit:before{background-position:-240px 0;content:"Exit Full Screen"}.viewer-close:before{background-position:-260px 0;content:"Close"}.viewer-container{direction:ltr;font-size:0;inset:0;line-height:0;overflow:hidden;position:absolute;-webkit-tap-highlight-color:transparent;-ms-touch-action:none;touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.viewer-container::-moz-selection,.viewer-container *::-moz-selection{background-color:transparent}.viewer-container::selection,.viewer-container *::selection{background-color:transparent}.viewer-container:focus{outline:0}.viewer-container img{display:block;height:auto;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;width:100%}.viewer-canvas{inset:0;overflow:hidden;position:absolute}.viewer-canvas>img{height:auto;margin:15px auto;max-width:90%!important;width:auto}.viewer-footer{bottom:0;left:0;overflow:hidden;position:absolute;right:0;text-align:center}.viewer-navbar{background-color:#00000080;overflow:hidden}.viewer-list{box-sizing:content-box;height:50px;margin:0;overflow:hidden;padding:1px 0}.viewer-list>li{color:transparent;cursor:pointer;float:left;font-size:0;height:50px;line-height:0;opacity:.5;overflow:hidden;transition:opacity .15s;width:30px}.viewer-list>li:focus,.viewer-list>li:hover{opacity:.75}.viewer-list>li:focus{outline:0}.viewer-list>li+li{margin-left:1px}.viewer-list>.viewer-loading{position:relative}.viewer-list>.viewer-loading:after{border-width:2px;height:20px;margin-left:-10px;margin-top:-10px;width:20px}.viewer-list>.viewer-active,.viewer-list>.viewer-active:focus,.viewer-list>.viewer-active:hover{opacity:1}.viewer-player{background-color:#000;cursor:none;display:none;inset:0;position:absolute;z-index:1}.viewer-player>img{left:0;position:absolute;top:0}.viewer-toolbar>ul{display:inline-block;margin:0 auto 5px;overflow:hidden;padding:6px 3px}.viewer-toolbar>ul>li{background-color:#00000080;border-radius:50%;cursor:pointer;float:left;height:24px;overflow:hidden;transition:background-color .15s;width:24px}.viewer-toolbar>ul>li:focus,.viewer-toolbar>ul>li:hover{background-color:#000c}.viewer-toolbar>ul>li:focus{box-shadow:0 0 3px #fff;outline:0;position:relative;z-index:1}.viewer-toolbar>ul>li:before{margin:2px}.viewer-toolbar>ul>li+li{margin-left:1px}.viewer-toolbar>ul>.viewer-small{height:18px;margin-bottom:3px;margin-top:3px;width:18px}.viewer-toolbar>ul>.viewer-small:before{margin:-1px}.viewer-toolbar>ul>.viewer-large{height:30px;margin-bottom:-3px;margin-top:-3px;width:30px}.viewer-toolbar>ul>.viewer-large:before{margin:5px}.viewer-tooltip{background-color:#000c;border-radius:10px;color:#fff;display:none;font-size:12px;height:20px;left:50%;line-height:20px;margin-left:-25px;margin-top:-10px;position:absolute;text-align:center;top:50%;width:50px}.viewer-title{color:#ccc;display:inline-block;font-size:12px;line-height:1.2;margin:5px 5%;max-width:90%;min-height:14px;opacity:.8;overflow:hidden;text-overflow:ellipsis;transition:opacity .15s;white-space:nowrap}.viewer-title:hover{opacity:1}.viewer-button{-webkit-app-region:no-drag;background-color:#00000080;border-radius:50%;cursor:pointer;height:80px;overflow:hidden;position:absolute;right:-40px;top:-40px;transition:background-color .15s;width:80px}.viewer-button:focus,.viewer-button:hover{background-color:#000c}.viewer-button:focus{box-shadow:0 0 3px #fff;outline:0}.viewer-button:before{bottom:15px;left:15px;position:absolute}.viewer-fixed{position:fixed}.viewer-open{overflow:hidden}.viewer-show{display:block}.viewer-hide{display:none}.viewer-backdrop{background-color:#00000080}.viewer-invisible{visibility:hidden}.viewer-move{cursor:move;cursor:grab}.viewer-fade{opacity:0}.viewer-in{opacity:1}.viewer-transition{transition:all .3s}@keyframes viewer-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.viewer-loading:after{animation:viewer-spinner 1s linear infinite;border:4px solid rgba(255,255,255,.1);border-left-color:#ffffff80;border-radius:50%;content:"";display:inline-block;height:40px;left:50%;margin-left:-20px;margin-top:-20px;position:absolute;top:50%;width:40px;z-index:1}@media(max-width:767px){.viewer-hide-xs-down{display:none}}@media(max-width:991px){.viewer-hide-sm-down{display:none}}@media(max-width:1199px){.viewer-hide-md-down{display:none}}
|