china-mobile-international-custom-components 0.0.48 → 0.0.50
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 +24 -0
- package/es/ApplicationTypeTag.mjs +1 -1
- package/es/AvailableRangePreview.mjs +1 -1
- package/es/AvailableRangeSetting.mjs +2 -2
- package/es/CommonTagsList.mjs +3 -3
- package/es/DialogContainer.mjs +21 -21
- package/es/FileUploader.mjs +134 -135
- package/es/ParameterTable.mjs +1 -1
- package/es/SourcePublish.mjs +6 -6
- package/es/Table.mjs +2 -2
- package/es/assets/AddOrEditSupplierDialog.css +1 -0
- package/es/assets/index3.css +1 -1
- package/es/chunks/{BackBar.DwhmSL-a.js → BackBar.DnDtQBAg.js} +96 -96
- package/es/chunks/{BackBar.9Pp2SYB-.js → BackBar.eaUb1JvV.js} +1 -1
- package/es/chunks/{config.DVEvXGIL.js → config.CvOtShOj.js} +2 -2
- package/es/chunks/config.DkSRacA9.js +435 -0
- package/es/chunks/{i18n.DMVLcyDY.js → i18n.Bd7hh14j.js} +2 -2
- package/es/chunks/index.B_T3qY7U.js +1008 -0
- package/es/chunks/{index.CZTB65ge.js → index.CHlFhI6c.js} +1 -1
- package/es/chunks/index.D9VEEedZ.js +1005 -0
- package/es/chunks/index.DHcry2-T.js +1010 -0
- package/es/chunks/index.JtDVXCay.js +1008 -0
- package/es/chunks/index.o4gC5-Xq.js +1011 -0
- package/es/chunks/index.qAljoMis.js +976 -0
- package/es/index.mjs +227 -188
- package/lib/AddOrEditSupplierDialog.js +1 -0
- package/lib/ApplicationTypeTag.js +1 -1
- package/lib/AvailableRangePreview.js +1 -1
- package/lib/AvailableRangeSetting.js +1 -1
- package/lib/CommonTagsList.js +1 -1
- package/lib/DialogContainer.js +1 -1
- package/lib/FileUploader.js +1 -1
- package/lib/ParameterTable.js +1 -1
- package/lib/SourcePublish.js +1 -1
- package/lib/Table.js +1 -1
- package/lib/assets/AddOrEditSupplierDialog.css +1 -0
- package/lib/assets/index3.css +1 -1
- package/lib/chunks/{BackBar.DFDSVp2a.js → BackBar.CaaASGvb.js} +1 -1
- package/lib/chunks/BackBar.DhaZZIoV.js +1 -0
- package/lib/chunks/{config.Dwnp4fRZ.js → config.CqfpM51B.js} +1 -1
- package/lib/chunks/{i18n.Bzvn6t8H.js → i18n.D3L1FBDI.js} +2 -2
- package/lib/chunks/index.BhoAcBeE.js +1 -0
- package/lib/chunks/index.CE91RC0G.js +1 -0
- package/lib/chunks/index.Cv1roodm.js +1 -0
- package/lib/chunks/{index.DO3h_zf2.js → index.D-pFPuUr.js} +1 -1
- package/lib/chunks/index.D32cNfAI.js +1 -0
- package/lib/chunks/index.DtleLxiH.js +1 -0
- package/lib/chunks/index.DusP0A6s.js +1 -0
- package/lib/index.js +1 -1
- package/package.json +5 -3
- package/es/chunks/i18n.BNeBD4gR.js +0 -4028
- package/es/chunks/i18n.DUrvNBQz.js +0 -4028
- package/es/chunks/index.BcLVH95_.js +0 -4058
- package/es/chunks/index.CSPp4g5C.js +0 -303
- package/es/chunks/index.ClqvUq64.js +0 -302
- package/es/chunks/index.Dh5IGfxO.js +0 -290
- package/es/chunks/index.Doax01RQ.js +0 -254
- package/es/chunks/layout.C0EtkrZg.js +0 -639
- package/lib/chunks/BackBar.CYThcqhK.js +0 -1
- package/lib/chunks/i18n.D-d0yyXi.js +0 -6
- package/lib/chunks/i18n.Giy85Rng.js +0 -6
- package/lib/chunks/index.6X8xsqRJ.js +0 -1
- package/lib/chunks/index.Bk55us0s.js +0 -1
- package/lib/chunks/index.CP9rhXZ5.js +0 -1
- package/lib/chunks/index.CSLWrMRE.js +0 -1
- package/lib/chunks/index.CV29Us4A.js +0 -6
- package/lib/chunks/layout.BO1q-dAZ.js +0 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import "./chunks/index.bCzIhWFw.js";
|
|
2
|
+
import { A as a, a as l, D as o, F, A as d, d as r, g as t, i as p, b as u, c as A, e as g, f as m, h as b, j as f, k as n, l as x, m as D, n as c, o as P, u as k } from "./chunks/index.D9VEEedZ.js";
|
|
3
|
+
export {
|
|
4
|
+
a as AddOrEditSupplierDialog,
|
|
5
|
+
l as AiboxTabs,
|
|
6
|
+
o as DeleteResourceDialog,
|
|
7
|
+
F as FilePreview,
|
|
8
|
+
d as default,
|
|
9
|
+
r as downloadBlobFile,
|
|
10
|
+
t as getFilesApis,
|
|
11
|
+
p as isAudioFile,
|
|
12
|
+
u as isExcelFile,
|
|
13
|
+
A as isHtmlFile,
|
|
14
|
+
g as isImageLink,
|
|
15
|
+
m as isJsonFile,
|
|
16
|
+
b as isMdFile,
|
|
17
|
+
f as isPdfFile,
|
|
18
|
+
n as isPptFile,
|
|
19
|
+
x as isText,
|
|
20
|
+
D as isVideoFile,
|
|
21
|
+
c as isWordFile,
|
|
22
|
+
P as isZipFile,
|
|
23
|
+
k as uploadUrl
|
|
24
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { w as I } from "./chunks/index.bCzIhWFw.js";
|
|
2
2
|
import { computed as A, createElementBlock as _, openBlock as n, normalizeClass as r, toDisplayString as p } from "vue";
|
|
3
3
|
import { A as t } from "./chunks/config.DE5PZU2F.js";
|
|
4
|
-
import { u } from "./chunks/i18n.
|
|
4
|
+
import { u } from "./chunks/i18n.Bd7hh14j.js";
|
|
5
5
|
import { _ as i } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
6
6
|
import './assets/ApplicationTypeTag.css';const L = () => {
|
|
7
7
|
const { t: a } = u();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { w as D } from "./chunks/index.bCzIhWFw.js";
|
|
2
2
|
import { ref as u, computed as M, createBlock as N, openBlock as g, unref as m, withCtx as V, createElementVNode as U, createVNode as E, createElementBlock as w, createCommentVNode as k, Fragment as G, renderList as x, createTextVNode as C, toDisplayString as I, watch as O, onMounted as $ } from "vue";
|
|
3
3
|
import { emitsMap as t } from "color-star-custom-methods";
|
|
4
|
-
import { R as L, u as F, r as H, a as X, D as Y, A as j } from "./chunks/index.
|
|
5
|
-
import { M as fe, P as be } from "./chunks/index.
|
|
4
|
+
import { R as L, u as F, r as H, a as X, D as Y, A as j } from "./chunks/index.CHlFhI6c.js";
|
|
5
|
+
import { M as fe, P as be } from "./chunks/index.CHlFhI6c.js";
|
|
6
6
|
import { ElDialog as q, ElRadioGroup as W, ElRadio as z, ElButton as P } from "element-plus";
|
|
7
7
|
import { TreeShowSelect as J } from "color-star-custom-components";
|
|
8
8
|
import { g as K } from "./chunks/request.24c3shPx.js";
|
package/es/CommonTagsList.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { w as D } from "./chunks/index.bCzIhWFw.js";
|
|
2
2
|
import { computed as c, createBlock as p, openBlock as t, unref as s, withCtx as h, createElementVNode as m, createCommentVNode as _, resolveDynamicComponent as x, toDisplayString as i, createElementBlock as l, withModifiers as M, Fragment as v, renderList as g, createVNode as b, normalizeStyle as B, createTextVNode as k } from "vue";
|
|
3
3
|
import { ElTag as w, ElIcon as U, ElPopover as z } from "element-plus";
|
|
4
|
-
import { u as G } from "./chunks/i18n.
|
|
5
|
-
import { I as H, e as O, d as E, c as V, P as A, R as L, C as R, f as F } from "./chunks/config.
|
|
6
|
-
import { P as T, A as $ } from "./chunks/index.
|
|
4
|
+
import { u as G } from "./chunks/i18n.Bd7hh14j.js";
|
|
5
|
+
import { I as H, e as O, d as E, c as V, P as A, R as L, C as R, f as F } from "./chunks/config.CvOtShOj.js";
|
|
6
|
+
import { P as T, A as $ } from "./chunks/index.CHlFhI6c.js";
|
|
7
7
|
import { _ as j } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
8
8
|
import './assets/CommonTagsList.css';const K = { class: "status-tag-content flex items-center" }, W = { class: "status-text fz-12" }, Y = {
|
|
9
9
|
__name: "StatusTag",
|
package/es/DialogContainer.mjs
CHANGED
|
@@ -1,7 +1,26 @@
|
|
|
1
1
|
import { w as C } from "./chunks/index.bCzIhWFw.js";
|
|
2
|
-
import { ref as s, computed as b, onBeforeUnmount as B, createBlock as k, createCommentVNode as V, openBlock as O, unref as S, normalizeClass as x, withCtx as i, createElementVNode as T, renderSlot as c
|
|
2
|
+
import { ref as s, nextTick as r, computed as b, onBeforeUnmount as B, createBlock as k, createCommentVNode as V, openBlock as O, unref as S, normalizeClass as x, withCtx as i, createElementVNode as T, renderSlot as c } from "vue";
|
|
3
3
|
import { ElDialog as $ } from "element-plus";
|
|
4
|
-
import './assets/DialogContainer.css';const
|
|
4
|
+
import './assets/DialogContainer.css';const F = (e = s(!1)) => {
|
|
5
|
+
const o = s(null), l = s(null);
|
|
6
|
+
return {
|
|
7
|
+
dialogRef: o,
|
|
8
|
+
//弹窗的ref必须为dialogRef
|
|
9
|
+
formRef: l,
|
|
10
|
+
//弹窗里面含有form表单的话,ref必须为formRef
|
|
11
|
+
showDialog: () => {
|
|
12
|
+
o.value.showDialog();
|
|
13
|
+
},
|
|
14
|
+
hideDialog: () => {
|
|
15
|
+
e.value = !1, o.value.hideDialog();
|
|
16
|
+
},
|
|
17
|
+
resetDialog: () => {
|
|
18
|
+
e.value = !1, l.value && r(() => {
|
|
19
|
+
l.value.resetFields();
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
}, E = { class: "dialog-body" }, N = {
|
|
5
24
|
__name: "DialogContainer",
|
|
6
25
|
props: {
|
|
7
26
|
// 弹框宽度
|
|
@@ -101,25 +120,6 @@ import './assets/DialogContainer.css';const E = { class: "dialog-body" }, N = {
|
|
|
101
120
|
_: 3
|
|
102
121
|
}, 8, ["modelValue", "width", "title", "modal", "show-close", "destroy-on-close", "class", "draggable"])) : V("", !0);
|
|
103
122
|
}
|
|
104
|
-
}, F = (e = s(!1)) => {
|
|
105
|
-
const o = s(null), l = s(null);
|
|
106
|
-
return {
|
|
107
|
-
dialogRef: o,
|
|
108
|
-
//弹窗的ref必须为dialogRef
|
|
109
|
-
formRef: l,
|
|
110
|
-
//弹窗里面含有form表单的话,ref必须为formRef
|
|
111
|
-
showDialog: () => {
|
|
112
|
-
o.value.showDialog();
|
|
113
|
-
},
|
|
114
|
-
hideDialog: () => {
|
|
115
|
-
e.value = !1, o.value.hideDialog();
|
|
116
|
-
},
|
|
117
|
-
resetDialog: () => {
|
|
118
|
-
e.value = !1, l.value && r(() => {
|
|
119
|
-
l.value.resetFields();
|
|
120
|
-
});
|
|
121
|
-
}
|
|
122
|
-
};
|
|
123
123
|
}, I = C(N);
|
|
124
124
|
export {
|
|
125
125
|
I as DialogContainer,
|
package/es/FileUploader.mjs
CHANGED
|
@@ -1,75 +1,29 @@
|
|
|
1
1
|
import { w as N } from "./chunks/index.bCzIhWFw.js";
|
|
2
|
-
import { ref as
|
|
3
|
-
import {
|
|
4
|
-
import { u as w } from "./chunks/i18n.DMVLcyDY.js";
|
|
2
|
+
import { ref as S, computed as R, resolveDirective as B, createElementBlock as C, openBlock as c, normalizeStyle as K, normalizeClass as I, withDirectives as D, createBlock as m, unref as o, withCtx as u, createCommentVNode as r, createElementVNode as T, renderSlot as E, resolveDynamicComponent as j, createVNode as O, createTextVNode as M, toDisplayString as f } from "vue";
|
|
3
|
+
import { ElUpload as z, ElIcon as g, ElButton as $, ElMessage as W } from "element-plus";
|
|
5
4
|
import { g as X } from "./chunks/request.24c3shPx.js";
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
const s = a("COMPONENTS.UPLOAD_TYPE_TIP", { type: e });
|
|
15
|
-
I({
|
|
16
|
-
type: "warning",
|
|
17
|
-
message: s
|
|
18
|
-
}), l = !1;
|
|
19
|
-
}
|
|
20
|
-
if (t.size > 1024 * 1024 * o) {
|
|
21
|
-
const s = a("COMPONENTS.UPLOAD_SIZE_TIP", { size: o });
|
|
22
|
-
I.warning(s), l = !1;
|
|
23
|
-
}
|
|
24
|
-
return l;
|
|
25
|
-
}, ce = (t) => {
|
|
26
|
-
const { t: e } = w();
|
|
27
|
-
let o = t.toLowerCase(), a = "", l = "";
|
|
28
|
-
const r = e("WORKFLOW_COM.TIP_TEXT_3");
|
|
29
|
-
return o.includes("file") ? (l = "jpg、jpeg、png、webp、doc、docx、ppt、pptx、pdf、txt、xls、xlsx、csv、mp4、mkv、webm、ts、avi、mov、flv、3gp、ogv、mp3、wav、aac、flac、ogg", a = e("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : o.includes("image") ? (l = "jpg、jpeg、png、webp", a = e("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : o.includes("doc") ? (l = "doc、docx", a = e("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : o.includes("ppt") ? (l = "ppt、pptx", a = e("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : o.includes("pdf") ? (l = "pdf", a = e("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : o.includes("txt") ? (l = "txt", a = e("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : o.includes("excel") ? (l = "xls、xlsx、csv", a = e("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : o.includes("audio") ? (l = "mp3、wav、aac、flac、ogg", a = e("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : o.includes("video") && (l = "mp4、mkv、webm、ts、avi、mov、flv、3gp、ogv", a = e("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })), a + r;
|
|
30
|
-
}, ie = (t) => {
|
|
31
|
-
let e = t.toLowerCase();
|
|
32
|
-
if (e.includes("file"))
|
|
33
|
-
return ".jpg,.jpeg,.png,.webp,.doc,.docx,.ppt,.pptx,.pdf,.txt,.xls,.xlsx,.csv,.mp4,.mkv,.webm,.ts,.avi,.mov,.flv,.3gp,.ogv,.mp3,.wav,.aac,.flac,.ogg";
|
|
34
|
-
if (e.includes("image"))
|
|
35
|
-
return ".jpg,.jpeg,.png,.webp";
|
|
36
|
-
if (e.includes("doc"))
|
|
37
|
-
return ".doc,.docx";
|
|
38
|
-
if (e.includes("ppt"))
|
|
39
|
-
return ".ppt,.pptx";
|
|
40
|
-
if (e.includes("pdf"))
|
|
41
|
-
return ".pdf";
|
|
42
|
-
if (e.includes("txt"))
|
|
43
|
-
return ".txt";
|
|
44
|
-
if (e.includes("excel"))
|
|
45
|
-
return ".xls,.xlsx,.csv";
|
|
46
|
-
if (e.includes("audio"))
|
|
47
|
-
return ".mp3,.wav,.aac,.flac,.ogg";
|
|
48
|
-
if (e.includes("video"))
|
|
49
|
-
return ".mp4,.mkv,.webm,.ts,.avi,.mov,.flv,.3gp,.ogv";
|
|
50
|
-
}, de = (t) => {
|
|
51
|
-
const e = t.match(/array(\w+)/);
|
|
52
|
-
return e && e[1] ? e[1].toLowerCase() : null;
|
|
53
|
-
}, q = () => {
|
|
5
|
+
import { u as F } from "./chunks/i18n.Bd7hh14j.js";
|
|
6
|
+
import { McpIcon as V, MySpace as G, Space as q, Workflow as Y, Model as Z, WorkflowIcon3 as H, WorkflowIcon1 as J, Plugin as Q, IconEdit2 as ee, IconAdd as te, IconUpload2 as le, File as oe } from "color-message-aibox-vue";
|
|
7
|
+
import './assets/FileUploader.css';const v = {
|
|
8
|
+
卡片: "Card",
|
|
9
|
+
按钮: "Button",
|
|
10
|
+
面板: "Panel",
|
|
11
|
+
自定义: "Custom"
|
|
12
|
+
}, ae = () => {
|
|
54
13
|
const { $request: t, $env: e } = X();
|
|
55
14
|
return {
|
|
56
|
-
commonUpload: (
|
|
15
|
+
commonUpload: (n, l = "common") => t({
|
|
57
16
|
method: "post",
|
|
58
|
-
url: `${e.VITE_APP_AIBOX_BASE_URL}/api/v1/common/file/upload?type=${
|
|
59
|
-
data:
|
|
17
|
+
url: `${e.VITE_APP_AIBOX_BASE_URL}/api/v1/common/file/upload?type=${l}`,
|
|
18
|
+
data: n,
|
|
60
19
|
dataType: "formData",
|
|
61
20
|
skipCamelToKebab: !0
|
|
62
21
|
})
|
|
63
22
|
};
|
|
64
|
-
},
|
|
65
|
-
卡片: "Card",
|
|
66
|
-
按钮: "Button",
|
|
67
|
-
面板: "Panel",
|
|
68
|
-
自定义: "Custom"
|
|
69
|
-
}, Y = { class: "card-uploader__mask" }, Z = { key: 3 }, H = { class: "panel-uploader__text" }, J = { class: "panel-uploader__text--tip" }, Q = {
|
|
23
|
+
}, ne = { class: "card-uploader__mask" }, se = { key: 3 }, ie = { class: "panel-uploader__text" }, ce = { class: "panel-uploader__text--tip" }, de = {
|
|
70
24
|
key: 0,
|
|
71
25
|
class: "panel-uploader__text--tip font-style"
|
|
72
|
-
},
|
|
26
|
+
}, pe = { class: "panel-uploader__text--tip font-style" }, ue = {
|
|
73
27
|
__name: "index",
|
|
74
28
|
props: {
|
|
75
29
|
uploadType: {
|
|
@@ -115,141 +69,186 @@ import './assets/FileUploader.css';const V = (t) => {
|
|
|
115
69
|
},
|
|
116
70
|
emits: ["on-success"],
|
|
117
71
|
setup(t, { emit: e }) {
|
|
118
|
-
const { t:
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
72
|
+
const { t: a } = F(), n = S(!1), l = S(null), { commonUpload: x } = ae(), d = t, U = e, b = (s) => {
|
|
73
|
+
const p = /\.([^.]+)$/, i = s.match(p);
|
|
74
|
+
return i ? i[1] : null;
|
|
75
|
+
}, h = (s, p, i) => {
|
|
76
|
+
let _ = !0;
|
|
77
|
+
const P = s.name && s.name.toLowerCase();
|
|
78
|
+
if (console.log(s.name, P, "fileName"), p && p.indexOf(b(P)) === -1) {
|
|
79
|
+
const w = a("COMPONENTS.UPLOAD_TYPE_TIP", { type: p });
|
|
80
|
+
W({
|
|
81
|
+
type: "warning",
|
|
82
|
+
message: w
|
|
83
|
+
}), _ = !1;
|
|
84
|
+
}
|
|
85
|
+
if (s.size > 1024 * 1024 * i) {
|
|
86
|
+
const w = a("COMPONENTS.UPLOAD_SIZE_TIP", { size: i });
|
|
87
|
+
W.warning(w), _ = !1;
|
|
88
|
+
}
|
|
89
|
+
return _;
|
|
90
|
+
}, k = {
|
|
91
|
+
plugin: Q,
|
|
92
|
+
agent: J,
|
|
93
|
+
dialogue: H,
|
|
94
|
+
model: Z,
|
|
95
|
+
workflow: Y,
|
|
96
|
+
space: q,
|
|
97
|
+
"my-space": G,
|
|
98
|
+
mcp: V
|
|
99
|
+
}, A = R(() => ({
|
|
128
100
|
Card: "card-uploader",
|
|
129
101
|
Button: "button-uploader",
|
|
130
102
|
Panel: "panel-uploader"
|
|
131
|
-
})[
|
|
132
|
-
if (
|
|
133
|
-
if (
|
|
134
|
-
|
|
135
|
-
const { data:
|
|
103
|
+
})[d.uploadType]), y = R(() => d.defaultUploadIcon ? k[d.defaultUploadIcon] : ""), L = async (s) => {
|
|
104
|
+
if (h(s, d.acceptType, d.limitSize))
|
|
105
|
+
if (d.isMiio) {
|
|
106
|
+
n.value = !0;
|
|
107
|
+
const { data: i } = await x(
|
|
136
108
|
{
|
|
137
|
-
file:
|
|
109
|
+
file: s.raw
|
|
138
110
|
},
|
|
139
|
-
|
|
111
|
+
d.businessType
|
|
140
112
|
).finally(() => {
|
|
141
|
-
|
|
113
|
+
n.value = !1;
|
|
142
114
|
});
|
|
143
|
-
console.log(
|
|
115
|
+
console.log(i, "data"), U("on-success", i);
|
|
144
116
|
} else
|
|
145
|
-
|
|
117
|
+
U("on-success", s);
|
|
146
118
|
else
|
|
147
|
-
l.value.handleRemove(
|
|
119
|
+
l.value.handleRemove(s);
|
|
148
120
|
};
|
|
149
|
-
return (
|
|
150
|
-
const
|
|
151
|
-
return c(),
|
|
152
|
-
class:
|
|
121
|
+
return (s, p) => {
|
|
122
|
+
const i = B("loading");
|
|
123
|
+
return c(), C("div", {
|
|
124
|
+
class: I(["file-uploader", t.defaultUploadIcon]),
|
|
153
125
|
style: K({
|
|
154
126
|
border: !t.defaultUploadIcon && t.uploadType === "Card" ? "1px dashed var(--el-border-color)" : "none",
|
|
155
127
|
"border-radius": !t.defaultUploadIcon && t.uploadType === "Card" ? "8px" : "0",
|
|
156
|
-
"background-image":
|
|
128
|
+
"background-image": y.value ? `url('${y.value}')` : "none"
|
|
157
129
|
})
|
|
158
130
|
}, [
|
|
159
|
-
D((c(), m(
|
|
131
|
+
D((c(), m(o(z), {
|
|
160
132
|
ref_key: "uploader",
|
|
161
133
|
ref: l,
|
|
162
|
-
class:
|
|
134
|
+
class: I(A.value),
|
|
163
135
|
action: "",
|
|
164
136
|
"auto-upload": !1,
|
|
165
137
|
limit: t.limitCount,
|
|
166
138
|
"show-file-list": !1,
|
|
167
139
|
accept: t.acceptType,
|
|
168
140
|
multiple: t.multiple,
|
|
169
|
-
drag: t.uploadType ===
|
|
170
|
-
"on-change":
|
|
141
|
+
drag: t.uploadType === o(v).面板,
|
|
142
|
+
"on-change": L
|
|
171
143
|
}, {
|
|
172
|
-
default:
|
|
173
|
-
|
|
144
|
+
default: u(() => [
|
|
145
|
+
y.value ? (c(), m(o(g), {
|
|
174
146
|
key: 0,
|
|
175
147
|
size: "64",
|
|
176
148
|
class: "absolute"
|
|
177
149
|
}, {
|
|
178
|
-
default:
|
|
179
|
-
(c(), m(j(
|
|
150
|
+
default: u(() => [
|
|
151
|
+
(c(), m(j(y.value)))
|
|
180
152
|
]),
|
|
181
153
|
_: 1
|
|
182
|
-
})) :
|
|
183
|
-
|
|
184
|
-
|
|
154
|
+
})) : r("", !0),
|
|
155
|
+
T("div", ne, [
|
|
156
|
+
O(o(g), {
|
|
185
157
|
color: "#fff",
|
|
186
158
|
size: "16px"
|
|
187
159
|
}, {
|
|
188
|
-
default:
|
|
189
|
-
|
|
160
|
+
default: u(() => [
|
|
161
|
+
O(o(ee))
|
|
190
162
|
]),
|
|
191
163
|
_: 1
|
|
192
164
|
})
|
|
193
165
|
]),
|
|
194
|
-
t.uploadType ===
|
|
166
|
+
t.uploadType === o(v).卡片 ? (c(), m(o(g), {
|
|
195
167
|
key: 1,
|
|
196
168
|
class: "card-uploader__icon"
|
|
197
169
|
}, {
|
|
198
|
-
default:
|
|
199
|
-
t.defaultUploadIcon ?
|
|
200
|
-
|
|
170
|
+
default: u(() => [
|
|
171
|
+
t.defaultUploadIcon ? r("", !0) : (c(), m(o(te), { key: 0 })),
|
|
172
|
+
E(s.$slots, "text-slot")
|
|
201
173
|
]),
|
|
202
174
|
_: 3
|
|
203
|
-
})) :
|
|
204
|
-
t.uploadType ===
|
|
175
|
+
})) : r("", !0),
|
|
176
|
+
t.uploadType === o(v).按钮 ? (c(), m(o($), {
|
|
205
177
|
key: 2,
|
|
206
178
|
type: "primary"
|
|
207
179
|
}, {
|
|
208
|
-
default:
|
|
209
|
-
|
|
210
|
-
default:
|
|
211
|
-
|
|
180
|
+
default: u(() => [
|
|
181
|
+
O(o(g), { style: { "margin-right": "5px" } }, {
|
|
182
|
+
default: u(() => [
|
|
183
|
+
O(o(le))
|
|
212
184
|
]),
|
|
213
185
|
_: 1
|
|
214
186
|
}),
|
|
215
|
-
|
|
187
|
+
M(" " + f(o(a)("COMMON_BUTTON.UPLOAD_TEXT")), 1)
|
|
216
188
|
]),
|
|
217
189
|
_: 1
|
|
218
|
-
})) :
|
|
219
|
-
t.uploadType ===
|
|
220
|
-
|
|
221
|
-
default:
|
|
222
|
-
|
|
190
|
+
})) : r("", !0),
|
|
191
|
+
t.uploadType === o(v).面板 ? (c(), C("div", se, [
|
|
192
|
+
O(o(g), { size: "48px" }, {
|
|
193
|
+
default: u(() => [
|
|
194
|
+
O(o(oe))
|
|
223
195
|
]),
|
|
224
196
|
_: 1
|
|
225
197
|
}),
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
198
|
+
T("div", ie, [
|
|
199
|
+
T("div", ce, [
|
|
200
|
+
T("span", null, f(o(a)("COMMON_BUTTON.CLICK_TEXT")), 1),
|
|
201
|
+
M(" " + f(o(a)("COMMON_BUTTON.OR_TEXT")) + " ", 1),
|
|
202
|
+
T("span", null, f(o(a)("COMMON_BUTTON.DRAG_TEXT")), 1),
|
|
203
|
+
M(" " + f(o(a)("COMMON_BUTTON.FILE_UPLOAD_TEXT")), 1)
|
|
232
204
|
]),
|
|
233
|
-
t.warnTips2 ? (c(),
|
|
234
|
-
|
|
205
|
+
t.warnTips2 ? (c(), C("div", de, f(t.warnTips2), 1)) : r("", !0),
|
|
206
|
+
T("div", pe, f(t.warnTips), 1)
|
|
235
207
|
])
|
|
236
|
-
])) :
|
|
237
|
-
t.uploadType ===
|
|
208
|
+
])) : r("", !0),
|
|
209
|
+
t.uploadType === o(v).自定义 ? E(s.$slots, "upload-box", { key: 4 }) : r("", !0)
|
|
238
210
|
]),
|
|
239
211
|
_: 3
|
|
240
212
|
}, 8, ["class", "limit", "accept", "multiple", "drag"])), [
|
|
241
|
-
[
|
|
213
|
+
[i, n.value]
|
|
242
214
|
])
|
|
243
215
|
], 6);
|
|
244
216
|
};
|
|
245
217
|
}
|
|
246
|
-
},
|
|
218
|
+
}, ve = (t) => {
|
|
219
|
+
const { t: e } = F();
|
|
220
|
+
let a = t.toLowerCase(), n = "", l = "";
|
|
221
|
+
const x = e("WORKFLOW_COM.TIP_TEXT_3");
|
|
222
|
+
return a.includes("file") ? (l = "jpg、jpeg、png、webp、doc、docx、ppt、pptx、pdf、txt、xls、xlsx、csv、mp4、mkv、webm、ts、avi、mov、flv、3gp、ogv、mp3、wav、aac、flac、ogg", n = e("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : a.includes("image") ? (l = "jpg、jpeg、png、webp", n = e("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : a.includes("doc") ? (l = "doc、docx", n = e("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : a.includes("ppt") ? (l = "ppt、pptx", n = e("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : a.includes("pdf") ? (l = "pdf", n = e("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : a.includes("txt") ? (l = "txt", n = e("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : a.includes("excel") ? (l = "xls、xlsx、csv", n = e("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : a.includes("audio") ? (l = "mp3、wav、aac、flac、ogg", n = e("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : a.includes("video") && (l = "mp4、mkv、webm、ts、avi、mov、flv、3gp、ogv", n = e("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })), n + x;
|
|
223
|
+
}, ye = (t) => {
|
|
224
|
+
let e = t.toLowerCase();
|
|
225
|
+
if (e.includes("file"))
|
|
226
|
+
return ".jpg,.jpeg,.png,.webp,.doc,.docx,.ppt,.pptx,.pdf,.txt,.xls,.xlsx,.csv,.mp4,.mkv,.webm,.ts,.avi,.mov,.flv,.3gp,.ogv,.mp3,.wav,.aac,.flac,.ogg";
|
|
227
|
+
if (e.includes("image"))
|
|
228
|
+
return ".jpg,.jpeg,.png,.webp";
|
|
229
|
+
if (e.includes("doc"))
|
|
230
|
+
return ".doc,.docx";
|
|
231
|
+
if (e.includes("ppt"))
|
|
232
|
+
return ".ppt,.pptx";
|
|
233
|
+
if (e.includes("pdf"))
|
|
234
|
+
return ".pdf";
|
|
235
|
+
if (e.includes("txt"))
|
|
236
|
+
return ".txt";
|
|
237
|
+
if (e.includes("excel"))
|
|
238
|
+
return ".xls,.xlsx,.csv";
|
|
239
|
+
if (e.includes("audio"))
|
|
240
|
+
return ".mp3,.wav,.aac,.flac,.ogg";
|
|
241
|
+
if (e.includes("video"))
|
|
242
|
+
return ".mp4,.mkv,.webm,.ts,.avi,.mov,.flv,.3gp,.ogv";
|
|
243
|
+
}, xe = (t) => {
|
|
244
|
+
const e = t.match(/array(\w+)/);
|
|
245
|
+
return e && e[1] ? e[1].toLowerCase() : null;
|
|
246
|
+
}, _e = N(ue);
|
|
247
247
|
export {
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
G as validateUpload
|
|
248
|
+
_e as FileUploader,
|
|
249
|
+
v as UploadTypesEnum,
|
|
250
|
+
_e as default,
|
|
251
|
+
xe as extractAndLowerCaseArrayType,
|
|
252
|
+
ye as getAcceptType,
|
|
253
|
+
ve as getWarnTips
|
|
255
254
|
};
|
package/es/ParameterTable.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import { ElIcon as Y, ElInput as Z, ElButton as oe, ElTooltip as Oe, ElSelect as
|
|
|
4
4
|
import { IconUpload2 as he, Error as ge, IconScene as rt, IconAdd2 as ot, IconZuoCopyCopy as Se, IconZuoCopy as Be, IconDelete2 as it, IconAdd as st, IconTip as be } from "color-message-aibox-vue";
|
|
5
5
|
import { useDialog as ut, DialogContainer as dt } from "./DialogContainer.mjs";
|
|
6
6
|
import { AiboxTable as ke } from "./Table.mjs";
|
|
7
|
-
import { u as ne, g as X } from "./chunks/i18n.
|
|
7
|
+
import { u as ne, g as X } from "./chunks/i18n.Bd7hh14j.js";
|
|
8
8
|
import { _ as ue } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
9
9
|
import { FileUploader as Le, getWarnTips as Ne, getAcceptType as Ce, UploadTypesEnum as Re } from "./FileUploader.mjs";
|
|
10
10
|
import { AutoShowTooltip as Pe } from "./AutoShowTooltip.mjs";
|
package/es/SourcePublish.mjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { w as Ae } from "./chunks/index.bCzIhWFw.js";
|
|
2
2
|
import { createElementBlock as B, openBlock as d, renderSlot as pe, shallowRef as ge, ref as _, onMounted as ne, normalizeStyle as ye, createVNode as i, unref as e, withCtx as a, createBlock as b, resolveDynamicComponent as Ie, resolveComponent as Te, createCommentVNode as P, normalizeClass as Ue, createElementVNode as u, createTextVNode as H, toDisplayString as h, getCurrentInstance as Ce, computed as ie, watch as be, Fragment as J, renderList as Z, nextTick as Se, withModifiers as Oe } from "vue";
|
|
3
|
-
import { u as Y } from "./chunks/i18n.
|
|
3
|
+
import { u as Y } from "./chunks/i18n.Bd7hh14j.js";
|
|
4
4
|
import { useRouter as ve, useRoute as Ee } from "vue-router";
|
|
5
5
|
import { ElIcon as W, ElTooltip as oe, ElCheckbox as Re, ElButton as fe, ElSelect as $, ElOption as ee, ElTag as ue, ElInputNumber as Pe, ElForm as Le, ElFormItem as F, ElInput as re, ElSwitch as ce } from "element-plus";
|
|
6
6
|
import { _ as k } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
7
7
|
import { g as Be } from "./chunks/request.24c3shPx.js";
|
|
8
|
-
import { C as de, f as He, b as te, g as y, A as X, i as Ve, h as we, S as le, a as Ne, k as xe } from "./chunks/config.
|
|
9
|
-
import { I as Kt, L as Mt, O as Xt, P as Yt, c as Wt, d as zt, e as qt, R as jt, s as Qt, j as Jt } from "./chunks/config.
|
|
8
|
+
import { C as de, f as He, b as te, g as y, A as X, i as Ve, h as we, S as le, a as Ne, k as xe } from "./chunks/config.CvOtShOj.js";
|
|
9
|
+
import { I as Kt, L as Mt, O as Xt, P as Yt, c as Wt, d as zt, e as qt, R as jt, s as Qt, j as Jt } from "./chunks/config.CvOtShOj.js";
|
|
10
10
|
import { AvailableRangeSetting as ke } from "./AvailableRangeSetting.mjs";
|
|
11
|
-
import { D as me } from "./chunks/index.
|
|
12
|
-
import { P as $t } from "./chunks/index.
|
|
11
|
+
import { D as me } from "./chunks/index.CHlFhI6c.js";
|
|
12
|
+
import { P as $t } from "./chunks/index.CHlFhI6c.js";
|
|
13
13
|
import { IconTip as _e } from "color-message-aibox-vue";
|
|
14
|
-
import { A as Ge, _ as Fe } from "./chunks/BackBar.
|
|
14
|
+
import { A as Ge, _ as Fe } from "./chunks/BackBar.eaUb1JvV.js";
|
|
15
15
|
import { S as D } from "./chunks/config.DE5PZU2F.js";
|
|
16
16
|
import './assets/SourcePublish.css';const De = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAAB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lWoT0kjzDm/K2ffCysAiQna+yIEd26zb6fmaGX4yqVLSzgiKUWX+/KkegqnWfFMP7N0FQBYhg2K6f6vzxmVVT63Hp1S8E+IsNM+sJR6Hl4bI9m9Zuy1FIyIiIiIiIrzyPx3JLklkX69sAAAAAElFTkSuQmCC", Me = {}, Xe = { class: "style-title" };
|
|
17
17
|
function Ye(n, v) {
|
package/es/Table.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { w as a } from "./chunks/index.bCzIhWFw.js";
|
|
2
|
-
import { A as o } from "./chunks/BackBar.
|
|
3
|
-
import { _ as b, T as i } from "./chunks/BackBar.
|
|
2
|
+
import { A as o } from "./chunks/BackBar.eaUb1JvV.js";
|
|
3
|
+
import { _ as b, T as i } from "./chunks/BackBar.eaUb1JvV.js";
|
|
4
4
|
const s = a(o);
|
|
5
5
|
export {
|
|
6
6
|
s as AiboxTable,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.upload-preview[data-v-66c3b4f9]{display:flex;flex-wrap:wrap}.upload-preview .preview-item[data-v-66c3b4f9]{position:relative;width:64px;height:64px;margin-right:10px;display:inline-block;cursor:pointer}.upload-preview .preview-item__img[data-v-66c3b4f9]{width:64px;height:64px;display:block;border:1px dashed #ccc;border-radius:5px;cursor:pointer}.upload-preview .preview-item__mask[data-v-66c3b4f9]{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-66c3b4f9]{font-size:18px;color:#fff;cursor:pointer;margin-right:10px}.upload-preview .preview-item__mask--delete[data-v-66c3b4f9]{font-size:18px;color:#fff;cursor:pointer}.upload-preview .preview-item:hover .preview-item__mask[data-v-66c3b4f9]{display:block}.panel-preview[data-v-66c3b4f9]{background-color:#fff;width:100%}.panel-preview__row[data-v-66c3b4f9]{margin:10px 0}.panel-preview__box[data-v-66c3b4f9]{display:flex;width:calc(100% - 70px);align-items:center;cursor:pointer}.panel-preview__item[data-v-66c3b4f9]{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-66c3b4f9]{display:flex}.panel-preview__name[data-v-66c3b4f9]{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-66c3b4f9]{width:32px;height:32px;border-radius:4px}.ai-box-tabs[data-v-f526f5ca]{display:inline-block;height:auto!important;padding:2px;height:32px;background:#f5f5f5;border-radius:4px}.ai-box-tabs ul[data-v-f526f5ca]{display:flex}.ai-box-tabs ul li[data-v-f526f5ca]{padding:4px 12px;cursor:pointer;border-radius:4px;transition:all .3s}.ai-box-tabs ul li[data-v-f526f5ca]:hover{background:#ffffff80}.ai-box-tabs ul li.current[data-v-f526f5ca]{background:#fff!important;box-shadow:0 9px 28px 8px #0000000d,0 6px 16px #00000014,0 3px 6px -4px #0000001f}.delete-title[data-v-71205bec]{color:var(--color-text-base);display:flex;align-items:center}.delete-title .warning-icon[data-v-71205bec]{color:var(--el-color-warning);margin-right:12px;font-size:18px}.delete-tabs[data-v-71205bec]{margin-top:8px;padding:14px;background:#fafafa;border-radius:8px}.delete-tabs[data-v-71205bec] .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-71205bec] .ai-box-tabs ul li{margin-right:0}.delete-tabs[data-v-71205bec] .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-71205bec]{margin-top:12px}.delete-tabs .resource-list .resource-item[data-v-71205bec]:hover{background-color:#f5f5f5}.delete-tabs .resource-list .resource-item[data-v-71205bec]{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-71205bec],.delete-tabs .resource-list .resource-item .flow-name__icon-placeholder[data-v-71205bec]{width:32px;height:32px;margin-right:8px;background-color:#f0f0f0;border-radius:4px}.delete-tabs .resource-list .resource-item .item-title[data-v-71205bec]{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-36a3918c]{cursor:pointer}.vertical-form[data-v-36a3918c]{max-height:60vh;width:100%;overflow-y:auto;padding-right:24px}.vertical-form[data-v-36a3918c]::-webkit-scrollbar{width:6px;height:6px}.vertical-form[data-v-36a3918c]::-webkit-scrollbar-thumb{border-radius:3px;background:#0003}.vertical-form[data-v-36a3918c]::-webkit-scrollbar-track{border-radius:3px;background:#0000001a}.vertical-form[data-v-36a3918c] .el-form-item{display:flex;flex-direction:column;align-items:flex-start;margin-bottom:20px}.vertical-form[data-v-36a3918c] .el-form-item:last-child{margin-bottom:0}.vertical-form[data-v-36a3918c] .el-form-item .el-form-item__label{text-align:left;padding:0;margin-bottom:4px}.vertical-form[data-v-36a3918c] .el-form-item .el-form-item__label-wrap{margin-left:0!important}.vertical-form[data-v-36a3918c] .el-form-item .el-form-item__content{width:100%;margin-left:0!important}.dialog-footer[data-v-36a3918c]{padding-right:24px}[data-v-36a3918c] .el-textarea__inner::-webkit-scrollbar{width:6px}[data-v-36a3918c] .el-textarea__inner::-webkit-scrollbar-thumb{border-radius:3px}.custom-model-dialog{padding-right:0!important}
|
package/es/assets/index3.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.nowrap[data-v-32a1fa42]{white-space:nowrap}.tag-list .tag-item[data-v-32a1fa42]{display:inline-block;line-height:22px}.gap-4[data-v-32a1fa42]{gap:4px}.tag-list-popover[data-v-32a1fa42]{max-height:300px}.tag-list-popover-wrapper{z-index:10000!important}
|
|
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}}.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-f526f5ca]{display:inline-block;height:auto!important;padding:2px;height:32px;background:#f5f5f5;border-radius:4px}.ai-box-tabs ul[data-v-f526f5ca]{display:flex}.ai-box-tabs ul li[data-v-f526f5ca]{padding:4px 12px;cursor:pointer;border-radius:4px;transition:all .3s}.ai-box-tabs ul li[data-v-f526f5ca]:hover{background:#ffffff80}.ai-box-tabs ul li.current[data-v-f526f5ca]{background:#fff!important;box-shadow:0 9px 28px 8px #0000000d,0 6px 16px #00000014,0 3px 6px -4px #0000001f}.delete-title[data-v-14a370b7]{color:var(--color-text-base);display:flex;align-items:center}.delete-title .warning-icon[data-v-14a370b7]{color:var(--el-color-warning);margin-right:12px;font-size:18px}.delete-tabs[data-v-14a370b7]{margin-top:8px;padding:14px;background:#fafafa;border-radius:8px}.delete-tabs[data-v-14a370b7] .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-14a370b7] .ai-box-tabs ul li{margin-right:0}.delete-tabs[data-v-14a370b7] .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-14a370b7]{margin-top:12px}.delete-tabs .resource-list .resource-item[data-v-14a370b7]:hover{background-color:#f5f5f5}.delete-tabs .resource-list .resource-item[data-v-14a370b7]{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-14a370b7],.delete-tabs .resource-list .resource-item .flow-name__icon-placeholder[data-v-14a370b7]{width:32px;height:32px;margin-right:8px;background-color:#f0f0f0;border-radius:4px}.delete-tabs .resource-list .resource-item .item-title[data-v-14a370b7]{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-c03894a1]{cursor:pointer}.vertical-form[data-v-c03894a1]{max-height:60vh;width:100%;overflow-y:auto;padding-right:24px}.vertical-form[data-v-c03894a1]::-webkit-scrollbar{width:6px;height:6px}.vertical-form[data-v-c03894a1]::-webkit-scrollbar-thumb{border-radius:3px;background:#0003}.vertical-form[data-v-c03894a1]::-webkit-scrollbar-track{border-radius:3px;background:#0000001a}.vertical-form[data-v-c03894a1] .el-form-item{display:flex;flex-direction:column;align-items:flex-start;margin-bottom:20px}.vertical-form[data-v-c03894a1] .el-form-item:last-child{margin-bottom:0}.vertical-form[data-v-c03894a1] .el-form-item .el-form-item__label{text-align:left;padding:0;margin-bottom:4px}.vertical-form[data-v-c03894a1] .el-form-item .el-form-item__label-wrap{margin-left:0!important}.vertical-form[data-v-c03894a1] .el-form-item .el-form-item__content{width:100%;margin-left:0!important}.dialog-footer[data-v-c03894a1]{padding-right:24px}[data-v-c03894a1] .el-textarea__inner::-webkit-scrollbar{width:6px}[data-v-c03894a1] .el-textarea__inner::-webkit-scrollbar-thumb{border-radius:3px}.custom-model-dialog{padding-right:0!important}
|