@das-fed/ui 7.0.5-test.13 → 7.0.5-test.15
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/video-dialog/index.js +102 -101
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/components/dialog/index.d.ts +3 -0
- package/packages/components/dialog/index.js +8 -7
- package/packages/components/dialog/index.js.gz +0 -0
- package/packages/components/dialog/src/Index.vue.d.ts +1 -0
- package/packages/components/dialog/src/type.d.ts +2 -0
- package/packages/components/dialog/style.css +1 -1
- package/packages/components/dialog/style.css.gz +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@das-fed/ui",
|
|
3
|
-
"version": "7.0.5-test.
|
|
3
|
+
"version": "7.0.5-test.15",
|
|
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": "7.0.5-test.
|
|
29
|
+
"@das-fed/cli": "7.0.5-test.15",
|
|
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": "7.0.5-test.
|
|
60
|
-
"@das-fed/utils": "7.0.5-test.
|
|
61
|
-
"@das-fed/web": "7.0.5-test.
|
|
59
|
+
"@das-fed/ui": "7.0.5-test.15",
|
|
60
|
+
"@das-fed/utils": "7.0.5-test.15",
|
|
61
|
+
"@das-fed/web": "7.0.5-test.15",
|
|
62
62
|
"@types/markdown-it": "^14.1.2",
|
|
63
63
|
"@wangeditor-next/editor": "5.6.31",
|
|
64
64
|
"@wangeditor-next/editor-for-vue": "5.1.14",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/business-components/video-dialog/style.css';
|
|
2
|
-
import { getCurrentScope as ue, onScopeDispose as de, getCurrentInstance as pe, onMounted as te, nextTick as x, unref as l, ref as w, watch as
|
|
3
|
-
import { withInstall as
|
|
4
|
-
import { t as
|
|
2
|
+
import { getCurrentScope as ue, onScopeDispose as de, getCurrentInstance as pe, onMounted as te, nextTick as x, unref as l, ref as w, watch as S, defineComponent as U, useCssVars as ve, computed as P, createElementBlock as z, openBlock as v, normalizeClass as fe, renderSlot as oe, createCommentVNode as I, Fragment as B, renderList as me, createBlock as R, withCtx as C, withModifiers as h, createVNode as f, createElementVNode as m, toDisplayString as j, toRefs as ge, mergeProps as Ce } from "vue";
|
|
3
|
+
import { withInstall as ye } from "@das-fed/utils/with-install/index";
|
|
4
|
+
import { t as y, setI18nRule as ke } from "@das-fed/web/packages/i18n/index";
|
|
5
5
|
import { DasDialog as he } from "@das-fed/ui/packages/components/dialog/index";
|
|
6
6
|
import { DasTooltip as _ } from "@das-fed/ui/packages/components/tooltip/index";
|
|
7
7
|
import { DasIconFullscreen2 as we } from "@das-fed/ui/packages/icons/fullscreen-2/index";
|
|
@@ -11,15 +11,15 @@ import { DasSpin as Ie } from "@das-fed/ui/packages/components/spin/index";
|
|
|
11
11
|
import { DasHlsPlayer as Ee } from "@das-fed/ui/packages/components/hls-player/index";
|
|
12
12
|
import Re from "dayjs";
|
|
13
13
|
import { createService as M } from "@das-fed/utils/api-services/src/create-service";
|
|
14
|
-
import { getProjectInfo as q, getToken as
|
|
14
|
+
import { getProjectInfo as q, getToken as Ne } from "@das-fed/utils/common-info";
|
|
15
15
|
var G;
|
|
16
|
-
const A = typeof window < "u",
|
|
16
|
+
const A = typeof window < "u", Se = (t) => typeof t == "string", ze = () => {
|
|
17
17
|
};
|
|
18
18
|
A && ((G = window == null ? void 0 : window.navigator) != null && G.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
19
19
|
function ne(t) {
|
|
20
20
|
return typeof t == "function" ? t() : l(t);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function Fe(t) {
|
|
23
23
|
return t;
|
|
24
24
|
}
|
|
25
25
|
function le(t) {
|
|
@@ -33,15 +33,15 @@ function ie(t) {
|
|
|
33
33
|
const e = ne(t);
|
|
34
34
|
return (n = e == null ? void 0 : e.$el) != null ? n : e;
|
|
35
35
|
}
|
|
36
|
-
const Oe = A ? window : void 0,
|
|
37
|
-
function
|
|
36
|
+
const Oe = A ? window : void 0, Ue = A ? window.document : void 0;
|
|
37
|
+
function De(...t) {
|
|
38
38
|
let n, e, i, r;
|
|
39
|
-
if (
|
|
40
|
-
return
|
|
39
|
+
if (Se(t[0]) || Array.isArray(t[0]) ? ([e, i, r] = t, n = Oe) : [n, e, i, r] = t, !n)
|
|
40
|
+
return ze;
|
|
41
41
|
Array.isArray(e) || (e = [e]), Array.isArray(i) || (i = [i]);
|
|
42
42
|
const o = [], c = () => {
|
|
43
43
|
o.forEach((a) => a()), o.length = 0;
|
|
44
|
-
}, g = (a, p, k, b) => (a.addEventListener(p, k, b), () => a.removeEventListener(p, k, b)), u =
|
|
44
|
+
}, g = (a, p, k, b) => (a.addEventListener(p, k, b), () => a.removeEventListener(p, k, b)), u = S(() => [ie(n), ne(r)], ([a, p]) => {
|
|
45
45
|
c(), a && o.push(...e.flatMap((k) => i.map((b) => g(a, k, b, p))));
|
|
46
46
|
}, { immediate: !0, flush: "post" }), s = () => {
|
|
47
47
|
u(), c();
|
|
@@ -97,13 +97,13 @@ const Z = [
|
|
|
97
97
|
]
|
|
98
98
|
];
|
|
99
99
|
function ae(t, n = {}) {
|
|
100
|
-
const { document: e =
|
|
100
|
+
const { document: e = Ue, autoExit: i = !1 } = n, r = t || (e == null ? void 0 : e.querySelector("html")), o = w(!1);
|
|
101
101
|
let c = Z[0];
|
|
102
102
|
const g = $e(() => {
|
|
103
103
|
if (e) {
|
|
104
|
-
for (const
|
|
105
|
-
if (
|
|
106
|
-
return c =
|
|
104
|
+
for (const N of Z)
|
|
105
|
+
if (N[1] in e)
|
|
106
|
+
return c = N, !0;
|
|
107
107
|
} else
|
|
108
108
|
return !1;
|
|
109
109
|
return !1;
|
|
@@ -115,20 +115,20 @@ function ae(t, n = {}) {
|
|
|
115
115
|
if (!g.value)
|
|
116
116
|
return;
|
|
117
117
|
await k();
|
|
118
|
-
const
|
|
119
|
-
|
|
118
|
+
const N = ie(r);
|
|
119
|
+
N && (await N[u](), o.value = !0);
|
|
120
120
|
}
|
|
121
|
-
async function
|
|
121
|
+
async function F() {
|
|
122
122
|
o.value ? await k() : await b();
|
|
123
123
|
}
|
|
124
|
-
return e &&
|
|
124
|
+
return e && De(e, p, () => {
|
|
125
125
|
o.value = !!(e != null && e[a]);
|
|
126
126
|
}, !1), i && le(k), {
|
|
127
127
|
isSupported: g,
|
|
128
128
|
isFullscreen: o,
|
|
129
129
|
enter: b,
|
|
130
130
|
exit: k,
|
|
131
|
-
toggle:
|
|
131
|
+
toggle: F
|
|
132
132
|
};
|
|
133
133
|
}
|
|
134
134
|
var K;
|
|
@@ -170,9 +170,9 @@ const He = {
|
|
|
170
170
|
easeInOutBack: [0.68, -0.6, 0.32, 1.6]
|
|
171
171
|
};
|
|
172
172
|
Be({
|
|
173
|
-
linear:
|
|
173
|
+
linear: Fe
|
|
174
174
|
}, He);
|
|
175
|
-
const Ve = /* @__PURE__ */
|
|
175
|
+
const Ve = /* @__PURE__ */ U({
|
|
176
176
|
__name: "GridItem",
|
|
177
177
|
props: {
|
|
178
178
|
active: { type: Boolean },
|
|
@@ -188,7 +188,7 @@ const Ve = /* @__PURE__ */ D({
|
|
|
188
188
|
}, g = () => {
|
|
189
189
|
i("itemClick");
|
|
190
190
|
}, u = P(() => `calc(100% / ${Math.sqrt(e.gridNum)})`);
|
|
191
|
-
return (s, a) => (v(),
|
|
191
|
+
return (s, a) => (v(), z(
|
|
192
192
|
"div",
|
|
193
193
|
{
|
|
194
194
|
ref_key: "containerRef",
|
|
@@ -209,7 +209,7 @@ const Ve = /* @__PURE__ */ D({
|
|
|
209
209
|
for (const [i, r] of n)
|
|
210
210
|
e[i] = r;
|
|
211
211
|
return e;
|
|
212
|
-
}, je = /* @__PURE__ */ H(Ve, [["__scopeId", "data-v-97d987a9"]]), Me = { class: "layout-wrapper" }, Ae = /* @__PURE__ */
|
|
212
|
+
}, je = /* @__PURE__ */ H(Ve, [["__scopeId", "data-v-97d987a9"]]), Me = { class: "layout-wrapper" }, Ae = /* @__PURE__ */ U({
|
|
213
213
|
__name: "GridLayout",
|
|
214
214
|
props: {
|
|
215
215
|
gridNum: {},
|
|
@@ -221,9 +221,9 @@ const Ve = /* @__PURE__ */ D({
|
|
|
221
221
|
const e = t, i = n, r = (o) => {
|
|
222
222
|
i("update:activeIndex", o);
|
|
223
223
|
};
|
|
224
|
-
return (o, c) => (v(),
|
|
224
|
+
return (o, c) => (v(), z("div", Me, [
|
|
225
225
|
I(' :active="index === activeIndex" '),
|
|
226
|
-
(v(!0),
|
|
226
|
+
(v(!0), z(
|
|
227
227
|
B,
|
|
228
228
|
null,
|
|
229
229
|
me(e.gridNum, (g, u) => (v(), R(je, {
|
|
@@ -231,7 +231,7 @@ const Ve = /* @__PURE__ */ D({
|
|
|
231
231
|
"grid-num": e.gridNum,
|
|
232
232
|
onItemClick: (s) => r(u)
|
|
233
233
|
}, {
|
|
234
|
-
default:
|
|
234
|
+
default: C(() => [
|
|
235
235
|
o.showFn(u) ? oe(o.$slots, "default", {
|
|
236
236
|
key: 0,
|
|
237
237
|
index: u
|
|
@@ -245,14 +245,14 @@ const Ve = /* @__PURE__ */ D({
|
|
|
245
245
|
))
|
|
246
246
|
]));
|
|
247
247
|
}
|
|
248
|
-
}), Qe = /* @__PURE__ */ H(Ae, [["__scopeId", "data-v-661e2289"]]), qe = /* @__PURE__ */
|
|
248
|
+
}), Qe = /* @__PURE__ */ H(Ae, [["__scopeId", "data-v-661e2289"]]), qe = /* @__PURE__ */ U({
|
|
249
249
|
__name: "DirectionControl",
|
|
250
250
|
emits: ["change"],
|
|
251
251
|
setup(t, { emit: n }) {
|
|
252
252
|
const e = n, i = (r) => {
|
|
253
253
|
e("change", r);
|
|
254
254
|
};
|
|
255
|
-
return (r, o) => (v(),
|
|
255
|
+
return (r, o) => (v(), z(
|
|
256
256
|
"div",
|
|
257
257
|
{
|
|
258
258
|
class: "direction-control",
|
|
@@ -260,9 +260,9 @@ const Ve = /* @__PURE__ */ D({
|
|
|
260
260
|
},
|
|
261
261
|
[
|
|
262
262
|
f(l(_), {
|
|
263
|
-
content: l(
|
|
263
|
+
content: l(y)("左上")
|
|
264
264
|
}, {
|
|
265
|
-
default:
|
|
265
|
+
default: C(() => [
|
|
266
266
|
m("div", {
|
|
267
267
|
class: "icon icon-top-left",
|
|
268
268
|
onClick: o[0] || (o[0] = h((c) => i("leftUp"), ["stop"]))
|
|
@@ -272,9 +272,9 @@ const Ve = /* @__PURE__ */ D({
|
|
|
272
272
|
/* STABLE */
|
|
273
273
|
}, 8, ["content"]),
|
|
274
274
|
f(l(_), {
|
|
275
|
-
content: l(
|
|
275
|
+
content: l(y)("上")
|
|
276
276
|
}, {
|
|
277
|
-
default:
|
|
277
|
+
default: C(() => [
|
|
278
278
|
m("div", {
|
|
279
279
|
class: "icon icon-top",
|
|
280
280
|
onClick: o[1] || (o[1] = h((c) => i("up"), ["stop"]))
|
|
@@ -284,9 +284,9 @@ const Ve = /* @__PURE__ */ D({
|
|
|
284
284
|
/* STABLE */
|
|
285
285
|
}, 8, ["content"]),
|
|
286
286
|
f(l(_), {
|
|
287
|
-
content: l(
|
|
287
|
+
content: l(y)("右上")
|
|
288
288
|
}, {
|
|
289
|
-
default:
|
|
289
|
+
default: C(() => [
|
|
290
290
|
m("div", {
|
|
291
291
|
class: "icon icon-top-right",
|
|
292
292
|
onClick: o[2] || (o[2] = h((c) => i("rightUp"), ["stop"]))
|
|
@@ -296,9 +296,9 @@ const Ve = /* @__PURE__ */ D({
|
|
|
296
296
|
/* STABLE */
|
|
297
297
|
}, 8, ["content"]),
|
|
298
298
|
f(l(_), {
|
|
299
|
-
content: l(
|
|
299
|
+
content: l(y)("左")
|
|
300
300
|
}, {
|
|
301
|
-
default:
|
|
301
|
+
default: C(() => [
|
|
302
302
|
m("div", {
|
|
303
303
|
class: "icon icon-left",
|
|
304
304
|
onClick: o[3] || (o[3] = h((c) => i("left"), ["stop"]))
|
|
@@ -308,9 +308,9 @@ const Ve = /* @__PURE__ */ D({
|
|
|
308
308
|
/* STABLE */
|
|
309
309
|
}, 8, ["content"]),
|
|
310
310
|
f(l(_), {
|
|
311
|
-
content: l(
|
|
311
|
+
content: l(y)("自动")
|
|
312
312
|
}, {
|
|
313
|
-
default:
|
|
313
|
+
default: C(() => [
|
|
314
314
|
m("div", {
|
|
315
315
|
class: "icon icon-auto",
|
|
316
316
|
onClick: o[4] || (o[4] = h((c) => i("auto"), ["stop"]))
|
|
@@ -320,9 +320,9 @@ const Ve = /* @__PURE__ */ D({
|
|
|
320
320
|
/* STABLE */
|
|
321
321
|
}, 8, ["content"]),
|
|
322
322
|
f(l(_), {
|
|
323
|
-
content: l(
|
|
323
|
+
content: l(y)("右")
|
|
324
324
|
}, {
|
|
325
|
-
default:
|
|
325
|
+
default: C(() => [
|
|
326
326
|
m("div", {
|
|
327
327
|
class: "icon icon-right",
|
|
328
328
|
onClick: o[5] || (o[5] = h((c) => i("right"), ["stop"]))
|
|
@@ -332,9 +332,9 @@ const Ve = /* @__PURE__ */ D({
|
|
|
332
332
|
/* STABLE */
|
|
333
333
|
}, 8, ["content"]),
|
|
334
334
|
f(l(_), {
|
|
335
|
-
content: l(
|
|
335
|
+
content: l(y)("左下")
|
|
336
336
|
}, {
|
|
337
|
-
default:
|
|
337
|
+
default: C(() => [
|
|
338
338
|
m("div", {
|
|
339
339
|
class: "icon icon-bottom-left",
|
|
340
340
|
onClick: o[6] || (o[6] = h((c) => i("leftDown"), ["stop"]))
|
|
@@ -344,9 +344,9 @@ const Ve = /* @__PURE__ */ D({
|
|
|
344
344
|
/* STABLE */
|
|
345
345
|
}, 8, ["content"]),
|
|
346
346
|
f(l(_), {
|
|
347
|
-
content: l(
|
|
347
|
+
content: l(y)("下")
|
|
348
348
|
}, {
|
|
349
|
-
default:
|
|
349
|
+
default: C(() => [
|
|
350
350
|
m("div", {
|
|
351
351
|
class: "icon icon-bottom",
|
|
352
352
|
onClick: o[7] || (o[7] = h((c) => i("down"), ["stop"]))
|
|
@@ -356,9 +356,9 @@ const Ve = /* @__PURE__ */ D({
|
|
|
356
356
|
/* STABLE */
|
|
357
357
|
}, 8, ["content"]),
|
|
358
358
|
f(l(_), {
|
|
359
|
-
content: l(
|
|
359
|
+
content: l(y)("右下")
|
|
360
360
|
}, {
|
|
361
|
-
default:
|
|
361
|
+
default: C(() => [
|
|
362
362
|
m("div", {
|
|
363
363
|
class: "icon icon-bottom-right",
|
|
364
364
|
onClick: o[8] || (o[8] = h((c) => i("rightDown"), ["stop"]))
|
|
@@ -375,7 +375,7 @@ const Ve = /* @__PURE__ */ D({
|
|
|
375
375
|
}), Ge = /* @__PURE__ */ H(qe, [["__scopeId", "data-v-db2e8ec2"]]), We = { 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 = {
|
|
376
376
|
key: 0,
|
|
377
377
|
class: "play-status"
|
|
378
|
-
}, tt = { class: "video-bottom" }, ot = { class: "video-bottom_r" }, nt = /* @__PURE__ */
|
|
378
|
+
}, tt = { class: "video-bottom" }, ot = { class: "video-bottom_r" }, nt = /* @__PURE__ */ U({
|
|
379
379
|
__name: "index",
|
|
380
380
|
props: {
|
|
381
381
|
videoUrl: {},
|
|
@@ -410,14 +410,14 @@ const Ve = /* @__PURE__ */ D({
|
|
|
410
410
|
r.value = !r.value, i("handleClick", r.value ? "MUTE" : "UNMUTE"), o.value && (o.value.muted = r.value);
|
|
411
411
|
}, b = () => {
|
|
412
412
|
c.value = !c.value;
|
|
413
|
-
},
|
|
413
|
+
}, F = w(""), N = () => {
|
|
414
414
|
const d = document.createElement("canvas");
|
|
415
415
|
if (i("handleClick", "SCREENSHOT"), u.value) {
|
|
416
416
|
d.width = u.value.clientWidth, d.height = u.value.clientHeight;
|
|
417
417
|
const E = d.getContext("2d");
|
|
418
418
|
E == null || E.drawImage(u.value, 0, 0, d.width, d.height);
|
|
419
419
|
const O = d.toDataURL("image/jpg"), ce = `【${e.title}】${Re().format("YYYYMMDDHHmmss").toString()}.jpg`;
|
|
420
|
-
if (
|
|
420
|
+
if (F.value = O, "download" in document.createElement("a")) {
|
|
421
421
|
const L = document.createElement("a");
|
|
422
422
|
L.download = ce, L.style.display = "none", L.href = O, document.body.appendChild(L), document.body.appendChild(d), L.click(), URL.revokeObjectURL(L.href), document.body.removeChild(L), document.body.removeChild(d);
|
|
423
423
|
}
|
|
@@ -426,29 +426,29 @@ const Ve = /* @__PURE__ */ D({
|
|
|
426
426
|
i("directionControl", d);
|
|
427
427
|
}, T = (d) => {
|
|
428
428
|
i("zoomControl", d);
|
|
429
|
-
},
|
|
430
|
-
return
|
|
429
|
+
}, D = (d) => e.authType.includes(d);
|
|
430
|
+
return S(
|
|
431
431
|
() => u.value,
|
|
432
432
|
() => {
|
|
433
433
|
u.value && u.value.addEventListener("ended", () => {
|
|
434
434
|
s.value = !0, e.type === "playback" && (a.value = !1);
|
|
435
435
|
});
|
|
436
436
|
}
|
|
437
|
-
),
|
|
437
|
+
), S(
|
|
438
438
|
() => u.value,
|
|
439
439
|
() => {
|
|
440
440
|
u.value && x(() => {
|
|
441
441
|
u.value.playbackRate = e.playbackRate || 1;
|
|
442
442
|
});
|
|
443
443
|
}
|
|
444
|
-
),
|
|
444
|
+
), S(
|
|
445
445
|
() => o.value,
|
|
446
446
|
() => {
|
|
447
447
|
o.value && x(() => {
|
|
448
448
|
o.value.muted = r.value;
|
|
449
449
|
});
|
|
450
450
|
}
|
|
451
|
-
),
|
|
451
|
+
), S(
|
|
452
452
|
() => e.playbackRate,
|
|
453
453
|
() => {
|
|
454
454
|
u.value && (u.value.playbackRate = e.playbackRate || 1);
|
|
@@ -456,25 +456,25 @@ const Ve = /* @__PURE__ */ D({
|
|
|
456
456
|
{
|
|
457
457
|
immediate: !0
|
|
458
458
|
}
|
|
459
|
-
),
|
|
459
|
+
), S(
|
|
460
460
|
() => e.paused,
|
|
461
461
|
() => {
|
|
462
462
|
o.value && (e.paused ? o.value.pause() : o.value.play());
|
|
463
463
|
}
|
|
464
|
-
),
|
|
464
|
+
), S(
|
|
465
465
|
() => e.videoUrl,
|
|
466
466
|
() => {
|
|
467
467
|
a.value = !1, x(() => {
|
|
468
468
|
a.value = !0;
|
|
469
469
|
});
|
|
470
470
|
}
|
|
471
|
-
), (d, E) => (v(),
|
|
471
|
+
), (d, E) => (v(), z("div", We, [
|
|
472
472
|
f(l(Ie), {
|
|
473
473
|
spinning: e.loading,
|
|
474
474
|
type: "component",
|
|
475
|
-
tip: l(
|
|
475
|
+
tip: l(y)("加载中...")
|
|
476
476
|
}, {
|
|
477
|
-
default:
|
|
477
|
+
default: C(() => [
|
|
478
478
|
m("div", Ye, [
|
|
479
479
|
m("div", Ze, [
|
|
480
480
|
m("div", Ke, [
|
|
@@ -488,17 +488,17 @@ const Ve = /* @__PURE__ */ D({
|
|
|
488
488
|
])
|
|
489
489
|
]),
|
|
490
490
|
m("div", Je, [
|
|
491
|
-
["live"].includes(d.type) ? (v(),
|
|
491
|
+
["live"].includes(d.type) ? (v(), z(
|
|
492
492
|
"span",
|
|
493
493
|
et,
|
|
494
|
-
j(l(
|
|
494
|
+
j(l(y)("正在实时预览")),
|
|
495
495
|
1
|
|
496
496
|
/* TEXT */
|
|
497
497
|
)) : I("v-if", !0),
|
|
498
498
|
I(' <das-icon v-if="isFullscreen" class="icon close-icon" icon="close" @click.stop="handleClose"></das-icon> ')
|
|
499
499
|
])
|
|
500
500
|
]),
|
|
501
|
-
d.isHls ? (v(),
|
|
501
|
+
d.isHls ? (v(), z(
|
|
502
502
|
B,
|
|
503
503
|
{ key: 1 },
|
|
504
504
|
[
|
|
@@ -513,7 +513,7 @@ const Ve = /* @__PURE__ */ D({
|
|
|
513
513
|
],
|
|
514
514
|
64
|
|
515
515
|
/* STABLE_FRAGMENT */
|
|
516
|
-
)) : (v(),
|
|
516
|
+
)) : (v(), z(
|
|
517
517
|
B,
|
|
518
518
|
{ key: 0 },
|
|
519
519
|
[
|
|
@@ -547,9 +547,9 @@ const Ve = /* @__PURE__ */ D({
|
|
|
547
547
|
},
|
|
548
548
|
[
|
|
549
549
|
f(l(_), {
|
|
550
|
-
content: l(
|
|
550
|
+
content: l(y)("声音")
|
|
551
551
|
}, {
|
|
552
|
-
default:
|
|
552
|
+
default: C(() => [
|
|
553
553
|
f(l($), {
|
|
554
554
|
class: "icon icon-volume",
|
|
555
555
|
icon: r.value ? "muted" : "volume",
|
|
@@ -560,23 +560,23 @@ const Ve = /* @__PURE__ */ D({
|
|
|
560
560
|
/* STABLE */
|
|
561
561
|
}, 8, ["content"]),
|
|
562
562
|
f(l(_), {
|
|
563
|
-
content: l(
|
|
563
|
+
content: l(y)("截图")
|
|
564
564
|
}, {
|
|
565
|
-
default:
|
|
565
|
+
default: C(() => [
|
|
566
566
|
f(l($), {
|
|
567
567
|
class: "icon icon-screenshot",
|
|
568
568
|
icon: "screenshot",
|
|
569
|
-
onClick: h(
|
|
569
|
+
onClick: h(N, ["stop"])
|
|
570
570
|
})
|
|
571
571
|
]),
|
|
572
572
|
_: 1
|
|
573
573
|
/* STABLE */
|
|
574
574
|
}, 8, ["content"]),
|
|
575
|
-
|
|
575
|
+
D("control") ? (v(), R(l(_), {
|
|
576
576
|
key: 0,
|
|
577
|
-
content: l(
|
|
577
|
+
content: l(y)("聚焦-")
|
|
578
578
|
}, {
|
|
579
|
-
default:
|
|
579
|
+
default: C(() => [
|
|
580
580
|
["live", "polling"].includes(e.type) ? (v(), R(l($), {
|
|
581
581
|
key: 0,
|
|
582
582
|
class: "icon icon-shrink",
|
|
@@ -587,11 +587,11 @@ const Ve = /* @__PURE__ */ D({
|
|
|
587
587
|
_: 1
|
|
588
588
|
/* STABLE */
|
|
589
589
|
}, 8, ["content"])) : I("v-if", !0),
|
|
590
|
-
|
|
590
|
+
D("control") ? (v(), R(l(_), {
|
|
591
591
|
key: 1,
|
|
592
|
-
content: l(
|
|
592
|
+
content: l(y)("聚焦+")
|
|
593
593
|
}, {
|
|
594
|
-
default:
|
|
594
|
+
default: C(() => [
|
|
595
595
|
["live", "polling"].includes(e.type) ? (v(), R(l($), {
|
|
596
596
|
key: 0,
|
|
597
597
|
class: "icon icon-enlarge",
|
|
@@ -602,11 +602,11 @@ const Ve = /* @__PURE__ */ D({
|
|
|
602
602
|
_: 1
|
|
603
603
|
/* STABLE */
|
|
604
604
|
}, 8, ["content"])) : I("v-if", !0),
|
|
605
|
-
|
|
605
|
+
D("control") ? (v(), R(l(_), {
|
|
606
606
|
key: 2,
|
|
607
|
-
content: l(
|
|
607
|
+
content: l(y)("方向控制")
|
|
608
608
|
}, {
|
|
609
|
-
default:
|
|
609
|
+
default: C(() => [
|
|
610
610
|
["live", "polling"].includes(e.type) ? (v(), R(l($), {
|
|
611
611
|
key: 0,
|
|
612
612
|
class: "icon icon-direction-control",
|
|
@@ -658,11 +658,11 @@ function ct(t) {
|
|
|
658
658
|
});
|
|
659
659
|
}
|
|
660
660
|
const ut = (t) => {
|
|
661
|
-
const n =
|
|
661
|
+
const n = Ne();
|
|
662
662
|
return `${t}?token=${n}`;
|
|
663
663
|
};
|
|
664
664
|
w([]);
|
|
665
|
-
const dt = /* @__PURE__ */
|
|
665
|
+
const dt = /* @__PURE__ */ U({
|
|
666
666
|
props: {
|
|
667
667
|
deviceInfo: {
|
|
668
668
|
type: Object,
|
|
@@ -697,8 +697,8 @@ const dt = /* @__PURE__ */ D({
|
|
|
697
697
|
source: i.value
|
|
698
698
|
});
|
|
699
699
|
if (!p) {
|
|
700
|
-
let
|
|
701
|
-
g.value = ut(k == null ? void 0 : k[
|
|
700
|
+
let F = r.value ? "httpHlsStreamURL" : "wsFlvStreamURL";
|
|
701
|
+
g.value = ut(k == null ? void 0 : k[F]);
|
|
702
702
|
}
|
|
703
703
|
c.value = !1;
|
|
704
704
|
}, s = (p) => {
|
|
@@ -720,7 +720,7 @@ const dt = /* @__PURE__ */ D({
|
|
|
720
720
|
};
|
|
721
721
|
return te(async () => {
|
|
722
722
|
o.value && await ct(o.value), u();
|
|
723
|
-
}),
|
|
723
|
+
}), S(() => e.value, () => {
|
|
724
724
|
u();
|
|
725
725
|
}, {
|
|
726
726
|
deep: !0
|
|
@@ -763,23 +763,23 @@ function pt(t) {
|
|
|
763
763
|
isHls: k
|
|
764
764
|
}, {
|
|
765
765
|
default: ({
|
|
766
|
-
videoUrl:
|
|
767
|
-
onDirectionControl:
|
|
766
|
+
videoUrl: F,
|
|
767
|
+
onDirectionControl: N,
|
|
768
768
|
onZoomControl: V,
|
|
769
769
|
loading: T,
|
|
770
|
-
isHls:
|
|
770
|
+
isHls: D
|
|
771
771
|
}) => f(lt, {
|
|
772
772
|
type: "live",
|
|
773
773
|
loading: T,
|
|
774
774
|
isFullscreen: r.value,
|
|
775
|
-
videoUrl:
|
|
775
|
+
videoUrl: F,
|
|
776
776
|
title: a.deviceName,
|
|
777
777
|
onClose: () => c(),
|
|
778
|
-
onDirectionControl:
|
|
778
|
+
onDirectionControl: N,
|
|
779
779
|
onZoomControl: V,
|
|
780
780
|
onHandleClick: g,
|
|
781
781
|
authType: a.authType === 2 ? ["control"] : [],
|
|
782
|
-
isHls:
|
|
782
|
+
isHls: D
|
|
783
783
|
}, null)
|
|
784
784
|
});
|
|
785
785
|
}
|
|
@@ -787,7 +787,7 @@ function pt(t) {
|
|
|
787
787
|
toggleFullscreen: i
|
|
788
788
|
};
|
|
789
789
|
}
|
|
790
|
-
const vt = /* @__PURE__ */
|
|
790
|
+
const vt = /* @__PURE__ */ U({
|
|
791
791
|
__name: "index",
|
|
792
792
|
props: {
|
|
793
793
|
visible: { type: Boolean, default: !1 },
|
|
@@ -803,7 +803,7 @@ const vt = /* @__PURE__ */ D({
|
|
|
803
803
|
},
|
|
804
804
|
emits: ["update:visible"],
|
|
805
805
|
setup(t, { emit: n }) {
|
|
806
|
-
const e = t, i = P(() => e.dialogTitle ||
|
|
806
|
+
const e = t, i = P(() => e.dialogTitle || y("视频监控")), r = n, o = P({
|
|
807
807
|
get: () => e.visible,
|
|
808
808
|
set: (s) => r("update:visible", s)
|
|
809
809
|
}), { render: c, toggleFullscreen: g } = pt(e), u = P(() => {
|
|
@@ -821,7 +821,7 @@ const vt = /* @__PURE__ */ D({
|
|
|
821
821
|
}
|
|
822
822
|
return s;
|
|
823
823
|
});
|
|
824
|
-
return (s, a) => (v(), R(l(he),
|
|
824
|
+
return (s, a) => (v(), R(l(he), Ce({
|
|
825
825
|
size: "mini",
|
|
826
826
|
title: i.value,
|
|
827
827
|
"custom-class": "das-linakge-video-dialog",
|
|
@@ -834,9 +834,10 @@ const vt = /* @__PURE__ */ D({
|
|
|
834
834
|
"header-style": { display: "flex", justifyContent: "space-between", alignItems: "center" },
|
|
835
835
|
draggable: s.draggable,
|
|
836
836
|
resizable: s.resizable,
|
|
837
|
-
|
|
837
|
+
width: u.value.width,
|
|
838
|
+
height: u.value.height
|
|
838
839
|
}, s.$attrs), {
|
|
839
|
-
header:
|
|
840
|
+
header: C(() => [
|
|
840
841
|
m("div", null, [
|
|
841
842
|
m(
|
|
842
843
|
"span",
|
|
@@ -847,9 +848,9 @@ const vt = /* @__PURE__ */ D({
|
|
|
847
848
|
)
|
|
848
849
|
]),
|
|
849
850
|
f(l(_), {
|
|
850
|
-
content: l(
|
|
851
|
+
content: l(y)("页面全屏")
|
|
851
852
|
}, {
|
|
852
|
-
default:
|
|
853
|
+
default: C(() => [
|
|
853
854
|
f(l(we), {
|
|
854
855
|
class: "icon",
|
|
855
856
|
color: "#999",
|
|
@@ -860,12 +861,12 @@ const vt = /* @__PURE__ */ D({
|
|
|
860
861
|
/* STABLE */
|
|
861
862
|
}, 8, ["content"])
|
|
862
863
|
]),
|
|
863
|
-
default:
|
|
864
|
+
default: C(() => [
|
|
864
865
|
o.value ? (v(), R(l(c), { key: 0 })) : I("v-if", !0)
|
|
865
866
|
]),
|
|
866
867
|
_: 1
|
|
867
868
|
/* STABLE */
|
|
868
|
-
}, 16, ["title", "modelValue", "draggable", "resizable", "
|
|
869
|
+
}, 16, ["title", "modelValue", "draggable", "resizable", "width", "height"]));
|
|
869
870
|
}
|
|
870
871
|
}), ft = {
|
|
871
872
|
加载中: { "zh-CN": "加载中", en: "Loading", _appCode: "framework" },
|
|
@@ -890,9 +891,9 @@ const vt = /* @__PURE__ */ D({
|
|
|
890
891
|
"聚焦+": { "zh-CN": "聚焦+", en: "Focus+", _appCode: "framework" }
|
|
891
892
|
};
|
|
892
893
|
ke(ft);
|
|
893
|
-
const
|
|
894
|
+
const St = ye(vt), zt = () => w(null);
|
|
894
895
|
export {
|
|
895
|
-
|
|
896
|
-
|
|
896
|
+
St as DasVideoDialog,
|
|
897
|
+
zt as DasVideoDialogRef,
|
|
897
898
|
pt as useVideo
|
|
898
899
|
};
|
|
Binary file
|
|
@@ -18,6 +18,7 @@ declare const DasDialog: import("@das-fed/utils").SFCWithInstall<{
|
|
|
18
18
|
loading: boolean;
|
|
19
19
|
type: "basic" | "feedback" | "notice";
|
|
20
20
|
size: "mini" | "small" | "nomarl" | "large" | "max";
|
|
21
|
+
draggable: boolean;
|
|
21
22
|
feedType: "primary" | "warning" | "danger" | "delete";
|
|
22
23
|
dialogStyle: StyleValue;
|
|
23
24
|
defaultFooter: boolean;
|
|
@@ -45,6 +46,7 @@ declare const DasDialog: import("@das-fed/utils").SFCWithInstall<{
|
|
|
45
46
|
loading: boolean;
|
|
46
47
|
type: "basic" | "feedback" | "notice";
|
|
47
48
|
size: "mini" | "small" | "nomarl" | "large" | "max";
|
|
49
|
+
draggable: boolean;
|
|
48
50
|
feedType: "primary" | "warning" | "danger" | "delete";
|
|
49
51
|
dialogStyle: StyleValue;
|
|
50
52
|
defaultFooter: boolean;
|
|
@@ -76,6 +78,7 @@ declare const DasDialog: import("@das-fed/utils").SFCWithInstall<{
|
|
|
76
78
|
loading: boolean;
|
|
77
79
|
type: "basic" | "feedback" | "notice";
|
|
78
80
|
size: "mini" | "small" | "nomarl" | "large" | "max";
|
|
81
|
+
draggable: boolean;
|
|
79
82
|
feedType: "primary" | "warning" | "danger" | "delete";
|
|
80
83
|
dialogStyle: StyleValue;
|
|
81
84
|
defaultFooter: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/components/dialog/style.css';
|
|
2
2
|
import { withInstall as se } from "@das-fed/utils/with-install/index";
|
|
3
|
-
import { ref as v, computed as h, defineComponent as re, mergeModels as ee, useModel as ce, watch as te, onBeforeMount as de, onBeforeUnmount as
|
|
3
|
+
import { ref as v, computed as h, defineComponent as re, mergeModels as ee, useModel as ce, watch as te, onBeforeMount as de, onBeforeUnmount as ge, onActivated as fe, onDeactivated as ue, createElementBlock as O, openBlock as x, normalizeClass as Ae, createVNode as J, unref as g, mergeProps as ve, withCtx as G, withDirectives as ne, createCommentVNode as z, normalizeStyle as k, renderSlot as V, createElementVNode as R, createTextVNode as ie, toDisplayString as $ } from "vue";
|
|
4
4
|
import { ElDialog as pe } from "element-plus";
|
|
5
5
|
import "element-plus/es/components/dialog/style/css";
|
|
6
6
|
import { vOverlay as me } from "@das-fed/ui/packages/components/overlay/index";
|
|
@@ -172,7 +172,8 @@ const le = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAV4AAADICAYAAACgY4nwAA
|
|
|
172
172
|
closeOnClickModal: { type: Boolean, default: !1 },
|
|
173
173
|
closeOnPressEscape: { type: Boolean, default: !0 },
|
|
174
174
|
loading: { type: Boolean, default: !1 },
|
|
175
|
-
|
|
175
|
+
draggable: { type: Boolean, default: !1 },
|
|
176
|
+
resizable: { type: Boolean, default: !1 }
|
|
176
177
|
}, {
|
|
177
178
|
modelValue: {},
|
|
178
179
|
modelModifiers: {}
|
|
@@ -262,11 +263,11 @@ const le = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAV4AAADICAYAAACgY4nwAA
|
|
|
262
263
|
};
|
|
263
264
|
return de(() => {
|
|
264
265
|
N.value = !1, l.value && T();
|
|
265
|
-
}),
|
|
266
|
+
}), ge(() => {
|
|
266
267
|
H("destroy"), setTimeout(() => {
|
|
267
268
|
H("destroy");
|
|
268
269
|
}, 0);
|
|
269
|
-
}),
|
|
270
|
+
}), fe(() => {
|
|
270
271
|
N.value = !1;
|
|
271
272
|
}), ue(() => {
|
|
272
273
|
N.value = !0, l.value = !1;
|
|
@@ -285,7 +286,7 @@ const le = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAV4AAADICAYAAACgY4nwAA
|
|
|
285
286
|
"close-on-press-escape": g(t).closeOnPressEscape,
|
|
286
287
|
style: [F.value, g(C)],
|
|
287
288
|
class: ["das-ui-dialog", [r.value, s.value]],
|
|
288
|
-
draggable:
|
|
289
|
+
draggable: g(t).draggable,
|
|
289
290
|
onOpen: Y,
|
|
290
291
|
onClose: _
|
|
291
292
|
}), {
|
|
@@ -424,7 +425,7 @@ const le = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAV4AAADICAYAAACgY4nwAA
|
|
|
424
425
|
]),
|
|
425
426
|
_: 3
|
|
426
427
|
/* FORWARDED */
|
|
427
|
-
}, 16, ["modelValue", "width", "align-center", "close-on-click-modal", "close-on-press-escape", "style", "class"])
|
|
428
|
+
}, 16, ["modelValue", "width", "align-center", "close-on-click-modal", "close-on-press-escape", "style", "class", "draggable"])
|
|
428
429
|
],
|
|
429
430
|
2
|
|
430
431
|
/* CLASS */
|
|
@@ -435,7 +436,7 @@ const le = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAV4AAADICAYAAACgY4nwAA
|
|
|
435
436
|
for (const [l, t] of o)
|
|
436
437
|
A[l] = t;
|
|
437
438
|
return A;
|
|
438
|
-
}, Me = /* @__PURE__ */ We(Ve, [["__scopeId", "data-v-
|
|
439
|
+
}, Me = /* @__PURE__ */ We(Ve, [["__scopeId", "data-v-417581d4"]]), Te = {
|
|
439
440
|
"--das-ui-dialog-title": Z("--das-ui-color-normal"),
|
|
440
441
|
// 弹框-头-字体颜色
|
|
441
442
|
"--das-ui-dialog-border": "#D9D9D9",
|
|
Binary file
|
|
@@ -22,6 +22,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props & {
|
|
|
22
22
|
loading: boolean;
|
|
23
23
|
type: "basic" | "feedback" | "notice";
|
|
24
24
|
size: "mini" | "small" | "nomarl" | "large" | "max";
|
|
25
|
+
draggable: boolean;
|
|
25
26
|
feedType: "primary" | "warning" | "danger" | "delete";
|
|
26
27
|
dialogStyle: StyleValue;
|
|
27
28
|
defaultFooter: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.das-ui-dialog[data-v-
|
|
1
|
+
.das-ui-dialog[data-v-417581d4] .el-dialog{display:flex;flex-direction:column}.das-ui-dialog[data-v-417581d4] .el-dialog .el-dialog__header{margin:0;padding:0}.das-ui-dialog[data-v-417581d4] .el-dialog .el-dialog__header .el-dialog__headerbtn{top:0;width:50px}.das-ui-dialog[data-v-417581d4] .el-dialog .el-dialog__body{flex:1;height:100%;overflow:hidden;padding:0}.das-ui-dialog[data-v-417581d4] .el-dialog .el-dialog__footer{padding:0}.das-ui-dialog .das-dialog-box[data-v-417581d4]{height:100%;width:100%;display:flex;flex-direction:column}.das-ui-dialog.basic[data-v-417581d4] .el-dialog__header .el-dialog__headerbtn{height:var(--das-ui-dialog-basic-header-height)}.das-ui-dialog.basic .das-dialog__header[data-v-417581d4]{height:var(--das-ui-dialog-basic-header-height);line-height:var(--das-ui-dialog-basic-header-height);padding:0 50px 0 20px;border-bottom:1px solid var(--das-ui-dialog-border);color:var(--das-ui-dialog-title);font-size:18px;font-weight:600;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.das-ui-dialog.basic .das-dialog__body[data-v-417581d4]{padding:var(--das-ui-dialog-basic-cont-padding);color:var(--das-ui-dislog-basic-cont-color);height:100%}.das-ui-dialog.basic .das-dialog__body .das-dialog__body-cont[data-v-417581d4]{height:100%}.das-ui-dialog.basic .das-dialog__footer[data-v-417581d4]{text-align:center;height:50px;line-height:50px;box-sizing:content-box;border-top:1px solid var(--das-ui-dialog-border)}.das-ui-dialog.feedback[data-v-417581d4] .el-dialog__header .el-dialog__headerbtn{height:var(--das-ui-dialog-feedback-header-height)}.das-ui-dialog.feedback .das-dialog__header[data-v-417581d4]{height:var(--das-ui-dialog-feedback-header-height);line-height:var(--das-ui-dialog-feedback-header-height);border-bottom:0;padding:0 50px 0 38px;color:var(--das-ui-dialog-title);font-size:18px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;position:relative}.das-ui-dialog.feedback .das-dialog__header[data-v-417581d4]:before{content:"";position:absolute;top:50%;left:24px;width:6px;height:6px;border-radius:50%;transform:translateY(-50%)}.das-ui-dialog.feedback .das-dialog__header.primary[data-v-417581d4]:before,.das-ui-dialog.feedback .das-dialog__header.delete[data-v-417581d4]:before{background-color:var(--das-ui-color-primary)}.das-ui-dialog.feedback .das-dialog__header.warning[data-v-417581d4]:before{background-color:var(--das-ui-color-warning)}.das-ui-dialog.feedback .das-dialog__header.danger[data-v-417581d4]:before{background-color:var(--das-ui-color-danger)}.das-ui-dialog.feedback .das-dialog__header.success[data-v-417581d4]:before{background-color:var(--das-ui-color-success)}.das-ui-dialog.feedback .das-dialog__body[data-v-417581d4]{padding:0px var(--das-ui-dialog-feedback-cont-padding);color:var(--das-ui-dislog-feedback-cont-color);text-align:center;height:100%}.das-ui-dialog.feedback .das-dialog__body .das-dialog__feed-img[data-v-417581d4]{margin:0 auto 12px;overflow:hidden;width:var(--das-ui-dialog-feedback-icon-width);height:var(--das-ui-dialog-feedback-icon-height);display:flex;justify-content:center}.das-ui-dialog.feedback .das-dialog__body .das-dialog__feed-img img[data-v-417581d4]{max-width:100%;max-height:100%}.das-ui-dialog.feedback .das-dialog__footer[data-v-417581d4]{border-top:0;text-align:center;padding:32px 0;line-height:28px;height:28px;box-sizing:content-box}.das-ui-dialog.notice[data-v-417581d4]{width:368px}.das-ui-dialog.notice[data-v-417581d4] .el-dialog__header .el-dialog__headerbtn{height:50px}.das-ui-dialog.notice .das-dialog__header[data-v-417581d4]{text-align:center;font-size:16px;font-weight:700;color:var(--das-ui-dialog-title);border-bottom:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.das-ui-dialog.notice .das-dialog__header .das-dialog__notice-bg[data-v-417581d4]{width:100%;height:96px;margin-bottom:12px;border:none}.das-ui-dialog.notice .das-dialog__header .das-dialog__notice-bg img[data-v-417581d4]{width:100%;height:100%;border:none}.das-ui-dialog.notice .das-dialog__body[data-v-417581d4]{color:var(--das-ui-dislog-notice-cont-color);font-size:var(--das-ui-dialog-notice-cont-font-size);padding:12px var(--das-ui-dialog-notice-cont-padding) 0;height:100%}.das-ui-dialog.notice .das-dialog__footer[data-v-417581d4]{border-top:0;text-align:center;padding:24px}.el-dialog{display:flex;flex-direction:column}.el-dialog .el-dialog__header{margin:0;padding:0}.el-dialog .el-dialog__header .el-dialog__headerbtn{top:0;width:50px}.el-dialog .el-dialog__body{flex:1;height:100%;overflow:hidden;padding:0}.el-dialog .el-dialog__footer{padding:0}.el-dialog .das-dialog-box{height:100%;width:100%;display:flex;flex-direction:column}.el-dialog.basic:deep(.el-dialog__header) .el-dialog__headerbtn{height:var(--das-ui-dialog-basic-header-height)}.el-dialog.basic .das-dialog__header{height:var(--das-ui-dialog-basic-header-height);line-height:var(--das-ui-dialog-basic-header-height);padding:0 50px 0 20px;border-bottom:1px solid var(--das-ui-dialog-border);color:var(--das-ui-dialog-title);font-size:18px;font-weight:600;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.el-dialog.basic .das-dialog__body{padding:var(--das-ui-dialog-basic-cont-padding);color:var(--das-ui-dislog-basic-cont-color);height:100%}.el-dialog.basic .das-dialog__body .das-dialog__body-cont{height:100%}.el-dialog.basic .das-dialog__footer{text-align:center;height:50px;line-height:50px;box-sizing:content-box;border-top:1px solid var(--das-ui-dialog-border)}.el-dialog.feedback:deep(.el-dialog__header) .el-dialog__headerbtn{height:var(--das-ui-dialog-feedback-header-height)}.el-dialog.feedback .das-dialog__header{height:var(--das-ui-dialog-feedback-header-height);line-height:var(--das-ui-dialog-feedback-header-height);border-bottom:0;padding:0 50px 0 38px;color:var(--das-ui-dialog-title);font-size:18px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;position:relative}.el-dialog.feedback .das-dialog__header:before{content:"";position:absolute;top:50%;left:24px;width:6px;height:6px;border-radius:50%;transform:translateY(-50%)}.el-dialog.feedback .das-dialog__header.primary:before,.el-dialog.feedback .das-dialog__header.delete:before{background-color:var(--das-ui-color-primary)}.el-dialog.feedback .das-dialog__header.warning:before{background-color:var(--das-ui-color-warning)}.el-dialog.feedback .das-dialog__header.danger:before{background-color:var(--das-ui-color-danger)}.el-dialog.feedback .das-dialog__header.success:before{background-color:var(--das-ui-color-success)}.el-dialog.feedback .das-dialog__body{padding:0px var(--das-ui-dialog-feedback-cont-padding);color:var(--das-ui-dislog-feedback-cont-color);text-align:center;height:100%}.el-dialog.feedback .das-dialog__body .das-dialog__feed-img{margin:0 auto 12px;overflow:hidden;width:var(--das-ui-dialog-feedback-icon-width);height:var(--das-ui-dialog-feedback-icon-height);display:flex;justify-content:center}.el-dialog.feedback .das-dialog__body .das-dialog__feed-img img{max-width:100%;max-height:100%}.el-dialog.feedback .das-dialog__footer{border-top:0;text-align:center;padding:32px 0}.el-dialog.notice{width:368px}.el-dialog.notice:deep(.el-dialog__header) .el-dialog__headerbtn{height:50px}.el-dialog.notice .das-dialog__header{text-align:center;font-size:16px;font-weight:700;color:var(--das-ui-dialog-title);border-bottom:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.el-dialog.notice .das-dialog__header .das-dialog__notice-bg{width:100%;height:96px;margin-bottom:12px;border:none}.el-dialog.notice .das-dialog__header .das-dialog__notice-bg img{width:100%;height:100%;border:none}.el-dialog.notice .das-dialog__body{color:var(--das-ui-dislog-notice-cont-color);font-size:var(--das-ui-dialog-notice-cont-font-size);padding:12px var(--das-ui-dialog-notice-cont-padding) 0;height:100%}.el-dialog.notice .das-dialog__footer{border-top:0;text-align:center;padding:24px}
|
|
Binary file
|