@das-fed/ui 6.4.0-dev.98 → 6.4.0-dev.99
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/package.json +5 -5
- package/packages/business-components/device-panel/index.js +14 -14
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/import-button/i18n/index.d.ts +10 -0
- package/packages/business-components/import-button/index.js +79 -77
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/layout-breadcrumb/index.js +4 -3
- package/packages/business-components/layout-breadcrumb/index.js.gz +0 -0
- package/packages/business-components/video-dialog/index.js +110 -110
- package/packages/business-components/video-dialog/index.js.gz +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@das-fed/ui",
|
|
3
|
-
"version": "6.4.0-dev.
|
|
3
|
+
"version": "6.4.0-dev.99",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@antv/x6-plugin-snapline": "^2.1.7",
|
|
27
27
|
"@antv/x6-plugin-transform": "^2.1.8",
|
|
28
28
|
"@antv/x6-vue-shape": "^2.1.2",
|
|
29
|
-
"@das-fed/cli": "6.4.0-dev.
|
|
29
|
+
"@das-fed/cli": "6.4.0-dev.99",
|
|
30
30
|
"@element-plus/icons-vue": "^2.3.1",
|
|
31
31
|
"@types/lodash": "^4.14.194",
|
|
32
32
|
"@types/lodash-es": "^4.17.9",
|
|
@@ -56,9 +56,9 @@
|
|
|
56
56
|
"vue-tsc": "^2.0.29"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@das-fed/ui": "6.4.0-dev.
|
|
60
|
-
"@das-fed/utils": "6.4.0-dev.
|
|
61
|
-
"@das-fed/web": "6.4.0-dev.
|
|
59
|
+
"@das-fed/ui": "6.4.0-dev.99",
|
|
60
|
+
"@das-fed/utils": "6.4.0-dev.99",
|
|
61
|
+
"@das-fed/web": "6.4.0-dev.99",
|
|
62
62
|
"@wangeditor/editor": "^5.1.23",
|
|
63
63
|
"@wangeditor/editor-for-vue": "^5.1.12",
|
|
64
64
|
"@wangeditor/plugin-upload-attachment": "^1.1.0",
|
|
@@ -51412,7 +51412,7 @@ const Qte = (r) => r === null || typeof r > "u" || r === "", PD = (r, t = "YYYY/
|
|
|
51412
51412
|
不能大于: { "zh-CN": "不能大于", en: "Cannot be greater than", _appCode: "framework" },
|
|
51413
51413
|
不能小于: { "zh-CN": "不能小于", en: "Cannot be less than", _appCode: "framework" },
|
|
51414
51414
|
加载中: { "zh-CN": "加载中", en: "Loading", _appCode: "framework" },
|
|
51415
|
-
正在实时预览: { "zh-CN": "正在实时预览", en: "
|
|
51415
|
+
正在实时预览: { "zh-CN": "正在实时预览", en: "Real-time Video", _appCode: "framework" },
|
|
51416
51416
|
正在告警回放: { "zh-CN": "正在告警回放", en: "Alarm Playback", _appCode: "framework" },
|
|
51417
51417
|
暂停: { "zh-CN": "暂停", en: "Pause", _appCode: "framework" },
|
|
51418
51418
|
播放: { "zh-CN": "播放", en: "Play", _appCode: "framework" },
|
|
@@ -51432,7 +51432,7 @@ const Qte = (r) => r === null || typeof r > "u" || r === "", PD = (r, t = "YYYY/
|
|
|
51432
51432
|
下: { "zh-CN": "下", en: "Down", _appCode: "framework" },
|
|
51433
51433
|
右下: { "zh-CN": "右下", en: "Bottom Right", _appCode: "framework" },
|
|
51434
51434
|
更多: { "zh-CN": "更多", en: "More", _appCode: "framework" },
|
|
51435
|
-
告警趋势: { "zh-CN": "告警趋势", en: "Alarm
|
|
51435
|
+
告警趋势: { "zh-CN": "告警趋势", en: "Alarm Trend", _appCode: "framework" },
|
|
51436
51436
|
告警数量: { "zh-CN": "告警数量", en: "Alarm Count", _appCode: "framework" },
|
|
51437
51437
|
条: { "zh-CN": "条", en: " Items", _appCode: "framework" },
|
|
51438
51438
|
告警内容: { "zh-CN": "告警内容", en: "Alarm Content", _appCode: "framework" },
|
|
@@ -51445,7 +51445,7 @@ const Qte = (r) => r === null || typeof r > "u" || r === "", PD = (r, t = "YYYY/
|
|
|
51445
51445
|
恢复时间: { "zh-CN": "恢复时间", en: "Recovery Time", _appCode: "framework" },
|
|
51446
51446
|
告警规则: { "zh-CN": "告警规则", en: "Alarm Rule", _appCode: "framework" },
|
|
51447
51447
|
所属应用: { "zh-CN": "所属应用", en: "Associated Application", _appCode: "framework" },
|
|
51448
|
-
处理记录: { "zh-CN": "处理记录", en: "Processing
|
|
51448
|
+
处理记录: { "zh-CN": "处理记录", en: "Processing Record", _appCode: "framework" },
|
|
51449
51449
|
备: { "zh-CN": "备", en: "Backup", _appCode: "framework" },
|
|
51450
51450
|
处理人: { "zh-CN": "处理人", en: "Processor", _appCode: "framework" },
|
|
51451
51451
|
处理时间: { "zh-CN": "处理时间", en: "Processing Time", _appCode: "framework" },
|
|
@@ -51562,10 +51562,10 @@ const Qte = (r) => r === null || typeof r > "u" || r === "", PD = (r, t = "YYYY/
|
|
|
51562
51562
|
任务详情: { "zh-CN": "任务详情", en: "Task Details", _appCode: "framework" },
|
|
51563
51563
|
正常: { "zh-CN": "正常", en: "Normal", _appCode: "framework" },
|
|
51564
51564
|
异常: { "zh-CN": "异常", en: "Abnormal", _appCode: "framework" },
|
|
51565
|
-
操作时间: { "zh-CN": "操作时间", en: "
|
|
51566
|
-
操作内容: { "zh-CN": "操作内容", en: "
|
|
51567
|
-
操作来源: { "zh-CN": "操作来源", en: "
|
|
51568
|
-
操作用户: { "zh-CN": "操作用户", en: "
|
|
51565
|
+
操作时间: { "zh-CN": "操作时间", en: "Operation Time", _appCode: "framework" },
|
|
51566
|
+
操作内容: { "zh-CN": "操作内容", en: "Operation Content", _appCode: "framework" },
|
|
51567
|
+
操作来源: { "zh-CN": "操作来源", en: "Operation Source", _appCode: "framework" },
|
|
51568
|
+
操作用户: { "zh-CN": "操作用户", en: "Operation User", _appCode: "framework" },
|
|
51569
51569
|
操作: { "zh-CN": "操作", en: "Actions", _appCode: "framework" },
|
|
51570
51570
|
执行成功: { "zh-CN": "执行成功", en: "Executed Successfully", _appCode: "framework" },
|
|
51571
51571
|
执行失败: { "zh-CN": "执行失败", en: "Executed Failed", _appCode: "framework" },
|
|
@@ -51594,7 +51594,7 @@ const Qte = (r) => r === null || typeof r > "u" || r === "", PD = (r, t = "YYYY/
|
|
|
51594
51594
|
视频监控: { "zh-CN": "视频监控", en: "Video Surveillance", _appCode: "framework" },
|
|
51595
51595
|
运行计划: { "zh-CN": "运行计划", en: "Operation Plan", _appCode: "framework" },
|
|
51596
51596
|
告警记录: { "zh-CN": "告警记录", en: "Alarm Record", _appCode: "framework" },
|
|
51597
|
-
操作日志: { "zh-CN": "操作日志", en: "
|
|
51597
|
+
操作日志: { "zh-CN": "操作日志", en: "Operation Log", _appCode: "framework" },
|
|
51598
51598
|
巡检记录: { "zh-CN": "巡检记录", en: "Inspection Record", _appCode: "framework" },
|
|
51599
51599
|
保养记录: { "zh-CN": "保养记录", en: "Maintenance Record", _appCode: "framework" },
|
|
51600
51600
|
维修记录: { "zh-CN": "维修记录", en: "Repair Record", _appCode: "framework" },
|
|
@@ -51659,11 +51659,11 @@ const Qte = (r) => r === null || typeof r > "u" || r === "", PD = (r, t = "YYYY/
|
|
|
51659
51659
|
"工单编码:": { "zh-CN": "工单编码:", en: "Work Order Code:", _appCode: "framework" },
|
|
51660
51660
|
"事件编码:": { "zh-CN": "事件编码:", en: "Event Code:", _appCode: "framework" },
|
|
51661
51661
|
"备注:": { "zh-CN": "备注:", en: "Remarks:", _appCode: "framework" },
|
|
51662
|
-
"操作时间:": { "zh-CN": "操作时间:", en: "
|
|
51663
|
-
"操作内容:": { "zh-CN": "操作内容:", en: "
|
|
51664
|
-
"操作来源:": { "zh-CN": "操作来源:", en: "
|
|
51665
|
-
"操作用户:": { "zh-CN": "操作用户:", en: "
|
|
51666
|
-
"操作IP:": { "zh-CN": "操作IP:", en: "
|
|
51662
|
+
"操作时间:": { "zh-CN": "操作时间:", en: "Operation Time:", _appCode: "framework" },
|
|
51663
|
+
"操作内容:": { "zh-CN": "操作内容:", en: "Operation Content:", _appCode: "framework" },
|
|
51664
|
+
"操作来源:": { "zh-CN": "操作来源:", en: "Operation Source:", _appCode: "framework" },
|
|
51665
|
+
"操作用户:": { "zh-CN": "操作用户:", en: "Operation User:", _appCode: "framework" },
|
|
51666
|
+
"操作IP:": { "zh-CN": "操作IP:", en: "Operation Ip:", _appCode: "framework" },
|
|
51667
51667
|
"失败原因:": { "zh-CN": "失败原因:", en: "Failure Reason:", _appCode: "framework" },
|
|
51668
51668
|
"超出正常范围值: 不能大于": {
|
|
51669
51669
|
"zh-CN": "超出正常范围值: 不能大于",
|
|
@@ -51677,7 +51677,7 @@ const Qte = (r) => r === null || typeof r > "u" || r === "", PD = (r, t = "YYYY/
|
|
|
51677
51677
|
},
|
|
51678
51678
|
"超出正常范围值:": { "zh-CN": "超出正常范围值:", en: "Exceeds normal range:", _appCode: "framework" },
|
|
51679
51679
|
"执行时刻:": { "zh-CN": "执行时刻:", en: "Execution Time:", _appCode: "framework" },
|
|
51680
|
-
"所属策略:": { "zh-CN": "所属策略:", en: "
|
|
51680
|
+
"所属策略:": { "zh-CN": "所属策略:", en: "Belonging Strategy:", _appCode: "framework" },
|
|
51681
51681
|
"加载中...": { "zh-CN": "加载中...", en: "Loading...", _appCode: "framework" },
|
|
51682
51682
|
"聚焦-": { "zh-CN": "聚焦-", en: "Focus-", _appCode: "framework" },
|
|
51683
51683
|
"聚焦+": { "zh-CN": "聚焦+", en: "Focus+", _appCode: "framework" },
|
|
Binary file
|
|
@@ -104,6 +104,16 @@ declare const _default: {
|
|
|
104
104
|
en: string;
|
|
105
105
|
_appCode: string;
|
|
106
106
|
};
|
|
107
|
+
导入模板: {
|
|
108
|
+
'zh-CN': string;
|
|
109
|
+
en: string;
|
|
110
|
+
_appCode: string;
|
|
111
|
+
};
|
|
112
|
+
确定导入: {
|
|
113
|
+
'zh-CN': string;
|
|
114
|
+
en: string;
|
|
115
|
+
_appCode: string;
|
|
116
|
+
};
|
|
107
117
|
'\u90E8\u5206\u6570\u636E\u6821\u9A8C\u4E0D\u901A\u8FC7\uFF0C\u8BF7\u4E0B\u8F7D\u9644\u4EF6\u5E76\u4FEE\u6539\uFF0C\u91CD\u65B0\u5BFC\u5165\uFF01': {
|
|
108
118
|
'zh-CN': string;
|
|
109
119
|
en: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/business-components/import-button/style.css';
|
|
2
2
|
import { withInstall as de } from "@das-fed/utils/with-install/index";
|
|
3
|
-
import { ref as k, defineComponent as fe, computed as ge, watch as ve, openBlock as he, createElementBlock as
|
|
4
|
-
import { t as
|
|
3
|
+
import { ref as k, defineComponent as fe, computed as ge, watch as ve, openBlock as he, createElementBlock as Ce, createElementVNode as q, unref as o, renderSlot as re, createVNode as D, withCtx as L, createTextVNode as Y, toDisplayString as H, isRef as Q } from "vue";
|
|
4
|
+
import { t as u, currentLang as we, i18n as j, setI18nRule as xe } from "@das-fed/web/packages/i18n/index";
|
|
5
5
|
import { DasDialog as le } from "@das-fed/ui/packages/components/dialog/index";
|
|
6
6
|
import { DasUpload as ke } from "@das-fed/ui/packages/components/upload/index";
|
|
7
7
|
import { DasProgress as ye } from "@das-fed/ui/packages/components/progress/index";
|
|
@@ -14,41 +14,41 @@ import { extractFilename as ze } from "@das-fed/utils/common-tools";
|
|
|
14
14
|
import { getUserInfo as Te } from "@das-fed/utils/common-info/index";
|
|
15
15
|
import { pureImageSrc as ne } from "@das-fed/utils/pure-image-src";
|
|
16
16
|
let te = (e = 21) => {
|
|
17
|
-
let m = "",
|
|
17
|
+
let m = "", p = crypto.getRandomValues(new Uint8Array(e));
|
|
18
18
|
for (; e--; ) {
|
|
19
|
-
let l =
|
|
19
|
+
let l = p[e] & 63;
|
|
20
20
|
l < 36 ? m += l.toString(36) : l < 62 ? m += (l - 26).toString(36).toUpperCase() : l < 63 ? m += "_" : m += "-";
|
|
21
21
|
}
|
|
22
22
|
return m;
|
|
23
23
|
};
|
|
24
|
-
const
|
|
25
|
-
let m = k(!1),
|
|
24
|
+
const _e = ae.get("token"), Fe = ae.post("put-object", (e) => (e.headers || (e.headers = {}), e.headers["Content-Type"] = "multipart/form-data", e.responseType = "blob", e)), Ie = ae.post("upload-objects", (e) => (e.headers || (e.headers = {}), e.headers["Content-Type"] = "multipart/form-data", e.responseType = "blob", e)), $e = be.get("progress"), Se = (e) => {
|
|
25
|
+
let m = k(!1), p = k(!1), l = k(""), w = k(0), n = k("normal"), v = k(!1), y, N = k(""), I = k(""), $ = k(""), z = k(""), S = k(!1), M = k(""), _ = "", F = k(""), P;
|
|
26
26
|
const E = () => {
|
|
27
27
|
I.value = "", $.value = "", z.value = "", S.value = !1, M.value = "";
|
|
28
28
|
}, b = async () => {
|
|
29
|
-
const [r, s] = await
|
|
29
|
+
const [r, s] = await _e().run();
|
|
30
30
|
return r ? { stauts: !1 } : { status: !0, data: s };
|
|
31
31
|
}, B = (r) => new Promise((s, d) => {
|
|
32
32
|
const i = [];
|
|
33
33
|
let t = 0;
|
|
34
34
|
for (; t < r.size; ) {
|
|
35
|
-
const
|
|
36
|
-
i.push(
|
|
35
|
+
const C = r.slice(t, t + 1048576);
|
|
36
|
+
i.push(C), t += 1048576;
|
|
37
37
|
}
|
|
38
38
|
const c = new Blob(i, { type: r.type });
|
|
39
39
|
s(c);
|
|
40
40
|
}), A = async (r, s, d, a = !1, i = !0, t = "") => {
|
|
41
|
-
|
|
41
|
+
_ = t, F.value = "import", i && (n.value = "normal", w.value = 0, l.value = u("导入进度"), p.value = !0, N.value = ""), P = s;
|
|
42
42
|
const c = await b();
|
|
43
43
|
if (!c.status) return;
|
|
44
|
-
let
|
|
45
|
-
const
|
|
44
|
+
let C = c.data, x = null, { autoContentType: K, bucketName: V, importFileName: J } = d;
|
|
45
|
+
const pe = a ? Ie : Fe;
|
|
46
46
|
if (a) {
|
|
47
47
|
let X = [];
|
|
48
48
|
await s.forEach(async (G) => {
|
|
49
49
|
let ee = await B(G);
|
|
50
50
|
X.push(ee);
|
|
51
|
-
}), x = new FormData(), x.append("accessKeyId",
|
|
51
|
+
}), x = new FormData(), x.append("accessKeyId", C.accessKeyId), x.append("secretAccessKey", C.secretAccessKey), x.append("sessionToken", C.sessionToken), x.append("bucketName", V), s.forEach((G, ee) => {
|
|
52
52
|
x.append("file", X[ee]);
|
|
53
53
|
}), J.forEach((G) => {
|
|
54
54
|
x.append("filePaths", G);
|
|
@@ -56,45 +56,45 @@ const Fe = ae.get("token"), _e = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
56
56
|
} else {
|
|
57
57
|
const X = await B(s);
|
|
58
58
|
x = {
|
|
59
|
-
accessKeyId:
|
|
60
|
-
secretAccessKey:
|
|
61
|
-
sessionToken:
|
|
59
|
+
accessKeyId: C.accessKeyId,
|
|
60
|
+
secretAccessKey: C.secretAccessKey,
|
|
61
|
+
sessionToken: C.sessionToken,
|
|
62
62
|
file: X,
|
|
63
63
|
bucketName: V,
|
|
64
64
|
filePath: J,
|
|
65
65
|
autoContentType: K
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
|
-
const [
|
|
69
|
-
if (
|
|
68
|
+
const [ue, me] = await pe(x).run();
|
|
69
|
+
if (ue) return;
|
|
70
70
|
const ce = await De(me.data), Z = await (r == null ? void 0 : r(ce));
|
|
71
71
|
if (i) {
|
|
72
72
|
if (!Z.status) {
|
|
73
|
-
|
|
73
|
+
p.value = !1, n.value = "error";
|
|
74
74
|
return;
|
|
75
75
|
}
|
|
76
|
-
l.value =
|
|
76
|
+
l.value = u("导入进度"), p.value = !0, T(Z.taskId, "import", "");
|
|
77
77
|
} else {
|
|
78
78
|
if (!Z.status) return;
|
|
79
79
|
n.value = "success", U.success({
|
|
80
|
-
message:
|
|
80
|
+
message: u("导入成功"),
|
|
81
81
|
grouping: !0,
|
|
82
82
|
repeatNum: 1
|
|
83
83
|
});
|
|
84
84
|
}
|
|
85
85
|
}, R = async (r, s = "", d = "") => {
|
|
86
|
-
n.value = "normal",
|
|
86
|
+
n.value = "normal", w.value = 0, l.value = d || u("导出进度"), p.value = !0;
|
|
87
87
|
const a = await (r == null ? void 0 : r());
|
|
88
88
|
if (!a.status) {
|
|
89
|
-
|
|
89
|
+
p.value = !1, n.value = "error";
|
|
90
90
|
return;
|
|
91
91
|
}
|
|
92
92
|
T(a.taskId, "action", "");
|
|
93
93
|
}, O = async (r, s = "", d = "xlsx") => {
|
|
94
|
-
|
|
94
|
+
F.value = "export", n.value = "normal", w.value = 0, l.value = u("导出进度"), p.value = !0;
|
|
95
95
|
const a = await (r == null ? void 0 : r());
|
|
96
96
|
if (!a.status) {
|
|
97
|
-
|
|
97
|
+
p.value = !1, n.value = "error";
|
|
98
98
|
return;
|
|
99
99
|
}
|
|
100
100
|
Ne().format("YYYYMMDDHHmmss") + "", T(a.taskId, "export", s || "", d);
|
|
@@ -102,9 +102,9 @@ const Fe = ae.get("token"), _e = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
102
102
|
v.value = !0, g(r, s, d, a), y = setTimeout(() => {
|
|
103
103
|
}, 50);
|
|
104
104
|
}, f = () => {
|
|
105
|
-
clearTimeout(y), y = null,
|
|
105
|
+
clearTimeout(y), y = null, p.value = !1;
|
|
106
106
|
}, g = async (r, s = "export", d, a = "") => {
|
|
107
|
-
var
|
|
107
|
+
var C, x;
|
|
108
108
|
const [i, t] = await $e("", {
|
|
109
109
|
url: `progress/${r}`
|
|
110
110
|
}).run();
|
|
@@ -112,23 +112,23 @@ const Fe = ae.get("token"), _e = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
112
112
|
v.value = !1;
|
|
113
113
|
return;
|
|
114
114
|
}
|
|
115
|
-
|
|
116
|
-
const c = s == "export" ?
|
|
117
|
-
if (
|
|
115
|
+
w.value = t.percentage;
|
|
116
|
+
const c = s == "export" ? u("导出") : u("导入");
|
|
117
|
+
if (w.value == 100)
|
|
118
118
|
if (N.value = t, v.value = !1, f(), s == "export")
|
|
119
|
-
t.status == 1 ? (n.value = "success", ie(`${se().baseURL}/oss${t.filePath}`, d, a), v.value = !1) : t.status == 2 && (z.value = t.message || `${c}${
|
|
120
|
-
message: t.message || `${c}${
|
|
119
|
+
t.status == 1 ? (n.value = "success", ie(`${se().baseURL}/oss${t.filePath}`, d, a), v.value = !1) : t.status == 2 && (z.value = t.message || `${c}${u("失败")}`, U.error({
|
|
120
|
+
message: t.message || `${c}${u("失败")}`,
|
|
121
121
|
grouping: !0,
|
|
122
122
|
repeatNum: 1
|
|
123
123
|
}));
|
|
124
124
|
else if (s == "import") {
|
|
125
125
|
if (t.filePath) {
|
|
126
126
|
n.value = "error";
|
|
127
|
-
const K = (
|
|
127
|
+
const K = (C = P.name) == null ? void 0 : C.match(/(.*?)(\.[^.]*$|$)/);
|
|
128
128
|
K.length && K[2], S.value = !0;
|
|
129
129
|
let V = await ze(`/oss/${t == null ? void 0 : t.filePath}`);
|
|
130
130
|
const J = ((x = V == null ? void 0 : V.split("/")) == null ? void 0 : x.pop()) || "";
|
|
131
|
-
I.value =
|
|
131
|
+
I.value = _ || J, $.value = P.sizeText, z.value = u("部分数据校验不通过,请下载附件并修改,重新导入!"), M.value = `${se().baseURL}/oss/${t == null ? void 0 : t.filePath}`;
|
|
132
132
|
}
|
|
133
133
|
h(t.status, c, t.message), t.status == 1 && (m.value = !1), e("success");
|
|
134
134
|
} else s == "action" && (n.value = "success");
|
|
@@ -138,24 +138,24 @@ const Fe = ae.get("token"), _e = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
138
138
|
}, 50) : (N.value = t, v.value = !1, h(t.status, c, t.message), f(), S.value = !0, z.value = (t == null ? void 0 : t.message) || "", e("error", t));
|
|
139
139
|
}, h = (r, s, d) => {
|
|
140
140
|
r == 1 ? (n.value = "success", U.success({
|
|
141
|
-
message:
|
|
141
|
+
message: u("business-components_export-success-tip", s),
|
|
142
142
|
grouping: !0,
|
|
143
143
|
repeatNum: 1
|
|
144
144
|
}), I.value = "", $.value = "", z.value = "") : r == 2 ? (n.value = "error", U.error({
|
|
145
|
-
message: d ||
|
|
145
|
+
message: d || u("business-components_export-failure-tip", s),
|
|
146
146
|
grouping: !0,
|
|
147
147
|
repeatNum: 1
|
|
148
148
|
})) : r == 3 && (n.value = "error", U.error({
|
|
149
|
-
message:
|
|
149
|
+
message: u("business-components_export-partially-failure-tip", s),
|
|
150
150
|
grouping: !0,
|
|
151
151
|
repeatNum: 1
|
|
152
152
|
}));
|
|
153
153
|
};
|
|
154
154
|
return {
|
|
155
155
|
importDialog: m,
|
|
156
|
-
showProgressDialog:
|
|
156
|
+
showProgressDialog: p,
|
|
157
157
|
progressTitle: l,
|
|
158
|
-
percent:
|
|
158
|
+
percent: w,
|
|
159
159
|
progressStatus: n,
|
|
160
160
|
progressLoading: v,
|
|
161
161
|
progressResult: N,
|
|
@@ -164,7 +164,7 @@ const Fe = ae.get("token"), _e = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
164
164
|
errorMessage: z,
|
|
165
165
|
errorImport: S,
|
|
166
166
|
errorFilePath: M,
|
|
167
|
-
fileHandleType:
|
|
167
|
+
fileHandleType: F,
|
|
168
168
|
fileImport: A,
|
|
169
169
|
fileExport: O,
|
|
170
170
|
fileAction: R,
|
|
@@ -206,11 +206,11 @@ const Fe = ae.get("token"), _e = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
206
206
|
der: "application/x-x509-ca-cert",
|
|
207
207
|
cer: "application/pkix-cert"
|
|
208
208
|
}[m];
|
|
209
|
-
}, ie = (e, m,
|
|
209
|
+
}, ie = (e, m, p = "excel") => {
|
|
210
210
|
const l = new XMLHttpRequest();
|
|
211
|
-
l.open("get", e), l.setRequestHeader("Content-Type", "application/json; charset=UTF-8"), l.responseType = "blob", l.onload = function(
|
|
211
|
+
l.open("get", e), l.setRequestHeader("Content-Type", "application/json; charset=UTF-8"), l.responseType = "blob", l.onload = function(w) {
|
|
212
212
|
const n = new Blob([this.response], {
|
|
213
|
-
type: Pe(
|
|
213
|
+
type: Pe(p)
|
|
214
214
|
}), v = URL.createObjectURL(n);
|
|
215
215
|
if (window.navigator.msSaveOrOpenBlob)
|
|
216
216
|
navigator.msSaveBlob(n, m);
|
|
@@ -219,18 +219,18 @@ const Fe = ae.get("token"), _e = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
219
219
|
y.href = v, y.download = m, y.click(), window.URL.revokeObjectURL(v);
|
|
220
220
|
}
|
|
221
221
|
}, l.send();
|
|
222
|
-
}, De = (e) => new Promise((m,
|
|
222
|
+
}, De = (e) => new Promise((m, p) => {
|
|
223
223
|
var l = new FileReader();
|
|
224
|
-
l.onload = function(
|
|
224
|
+
l.onload = function(w) {
|
|
225
225
|
let n = "";
|
|
226
226
|
typeof l.result == "string" && (n = JSON.parse(l.result)), m(n);
|
|
227
227
|
}, l.readAsText(e);
|
|
228
228
|
}), Ue = (e, m) => {
|
|
229
229
|
var d;
|
|
230
230
|
const {
|
|
231
|
-
importDialog:
|
|
231
|
+
importDialog: p,
|
|
232
232
|
showProgressDialog: l,
|
|
233
|
-
progressTitle:
|
|
233
|
+
progressTitle: w,
|
|
234
234
|
percent: n,
|
|
235
235
|
progressStatus: v,
|
|
236
236
|
progressLoading: y,
|
|
@@ -240,27 +240,27 @@ const Fe = ae.get("token"), _e = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
240
240
|
errorImport: z,
|
|
241
241
|
errorFilePath: S,
|
|
242
242
|
fileHandleType: M,
|
|
243
|
-
fileImport:
|
|
244
|
-
fileExport:
|
|
243
|
+
fileImport: _,
|
|
244
|
+
fileExport: F,
|
|
245
245
|
downloadFile: P,
|
|
246
246
|
clearTimer: E
|
|
247
247
|
} = Se(m);
|
|
248
248
|
let b = k([]), B = (d = Te()) == null ? void 0 : d.tenantId;
|
|
249
249
|
const A = () => {
|
|
250
|
-
b.value = [], z.value = !1, N.value = "", I.value = "", $.value = "",
|
|
250
|
+
b.value = [], z.value = !1, N.value = "", I.value = "", $.value = "", p.value = !0, S.value = "", m("open");
|
|
251
251
|
};
|
|
252
252
|
let R;
|
|
253
253
|
const O = (a) => {
|
|
254
|
-
const i = e.fileType.split(","), t = a.name.substring(a.name.lastIndexOf(".")), c = T(a.sizeText),
|
|
254
|
+
const i = e.fileType.split(","), t = a.name.substring(a.name.lastIndexOf(".")), c = T(a.sizeText), C = T(e.fileMaxSize);
|
|
255
255
|
if (!i.includes(t)) {
|
|
256
|
-
U.warning(
|
|
256
|
+
U.warning(u("文件格式错误,请重新上传!")), setTimeout(() => {
|
|
257
257
|
b.value = [];
|
|
258
258
|
});
|
|
259
259
|
return;
|
|
260
260
|
}
|
|
261
|
-
if (c >
|
|
261
|
+
if (c > C) {
|
|
262
262
|
U.warning(
|
|
263
|
-
`${
|
|
263
|
+
`${u("文件大小不超过")}${we.value === "zh-CN" ? e.fileMaxSize : " " + e.fileMaxSize}`
|
|
264
264
|
), setTimeout(() => {
|
|
265
265
|
b.value = [];
|
|
266
266
|
});
|
|
@@ -278,21 +278,21 @@ const Fe = ae.get("token"), _e = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
278
278
|
filePath: a.value,
|
|
279
279
|
taskId: t,
|
|
280
280
|
...e.importParams
|
|
281
|
-
},
|
|
281
|
+
}, C = e.importParamsPosition === "params" ? e.importFun("", { params: c }) : e.importFun(c), [x, K] = await C.run();
|
|
282
282
|
return x ? { status: !1 } : { status: !0, taskId: t };
|
|
283
283
|
}, g = async () => {
|
|
284
|
-
if (!b.value.length) return U.warning(
|
|
284
|
+
if (!b.value.length) return U.warning(u("请上传文件"));
|
|
285
285
|
const a = {
|
|
286
286
|
bucketName: e.bucketName,
|
|
287
287
|
importFileName: `${B}/${e.ossName}/${R}`
|
|
288
288
|
};
|
|
289
289
|
e.maxCount > 1 && (a.importFileName = b.value.map((c) => c.name));
|
|
290
290
|
const i = e.maxCount > 1, t = e.maxCount > 1 ? b.value : b.value[0];
|
|
291
|
-
await
|
|
291
|
+
await _(f, t, a, i);
|
|
292
292
|
}, h = () => {
|
|
293
293
|
P(S.value, N.value);
|
|
294
294
|
}, oe = () => {
|
|
295
|
-
|
|
295
|
+
F(r, e.templateName);
|
|
296
296
|
}, r = async () => {
|
|
297
297
|
let a = te();
|
|
298
298
|
const [i, t] = await e.templateFun({ taskId: a }).run();
|
|
@@ -300,7 +300,7 @@ const Fe = ae.get("token"), _e = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
300
300
|
};
|
|
301
301
|
return {
|
|
302
302
|
showProgressDialog: l,
|
|
303
|
-
progressTitle:
|
|
303
|
+
progressTitle: w,
|
|
304
304
|
percent: n,
|
|
305
305
|
progressStatus: v,
|
|
306
306
|
progressLoading: y,
|
|
@@ -308,7 +308,7 @@ const Fe = ae.get("token"), _e = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
308
308
|
errorFileSize: I,
|
|
309
309
|
errorMessage: $,
|
|
310
310
|
errorImport: z,
|
|
311
|
-
importDialog:
|
|
311
|
+
importDialog: p,
|
|
312
312
|
fileList: b,
|
|
313
313
|
fileHandleType: M,
|
|
314
314
|
showImportHandle: A,
|
|
@@ -356,8 +356,8 @@ const Fe = ae.get("token"), _e = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
356
356
|
multiple: { type: Boolean, default: !1 }
|
|
357
357
|
},
|
|
358
358
|
emits: ["open", "success", "error"],
|
|
359
|
-
setup(e, { expose: m, emit:
|
|
360
|
-
const l = e,
|
|
359
|
+
setup(e, { expose: m, emit: p }) {
|
|
360
|
+
const l = e, w = p, n = ge(() => l.btnText ? l.btnText : u("导入")), {
|
|
361
361
|
showProgressDialog: v,
|
|
362
362
|
progressTitle: y,
|
|
363
363
|
percent: N,
|
|
@@ -366,8 +366,8 @@ const Fe = ae.get("token"), _e = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
366
366
|
errorFileSize: z,
|
|
367
367
|
errorMessage: S,
|
|
368
368
|
errorImport: M,
|
|
369
|
-
importDialog:
|
|
370
|
-
fileList:
|
|
369
|
+
importDialog: _,
|
|
370
|
+
fileList: F,
|
|
371
371
|
fileHandleType: P,
|
|
372
372
|
showImportHandle: E,
|
|
373
373
|
confirmImport: b,
|
|
@@ -375,14 +375,14 @@ const Fe = ae.get("token"), _e = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
375
375
|
errorFileDownload: A,
|
|
376
376
|
downTemplate: R,
|
|
377
377
|
clearTimer: O
|
|
378
|
-
} = Ue(l,
|
|
378
|
+
} = Ue(l, w);
|
|
379
379
|
let T;
|
|
380
380
|
return ve(P, (f) => {
|
|
381
|
-
f.includes("import") ? T = [
|
|
381
|
+
f.includes("import") ? T = [u("正在导入中..."), u("导入失败"), u("导入成功")] : T = [u("正在导出中..."), u("导出失败"), u("导出成功")];
|
|
382
382
|
}), m({
|
|
383
383
|
confirmImport: b,
|
|
384
384
|
showImportHandle: E
|
|
385
|
-
}), (f, g) => (he(),
|
|
385
|
+
}), (f, g) => (he(), Ce("div", Me, [
|
|
386
386
|
q("div", {
|
|
387
387
|
onClick: g[0] || (g[0] = //@ts-ignore
|
|
388
388
|
(...h) => o(E) && o(E)(...h))
|
|
@@ -401,8 +401,8 @@ const Fe = ae.get("token"), _e = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
401
401
|
]),
|
|
402
402
|
D(o(le), {
|
|
403
403
|
title: o(j)(f.importDialogName).value,
|
|
404
|
-
modelValue: o(
|
|
405
|
-
"onUpdate:modelValue": g[3] || (g[3] = (h) => Q(
|
|
404
|
+
modelValue: o(_),
|
|
405
|
+
"onUpdate:modelValue": g[3] || (g[3] = (h) => Q(_) ? _.value = h : null),
|
|
406
406
|
customClass: "upload-dialog",
|
|
407
407
|
width: "610px",
|
|
408
408
|
height: "500px"
|
|
@@ -411,7 +411,7 @@ const Fe = ae.get("token"), _e = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
411
411
|
q("div", null, [
|
|
412
412
|
D(o(W), {
|
|
413
413
|
size: "middle",
|
|
414
|
-
onClick: g[2] || (g[2] = (h) =>
|
|
414
|
+
onClick: g[2] || (g[2] = (h) => _.value = !1)
|
|
415
415
|
}, {
|
|
416
416
|
default: L(() => [
|
|
417
417
|
Y(H(o(j)("取消").value), 1)
|
|
@@ -421,7 +421,7 @@ const Fe = ae.get("token"), _e = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
421
421
|
D(o(W), {
|
|
422
422
|
size: "middle",
|
|
423
423
|
"btn-type": "primary",
|
|
424
|
-
disabled: f.openDisabled && o(
|
|
424
|
+
disabled: f.openDisabled && o(F).length === 0,
|
|
425
425
|
style: { "margin-left": "12px", width: "100%" },
|
|
426
426
|
onClick: o(b)
|
|
427
427
|
}, {
|
|
@@ -453,8 +453,8 @@ const Fe = ae.get("token"), _e = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
453
453
|
])
|
|
454
454
|
], !0),
|
|
455
455
|
D(o(ke), {
|
|
456
|
-
modelValue: o(
|
|
457
|
-
"onUpdate:modelValue": g[1] || (g[1] = (h) => Q(
|
|
456
|
+
modelValue: o(F),
|
|
457
|
+
"onUpdate:modelValue": g[1] || (g[1] = (h) => Q(F) ? F.value = h : null),
|
|
458
458
|
error: o(M),
|
|
459
459
|
"error-file-name": o($),
|
|
460
460
|
"error-file-size": o(z),
|
|
@@ -492,10 +492,10 @@ const Fe = ae.get("token"), _e = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
492
492
|
]));
|
|
493
493
|
}
|
|
494
494
|
}), Re = (e, m) => {
|
|
495
|
-
const
|
|
496
|
-
for (const [l,
|
|
497
|
-
|
|
498
|
-
return
|
|
495
|
+
const p = e.__vccOpts || e;
|
|
496
|
+
for (const [l, w] of m)
|
|
497
|
+
p[l] = w;
|
|
498
|
+
return p;
|
|
499
499
|
}, Ve = /* @__PURE__ */ Re(Be, [["__scopeId", "data-v-658f8c34"]]), He = {
|
|
500
500
|
"1、点击下载 ": { "zh-CN": "1、点击下载 ", en: "1.Click to Download ", _appCode: "framework" },
|
|
501
501
|
"2、仅支持上传Excel文件,重复数据以最后一条为准": {
|
|
@@ -522,6 +522,8 @@ const Fe = ae.get("token"), _e = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
522
522
|
失败: { "zh-CN": "失败", en: "Failed", _appCode: "framework" },
|
|
523
523
|
成功: { "zh-CN": "成功", en: "Successfully", _appCode: "framework" },
|
|
524
524
|
部分: { "zh-CN": "部分", en: "Some", _appCode: "framework" },
|
|
525
|
+
导入模板: { "zh-CN": "导入模板", en: "Import Template", _appCode: "framework" },
|
|
526
|
+
确定导入: { "zh-CN": "确定导入", en: "OK", _appCode: "framework" },
|
|
525
527
|
"部分数据校验不通过,请下载附件并修改,重新导入!": {
|
|
526
528
|
"zh-CN": "部分数据校验不通过,请下载附件并修改,重新导入!",
|
|
527
529
|
en: "Some data validation errors detected. Please download the attachment, make necessary corrections, and import again!",
|
|
Binary file
|
|
@@ -9,7 +9,6 @@ import { setThemeRule as E } from "@das-fed/web/packages/theme/index";
|
|
|
9
9
|
const J = (u, m) => {
|
|
10
10
|
const s = B([]), p = q(() => [...s.value, ...u.data || []]), l = async (e, a) => {
|
|
11
11
|
var f, c;
|
|
12
|
-
await I();
|
|
13
12
|
const o = [], n = a.menu || "", i = ((c = (f = _()) == null ? void 0 : f.currentSubApp) == null ? void 0 : c.menus) ?? [];
|
|
14
13
|
if (!i || !i.length) return;
|
|
15
14
|
let t = null;
|
|
@@ -44,8 +43,10 @@ const J = (u, m) => {
|
|
|
44
43
|
() => b.currentRoute.value,
|
|
45
44
|
(e) => {
|
|
46
45
|
const a = (e == null ? void 0 : e.path) ?? "", o = (e == null ? void 0 : e.query) ?? {};
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
I(() => {
|
|
47
|
+
g(o).then(() => {
|
|
48
|
+
l(a, o);
|
|
49
|
+
});
|
|
49
50
|
});
|
|
50
51
|
},
|
|
51
52
|
{ immediate: !0 }
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/business-components/video-dialog/style.css';
|
|
2
|
-
import { getCurrentScope as ce, onScopeDispose as ue, unref as
|
|
2
|
+
import { getCurrentScope as ce, onScopeDispose as ue, unref as l, getCurrentInstance as de, onMounted as K, nextTick as L, ref as _, watch as S, defineComponent as D, useCssVars as pe, computed as P, openBlock as k, createElementBlock as O, normalizeClass as ve, renderSlot as X, Fragment as J, renderList as fe, createBlock as E, withCtx as m, createCommentVNode as I, withModifiers as y, createVNode as p, createElementVNode as v, toDisplayString as V, pushScopeId as me, popScopeId as ge, toRefs as Ce } from "vue";
|
|
3
3
|
import { withInstall as ke } from "@das-fed/utils/with-install/index";
|
|
4
4
|
import { t as g, setI18nRule as ye } from "@das-fed/web/packages/i18n/index";
|
|
5
5
|
import { DasDialog as _e } from "@das-fed/ui/packages/components/dialog/index";
|
|
@@ -16,15 +16,15 @@ const j = typeof window < "u", Se = (t) => typeof t == "string", Fe = () => {
|
|
|
16
16
|
};
|
|
17
17
|
j && ((A = window == null ? void 0 : window.navigator) != null && A.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
18
18
|
function te(t) {
|
|
19
|
-
return typeof t == "function" ? t() :
|
|
19
|
+
return typeof t == "function" ? t() : l(t);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function Re(t) {
|
|
22
22
|
return t;
|
|
23
23
|
}
|
|
24
24
|
function oe(t) {
|
|
25
25
|
return ce() ? (ue(t), !0) : !1;
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function ze(t, n = !0) {
|
|
28
28
|
de() ? K(t) : n ? t() : L(t);
|
|
29
29
|
}
|
|
30
30
|
function ne(t) {
|
|
@@ -32,24 +32,24 @@ function ne(t) {
|
|
|
32
32
|
const e = te(t);
|
|
33
33
|
return (n = e == null ? void 0 : e.$el) != null ? n : e;
|
|
34
34
|
}
|
|
35
|
-
const
|
|
35
|
+
const Oe = j ? window : void 0, De = j ? window.document : void 0;
|
|
36
36
|
function $e(...t) {
|
|
37
|
-
let n, e,
|
|
38
|
-
if (Se(t[0]) || Array.isArray(t[0]) ? ([e,
|
|
37
|
+
let n, e, r, a;
|
|
38
|
+
if (Se(t[0]) || Array.isArray(t[0]) ? ([e, r, a] = t, n = Oe) : [n, e, r, a] = t, !n)
|
|
39
39
|
return Fe;
|
|
40
|
-
Array.isArray(e) || (e = [e]), Array.isArray(
|
|
40
|
+
Array.isArray(e) || (e = [e]), Array.isArray(r) || (r = [r]);
|
|
41
41
|
const o = [], i = () => {
|
|
42
42
|
o.forEach((c) => c()), o.length = 0;
|
|
43
43
|
}, f = (c, C, w, N) => (c.addEventListener(C, w, N), () => c.removeEventListener(C, w, N)), s = S(() => [ne(n), te(a)], ([c, C]) => {
|
|
44
|
-
i(), c && o.push(...e.flatMap((w) =>
|
|
44
|
+
i(), c && o.push(...e.flatMap((w) => r.map((N) => f(c, w, N, C))));
|
|
45
45
|
}, { immediate: !0, flush: "post" }), d = () => {
|
|
46
46
|
s(), i();
|
|
47
47
|
};
|
|
48
48
|
return oe(d), d;
|
|
49
49
|
}
|
|
50
50
|
function Le(t, n = !1) {
|
|
51
|
-
const e = _(),
|
|
52
|
-
return
|
|
51
|
+
const e = _(), r = () => e.value = !!t();
|
|
52
|
+
return r(), ze(r, n), e;
|
|
53
53
|
}
|
|
54
54
|
const Q = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, q = "__vueuse_ssr_handlers__";
|
|
55
55
|
Q[q] = Q[q] || {};
|
|
@@ -95,8 +95,8 @@ const G = [
|
|
|
95
95
|
"MSFullscreenError"
|
|
96
96
|
]
|
|
97
97
|
];
|
|
98
|
-
function
|
|
99
|
-
const { document: e = De, autoExit:
|
|
98
|
+
function le(t, n = {}) {
|
|
99
|
+
const { document: e = De, autoExit: r = !1 } = n, a = t || (e == null ? void 0 : e.querySelector("html")), o = _(!1);
|
|
100
100
|
let i = G[0];
|
|
101
101
|
const f = Le(() => {
|
|
102
102
|
if (e) {
|
|
@@ -122,7 +122,7 @@ function re(t, n = {}) {
|
|
|
122
122
|
}
|
|
123
123
|
return e && $e(e, C, () => {
|
|
124
124
|
o.value = !!(e != null && e[c]);
|
|
125
|
-
}, !1),
|
|
125
|
+
}, !1), r && oe(w), {
|
|
126
126
|
isSupported: f,
|
|
127
127
|
isFullscreen: o,
|
|
128
128
|
enter: N,
|
|
@@ -169,7 +169,7 @@ const Ve = {
|
|
|
169
169
|
easeInOutBack: [0.68, -0.6, 0.32, 1.6]
|
|
170
170
|
};
|
|
171
171
|
xe({
|
|
172
|
-
linear:
|
|
172
|
+
linear: Re
|
|
173
173
|
}, Ve);
|
|
174
174
|
const je = /* @__PURE__ */ D({
|
|
175
175
|
__name: "GridItem",
|
|
@@ -182,14 +182,14 @@ const je = /* @__PURE__ */ D({
|
|
|
182
182
|
pe((c) => ({
|
|
183
183
|
"9b3a2c32": d.value
|
|
184
184
|
}));
|
|
185
|
-
const e = t,
|
|
185
|
+
const e = t, r = n, a = _(), { toggle: o, isFullscreen: i } = le(a), f = () => {
|
|
186
186
|
a.value != document.fullscreenElement && (i.value ? (i.value = !1, L(() => {
|
|
187
187
|
o();
|
|
188
188
|
})) : o());
|
|
189
189
|
}, s = () => {
|
|
190
|
-
|
|
190
|
+
r("itemClick");
|
|
191
191
|
}, d = P(() => `calc(100% / ${Math.sqrt(e.gridNum)})`);
|
|
192
|
-
return (c, C) => (k(),
|
|
192
|
+
return (c, C) => (k(), O("div", {
|
|
193
193
|
ref_key: "containerRef",
|
|
194
194
|
ref: a,
|
|
195
195
|
class: ve(["wrapper", { "is-active": e.active }]),
|
|
@@ -201,8 +201,8 @@ const je = /* @__PURE__ */ D({
|
|
|
201
201
|
}
|
|
202
202
|
}), T = (t, n) => {
|
|
203
203
|
const e = t.__vccOpts || t;
|
|
204
|
-
for (const [
|
|
205
|
-
e[
|
|
204
|
+
for (const [r, a] of n)
|
|
205
|
+
e[r] = a;
|
|
206
206
|
return e;
|
|
207
207
|
}, Be = /* @__PURE__ */ T(je, [["__scopeId", "data-v-100b67ca"]]), Me = { class: "layout-wrapper" }, Ae = /* @__PURE__ */ D({
|
|
208
208
|
__name: "GridLayout",
|
|
@@ -213,11 +213,11 @@ const je = /* @__PURE__ */ D({
|
|
|
213
213
|
},
|
|
214
214
|
emits: ["update:activeIndex"],
|
|
215
215
|
setup(t, { emit: n }) {
|
|
216
|
-
const e = t,
|
|
217
|
-
|
|
216
|
+
const e = t, r = n, a = (o) => {
|
|
217
|
+
r("update:activeIndex", o);
|
|
218
218
|
};
|
|
219
|
-
return (o, i) => (k(),
|
|
220
|
-
(k(!0),
|
|
219
|
+
return (o, i) => (k(), O("div", Me, [
|
|
220
|
+
(k(!0), O(J, null, fe(e.gridNum, (f, s) => (k(), E(Be, {
|
|
221
221
|
active: !1,
|
|
222
222
|
"grid-num": e.gridNum,
|
|
223
223
|
onItemClick: (d) => a(s)
|
|
@@ -236,108 +236,108 @@ const je = /* @__PURE__ */ D({
|
|
|
236
236
|
__name: "DirectionControl",
|
|
237
237
|
emits: ["change"],
|
|
238
238
|
setup(t, { emit: n }) {
|
|
239
|
-
const e = n,
|
|
239
|
+
const e = n, r = (a) => {
|
|
240
240
|
e("change", a);
|
|
241
241
|
};
|
|
242
|
-
return (a, o) => (k(),
|
|
242
|
+
return (a, o) => (k(), O("div", {
|
|
243
243
|
class: "direction-control",
|
|
244
244
|
onDblclick: o[9] || (o[9] = y((i) => i.stopPropagation(), ["stop"]))
|
|
245
245
|
}, [
|
|
246
|
-
p(
|
|
247
|
-
content:
|
|
246
|
+
p(l(h), {
|
|
247
|
+
content: l(g)("左上")
|
|
248
248
|
}, {
|
|
249
249
|
default: m(() => [
|
|
250
250
|
v("div", {
|
|
251
251
|
class: "icon icon-top-left",
|
|
252
|
-
onClick: o[0] || (o[0] = y((i) =>
|
|
252
|
+
onClick: o[0] || (o[0] = y((i) => r("leftUp"), ["stop"]))
|
|
253
253
|
})
|
|
254
254
|
]),
|
|
255
255
|
_: 1
|
|
256
256
|
}, 8, ["content"]),
|
|
257
|
-
p(
|
|
258
|
-
content:
|
|
257
|
+
p(l(h), {
|
|
258
|
+
content: l(g)("上")
|
|
259
259
|
}, {
|
|
260
260
|
default: m(() => [
|
|
261
261
|
v("div", {
|
|
262
262
|
class: "icon icon-top",
|
|
263
|
-
onClick: o[1] || (o[1] = y((i) =>
|
|
263
|
+
onClick: o[1] || (o[1] = y((i) => r("up"), ["stop"]))
|
|
264
264
|
})
|
|
265
265
|
]),
|
|
266
266
|
_: 1
|
|
267
267
|
}, 8, ["content"]),
|
|
268
|
-
p(
|
|
269
|
-
content:
|
|
268
|
+
p(l(h), {
|
|
269
|
+
content: l(g)("右上")
|
|
270
270
|
}, {
|
|
271
271
|
default: m(() => [
|
|
272
272
|
v("div", {
|
|
273
273
|
class: "icon icon-top-right",
|
|
274
|
-
onClick: o[2] || (o[2] = y((i) =>
|
|
274
|
+
onClick: o[2] || (o[2] = y((i) => r("rightUp"), ["stop"]))
|
|
275
275
|
})
|
|
276
276
|
]),
|
|
277
277
|
_: 1
|
|
278
278
|
}, 8, ["content"]),
|
|
279
|
-
p(
|
|
280
|
-
content:
|
|
279
|
+
p(l(h), {
|
|
280
|
+
content: l(g)("左")
|
|
281
281
|
}, {
|
|
282
282
|
default: m(() => [
|
|
283
283
|
v("div", {
|
|
284
284
|
class: "icon icon-left",
|
|
285
|
-
onClick: o[3] || (o[3] = y((i) =>
|
|
285
|
+
onClick: o[3] || (o[3] = y((i) => r("left"), ["stop"]))
|
|
286
286
|
})
|
|
287
287
|
]),
|
|
288
288
|
_: 1
|
|
289
289
|
}, 8, ["content"]),
|
|
290
|
-
p(
|
|
291
|
-
content:
|
|
290
|
+
p(l(h), {
|
|
291
|
+
content: l(g)("自动")
|
|
292
292
|
}, {
|
|
293
293
|
default: m(() => [
|
|
294
294
|
v("div", {
|
|
295
295
|
class: "icon icon-auto",
|
|
296
|
-
onClick: o[4] || (o[4] = y((i) =>
|
|
296
|
+
onClick: o[4] || (o[4] = y((i) => r("auto"), ["stop"]))
|
|
297
297
|
})
|
|
298
298
|
]),
|
|
299
299
|
_: 1
|
|
300
300
|
}, 8, ["content"]),
|
|
301
|
-
p(
|
|
302
|
-
content:
|
|
301
|
+
p(l(h), {
|
|
302
|
+
content: l(g)("右")
|
|
303
303
|
}, {
|
|
304
304
|
default: m(() => [
|
|
305
305
|
v("div", {
|
|
306
306
|
class: "icon icon-right",
|
|
307
|
-
onClick: o[5] || (o[5] = y((i) =>
|
|
307
|
+
onClick: o[5] || (o[5] = y((i) => r("right"), ["stop"]))
|
|
308
308
|
})
|
|
309
309
|
]),
|
|
310
310
|
_: 1
|
|
311
311
|
}, 8, ["content"]),
|
|
312
|
-
p(
|
|
313
|
-
content:
|
|
312
|
+
p(l(h), {
|
|
313
|
+
content: l(g)("左下")
|
|
314
314
|
}, {
|
|
315
315
|
default: m(() => [
|
|
316
316
|
v("div", {
|
|
317
317
|
class: "icon icon-bottom-left",
|
|
318
|
-
onClick: o[6] || (o[6] = y((i) =>
|
|
318
|
+
onClick: o[6] || (o[6] = y((i) => r("leftDown"), ["stop"]))
|
|
319
319
|
})
|
|
320
320
|
]),
|
|
321
321
|
_: 1
|
|
322
322
|
}, 8, ["content"]),
|
|
323
|
-
p(
|
|
324
|
-
content:
|
|
323
|
+
p(l(h), {
|
|
324
|
+
content: l(g)("下")
|
|
325
325
|
}, {
|
|
326
326
|
default: m(() => [
|
|
327
327
|
v("div", {
|
|
328
328
|
class: "icon icon-bottom",
|
|
329
|
-
onClick: o[7] || (o[7] = y((i) =>
|
|
329
|
+
onClick: o[7] || (o[7] = y((i) => r("down"), ["stop"]))
|
|
330
330
|
})
|
|
331
331
|
]),
|
|
332
332
|
_: 1
|
|
333
333
|
}, 8, ["content"]),
|
|
334
|
-
p(
|
|
335
|
-
content:
|
|
334
|
+
p(l(h), {
|
|
335
|
+
content: l(g)("右下")
|
|
336
336
|
}, {
|
|
337
337
|
default: m(() => [
|
|
338
338
|
v("div", {
|
|
339
339
|
class: "icon icon-bottom-right",
|
|
340
|
-
onClick: o[8] || (o[8] = y((i) =>
|
|
340
|
+
onClick: o[8] || (o[8] = y((i) => r("rightDown"), ["stop"]))
|
|
341
341
|
})
|
|
342
342
|
]),
|
|
343
343
|
_: 1
|
|
@@ -347,7 +347,7 @@ const je = /* @__PURE__ */ D({
|
|
|
347
347
|
}), Ge = /* @__PURE__ */ T(qe, [["__scopeId", "data-v-db2e8ec2"]]), We = (t) => (me("data-v-2bc90e59"), t = t(), ge(), t), He = { class: "video-wrapper" }, Ye = { class: "video-top" }, Ze = { class: "video-top_l" }, Ke = { class: "video-title-wrapper" }, Xe = { class: "video-title" }, Je = { class: "video-top_r" }, et = {
|
|
348
348
|
key: 0,
|
|
349
349
|
class: "play-status"
|
|
350
|
-
}, tt = { class: "video-bottom" }, ot = /* @__PURE__ */ We(() => /* @__PURE__ */ v("div", { class: "video-bottom_l" }, null, -1)), nt = { class: "video-bottom_r" },
|
|
350
|
+
}, tt = { class: "video-bottom" }, ot = /* @__PURE__ */ We(() => /* @__PURE__ */ v("div", { class: "video-bottom_l" }, null, -1)), nt = { class: "video-bottom_r" }, lt = /* @__PURE__ */ D({
|
|
351
351
|
__name: "index",
|
|
352
352
|
props: {
|
|
353
353
|
videoUrl: {},
|
|
@@ -361,7 +361,7 @@ const je = /* @__PURE__ */ D({
|
|
|
361
361
|
},
|
|
362
362
|
emits: ["close", "directionControl", "zoomControl"],
|
|
363
363
|
setup(t, { emit: n }) {
|
|
364
|
-
const e = t,
|
|
364
|
+
const e = t, r = n;
|
|
365
365
|
he({
|
|
366
366
|
muted: import("@das-fed/ui/packages/icons/muted"),
|
|
367
367
|
volume: import("@das-fed/ui/packages/icons/volume"),
|
|
@@ -385,16 +385,16 @@ const je = /* @__PURE__ */ D({
|
|
|
385
385
|
u.width = s.value.clientWidth, u.height = s.value.clientHeight;
|
|
386
386
|
const b = u.getContext("2d");
|
|
387
387
|
b == null || b.drawImage(s.value, 0, 0, u.width, u.height);
|
|
388
|
-
const
|
|
389
|
-
if (U.value =
|
|
390
|
-
const
|
|
391
|
-
|
|
388
|
+
const z = u.toDataURL("image/jpg"), ae = `【${e.title}】${Ee().format("YYYYMMDDHHmmss").toString()}.jpg`;
|
|
389
|
+
if (U.value = z, "download" in document.createElement("a")) {
|
|
390
|
+
const R = document.createElement("a");
|
|
391
|
+
R.download = ae, R.style.display = "none", R.href = z, document.body.appendChild(R), document.body.appendChild(u), R.click(), URL.revokeObjectURL(R.href), document.body.removeChild(R), document.body.removeChild(u);
|
|
392
392
|
}
|
|
393
393
|
}
|
|
394
394
|
}, se = (u) => {
|
|
395
|
-
|
|
395
|
+
r("directionControl", u);
|
|
396
396
|
}, B = (u) => {
|
|
397
|
-
|
|
397
|
+
r("zoomControl", u);
|
|
398
398
|
}, x = (u) => e.authType.includes(u);
|
|
399
399
|
return S(
|
|
400
400
|
() => s.value,
|
|
@@ -437,11 +437,11 @@ const je = /* @__PURE__ */ D({
|
|
|
437
437
|
c.value = !0;
|
|
438
438
|
});
|
|
439
439
|
}
|
|
440
|
-
), (u, b) => (k(),
|
|
441
|
-
p(
|
|
440
|
+
), (u, b) => (k(), O("div", He, [
|
|
441
|
+
p(l(Ie), {
|
|
442
442
|
spinning: e.loading,
|
|
443
443
|
type: "component",
|
|
444
|
-
tip:
|
|
444
|
+
tip: l(g)("加载中...")
|
|
445
445
|
}, {
|
|
446
446
|
default: m(() => [
|
|
447
447
|
v("div", Ye, [
|
|
@@ -451,10 +451,10 @@ const je = /* @__PURE__ */ D({
|
|
|
451
451
|
])
|
|
452
452
|
]),
|
|
453
453
|
v("div", Je, [
|
|
454
|
-
["live"].includes(u.type) ? (k(),
|
|
454
|
+
["live"].includes(u.type) ? (k(), O("span", et, V(l(g)("正在实时预览")), 1)) : I("", !0)
|
|
455
455
|
])
|
|
456
456
|
]),
|
|
457
|
-
e.videoUrl && c.value ? (k(), E(
|
|
457
|
+
e.videoUrl && c.value ? (k(), E(l(be), {
|
|
458
458
|
key: 0,
|
|
459
459
|
type: "flv",
|
|
460
460
|
ref_key: "dasLivePlayerRef",
|
|
@@ -468,13 +468,13 @@ const je = /* @__PURE__ */ D({
|
|
|
468
468
|
v("div", nt, [
|
|
469
469
|
v("div", {
|
|
470
470
|
class: "controls",
|
|
471
|
-
onDblclick: b[2] || (b[2] = y((
|
|
471
|
+
onDblclick: b[2] || (b[2] = y((z) => z.stopPropagation(), ["stop"]))
|
|
472
472
|
}, [
|
|
473
|
-
p(
|
|
474
|
-
content:
|
|
473
|
+
p(l(h), {
|
|
474
|
+
content: l(g)("声音")
|
|
475
475
|
}, {
|
|
476
476
|
default: m(() => [
|
|
477
|
-
p(
|
|
477
|
+
p(l($), {
|
|
478
478
|
class: "icon icon-volume",
|
|
479
479
|
icon: a.value ? "muted" : "volume",
|
|
480
480
|
onClick: y(w, ["stop"])
|
|
@@ -482,11 +482,11 @@ const je = /* @__PURE__ */ D({
|
|
|
482
482
|
]),
|
|
483
483
|
_: 1
|
|
484
484
|
}, 8, ["content"]),
|
|
485
|
-
p(
|
|
486
|
-
content:
|
|
485
|
+
p(l(h), {
|
|
486
|
+
content: l(g)("截图")
|
|
487
487
|
}, {
|
|
488
488
|
default: m(() => [
|
|
489
|
-
p(
|
|
489
|
+
p(l($), {
|
|
490
490
|
class: "icon icon-screenshot",
|
|
491
491
|
icon: "screenshot",
|
|
492
492
|
onClick: y(F, ["stop"])
|
|
@@ -494,40 +494,40 @@ const je = /* @__PURE__ */ D({
|
|
|
494
494
|
]),
|
|
495
495
|
_: 1
|
|
496
496
|
}, 8, ["content"]),
|
|
497
|
-
x("control") ? (k(), E(
|
|
497
|
+
x("control") ? (k(), E(l(h), {
|
|
498
498
|
key: 0,
|
|
499
|
-
content:
|
|
499
|
+
content: l(g)("聚焦-")
|
|
500
500
|
}, {
|
|
501
501
|
default: m(() => [
|
|
502
|
-
["live", "polling"].includes(e.type) ? (k(), E(
|
|
502
|
+
["live", "polling"].includes(e.type) ? (k(), E(l($), {
|
|
503
503
|
key: 0,
|
|
504
504
|
class: "icon icon-shrink",
|
|
505
505
|
icon: "shrink",
|
|
506
|
-
onClick: b[0] || (b[0] = y((
|
|
506
|
+
onClick: b[0] || (b[0] = y((z) => B("zoomOut"), ["stop"]))
|
|
507
507
|
})) : I("", !0)
|
|
508
508
|
]),
|
|
509
509
|
_: 1
|
|
510
510
|
}, 8, ["content"])) : I("", !0),
|
|
511
|
-
x("control") ? (k(), E(
|
|
511
|
+
x("control") ? (k(), E(l(h), {
|
|
512
512
|
key: 1,
|
|
513
|
-
content:
|
|
513
|
+
content: l(g)("聚焦+")
|
|
514
514
|
}, {
|
|
515
515
|
default: m(() => [
|
|
516
|
-
["live", "polling"].includes(e.type) ? (k(), E(
|
|
516
|
+
["live", "polling"].includes(e.type) ? (k(), E(l($), {
|
|
517
517
|
key: 0,
|
|
518
518
|
class: "icon icon-enlarge",
|
|
519
519
|
icon: "enlarge",
|
|
520
|
-
onClick: b[1] || (b[1] = y((
|
|
520
|
+
onClick: b[1] || (b[1] = y((z) => B("zoomIn"), ["stop"]))
|
|
521
521
|
})) : I("", !0)
|
|
522
522
|
]),
|
|
523
523
|
_: 1
|
|
524
524
|
}, 8, ["content"])) : I("", !0),
|
|
525
|
-
x("control") ? (k(), E(
|
|
525
|
+
x("control") ? (k(), E(l(h), {
|
|
526
526
|
key: 2,
|
|
527
|
-
content:
|
|
527
|
+
content: l(g)("方向控制")
|
|
528
528
|
}, {
|
|
529
529
|
default: m(() => [
|
|
530
|
-
["live", "polling"].includes(e.type) ? (k(), E(
|
|
530
|
+
["live", "polling"].includes(e.type) ? (k(), E(l($), {
|
|
531
531
|
key: 0,
|
|
532
532
|
class: "icon icon-direction-control",
|
|
533
533
|
icon: "direction-control",
|
|
@@ -548,22 +548,22 @@ const je = /* @__PURE__ */ D({
|
|
|
548
548
|
}, 8, ["spinning", "tip"])
|
|
549
549
|
]));
|
|
550
550
|
}
|
|
551
|
-
}),
|
|
551
|
+
}), rt = /* @__PURE__ */ T(lt, [["__scopeId", "data-v-2bc90e59"]]), it = "/api/device-relation/deviceproject/v1/project/device/video", st = "v1", at = ee(`/api/enterpriseright/permission/${st}`), re = ee(`${it}`, ct);
|
|
552
552
|
function ct(t) {
|
|
553
553
|
const n = M() ? M().id : 1;
|
|
554
554
|
return t.params || (t.params = {}), t.params.project = n, t.params.projectId = n, t;
|
|
555
555
|
}
|
|
556
556
|
function ie(t) {
|
|
557
557
|
const n = new URLSearchParams("");
|
|
558
|
-
for (let [e,
|
|
559
|
-
n.append(e,
|
|
558
|
+
for (let [e, r] of Object.entries(t))
|
|
559
|
+
n.append(e, r);
|
|
560
560
|
return n.toString();
|
|
561
561
|
}
|
|
562
562
|
function Z(t) {
|
|
563
|
-
return
|
|
563
|
+
return re.post(`/ptz?${ie(t)}`)().run();
|
|
564
564
|
}
|
|
565
565
|
function ut(t) {
|
|
566
|
-
return
|
|
566
|
+
return re.post(`/url/preview?${ie(t)}`)().run();
|
|
567
567
|
}
|
|
568
568
|
at.post("data/device-auth");
|
|
569
569
|
const dt = (t) => {
|
|
@@ -586,7 +586,7 @@ const pt = /* @__PURE__ */ D({
|
|
|
586
586
|
}) {
|
|
587
587
|
const {
|
|
588
588
|
deviceInfo: e,
|
|
589
|
-
source:
|
|
589
|
+
source: r
|
|
590
590
|
} = Ce(t), a = _(!1), o = _(""), i = async () => {
|
|
591
591
|
var C;
|
|
592
592
|
if (!((C = e.value) != null && C.deviceId)) return;
|
|
@@ -594,7 +594,7 @@ const pt = /* @__PURE__ */ D({
|
|
|
594
594
|
const [d, c] = await ut({
|
|
595
595
|
productId: e.value.productId,
|
|
596
596
|
deviceId: e.value.deviceId,
|
|
597
|
-
source:
|
|
597
|
+
source: r.value
|
|
598
598
|
});
|
|
599
599
|
d || (o.value = dt(c == null ? void 0 : c.wsFlvStreamURL)), a.value = !1;
|
|
600
600
|
}, f = (d) => {
|
|
@@ -603,7 +603,7 @@ const pt = /* @__PURE__ */ D({
|
|
|
603
603
|
deviceId: e.value.deviceId,
|
|
604
604
|
direction: d,
|
|
605
605
|
zoom: "",
|
|
606
|
-
source:
|
|
606
|
+
source: r.value || "web"
|
|
607
607
|
});
|
|
608
608
|
}, s = (d) => {
|
|
609
609
|
Z({
|
|
@@ -611,7 +611,7 @@ const pt = /* @__PURE__ */ D({
|
|
|
611
611
|
deviceId: e.value.deviceId,
|
|
612
612
|
direction: "",
|
|
613
613
|
zoom: d,
|
|
614
|
-
source:
|
|
614
|
+
source: r.value || "web"
|
|
615
615
|
});
|
|
616
616
|
};
|
|
617
617
|
return K(() => {
|
|
@@ -630,9 +630,9 @@ const pt = /* @__PURE__ */ D({
|
|
|
630
630
|
});
|
|
631
631
|
function vt(t) {
|
|
632
632
|
const n = _(0), e = _(), {
|
|
633
|
-
toggle:
|
|
633
|
+
toggle: r,
|
|
634
634
|
isFullscreen: a
|
|
635
|
-
} =
|
|
635
|
+
} = le(e);
|
|
636
636
|
return {
|
|
637
637
|
render: () => p(Qe, {
|
|
638
638
|
ref: e,
|
|
@@ -654,7 +654,7 @@ function vt(t) {
|
|
|
654
654
|
onDirectionControl: c,
|
|
655
655
|
onZoomControl: C,
|
|
656
656
|
loading: w
|
|
657
|
-
}) => p(
|
|
657
|
+
}) => p(rt, {
|
|
658
658
|
type: "live",
|
|
659
659
|
loading: w,
|
|
660
660
|
videoUrl: d,
|
|
@@ -666,7 +666,7 @@ function vt(t) {
|
|
|
666
666
|
});
|
|
667
667
|
}
|
|
668
668
|
}),
|
|
669
|
-
toggleFullscreen:
|
|
669
|
+
toggleFullscreen: r
|
|
670
670
|
};
|
|
671
671
|
}
|
|
672
672
|
const ft = /* @__PURE__ */ D({
|
|
@@ -679,9 +679,9 @@ const ft = /* @__PURE__ */ D({
|
|
|
679
679
|
},
|
|
680
680
|
emits: ["update:visible"],
|
|
681
681
|
setup(t, { emit: n }) {
|
|
682
|
-
const e = t,
|
|
682
|
+
const e = t, r = n, a = P({
|
|
683
683
|
get: () => e.visible,
|
|
684
|
-
set: (s) =>
|
|
684
|
+
set: (s) => r("update:visible", s)
|
|
685
685
|
}), { render: o, toggleFullscreen: i } = vt(e), f = P(() => {
|
|
686
686
|
let s = {};
|
|
687
687
|
switch (e.gridNum) {
|
|
@@ -697,9 +697,9 @@ const ft = /* @__PURE__ */ D({
|
|
|
697
697
|
}
|
|
698
698
|
return s;
|
|
699
699
|
});
|
|
700
|
-
return (s, d) => (k(), E(
|
|
700
|
+
return (s, d) => (k(), E(l(_e), {
|
|
701
701
|
size: "mini",
|
|
702
|
-
title:
|
|
702
|
+
title: l(g)("视频监控"),
|
|
703
703
|
"custom-class": `das-linakge-video-dialog ${f.value}`,
|
|
704
704
|
modelValue: a.value,
|
|
705
705
|
"onUpdate:modelValue": d[0] || (d[0] = (c) => a.value = c),
|
|
@@ -711,30 +711,30 @@ const ft = /* @__PURE__ */ D({
|
|
|
711
711
|
}, {
|
|
712
712
|
header: m(() => [
|
|
713
713
|
v("div", null, [
|
|
714
|
-
v("span", null, V(
|
|
714
|
+
v("span", null, V(l(g)("视频监控")), 1)
|
|
715
715
|
]),
|
|
716
|
-
p(
|
|
717
|
-
content:
|
|
716
|
+
p(l(h), {
|
|
717
|
+
content: l(g)("页面全屏")
|
|
718
718
|
}, {
|
|
719
719
|
default: m(() => [
|
|
720
|
-
p(
|
|
720
|
+
p(l(we), {
|
|
721
721
|
class: "icon",
|
|
722
722
|
color: "#999",
|
|
723
|
-
onClick:
|
|
723
|
+
onClick: l(i)
|
|
724
724
|
}, null, 8, ["onClick"])
|
|
725
725
|
]),
|
|
726
726
|
_: 1
|
|
727
727
|
}, 8, ["content"])
|
|
728
728
|
]),
|
|
729
729
|
default: m(() => [
|
|
730
|
-
a.value ? (k(), E(
|
|
730
|
+
a.value ? (k(), E(l(o), { key: 0 })) : I("", !0)
|
|
731
731
|
]),
|
|
732
732
|
_: 1
|
|
733
733
|
}, 8, ["title", "custom-class", "modelValue"]));
|
|
734
734
|
}
|
|
735
735
|
}), mt = {
|
|
736
736
|
加载中: { "zh-CN": "加载中", en: "Loading", _appCode: "framework" },
|
|
737
|
-
正在实时预览: { "zh-CN": "正在实时预览", en: "
|
|
737
|
+
正在实时预览: { "zh-CN": "正在实时预览", en: "Real-time Video", _appCode: "framework" },
|
|
738
738
|
声音: { "zh-CN": "声音", en: "Sound", _appCode: "framework" },
|
|
739
739
|
截图: { "zh-CN": "截图", en: "Screenshot", _appCode: "framework" },
|
|
740
740
|
聚焦: { "zh-CN": "聚焦", en: "Focus", _appCode: "framework" },
|
|
@@ -755,9 +755,9 @@ const ft = /* @__PURE__ */ D({
|
|
|
755
755
|
"聚焦+": { "zh-CN": "聚焦+", en: "Focus+", _appCode: "framework" }
|
|
756
756
|
};
|
|
757
757
|
ye(mt);
|
|
758
|
-
const Ft = ke(ft),
|
|
758
|
+
const Ft = ke(ft), Rt = () => _(null);
|
|
759
759
|
export {
|
|
760
760
|
Ft as DasVideoDialog,
|
|
761
|
-
|
|
761
|
+
Rt as DasVideoDialogRef,
|
|
762
762
|
vt as useVideo
|
|
763
763
|
};
|
|
Binary file
|