@das-fed/upf-ui 6.4.0-dev.164 → 6.4.0-dev.166
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 +6 -6
- package/packages/business-components/ai-panel/i18n/index.d.ts +60 -0
- package/packages/business-components/ai-panel/{index-CViVnNHG.js → index-Bg_src1J.js} +440 -432
- package/packages/business-components/ai-panel/index-Bg_src1J.js.gz +0 -0
- package/packages/business-components/ai-panel/{index-14NcMHNj.js → index-CoN6WqdZ.js} +1 -1
- package/packages/business-components/ai-panel/index-CoN6WqdZ.js.gz +0 -0
- package/packages/business-components/ai-panel/index.js +1 -1
- package/packages/business-components/area-phone-select/i18n/index.d.ts +1 -0
- package/packages/business-components/area-phone-select/index.js +17 -17
- package/packages/business-components/area-phone-select/index.js.gz +0 -0
- package/packages/business-components/change-enterprises/i18n/index.d.ts +3 -0
- package/packages/business-components/change-enterprises/index.js +18 -18
- package/packages/business-components/change-enterprises/index.js.gz +0 -0
- package/packages/business-components/currency-page/i18n/index.d.ts +4 -0
- package/packages/business-components/currency-page/index.js +9 -7
- package/packages/business-components/currency-page/index.js.gz +0 -0
- package/packages/business-components/device-panel/i18n/index.d.ts +244 -0
- package/packages/business-components/device-panel/index.js +3506 -3482
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/export-button/i18n/index.d.ts +11 -0
- package/packages/business-components/export-button/index.js +83 -81
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/import-button/i18n/index.d.ts +29 -0
- package/packages/business-components/import-button/index.js +237 -233
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/model-table-dialog/i18n/index.d.ts +6 -0
- package/packages/business-components/model-table-dialog/index.js +166 -166
- package/packages/business-components/model-table-dialog/index.js.gz +0 -0
- package/packages/business-components/payment/i18n/index.d.ts +13 -0
- package/packages/business-components/payment/index.js +55 -55
- package/packages/business-components/payment/index.js.gz +0 -0
- package/packages/business-components/process-configuration/i18n/index.d.ts +30 -0
- package/packages/business-components/process-configuration/index.js +148 -146
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-form/i18n/index.d.ts +84 -0
- package/packages/business-components/process-form/index.js +472 -463
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-log/i18n/index.d.ts +9 -0
- package/packages/business-components/process-log/index.js +69 -69
- package/packages/business-components/process-log/index.js.gz +0 -0
- package/packages/business-components/process-search-form/i18n/index.d.ts +9 -0
- package/packages/business-components/process-search-form/index.js +125 -125
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/process-table/i18n/index.d.ts +8 -0
- package/packages/business-components/process-table/index.js +99 -99
- package/packages/business-components/process-table/index.js.gz +0 -0
- package/packages/business-components/upload-file/i18n/index.d.ts +1 -0
- package/packages/business-components/upload-file/index.js +9 -8
- package/packages/business-components/upload-file/index.js.gz +0 -0
- package/packages/business-components/urgent-panel/i18n/index.d.ts +104 -0
- package/packages/business-components/urgent-panel/index.js +951 -943
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/user-org-dialog/i18n/index.d.ts +18 -0
- package/packages/business-components/user-org-dialog/index.js +180 -179
- package/packages/business-components/user-org-dialog/index.js.gz +0 -0
- package/packages/business-components/video-dialog/i18n/index.d.ts +20 -0
- package/packages/business-components/video-dialog/index.js +175 -175
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/components/calendar/i18n/index.d.ts +46 -0
- package/packages/components/calendar/index.js +163 -163
- package/packages/components/calendar/index.js.gz +0 -0
- package/packages/components/cascader/i18n/index.d.ts +1 -0
- package/packages/components/cascader/index.js +15 -15
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/color-picker/i18n/index.d.ts +1 -0
- package/packages/components/color-picker/index.js +10 -10
- package/packages/components/color-picker/index.js.gz +0 -0
- package/packages/components/custom-search-item/i18n/index.d.ts +1 -0
- package/packages/components/custom-search-item/index.js +10 -10
- package/packages/components/custom-search-item/index.js.gz +0 -0
- package/packages/components/date-picker/i18n/index.d.ts +6 -0
- package/packages/components/date-picker/index.js +234 -230
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/date-picker/src/RangePicker.vue.d.ts +0 -2
- package/packages/components/date-picker/style.css +1 -1
- package/packages/components/date-picker/style.css.gz +0 -0
- package/packages/components/dialog/i18n/index.d.ts +6 -0
- package/packages/components/dialog/index.js +46 -46
- package/packages/components/dialog/index.js.gz +0 -0
- package/packages/components/dimple-layout/i18n/index.d.ts +10 -0
- package/packages/components/dimple-layout/index.js +10 -9
- package/packages/components/dimple-layout/index.js.gz +0 -0
- package/packages/components/dropdown/i18n/index.d.ts +1 -0
- package/packages/components/dropdown/index.js +12 -12
- package/packages/components/dropdown/index.js.gz +0 -0
- package/packages/components/empty/i18n/index.d.ts +1 -0
- package/packages/components/empty/index.js +1 -1
- package/packages/components/empty/index.js.gz +0 -0
- package/packages/components/image-upload/i18n/index.d.ts +7 -0
- package/packages/components/image-upload/index.js +47 -43
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/input/i18n/index.d.ts +3 -0
- package/packages/components/input/index.js +27 -27
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input-dialog-select/i18n/index.d.ts +2 -0
- package/packages/components/input-dialog-select/index.js +23 -23
- package/packages/components/input-dialog-select/index.js.gz +0 -0
- package/packages/components/live-player/i18n/index.d.ts +2 -0
- package/packages/components/live-player/index.js +2 -1
- package/packages/components/live-player/index.js.gz +0 -0
- package/packages/components/loading/i18n/index.d.ts +1 -0
- package/packages/components/loading/index.js +20 -20
- package/packages/components/loading/index.js.gz +0 -0
- package/packages/components/map/i18n/index.d.ts +6 -0
- package/packages/components/map/index.js +159 -155
- package/packages/components/map/index.js.gz +0 -0
- package/packages/components/menu-aside/i18n/index.d.ts +1 -0
- package/packages/components/menu-aside/index.js +34 -34
- package/packages/components/menu-aside/index.js.gz +0 -0
- package/packages/components/message/i18n/index.d.ts +1 -0
- package/packages/components/message/index.js +7 -7
- package/packages/components/message/index.js.gz +0 -0
- package/packages/components/notification/i18n/index.d.ts +1 -0
- package/packages/components/notification/index.js +1 -1
- package/packages/components/notification/index.js.gz +0 -0
- package/packages/components/pagination/i18n/index.d.ts +4 -0
- package/packages/components/pagination/index.js +42 -42
- package/packages/components/pagination/index.js.gz +0 -0
- package/packages/components/popover/i18n/index.d.ts +2 -0
- package/packages/components/popover/index.js +20 -20
- package/packages/components/popover/index.js.gz +0 -0
- package/packages/components/preview/i18n/index.d.ts +1 -0
- package/packages/components/preview/index.js +4 -4
- package/packages/components/preview/index.js.gz +0 -0
- package/packages/components/rich-editor/i18n/index.d.ts +4 -0
- package/packages/components/rich-editor/index.js +1596 -1592
- package/packages/components/rich-editor/index.js.gz +0 -0
- package/packages/components/search-form/i18n/index.d.ts +7 -0
- package/packages/components/search-form/index.js +117 -117
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/select/i18n/index.d.ts +4 -0
- package/packages/components/select/index.js +93 -92
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select-list/i18n/index.d.ts +4 -0
- package/packages/components/select-list/index.js +110 -110
- package/packages/components/select-list/index.js.gz +0 -0
- package/packages/components/special-range-picker-month/i18n/index.d.ts +4 -0
- package/packages/components/special-range-picker-month/index.js +60 -60
- package/packages/components/special-range-picker-month/index.js.gz +0 -0
- package/packages/components/special-range-picker-year/i18n/index.d.ts +3 -0
- package/packages/components/special-range-picker-year/index.js +41 -41
- package/packages/components/special-range-picker-year/index.js.gz +0 -0
- package/packages/components/spin/i18n/index.d.ts +1 -0
- package/packages/components/spin/index.js +14 -14
- package/packages/components/spin/index.js.gz +0 -0
- package/packages/components/table/i18n/index.d.ts +20 -0
- package/packages/components/table/index.js +546 -544
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/tabs/i18n/index.d.ts +3 -0
- package/packages/components/tabs/index.js +42 -42
- package/packages/components/tabs/index.js.gz +0 -0
- package/packages/components/tooltip/i18n/index.d.ts +1 -0
- package/packages/components/tooltip/index.js +15 -15
- package/packages/components/tooltip/index.js.gz +0 -0
- package/packages/components/tree/i18n/index.d.ts +9 -0
- package/packages/components/tree/index.js +310 -309
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree-v2/i18n/index.d.ts +8 -0
- package/packages/components/tree-v2/index.js +9 -8
- package/packages/components/tree-v2/index.js.gz +0 -0
- package/packages/components/upload/i18n/index.d.ts +6 -0
- package/packages/components/upload/index.js +57 -56
- package/packages/components/upload/index.js.gz +0 -0
- package/packages/components/virtual-tree/i18n/index.d.ts +1 -0
- package/packages/components/virtual-tree/index.js +12 -12
- package/packages/components/virtual-tree/index.js.gz +0 -0
- package/web-front-end/i18n/dasui_en-US.js +771 -0
- package/web-front-end/i18n/dasui_zh-CN.js +758 -0
- package/web-front-end/i18n/dasui_zh-MO.js +757 -0
- package/packages/business-components/ai-panel/index-14NcMHNj.js.gz +0 -0
- package/packages/business-components/ai-panel/index-CViVnNHG.js.gz +0 -0
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import '@das-fed/upf-ui/packages/business-components/video-dialog/style.css';
|
|
2
|
-
import { getCurrentScope as ce, onScopeDispose as ue, getCurrentInstance as de, onMounted as K, nextTick as
|
|
2
|
+
import { getCurrentScope as ce, onScopeDispose as ue, getCurrentInstance as de, onMounted as K, nextTick as L, unref as l, ref as k, watch as E, defineComponent as D, useCssVars as pe, computed as P, createElementBlock as R, openBlock as C, normalizeClass as ve, renderSlot as X, Fragment as J, renderList as fe, createBlock as O, withCtx as f, createCommentVNode as z, withModifiers as y, createVNode as p, createElementVNode as v, toDisplayString as U, toRefs as me } from "vue";
|
|
3
3
|
import { withInstall as ge } from "@das-fed/upf-utils/with-install/index";
|
|
4
4
|
import { t as m, setI18nRule as Ce } from "@das-fed/upf-web/packages/i18n/index";
|
|
5
|
-
import { DasDialog as
|
|
6
|
-
import { DasTooltip as
|
|
7
|
-
import { DasIconFullscreen2 as
|
|
8
|
-
import { DasAutoRegisterIcon as
|
|
9
|
-
import { DasLivePlayer as
|
|
10
|
-
import { DasSpin as
|
|
5
|
+
import { DasDialog as he } from "@das-fed/upf-ui/packages/components/dialog/index";
|
|
6
|
+
import { DasTooltip as w } from "@das-fed/upf-ui/packages/components/tooltip/index";
|
|
7
|
+
import { DasIconFullscreen2 as ye } from "@das-fed/upf-ui/packages/icons/fullscreen-2/index";
|
|
8
|
+
import { DasAutoRegisterIcon as ke, DasIcon as $ } from "@das-fed/upf-ui/packages/components/icon/index";
|
|
9
|
+
import { DasLivePlayer as _e } from "@das-fed/upf-ui/packages/components/live-player/index";
|
|
10
|
+
import { DasSpin as we } from "@das-fed/upf-ui/packages/components/spin/index";
|
|
11
11
|
import be from "dayjs";
|
|
12
12
|
import { createService as ee } from "@das-fed/upf-utils/api-services/src/create-service";
|
|
13
|
-
import { getProjectInfo as
|
|
13
|
+
import { getProjectInfo as j, getToken as Ie } from "@das-fed/upf-utils/common-info";
|
|
14
14
|
var A;
|
|
15
|
-
const
|
|
15
|
+
const V = typeof window < "u", ze = (t) => typeof t == "string", Oe = () => {
|
|
16
16
|
};
|
|
17
|
-
|
|
17
|
+
V && ((A = window == null ? void 0 : window.navigator) != null && A.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
18
18
|
function te(t) {
|
|
19
19
|
return typeof t == "function" ? t() : l(t);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function Ee(t) {
|
|
22
22
|
return t;
|
|
23
23
|
}
|
|
24
24
|
function oe(t) {
|
|
25
25
|
return ce() ? (ue(t), !0) : !1;
|
|
26
26
|
}
|
|
27
|
-
function
|
|
28
|
-
de() ? K(t) : n ? t() :
|
|
27
|
+
function Ne(t, n = !0) {
|
|
28
|
+
de() ? K(t) : n ? t() : L(t);
|
|
29
29
|
}
|
|
30
30
|
function ne(t) {
|
|
31
31
|
var n;
|
|
32
32
|
const e = te(t);
|
|
33
33
|
return (n = e == null ? void 0 : e.$el) != null ? n : e;
|
|
34
34
|
}
|
|
35
|
-
const
|
|
36
|
-
function
|
|
35
|
+
const Fe = V ? window : void 0, Se = V ? window.document : void 0;
|
|
36
|
+
function Re(...t) {
|
|
37
37
|
let n, e, r, s;
|
|
38
|
-
if (
|
|
39
|
-
return
|
|
38
|
+
if (ze(t[0]) || Array.isArray(t[0]) ? ([e, r, s] = t, n = Fe) : [n, e, r, s] = t, !n)
|
|
39
|
+
return Oe;
|
|
40
40
|
Array.isArray(e) || (e = [e]), Array.isArray(r) || (r = [r]);
|
|
41
41
|
const o = [], a = () => {
|
|
42
42
|
o.forEach((c) => c()), o.length = 0;
|
|
43
|
-
},
|
|
44
|
-
a(), c && o.push(...e.flatMap((
|
|
43
|
+
}, h = (c, g, _, I) => (c.addEventListener(g, _, I), () => c.removeEventListener(g, _, I)), i = E(() => [ne(n), te(s)], ([c, g]) => {
|
|
44
|
+
a(), c && o.push(...e.flatMap((_) => r.map((I) => h(c, _, I, g))));
|
|
45
45
|
}, { immediate: !0, flush: "post" }), u = () => {
|
|
46
46
|
i(), a();
|
|
47
47
|
};
|
|
48
48
|
return oe(u), u;
|
|
49
49
|
}
|
|
50
50
|
function De(t, n = !1) {
|
|
51
|
-
const e =
|
|
52
|
-
return r(),
|
|
51
|
+
const e = k(), r = () => e.value = !!t();
|
|
52
|
+
return r(), Ne(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] || {};
|
|
@@ -96,53 +96,53 @@ const G = [
|
|
|
96
96
|
]
|
|
97
97
|
];
|
|
98
98
|
function le(t, n = {}) {
|
|
99
|
-
const { document: e =
|
|
99
|
+
const { document: e = Se, autoExit: r = !1 } = n, s = t || (e == null ? void 0 : e.querySelector("html")), o = k(!1);
|
|
100
100
|
let a = G[0];
|
|
101
|
-
const
|
|
101
|
+
const h = De(() => {
|
|
102
102
|
if (e) {
|
|
103
|
-
for (const
|
|
104
|
-
if (
|
|
105
|
-
return a =
|
|
103
|
+
for (const N of G)
|
|
104
|
+
if (N[1] in e)
|
|
105
|
+
return a = N, !0;
|
|
106
106
|
} else
|
|
107
107
|
return !1;
|
|
108
108
|
return !1;
|
|
109
109
|
}), [i, u, c, , g] = a;
|
|
110
|
-
async function
|
|
111
|
-
|
|
110
|
+
async function _() {
|
|
111
|
+
h.value && (e != null && e[c] && await e[u](), o.value = !1);
|
|
112
112
|
}
|
|
113
113
|
async function I() {
|
|
114
|
-
if (!
|
|
114
|
+
if (!h.value)
|
|
115
115
|
return;
|
|
116
|
-
await
|
|
117
|
-
const
|
|
118
|
-
|
|
116
|
+
await _();
|
|
117
|
+
const N = ne(s);
|
|
118
|
+
N && (await N[i](), o.value = !0);
|
|
119
119
|
}
|
|
120
|
-
async function
|
|
121
|
-
o.value ? await
|
|
120
|
+
async function M() {
|
|
121
|
+
o.value ? await _() : await I();
|
|
122
122
|
}
|
|
123
|
-
return e &&
|
|
123
|
+
return e && Re(e, g, () => {
|
|
124
124
|
o.value = !!(e != null && e[c]);
|
|
125
|
-
}, !1), r && oe(
|
|
126
|
-
isSupported:
|
|
125
|
+
}, !1), r && oe(_), {
|
|
126
|
+
isSupported: h,
|
|
127
127
|
isFullscreen: o,
|
|
128
128
|
enter: I,
|
|
129
|
-
exit:
|
|
130
|
-
toggle:
|
|
129
|
+
exit: _,
|
|
130
|
+
toggle: M
|
|
131
131
|
};
|
|
132
132
|
}
|
|
133
133
|
var W;
|
|
134
134
|
(function(t) {
|
|
135
135
|
t.UP = "UP", t.RIGHT = "RIGHT", t.DOWN = "DOWN", t.LEFT = "LEFT", t.NONE = "NONE";
|
|
136
136
|
})(W || (W = {}));
|
|
137
|
-
var
|
|
137
|
+
var Me = Object.defineProperty, H = Object.getOwnPropertySymbols, $e = Object.prototype.hasOwnProperty, Le = Object.prototype.propertyIsEnumerable, Y = (t, n, e) => n in t ? Me(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e, Pe = (t, n) => {
|
|
138
138
|
for (var e in n || (n = {}))
|
|
139
|
-
|
|
139
|
+
$e.call(n, e) && Y(t, e, n[e]);
|
|
140
140
|
if (H)
|
|
141
141
|
for (var e of H(n))
|
|
142
|
-
|
|
142
|
+
Le.call(n, e) && Y(t, e, n[e]);
|
|
143
143
|
return t;
|
|
144
144
|
};
|
|
145
|
-
const
|
|
145
|
+
const xe = {
|
|
146
146
|
easeInSine: [0.12, 0, 0.39, 0],
|
|
147
147
|
easeOutSine: [0.61, 1, 0.88, 1],
|
|
148
148
|
easeInOutSine: [0.37, 0, 0.63, 1],
|
|
@@ -168,10 +168,10 @@ const Te = {
|
|
|
168
168
|
easeOutBack: [0.34, 1.56, 0.64, 1],
|
|
169
169
|
easeInOutBack: [0.68, -0.6, 0.32, 1.6]
|
|
170
170
|
};
|
|
171
|
-
|
|
172
|
-
linear:
|
|
173
|
-
},
|
|
174
|
-
const
|
|
171
|
+
Pe({
|
|
172
|
+
linear: Ee
|
|
173
|
+
}, xe);
|
|
174
|
+
const Te = /* @__PURE__ */ D({
|
|
175
175
|
__name: "GridItem",
|
|
176
176
|
props: {
|
|
177
177
|
active: { type: Boolean },
|
|
@@ -182,29 +182,29 @@ const Ue = /* @__PURE__ */ D({
|
|
|
182
182
|
pe((c) => ({
|
|
183
183
|
"9b3a2c32": u.value
|
|
184
184
|
}));
|
|
185
|
-
const e = t, r = n, s =
|
|
186
|
-
s.value != document.fullscreenElement && (a.value ? (a.value = !1,
|
|
185
|
+
const e = t, r = n, s = k(), { toggle: o, isFullscreen: a } = le(s), h = () => {
|
|
186
|
+
s.value != document.fullscreenElement && (a.value ? (a.value = !1, L(() => {
|
|
187
187
|
o();
|
|
188
188
|
})) : o());
|
|
189
189
|
}, i = () => {
|
|
190
190
|
r("itemClick");
|
|
191
|
-
}, u =
|
|
192
|
-
return (c, g) => (C(),
|
|
191
|
+
}, u = P(() => `calc(100% / ${Math.sqrt(e.gridNum)})`);
|
|
192
|
+
return (c, g) => (C(), R("div", {
|
|
193
193
|
ref_key: "containerRef",
|
|
194
194
|
ref: s,
|
|
195
195
|
class: ve(["wrapper", { "is-active": e.active }]),
|
|
196
|
-
onDblclick: g[0] || (g[0] = (
|
|
197
|
-
onClick: g[1] || (g[1] = (
|
|
196
|
+
onDblclick: g[0] || (g[0] = (_) => h()),
|
|
197
|
+
onClick: g[1] || (g[1] = (_) => i())
|
|
198
198
|
}, [
|
|
199
199
|
X(c.$slots, "default", {}, void 0, !0)
|
|
200
200
|
], 34));
|
|
201
201
|
}
|
|
202
|
-
}),
|
|
202
|
+
}), x = (t, n) => {
|
|
203
203
|
const e = t.__vccOpts || t;
|
|
204
204
|
for (const [r, s] of n)
|
|
205
205
|
e[r] = s;
|
|
206
206
|
return e;
|
|
207
|
-
},
|
|
207
|
+
}, Ue = /* @__PURE__ */ x(Te, [["__scopeId", "data-v-100b67ca"]]), Ve = { class: "layout-wrapper" }, Be = /* @__PURE__ */ D({
|
|
208
208
|
__name: "GridLayout",
|
|
209
209
|
props: {
|
|
210
210
|
gridNum: {},
|
|
@@ -216,8 +216,8 @@ const Ue = /* @__PURE__ */ D({
|
|
|
216
216
|
const e = t, r = n, s = (o) => {
|
|
217
217
|
r("update:activeIndex", o);
|
|
218
218
|
};
|
|
219
|
-
return (o, a) => (C(),
|
|
220
|
-
(C(!0),
|
|
219
|
+
return (o, a) => (C(), R("div", Ve, [
|
|
220
|
+
(C(!0), R(J, null, fe(e.gridNum, (h, i) => (C(), O(Ue, {
|
|
221
221
|
active: !1,
|
|
222
222
|
"grid-num": e.gridNum,
|
|
223
223
|
onItemClick: (u) => s(i)
|
|
@@ -226,125 +226,125 @@ const Ue = /* @__PURE__ */ D({
|
|
|
226
226
|
o.showFn(i) ? X(o.$slots, "default", {
|
|
227
227
|
key: 0,
|
|
228
228
|
index: i
|
|
229
|
-
}, void 0, !0) :
|
|
229
|
+
}, void 0, !0) : z("", !0)
|
|
230
230
|
]),
|
|
231
231
|
_: 2
|
|
232
232
|
}, 1032, ["grid-num", "onItemClick"]))), 256))
|
|
233
233
|
]));
|
|
234
234
|
}
|
|
235
|
-
}),
|
|
235
|
+
}), je = /* @__PURE__ */ x(Be, [["__scopeId", "data-v-661e2289"]]), Ae = /* @__PURE__ */ D({
|
|
236
236
|
__name: "DirectionControl",
|
|
237
237
|
emits: ["change"],
|
|
238
238
|
setup(t, { emit: n }) {
|
|
239
239
|
const e = n, r = (s) => {
|
|
240
240
|
e("change", s);
|
|
241
241
|
};
|
|
242
|
-
return (s, o) => (C(),
|
|
242
|
+
return (s, o) => (C(), R("div", {
|
|
243
243
|
class: "direction-control",
|
|
244
|
-
onDblclick: o[9] || (o[9] =
|
|
244
|
+
onDblclick: o[9] || (o[9] = y((a) => a.stopPropagation(), ["stop"]))
|
|
245
245
|
}, [
|
|
246
|
-
p(l(
|
|
246
|
+
p(l(w), {
|
|
247
247
|
content: l(m)("左上")
|
|
248
248
|
}, {
|
|
249
249
|
default: f(() => [
|
|
250
250
|
v("div", {
|
|
251
251
|
class: "icon icon-top-left",
|
|
252
|
-
onClick: o[0] || (o[0] =
|
|
252
|
+
onClick: o[0] || (o[0] = y((a) => r("leftUp"), ["stop"]))
|
|
253
253
|
})
|
|
254
254
|
]),
|
|
255
255
|
_: 1
|
|
256
256
|
}, 8, ["content"]),
|
|
257
|
-
p(l(
|
|
257
|
+
p(l(w), {
|
|
258
258
|
content: l(m)("上")
|
|
259
259
|
}, {
|
|
260
260
|
default: f(() => [
|
|
261
261
|
v("div", {
|
|
262
262
|
class: "icon icon-top",
|
|
263
|
-
onClick: o[1] || (o[1] =
|
|
263
|
+
onClick: o[1] || (o[1] = y((a) => r("up"), ["stop"]))
|
|
264
264
|
})
|
|
265
265
|
]),
|
|
266
266
|
_: 1
|
|
267
267
|
}, 8, ["content"]),
|
|
268
|
-
p(l(
|
|
268
|
+
p(l(w), {
|
|
269
269
|
content: l(m)("右上")
|
|
270
270
|
}, {
|
|
271
271
|
default: f(() => [
|
|
272
272
|
v("div", {
|
|
273
273
|
class: "icon icon-top-right",
|
|
274
|
-
onClick: o[2] || (o[2] =
|
|
274
|
+
onClick: o[2] || (o[2] = y((a) => r("rightUp"), ["stop"]))
|
|
275
275
|
})
|
|
276
276
|
]),
|
|
277
277
|
_: 1
|
|
278
278
|
}, 8, ["content"]),
|
|
279
|
-
p(l(
|
|
279
|
+
p(l(w), {
|
|
280
280
|
content: l(m)("左")
|
|
281
281
|
}, {
|
|
282
282
|
default: f(() => [
|
|
283
283
|
v("div", {
|
|
284
284
|
class: "icon icon-left",
|
|
285
|
-
onClick: o[3] || (o[3] =
|
|
285
|
+
onClick: o[3] || (o[3] = y((a) => r("left"), ["stop"]))
|
|
286
286
|
})
|
|
287
287
|
]),
|
|
288
288
|
_: 1
|
|
289
289
|
}, 8, ["content"]),
|
|
290
|
-
p(l(
|
|
290
|
+
p(l(w), {
|
|
291
291
|
content: l(m)("自动")
|
|
292
292
|
}, {
|
|
293
293
|
default: f(() => [
|
|
294
294
|
v("div", {
|
|
295
295
|
class: "icon icon-auto",
|
|
296
|
-
onClick: o[4] || (o[4] =
|
|
296
|
+
onClick: o[4] || (o[4] = y((a) => r("auto"), ["stop"]))
|
|
297
297
|
})
|
|
298
298
|
]),
|
|
299
299
|
_: 1
|
|
300
300
|
}, 8, ["content"]),
|
|
301
|
-
p(l(
|
|
301
|
+
p(l(w), {
|
|
302
302
|
content: l(m)("右")
|
|
303
303
|
}, {
|
|
304
304
|
default: f(() => [
|
|
305
305
|
v("div", {
|
|
306
306
|
class: "icon icon-right",
|
|
307
|
-
onClick: o[5] || (o[5] =
|
|
307
|
+
onClick: o[5] || (o[5] = y((a) => r("right"), ["stop"]))
|
|
308
308
|
})
|
|
309
309
|
]),
|
|
310
310
|
_: 1
|
|
311
311
|
}, 8, ["content"]),
|
|
312
|
-
p(l(
|
|
312
|
+
p(l(w), {
|
|
313
313
|
content: l(m)("左下")
|
|
314
314
|
}, {
|
|
315
315
|
default: f(() => [
|
|
316
316
|
v("div", {
|
|
317
317
|
class: "icon icon-bottom-left",
|
|
318
|
-
onClick: o[6] || (o[6] =
|
|
318
|
+
onClick: o[6] || (o[6] = y((a) => r("leftDown"), ["stop"]))
|
|
319
319
|
})
|
|
320
320
|
]),
|
|
321
321
|
_: 1
|
|
322
322
|
}, 8, ["content"]),
|
|
323
|
-
p(l(
|
|
323
|
+
p(l(w), {
|
|
324
324
|
content: l(m)("下")
|
|
325
325
|
}, {
|
|
326
326
|
default: f(() => [
|
|
327
327
|
v("div", {
|
|
328
328
|
class: "icon icon-bottom",
|
|
329
|
-
onClick: o[7] || (o[7] =
|
|
329
|
+
onClick: o[7] || (o[7] = y((a) => r("down"), ["stop"]))
|
|
330
330
|
})
|
|
331
331
|
]),
|
|
332
332
|
_: 1
|
|
333
333
|
}, 8, ["content"]),
|
|
334
|
-
p(l(
|
|
334
|
+
p(l(w), {
|
|
335
335
|
content: l(m)("右下")
|
|
336
336
|
}, {
|
|
337
337
|
default: f(() => [
|
|
338
338
|
v("div", {
|
|
339
339
|
class: "icon icon-bottom-right",
|
|
340
|
-
onClick: o[8] || (o[8] =
|
|
340
|
+
onClick: o[8] || (o[8] = y((a) => r("rightDown"), ["stop"]))
|
|
341
341
|
})
|
|
342
342
|
]),
|
|
343
343
|
_: 1
|
|
344
344
|
}, 8, ["content"])
|
|
345
345
|
], 32));
|
|
346
346
|
}
|
|
347
|
-
}), Qe = /* @__PURE__ */
|
|
347
|
+
}), Qe = /* @__PURE__ */ x(Ae, [["__scopeId", "data-v-84b1bc1f"]]), qe = { class: "video-wrapper" }, Ge = { class: "video-top" }, We = { class: "video-top_l" }, He = { class: "video-title-wrapper" }, Ye = { class: "video-title" }, Ze = { class: "video-top_r" }, Ke = {
|
|
348
348
|
key: 0,
|
|
349
349
|
class: "play-status"
|
|
350
350
|
}, Xe = { class: "video-bottom" }, Je = { class: "video-bottom_r" }, et = /* @__PURE__ */ D({
|
|
@@ -363,62 +363,62 @@ const Ue = /* @__PURE__ */ D({
|
|
|
363
363
|
emits: ["close", "directionControl", "zoomControl"],
|
|
364
364
|
setup(t, { emit: n }) {
|
|
365
365
|
const e = t, r = n;
|
|
366
|
-
|
|
366
|
+
ke({
|
|
367
367
|
muted: import("@das-fed/upf-ui/packages/icons/muted"),
|
|
368
368
|
volume: import("@das-fed/upf-ui/packages/icons/volume"),
|
|
369
369
|
shrink: import("@das-fed/upf-ui/packages/icons/shrink"),
|
|
370
370
|
enlarge: import("@das-fed/upf-ui/packages/icons/enlarge"),
|
|
371
371
|
"direction-control": import("@das-fed/upf-ui/packages/icons/direction-control")
|
|
372
372
|
});
|
|
373
|
-
const s =
|
|
373
|
+
const s = k(!0), o = k(), a = k(!1), h = k(), i = P(() => {
|
|
374
374
|
var d;
|
|
375
|
-
return (d =
|
|
376
|
-
}), u =
|
|
375
|
+
return (d = h.value) == null ? void 0 : d.video;
|
|
376
|
+
}), u = k(!1), c = k(!0), g = (d) => {
|
|
377
377
|
o.value = d, o.value.on(window.mpegts.Events.ERROR, (b) => {
|
|
378
378
|
});
|
|
379
|
-
},
|
|
379
|
+
}, _ = () => {
|
|
380
380
|
s.value = !s.value, o.value && (o.value.muted = s.value);
|
|
381
381
|
}, I = () => {
|
|
382
382
|
a.value = !a.value;
|
|
383
|
-
},
|
|
383
|
+
}, M = k(""), N = () => {
|
|
384
384
|
const d = document.createElement("canvas");
|
|
385
385
|
if (i.value) {
|
|
386
386
|
d.width = i.value.clientWidth, d.height = i.value.clientHeight;
|
|
387
387
|
const b = d.getContext("2d");
|
|
388
388
|
b == null || b.drawImage(i.value, 0, 0, d.width, d.height);
|
|
389
|
-
const
|
|
390
|
-
if (
|
|
391
|
-
const
|
|
392
|
-
|
|
389
|
+
const S = d.toDataURL("image/jpg"), ae = `【${e.title}】${be().format("YYYYMMDDHHmmss").toString()}.jpg`;
|
|
390
|
+
if (M.value = S, "download" in document.createElement("a")) {
|
|
391
|
+
const F = document.createElement("a");
|
|
392
|
+
F.download = ae, F.style.display = "none", F.href = S, document.body.appendChild(F), document.body.appendChild(d), F.click(), URL.revokeObjectURL(F.href), document.body.removeChild(F), document.body.removeChild(d);
|
|
393
393
|
}
|
|
394
394
|
}
|
|
395
395
|
}, se = (d) => {
|
|
396
396
|
r("directionControl", d);
|
|
397
|
-
},
|
|
397
|
+
}, B = (d) => {
|
|
398
398
|
r("zoomControl", d);
|
|
399
|
-
},
|
|
400
|
-
return
|
|
399
|
+
}, T = (d) => e.authType.includes(d);
|
|
400
|
+
return E(
|
|
401
401
|
() => i.value,
|
|
402
402
|
() => {
|
|
403
403
|
i.value && i.value.addEventListener("ended", () => {
|
|
404
404
|
u.value = !0, e.type === "playback" && (c.value = !1);
|
|
405
405
|
});
|
|
406
406
|
}
|
|
407
|
-
),
|
|
407
|
+
), E(
|
|
408
408
|
() => i.value,
|
|
409
409
|
() => {
|
|
410
|
-
i.value &&
|
|
410
|
+
i.value && L(() => {
|
|
411
411
|
i.value.playbackRate = e.playbackRate || 1;
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
|
-
),
|
|
414
|
+
), E(
|
|
415
415
|
() => o.value,
|
|
416
416
|
() => {
|
|
417
|
-
o.value &&
|
|
417
|
+
o.value && L(() => {
|
|
418
418
|
o.value.muted = s.value;
|
|
419
419
|
});
|
|
420
420
|
}
|
|
421
|
-
),
|
|
421
|
+
), E(
|
|
422
422
|
() => e.playbackRate,
|
|
423
423
|
() => {
|
|
424
424
|
i.value && (i.value.playbackRate = e.playbackRate || 1);
|
|
@@ -426,20 +426,20 @@ const Ue = /* @__PURE__ */ D({
|
|
|
426
426
|
{
|
|
427
427
|
immediate: !0
|
|
428
428
|
}
|
|
429
|
-
),
|
|
429
|
+
), E(
|
|
430
430
|
() => e.paused,
|
|
431
431
|
() => {
|
|
432
432
|
o.value && (e.paused ? o.value.pause() : o.value.play());
|
|
433
433
|
}
|
|
434
|
-
),
|
|
434
|
+
), E(
|
|
435
435
|
() => e.videoUrl,
|
|
436
436
|
() => {
|
|
437
|
-
c.value = !1,
|
|
437
|
+
c.value = !1, L(() => {
|
|
438
438
|
c.value = !0;
|
|
439
439
|
});
|
|
440
440
|
}
|
|
441
|
-
), (d, b) => (C(),
|
|
442
|
-
p(l(
|
|
441
|
+
), (d, b) => (C(), R("div", qe, [
|
|
442
|
+
p(l(we), {
|
|
443
443
|
spinning: e.loading,
|
|
444
444
|
type: "component",
|
|
445
445
|
tip: l(m)("加载中...")
|
|
@@ -448,110 +448,110 @@ const Ue = /* @__PURE__ */ D({
|
|
|
448
448
|
v("div", Ge, [
|
|
449
449
|
v("div", We, [
|
|
450
450
|
v("div", He, [
|
|
451
|
-
v("div", Ye,
|
|
451
|
+
v("div", Ye, U(e.title.length > 20 ? e.title.slice(0, 19) + "..." : e.title), 1)
|
|
452
452
|
])
|
|
453
453
|
]),
|
|
454
454
|
v("div", Ze, [
|
|
455
|
-
["live"].includes(d.type) ? (C(),
|
|
455
|
+
["live"].includes(d.type) ? (C(), R("span", Ke, U(l(m)("正在实时预览")), 1)) : z("", !0)
|
|
456
456
|
])
|
|
457
457
|
]),
|
|
458
|
-
e.videoUrl && c.value ? (C(),
|
|
458
|
+
e.videoUrl && c.value ? (C(), O(l(_e), {
|
|
459
459
|
key: 0,
|
|
460
460
|
type: "flv",
|
|
461
461
|
ref_key: "dasLivePlayerRef",
|
|
462
|
-
ref:
|
|
462
|
+
ref: h,
|
|
463
463
|
muted: s.value,
|
|
464
464
|
onLoaded: g,
|
|
465
465
|
src: e.videoUrl
|
|
466
|
-
}, null, 8, ["muted", "src"])) :
|
|
466
|
+
}, null, 8, ["muted", "src"])) : z("", !0),
|
|
467
467
|
v("div", Xe, [
|
|
468
468
|
b[3] || (b[3] = v("div", { class: "video-bottom_l" }, null, -1)),
|
|
469
469
|
v("div", Je, [
|
|
470
470
|
v("div", {
|
|
471
471
|
class: "controls",
|
|
472
|
-
onDblclick: b[2] || (b[2] =
|
|
472
|
+
onDblclick: b[2] || (b[2] = y((S) => S.stopPropagation(), ["stop"]))
|
|
473
473
|
}, [
|
|
474
|
-
p(l(
|
|
474
|
+
p(l(w), {
|
|
475
475
|
content: l(m)("声音")
|
|
476
476
|
}, {
|
|
477
477
|
default: f(() => [
|
|
478
|
-
p(l(
|
|
478
|
+
p(l($), {
|
|
479
479
|
class: "icon icon-volume",
|
|
480
480
|
icon: s.value ? "muted" : "volume",
|
|
481
|
-
onClick:
|
|
481
|
+
onClick: y(_, ["stop"])
|
|
482
482
|
}, null, 8, ["icon"])
|
|
483
483
|
]),
|
|
484
484
|
_: 1
|
|
485
485
|
}, 8, ["content"]),
|
|
486
|
-
p(l(
|
|
486
|
+
p(l(w), {
|
|
487
487
|
content: l(m)("截图")
|
|
488
488
|
}, {
|
|
489
489
|
default: f(() => [
|
|
490
|
-
p(l(
|
|
490
|
+
p(l($), {
|
|
491
491
|
class: "icon icon-screenshot",
|
|
492
492
|
icon: "screenshot",
|
|
493
|
-
onClick:
|
|
493
|
+
onClick: y(N, ["stop"])
|
|
494
494
|
})
|
|
495
495
|
]),
|
|
496
496
|
_: 1
|
|
497
497
|
}, 8, ["content"]),
|
|
498
|
-
|
|
498
|
+
T("control") ? (C(), O(l(w), {
|
|
499
499
|
key: 0,
|
|
500
500
|
content: l(m)("聚焦-")
|
|
501
501
|
}, {
|
|
502
502
|
default: f(() => [
|
|
503
|
-
["live", "polling"].includes(e.type) ? (C(),
|
|
503
|
+
["live", "polling"].includes(e.type) ? (C(), O(l($), {
|
|
504
504
|
key: 0,
|
|
505
505
|
class: "icon icon-shrink",
|
|
506
506
|
icon: "shrink",
|
|
507
|
-
onClick: b[0] || (b[0] =
|
|
508
|
-
})) :
|
|
507
|
+
onClick: b[0] || (b[0] = y((S) => B("zoomOut"), ["stop"]))
|
|
508
|
+
})) : z("", !0)
|
|
509
509
|
]),
|
|
510
510
|
_: 1
|
|
511
|
-
}, 8, ["content"])) :
|
|
512
|
-
|
|
511
|
+
}, 8, ["content"])) : z("", !0),
|
|
512
|
+
T("control") ? (C(), O(l(w), {
|
|
513
513
|
key: 1,
|
|
514
514
|
content: l(m)("聚焦+")
|
|
515
515
|
}, {
|
|
516
516
|
default: f(() => [
|
|
517
|
-
["live", "polling"].includes(e.type) ? (C(),
|
|
517
|
+
["live", "polling"].includes(e.type) ? (C(), O(l($), {
|
|
518
518
|
key: 0,
|
|
519
519
|
class: "icon icon-enlarge",
|
|
520
520
|
icon: "enlarge",
|
|
521
|
-
onClick: b[1] || (b[1] =
|
|
522
|
-
})) :
|
|
521
|
+
onClick: b[1] || (b[1] = y((S) => B("zoomIn"), ["stop"]))
|
|
522
|
+
})) : z("", !0)
|
|
523
523
|
]),
|
|
524
524
|
_: 1
|
|
525
|
-
}, 8, ["content"])) :
|
|
526
|
-
|
|
525
|
+
}, 8, ["content"])) : z("", !0),
|
|
526
|
+
T("control") ? (C(), O(l(w), {
|
|
527
527
|
key: 2,
|
|
528
528
|
content: l(m)("方向控制")
|
|
529
529
|
}, {
|
|
530
530
|
default: f(() => [
|
|
531
|
-
["live", "polling"].includes(e.type) ? (C(),
|
|
531
|
+
["live", "polling"].includes(e.type) ? (C(), O(l($), {
|
|
532
532
|
key: 0,
|
|
533
533
|
class: "icon icon-direction-control",
|
|
534
534
|
icon: "direction-control",
|
|
535
|
-
onClick:
|
|
536
|
-
})) :
|
|
535
|
+
onClick: y(I, ["stop"])
|
|
536
|
+
})) : z("", !0)
|
|
537
537
|
]),
|
|
538
538
|
_: 1
|
|
539
|
-
}, 8, ["content"])) :
|
|
539
|
+
}, 8, ["content"])) : z("", !0)
|
|
540
540
|
], 32)
|
|
541
541
|
])
|
|
542
542
|
]),
|
|
543
|
-
a.value ? (C(),
|
|
543
|
+
a.value ? (C(), O(Qe, {
|
|
544
544
|
key: 1,
|
|
545
545
|
onChange: se
|
|
546
|
-
})) :
|
|
546
|
+
})) : z("", !0)
|
|
547
547
|
]),
|
|
548
548
|
_: 1
|
|
549
549
|
}, 8, ["spinning", "tip"])
|
|
550
550
|
]));
|
|
551
551
|
}
|
|
552
|
-
}), tt = /* @__PURE__ */
|
|
552
|
+
}), tt = /* @__PURE__ */ x(et, [["__scopeId", "data-v-f810def3"]]), ot = "/api/device-relation/deviceproject/v1/project/device/video", nt = "v1", lt = ee(`/api/enterpriseright/permission/${nt}`), re = ee(`${ot}`, rt);
|
|
553
553
|
function rt(t) {
|
|
554
|
-
const n =
|
|
554
|
+
const n = j() ? j().id : 1;
|
|
555
555
|
return t.params || (t.params = {}), t.params.project = n, t.params.projectId = n, t;
|
|
556
556
|
}
|
|
557
557
|
function ie(t) {
|
|
@@ -571,7 +571,7 @@ const st = (t) => {
|
|
|
571
571
|
const n = Ie();
|
|
572
572
|
return `${t}?token=${n}`;
|
|
573
573
|
};
|
|
574
|
-
|
|
574
|
+
k([]);
|
|
575
575
|
const at = /* @__PURE__ */ D({
|
|
576
576
|
props: {
|
|
577
577
|
deviceInfo: {
|
|
@@ -588,7 +588,7 @@ const at = /* @__PURE__ */ D({
|
|
|
588
588
|
const {
|
|
589
589
|
deviceInfo: e,
|
|
590
590
|
source: r
|
|
591
|
-
} = me(t), s =
|
|
591
|
+
} = me(t), s = k(!1), o = k(""), a = async () => {
|
|
592
592
|
var g;
|
|
593
593
|
if (!((g = e.value) != null && g.deviceId)) return;
|
|
594
594
|
s.value = !0;
|
|
@@ -598,7 +598,7 @@ const at = /* @__PURE__ */ D({
|
|
|
598
598
|
source: r.value
|
|
599
599
|
});
|
|
600
600
|
u || (o.value = st(c == null ? void 0 : c.wsFlvStreamURL)), s.value = !1;
|
|
601
|
-
},
|
|
601
|
+
}, h = (u) => {
|
|
602
602
|
Z({
|
|
603
603
|
productId: e.value.productId,
|
|
604
604
|
deviceId: e.value.deviceId,
|
|
@@ -617,20 +617,20 @@ const at = /* @__PURE__ */ D({
|
|
|
617
617
|
};
|
|
618
618
|
return K(() => {
|
|
619
619
|
a();
|
|
620
|
-
}),
|
|
620
|
+
}), E(() => e.value, () => {
|
|
621
621
|
a();
|
|
622
622
|
}, {
|
|
623
623
|
deep: !0
|
|
624
624
|
}), () => p(J, null, [n.default({
|
|
625
625
|
videoUrl: o.value,
|
|
626
626
|
loading: s.value,
|
|
627
|
-
onDirectionControl:
|
|
627
|
+
onDirectionControl: h,
|
|
628
628
|
onZoomControl: i
|
|
629
629
|
})]);
|
|
630
630
|
}
|
|
631
631
|
});
|
|
632
632
|
function ct(t) {
|
|
633
|
-
const n =
|
|
633
|
+
const n = k(0), e = k(), {
|
|
634
634
|
toggle: r,
|
|
635
635
|
isFullscreen: s,
|
|
636
636
|
exit: o
|
|
@@ -638,7 +638,7 @@ function ct(t) {
|
|
|
638
638
|
s.value && o();
|
|
639
639
|
};
|
|
640
640
|
return {
|
|
641
|
-
render: () => p(
|
|
641
|
+
render: () => p(je, {
|
|
642
642
|
ref: e,
|
|
643
643
|
gridNum: t.gridNum,
|
|
644
644
|
activeIndex: n.value,
|
|
@@ -655,17 +655,17 @@ function ct(t) {
|
|
|
655
655
|
}, {
|
|
656
656
|
default: ({
|
|
657
657
|
videoUrl: g,
|
|
658
|
-
onDirectionControl:
|
|
658
|
+
onDirectionControl: _,
|
|
659
659
|
onZoomControl: I,
|
|
660
|
-
loading:
|
|
660
|
+
loading: M
|
|
661
661
|
}) => p(tt, {
|
|
662
662
|
type: "live",
|
|
663
|
-
loading:
|
|
663
|
+
loading: M,
|
|
664
664
|
isFullscreen: s.value,
|
|
665
665
|
videoUrl: g,
|
|
666
666
|
title: u.deviceName,
|
|
667
667
|
onClose: () => a(),
|
|
668
|
-
onDirectionControl:
|
|
668
|
+
onDirectionControl: _,
|
|
669
669
|
onZoomControl: I,
|
|
670
670
|
authType: u.authType === 2 ? ["control"] : []
|
|
671
671
|
}, null)
|
|
@@ -685,10 +685,10 @@ const ut = /* @__PURE__ */ D({
|
|
|
685
685
|
},
|
|
686
686
|
emits: ["update:visible"],
|
|
687
687
|
setup(t, { emit: n }) {
|
|
688
|
-
const e = t, r = n, s =
|
|
688
|
+
const e = t, r = n, s = P({
|
|
689
689
|
get: () => e.visible,
|
|
690
690
|
set: (i) => r("update:visible", i)
|
|
691
|
-
}), { render: o, toggleFullscreen: a } = ct(e),
|
|
691
|
+
}), { render: o, toggleFullscreen: a } = ct(e), h = P(() => {
|
|
692
692
|
let i = {};
|
|
693
693
|
switch (e.gridNum) {
|
|
694
694
|
case 1:
|
|
@@ -703,10 +703,10 @@ const ut = /* @__PURE__ */ D({
|
|
|
703
703
|
}
|
|
704
704
|
return i;
|
|
705
705
|
});
|
|
706
|
-
return (i, u) => (C(),
|
|
706
|
+
return (i, u) => (C(), O(l(he), {
|
|
707
707
|
size: "mini",
|
|
708
708
|
title: l(m)("视频监控"),
|
|
709
|
-
"custom-class": `das-linakge-video-dialog ${
|
|
709
|
+
"custom-class": `das-linakge-video-dialog ${h.value}`,
|
|
710
710
|
modelValue: s.value,
|
|
711
711
|
"onUpdate:modelValue": u[0] || (u[0] = (c) => s.value = c),
|
|
712
712
|
bodyStyle: { padding: 0 },
|
|
@@ -717,13 +717,13 @@ const ut = /* @__PURE__ */ D({
|
|
|
717
717
|
}, {
|
|
718
718
|
header: f(() => [
|
|
719
719
|
v("div", null, [
|
|
720
|
-
v("span", null,
|
|
720
|
+
v("span", null, U(l(m)("视频监控")), 1)
|
|
721
721
|
]),
|
|
722
|
-
p(l(
|
|
722
|
+
p(l(w), {
|
|
723
723
|
content: l(m)("页面全屏")
|
|
724
724
|
}, {
|
|
725
725
|
default: f(() => [
|
|
726
|
-
p(l(
|
|
726
|
+
p(l(ye), {
|
|
727
727
|
class: "icon",
|
|
728
728
|
color: "#999",
|
|
729
729
|
onClick: l(a)
|
|
@@ -733,37 +733,37 @@ const ut = /* @__PURE__ */ D({
|
|
|
733
733
|
}, 8, ["content"])
|
|
734
734
|
]),
|
|
735
735
|
default: f(() => [
|
|
736
|
-
s.value ? (C(),
|
|
736
|
+
s.value ? (C(), O(l(o), { key: 0 })) : z("", !0)
|
|
737
737
|
]),
|
|
738
738
|
_: 1
|
|
739
739
|
}, 8, ["title", "custom-class", "modelValue"]));
|
|
740
740
|
}
|
|
741
741
|
}), dt = {
|
|
742
|
-
加载中: { "zh-CN": "加载中", en: "Loading", _appCode: "framework" },
|
|
743
|
-
正在实时预览: { "zh-CN": "正在实时预览", en: "Real-time Video", _appCode: "framework" },
|
|
744
|
-
声音: { "zh-CN": "声音", en: "Sound", _appCode: "framework" },
|
|
745
|
-
截图: { "zh-CN": "截图", en: "Screenshot", _appCode: "framework" },
|
|
746
|
-
聚焦: { "zh-CN": "聚焦", en: "Focus", _appCode: "framework" },
|
|
747
|
-
方向控制: { "zh-CN": "方向控制", en: "Direction Control", _appCode: "framework" },
|
|
748
|
-
左上: { "zh-CN": "左上", en: "Top Left", _appCode: "framework" },
|
|
749
|
-
上: { "zh-CN": "上", en: "Up", _appCode: "framework" },
|
|
750
|
-
右上: { "zh-CN": "右上", en: "Top Right", _appCode: "framework" },
|
|
751
|
-
左: { "zh-CN": "左", en: "Left", _appCode: "framework" },
|
|
752
|
-
自动: { "zh-CN": "自动", en: "Auto", _appCode: "framework" },
|
|
753
|
-
右: { "zh-CN": "右", en: "Right", _appCode: "framework" },
|
|
754
|
-
左下: { "zh-CN": "左下", en: "Bottom Left", _appCode: "framework" },
|
|
755
|
-
下: { "zh-CN": "下", en: "Down", _appCode: "framework" },
|
|
756
|
-
右下: { "zh-CN": "右下", en: "Bottom Right", _appCode: "framework" },
|
|
757
|
-
视频监控: { "zh-CN": "视频监控", en: "Video Surveillance", _appCode: "framework" },
|
|
758
|
-
页面全屏: { "zh-CN": "页面全屏", en: "Full Screen", _appCode: "framework" },
|
|
759
|
-
"加载中...": { "zh-CN": "加载中...", en: "Loading...", _appCode: "framework" },
|
|
760
|
-
"聚焦-": { "zh-CN": "聚焦-", en: "Focus-", _appCode: "framework" },
|
|
761
|
-
"聚焦+": { "zh-CN": "聚焦+", en: "Focus+", _appCode: "framework" }
|
|
742
|
+
加载中: { "zh-CN": "加载中", en: "Loading", "zh-MO": "加載中", _appCode: "framework" },
|
|
743
|
+
正在实时预览: { "zh-CN": "正在实时预览", en: "Real-time Video", "zh-MO": "正在實時預覽", _appCode: "framework" },
|
|
744
|
+
声音: { "zh-CN": "声音", en: "Sound", "zh-MO": "聲音", _appCode: "framework" },
|
|
745
|
+
截图: { "zh-CN": "截图", en: "Screenshot", "zh-MO": "截圖", _appCode: "framework" },
|
|
746
|
+
聚焦: { "zh-CN": "聚焦", en: "Focus", "zh-MO": "聚焦", _appCode: "framework" },
|
|
747
|
+
方向控制: { "zh-CN": "方向控制", en: "Direction Control", "zh-MO": "方向控制", _appCode: "framework" },
|
|
748
|
+
左上: { "zh-CN": "左上", en: "Top Left", "zh-MO": "左上", _appCode: "framework" },
|
|
749
|
+
上: { "zh-CN": "上", en: "Up", "zh-MO": "上", _appCode: "framework" },
|
|
750
|
+
右上: { "zh-CN": "右上", en: "Top Right", "zh-MO": "右上", _appCode: "framework" },
|
|
751
|
+
左: { "zh-CN": "左", en: "Left", "zh-MO": "左", _appCode: "framework" },
|
|
752
|
+
自动: { "zh-CN": "自动", en: "Auto", "zh-MO": "自動", _appCode: "framework" },
|
|
753
|
+
右: { "zh-CN": "右", en: "Right", "zh-MO": "右", _appCode: "framework" },
|
|
754
|
+
左下: { "zh-CN": "左下", en: "Bottom Left", "zh-MO": "左下", _appCode: "framework" },
|
|
755
|
+
下: { "zh-CN": "下", en: "Down", "zh-MO": "下", _appCode: "framework" },
|
|
756
|
+
右下: { "zh-CN": "右下", en: "Bottom Right", "zh-MO": "右下", _appCode: "framework" },
|
|
757
|
+
视频监控: { "zh-CN": "视频监控", en: "Video Surveillance", "zh-MO": "視頻監控", _appCode: "framework" },
|
|
758
|
+
页面全屏: { "zh-CN": "页面全屏", en: "Full Screen", "zh-MO": "頁面全屏", _appCode: "framework" },
|
|
759
|
+
"加载中...": { "zh-CN": "加载中...", en: "Loading...", "zh-MO": "加載中...", _appCode: "framework" },
|
|
760
|
+
"聚焦-": { "zh-CN": "聚焦-", en: "Focus-", "zh-MO": "聚焦-", _appCode: "framework" },
|
|
761
|
+
"聚焦+": { "zh-CN": "聚焦+", en: "Focus+", "zh-MO": "聚焦+", _appCode: "framework" }
|
|
762
762
|
};
|
|
763
763
|
Ce(dt);
|
|
764
|
-
const It = ge(ut),
|
|
764
|
+
const It = ge(ut), zt = () => k(null);
|
|
765
765
|
export {
|
|
766
766
|
It as DasVideoDialog,
|
|
767
|
-
|
|
767
|
+
zt as DasVideoDialogRef,
|
|
768
768
|
ct as useVideo
|
|
769
769
|
};
|