@das-fed/ui 7.0.7-hot.21 → 7.0.7-hot.23
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/ai-panel/{index-8yffh0Id.js → index-DMJXZM7n.js} +1067 -1056
- package/packages/business-components/ai-panel/index-DMJXZM7n.js.gz +0 -0
- package/packages/business-components/ai-panel/{index-IzGl26KU.js → index-MqhMkLo9.js} +9 -9
- package/packages/business-components/ai-panel/index-MqhMkLo9.js.gz +0 -0
- package/packages/business-components/ai-panel/{index-OwRrV6K8.js → index-_q72oKSF.js} +63 -62
- package/packages/business-components/ai-panel/index-_q72oKSF.js.gz +0 -0
- package/packages/business-components/ai-panel/index.js +1 -1
- package/packages/business-components/device-panel/index.js +14908 -14808
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/echarts/index.js +2056 -2049
- package/packages/business-components/echarts/index.js.gz +0 -0
- package/packages/business-components/process-configuration/index.js +46 -46
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-form/index.js +99 -99
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-search-form/index.js +77 -77
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/process-table/index.js +215 -213
- package/packages/business-components/process-table/index.js.gz +0 -0
- package/packages/business-components/urgent-panel/index.js +1104 -1096
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/user-org-dialog/index.js +243 -240
- package/packages/business-components/user-org-dialog/index.js.gz +0 -0
- package/packages/business-components/video-dialog/index.js +65 -64
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/components/autocomplete/index.js +12 -6
- package/packages/components/autocomplete/index.js.gz +0 -0
- package/packages/components/calendar/index.js +99 -99
- package/packages/components/calendar/index.js.gz +0 -0
- package/packages/components/cascader/index.js +2 -2
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/checkbox/index.js +30 -30
- package/packages/components/checkbox/index.js.gz +0 -0
- package/packages/components/date-picker/index.js +212 -212
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/dimple-layout/index.js +77 -75
- package/packages/components/dimple-layout/index.js.gz +0 -0
- package/packages/components/dropdown/index.js +25 -24
- package/packages/components/dropdown/index.js.gz +0 -0
- package/packages/components/edit-table/index.js +398 -397
- package/packages/components/edit-table/index.js.gz +0 -0
- package/packages/components/error-overlay-model/index.js +47 -45
- package/packages/components/error-overlay-model/index.js.gz +0 -0
- package/packages/components/form-item/index.js +67 -67
- package/packages/components/form-item/index.js.gz +0 -0
- package/packages/components/hls-player/index.js +14 -7
- package/packages/components/hls-player/index.js.gz +0 -0
- package/packages/components/image-upload/index.js +147 -143
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/image-viewer/index.js +297 -293
- package/packages/components/image-viewer/index.js.gz +0 -0
- package/packages/components/input/index.js +52 -52
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input-number/index.js +26 -26
- package/packages/components/input-number/index.js.gz +0 -0
- package/packages/components/live-player/index.js +251 -248
- package/packages/components/live-player/index.js.gz +0 -0
- package/packages/components/map/index.js +421 -415
- package/packages/components/map/index.js.gz +0 -0
- package/packages/components/menu-aside/index.js +1 -1
- package/packages/components/menu-aside/index.js.gz +0 -0
- package/packages/components/message/index.js +6 -6
- package/packages/components/message/index.js.gz +0 -0
- package/packages/components/popover/index.js +12 -12
- package/packages/components/popover/index.js.gz +0 -0
- package/packages/components/radio-tabs/index.js +34 -34
- package/packages/components/radio-tabs/index.js.gz +0 -0
- package/packages/components/rich-editor/index.js +4613 -4583
- package/packages/components/rich-editor/index.js.gz +0 -0
- package/packages/components/scrollbar/index.js +135 -135
- package/packages/components/scrollbar/index.js.gz +0 -0
- package/packages/components/search/index.js +24 -24
- package/packages/components/search/index.js.gz +0 -0
- package/packages/components/select/index.js +60 -60
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select-list/index.js +9 -5
- package/packages/components/select-list/index.js.gz +0 -0
- package/packages/components/special-range-picker-month/index.js +16 -14
- package/packages/components/special-range-picker-month/index.js.gz +0 -0
- package/packages/components/special-range-picker-year/index.js +53 -51
- package/packages/components/special-range-picker-year/index.js.gz +0 -0
- package/packages/components/spin/index.js +33 -33
- package/packages/components/spin/index.js.gz +0 -0
- package/packages/components/split-panel/index.js +129 -128
- package/packages/components/split-panel/index.js.gz +0 -0
- package/packages/components/table/index.js +179 -178
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/time-line/index.js +1 -1
- package/packages/components/time-line/index.js.gz +0 -0
- package/packages/components/tree-select/index.js +1 -1
- package/packages/components/tree-select/index.js.gz +0 -0
- package/packages/components/tree-table/index.js +2 -2
- package/packages/components/tree-table/index.js.gz +0 -0
- package/packages/components/tree-v2/index.js +1117 -1093
- package/packages/components/tree-v2/index.js.gz +0 -0
- package/packages/business-components/ai-panel/index-8yffh0Id.js.gz +0 -0
- package/packages/business-components/ai-panel/index-IzGl26KU.js.gz +0 -0
- package/packages/business-components/ai-panel/index-OwRrV6K8.js.gz +0 -0
|
Binary file
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/business-components/video-dialog/style.css';
|
|
2
|
-
import { getCurrentScope as ue, onScopeDispose as de, getCurrentInstance as ve, onMounted as te, nextTick as P, unref as l, ref as h, watch as F, defineComponent as D, useCssVars as pe, computed as T, createElementBlock as S, openBlock as p, normalizeClass as fe, renderSlot as oe, createCommentVNode as
|
|
2
|
+
import { getCurrentScope as ue, onScopeDispose as de, getCurrentInstance as ve, onMounted as te, nextTick as P, unref as l, ref as h, watch as F, defineComponent as D, useCssVars as pe, computed as T, createElementBlock as S, openBlock as p, normalizeClass as fe, renderSlot as oe, createCommentVNode as E, Fragment as H, renderList as me, createBlock as R, withCtx as y, withModifiers as _, createVNode as f, createElementVNode as m, toDisplayString as j, toRefs as Ce } from "vue";
|
|
3
3
|
import { withInstall as ge } from "@das-fed/utils/with-install/index";
|
|
4
|
-
import { t as
|
|
5
|
-
import { DasDialog as
|
|
4
|
+
import { t as k, setI18nRule as ye } from "@das-fed/web/packages/i18n/index";
|
|
5
|
+
import { DasDialog as ke } from "@das-fed/ui/packages/components/dialog/index";
|
|
6
6
|
import { DasTooltip as w } from "@das-fed/ui/packages/components/tooltip/index";
|
|
7
7
|
import { DasIconFullscreen2 as _e } from "@das-fed/ui/packages/icons/fullscreen-2/index";
|
|
8
8
|
import { DasAutoRegisterIcon as he, DasIcon as $ } from "@das-fed/ui/packages/components/icon/index";
|
|
@@ -224,7 +224,7 @@ const Be = /* @__PURE__ */ D({
|
|
|
224
224
|
i("update:activeIndex", o);
|
|
225
225
|
};
|
|
226
226
|
return (o, s) => (p(), S("div", je, [
|
|
227
|
-
|
|
227
|
+
E(' :active="index === activeIndex" '),
|
|
228
228
|
(p(!0), S(
|
|
229
229
|
H,
|
|
230
230
|
null,
|
|
@@ -233,11 +233,11 @@ const Be = /* @__PURE__ */ D({
|
|
|
233
233
|
"grid-num": e.gridNum,
|
|
234
234
|
onItemClick: (u) => a(c)
|
|
235
235
|
}, {
|
|
236
|
-
default:
|
|
236
|
+
default: y(() => [
|
|
237
237
|
o.showFn(c) ? oe(o.$slots, "default", {
|
|
238
238
|
key: 0,
|
|
239
239
|
index: c
|
|
240
|
-
}, void 0, !0) :
|
|
240
|
+
}, void 0, !0) : E("v-if", !0)
|
|
241
241
|
]),
|
|
242
242
|
_: 2
|
|
243
243
|
/* DYNAMIC */
|
|
@@ -262,9 +262,9 @@ const Be = /* @__PURE__ */ D({
|
|
|
262
262
|
},
|
|
263
263
|
[
|
|
264
264
|
f(l(w), {
|
|
265
|
-
content: l(
|
|
265
|
+
content: l(k)("左上")
|
|
266
266
|
}, {
|
|
267
|
-
default:
|
|
267
|
+
default: y(() => [
|
|
268
268
|
m("div", {
|
|
269
269
|
class: "icon icon-top-left",
|
|
270
270
|
onClick: o[0] || (o[0] = _((s) => i("leftUp"), ["stop"]))
|
|
@@ -274,9 +274,9 @@ const Be = /* @__PURE__ */ D({
|
|
|
274
274
|
/* STABLE */
|
|
275
275
|
}, 8, ["content"]),
|
|
276
276
|
f(l(w), {
|
|
277
|
-
content: l(
|
|
277
|
+
content: l(k)("上")
|
|
278
278
|
}, {
|
|
279
|
-
default:
|
|
279
|
+
default: y(() => [
|
|
280
280
|
m("div", {
|
|
281
281
|
class: "icon icon-top",
|
|
282
282
|
onClick: o[1] || (o[1] = _((s) => i("up"), ["stop"]))
|
|
@@ -286,9 +286,9 @@ const Be = /* @__PURE__ */ D({
|
|
|
286
286
|
/* STABLE */
|
|
287
287
|
}, 8, ["content"]),
|
|
288
288
|
f(l(w), {
|
|
289
|
-
content: l(
|
|
289
|
+
content: l(k)("右上")
|
|
290
290
|
}, {
|
|
291
|
-
default:
|
|
291
|
+
default: y(() => [
|
|
292
292
|
m("div", {
|
|
293
293
|
class: "icon icon-top-right",
|
|
294
294
|
onClick: o[2] || (o[2] = _((s) => i("rightUp"), ["stop"]))
|
|
@@ -298,9 +298,9 @@ const Be = /* @__PURE__ */ D({
|
|
|
298
298
|
/* STABLE */
|
|
299
299
|
}, 8, ["content"]),
|
|
300
300
|
f(l(w), {
|
|
301
|
-
content: l(
|
|
301
|
+
content: l(k)("左")
|
|
302
302
|
}, {
|
|
303
|
-
default:
|
|
303
|
+
default: y(() => [
|
|
304
304
|
m("div", {
|
|
305
305
|
class: "icon icon-left",
|
|
306
306
|
onClick: o[3] || (o[3] = _((s) => i("left"), ["stop"]))
|
|
@@ -310,9 +310,9 @@ const Be = /* @__PURE__ */ D({
|
|
|
310
310
|
/* STABLE */
|
|
311
311
|
}, 8, ["content"]),
|
|
312
312
|
f(l(w), {
|
|
313
|
-
content: l(
|
|
313
|
+
content: l(k)("自动")
|
|
314
314
|
}, {
|
|
315
|
-
default:
|
|
315
|
+
default: y(() => [
|
|
316
316
|
m("div", {
|
|
317
317
|
class: "icon icon-auto",
|
|
318
318
|
onClick: o[4] || (o[4] = _((s) => i("auto"), ["stop"]))
|
|
@@ -322,9 +322,9 @@ const Be = /* @__PURE__ */ D({
|
|
|
322
322
|
/* STABLE */
|
|
323
323
|
}, 8, ["content"]),
|
|
324
324
|
f(l(w), {
|
|
325
|
-
content: l(
|
|
325
|
+
content: l(k)("右")
|
|
326
326
|
}, {
|
|
327
|
-
default:
|
|
327
|
+
default: y(() => [
|
|
328
328
|
m("div", {
|
|
329
329
|
class: "icon icon-right",
|
|
330
330
|
onClick: o[5] || (o[5] = _((s) => i("right"), ["stop"]))
|
|
@@ -334,9 +334,9 @@ const Be = /* @__PURE__ */ D({
|
|
|
334
334
|
/* STABLE */
|
|
335
335
|
}, 8, ["content"]),
|
|
336
336
|
f(l(w), {
|
|
337
|
-
content: l(
|
|
337
|
+
content: l(k)("左下")
|
|
338
338
|
}, {
|
|
339
|
-
default:
|
|
339
|
+
default: y(() => [
|
|
340
340
|
m("div", {
|
|
341
341
|
class: "icon icon-bottom-left",
|
|
342
342
|
onClick: o[6] || (o[6] = _((s) => i("leftDown"), ["stop"]))
|
|
@@ -346,9 +346,9 @@ const Be = /* @__PURE__ */ D({
|
|
|
346
346
|
/* STABLE */
|
|
347
347
|
}, 8, ["content"]),
|
|
348
348
|
f(l(w), {
|
|
349
|
-
content: l(
|
|
349
|
+
content: l(k)("下")
|
|
350
350
|
}, {
|
|
351
|
-
default:
|
|
351
|
+
default: y(() => [
|
|
352
352
|
m("div", {
|
|
353
353
|
class: "icon icon-bottom",
|
|
354
354
|
onClick: o[7] || (o[7] = _((s) => i("down"), ["stop"]))
|
|
@@ -358,9 +358,9 @@ const Be = /* @__PURE__ */ D({
|
|
|
358
358
|
/* STABLE */
|
|
359
359
|
}, 8, ["content"]),
|
|
360
360
|
f(l(w), {
|
|
361
|
-
content: l(
|
|
361
|
+
content: l(k)("右下")
|
|
362
362
|
}, {
|
|
363
|
-
default:
|
|
363
|
+
default: y(() => [
|
|
364
364
|
m("div", {
|
|
365
365
|
class: "icon icon-bottom-right",
|
|
366
366
|
onClick: o[8] || (o[8] = _((s) => i("rightDown"), ["stop"]))
|
|
@@ -406,7 +406,8 @@ const Be = /* @__PURE__ */ D({
|
|
|
406
406
|
var v;
|
|
407
407
|
return (v = C.value) == null ? void 0 : v.video;
|
|
408
408
|
}), u = h(!1), r = h(!0), d = (v) => {
|
|
409
|
-
o.value = v, !e.isHls && o.value.on(window.mpegts.Events.ERROR, (
|
|
409
|
+
o.value = v, !e.isHls && o.value.on(window.mpegts.Events.ERROR, (I) => {
|
|
410
|
+
console.log("player error", I);
|
|
410
411
|
});
|
|
411
412
|
}, g = () => {
|
|
412
413
|
a.value = !a.value, i("handleClick", a.value ? "MUTE" : "UNMUTE"), o.value && (o.value.muted = a.value);
|
|
@@ -416,8 +417,8 @@ const Be = /* @__PURE__ */ D({
|
|
|
416
417
|
const v = document.createElement("canvas");
|
|
417
418
|
if (i("handleClick", "SCREENSHOT"), c.value) {
|
|
418
419
|
v.width = c.value.clientWidth, v.height = c.value.clientHeight;
|
|
419
|
-
const
|
|
420
|
-
|
|
420
|
+
const I = v.getContext("2d");
|
|
421
|
+
I == null || I.drawImage(c.value, 0, 0, v.width, v.height);
|
|
421
422
|
const z = v.toDataURL("image/jpg"), ce = `【${e.title}】${Ee().format("YYYYMMDDHHmmss").toString()}.jpg`;
|
|
422
423
|
if (L.value = z, "download" in document.createElement("a")) {
|
|
423
424
|
const O = document.createElement("a");
|
|
@@ -470,13 +471,13 @@ const Be = /* @__PURE__ */ D({
|
|
|
470
471
|
r.value = !0;
|
|
471
472
|
});
|
|
472
473
|
}
|
|
473
|
-
), (v,
|
|
474
|
+
), (v, I) => (p(), S("div", Ge, [
|
|
474
475
|
f(l(be), {
|
|
475
476
|
spinning: e.loading,
|
|
476
477
|
type: "component",
|
|
477
|
-
tip: l(
|
|
478
|
+
tip: l(k)("加载中...")
|
|
478
479
|
}, {
|
|
479
|
-
default:
|
|
480
|
+
default: y(() => [
|
|
480
481
|
m("div", We, [
|
|
481
482
|
m("div", Ye, [
|
|
482
483
|
m("div", Ze, [
|
|
@@ -493,11 +494,11 @@ const Be = /* @__PURE__ */ D({
|
|
|
493
494
|
["live"].includes(v.type) ? (p(), S(
|
|
494
495
|
"span",
|
|
495
496
|
Je,
|
|
496
|
-
j(l(
|
|
497
|
+
j(l(k)("正在实时预览")),
|
|
497
498
|
1
|
|
498
499
|
/* TEXT */
|
|
499
|
-
)) :
|
|
500
|
-
|
|
500
|
+
)) : E("v-if", !0),
|
|
501
|
+
E(' <das-icon v-if="isFullscreen" class="icon close-icon" icon="close" @click.stop="handleClose"></das-icon> ')
|
|
501
502
|
])
|
|
502
503
|
]),
|
|
503
504
|
v.isHls ? (p(), S(
|
|
@@ -511,7 +512,7 @@ const Be = /* @__PURE__ */ D({
|
|
|
511
512
|
muted: a.value,
|
|
512
513
|
onLoaded: d,
|
|
513
514
|
src: e.videoUrl
|
|
514
|
-
}, null, 8, ["muted", "src"])) :
|
|
515
|
+
}, null, 8, ["muted", "src"])) : E("v-if", !0)
|
|
515
516
|
],
|
|
516
517
|
64
|
|
517
518
|
/* STABLE_FRAGMENT */
|
|
@@ -527,13 +528,13 @@ const Be = /* @__PURE__ */ D({
|
|
|
527
528
|
muted: a.value,
|
|
528
529
|
onLoaded: d,
|
|
529
530
|
src: e.videoUrl
|
|
530
|
-
}, null, 8, ["muted", "src"])) :
|
|
531
|
+
}, null, 8, ["muted", "src"])) : E("v-if", !0)
|
|
531
532
|
],
|
|
532
533
|
64
|
|
533
534
|
/* STABLE_FRAGMENT */
|
|
534
535
|
)),
|
|
535
536
|
m("div", et, [
|
|
536
|
-
|
|
537
|
+
I[3] || (I[3] = m(
|
|
537
538
|
"div",
|
|
538
539
|
{ class: "video-bottom_l" },
|
|
539
540
|
null,
|
|
@@ -545,13 +546,13 @@ const Be = /* @__PURE__ */ D({
|
|
|
545
546
|
"div",
|
|
546
547
|
{
|
|
547
548
|
class: "controls",
|
|
548
|
-
onDblclick:
|
|
549
|
+
onDblclick: I[2] || (I[2] = _((z) => z.stopPropagation(), ["stop"]))
|
|
549
550
|
},
|
|
550
551
|
[
|
|
551
552
|
f(l(w), {
|
|
552
|
-
content: l(
|
|
553
|
+
content: l(k)("声音")
|
|
553
554
|
}, {
|
|
554
|
-
default:
|
|
555
|
+
default: y(() => [
|
|
555
556
|
f(l($), {
|
|
556
557
|
class: "icon icon-volume",
|
|
557
558
|
icon: a.value ? "muted" : "volume",
|
|
@@ -562,9 +563,9 @@ const Be = /* @__PURE__ */ D({
|
|
|
562
563
|
/* STABLE */
|
|
563
564
|
}, 8, ["content"]),
|
|
564
565
|
f(l(w), {
|
|
565
|
-
content: l(
|
|
566
|
+
content: l(k)("截图")
|
|
566
567
|
}, {
|
|
567
|
-
default:
|
|
568
|
+
default: y(() => [
|
|
568
569
|
f(l($), {
|
|
569
570
|
class: "icon icon-screenshot",
|
|
570
571
|
icon: "screenshot",
|
|
@@ -576,49 +577,49 @@ const Be = /* @__PURE__ */ D({
|
|
|
576
577
|
}, 8, ["content"]),
|
|
577
578
|
U("control") ? (p(), R(l(w), {
|
|
578
579
|
key: 0,
|
|
579
|
-
content: l(
|
|
580
|
+
content: l(k)("聚焦-")
|
|
580
581
|
}, {
|
|
581
|
-
default:
|
|
582
|
+
default: y(() => [
|
|
582
583
|
["live", "polling"].includes(e.type) ? (p(), R(l($), {
|
|
583
584
|
key: 0,
|
|
584
585
|
class: "icon icon-shrink",
|
|
585
586
|
icon: "shrink",
|
|
586
|
-
onClick:
|
|
587
|
-
})) :
|
|
587
|
+
onClick: I[0] || (I[0] = _((z) => x("zoomOut"), ["stop"]))
|
|
588
|
+
})) : E("v-if", !0)
|
|
588
589
|
]),
|
|
589
590
|
_: 1
|
|
590
591
|
/* STABLE */
|
|
591
|
-
}, 8, ["content"])) :
|
|
592
|
+
}, 8, ["content"])) : E("v-if", !0),
|
|
592
593
|
U("control") ? (p(), R(l(w), {
|
|
593
594
|
key: 1,
|
|
594
|
-
content: l(
|
|
595
|
+
content: l(k)("聚焦+")
|
|
595
596
|
}, {
|
|
596
|
-
default:
|
|
597
|
+
default: y(() => [
|
|
597
598
|
["live", "polling"].includes(e.type) ? (p(), R(l($), {
|
|
598
599
|
key: 0,
|
|
599
600
|
class: "icon icon-enlarge",
|
|
600
601
|
icon: "enlarge",
|
|
601
|
-
onClick:
|
|
602
|
-
})) :
|
|
602
|
+
onClick: I[1] || (I[1] = _((z) => x("zoomIn"), ["stop"]))
|
|
603
|
+
})) : E("v-if", !0)
|
|
603
604
|
]),
|
|
604
605
|
_: 1
|
|
605
606
|
/* STABLE */
|
|
606
|
-
}, 8, ["content"])) :
|
|
607
|
+
}, 8, ["content"])) : E("v-if", !0),
|
|
607
608
|
U("control") ? (p(), R(l(w), {
|
|
608
609
|
key: 2,
|
|
609
|
-
content: l(
|
|
610
|
+
content: l(k)("方向控制")
|
|
610
611
|
}, {
|
|
611
|
-
default:
|
|
612
|
+
default: y(() => [
|
|
612
613
|
["live", "polling"].includes(e.type) ? (p(), R(l($), {
|
|
613
614
|
key: 0,
|
|
614
615
|
class: "icon icon-direction-control",
|
|
615
616
|
icon: "direction-control",
|
|
616
617
|
onClick: _(b, ["stop"])
|
|
617
|
-
})) :
|
|
618
|
+
})) : E("v-if", !0)
|
|
618
619
|
]),
|
|
619
620
|
_: 1
|
|
620
621
|
/* STABLE */
|
|
621
|
-
}, 8, ["content"])) :
|
|
622
|
+
}, 8, ["content"])) : E("v-if", !0)
|
|
622
623
|
],
|
|
623
624
|
32
|
|
624
625
|
/* NEED_HYDRATION */
|
|
@@ -628,7 +629,7 @@ const Be = /* @__PURE__ */ D({
|
|
|
628
629
|
s.value ? (p(), R(qe, {
|
|
629
630
|
key: 2,
|
|
630
631
|
onChange: V
|
|
631
|
-
})) :
|
|
632
|
+
})) : E("v-if", !0)
|
|
632
633
|
]),
|
|
633
634
|
_: 1
|
|
634
635
|
/* STABLE */
|
|
@@ -803,7 +804,7 @@ const vt = /* @__PURE__ */ D({
|
|
|
803
804
|
},
|
|
804
805
|
emits: ["update:visible"],
|
|
805
806
|
setup(t, { emit: n }) {
|
|
806
|
-
const e = t, i = T(() => e.dialogTitle ||
|
|
807
|
+
const e = t, i = T(() => e.dialogTitle || k("视频监控")), a = n, o = T({
|
|
807
808
|
get: () => e.visible,
|
|
808
809
|
set: (u) => a("update:visible", u)
|
|
809
810
|
}), { render: s, toggleFullscreen: C } = dt(e), c = T(() => {
|
|
@@ -821,7 +822,7 @@ const vt = /* @__PURE__ */ D({
|
|
|
821
822
|
}
|
|
822
823
|
return u;
|
|
823
824
|
});
|
|
824
|
-
return (u, r) => (p(), R(l(
|
|
825
|
+
return (u, r) => (p(), R(l(ke), {
|
|
825
826
|
size: "mini",
|
|
826
827
|
title: i.value,
|
|
827
828
|
"custom-class": `das-linakge-video-dialog ${c.value}`,
|
|
@@ -833,7 +834,7 @@ const vt = /* @__PURE__ */ D({
|
|
|
833
834
|
modal: !1,
|
|
834
835
|
"header-style": { display: "flex", justifyContent: "space-between", alignItems: "center" }
|
|
835
836
|
}, {
|
|
836
|
-
header:
|
|
837
|
+
header: y(() => [
|
|
837
838
|
m("div", null, [
|
|
838
839
|
m(
|
|
839
840
|
"span",
|
|
@@ -844,9 +845,9 @@ const vt = /* @__PURE__ */ D({
|
|
|
844
845
|
)
|
|
845
846
|
]),
|
|
846
847
|
f(l(w), {
|
|
847
|
-
content: l(
|
|
848
|
+
content: l(k)("页面全屏")
|
|
848
849
|
}, {
|
|
849
|
-
default:
|
|
850
|
+
default: y(() => [
|
|
850
851
|
f(l(_e), {
|
|
851
852
|
class: "icon",
|
|
852
853
|
color: "#999",
|
|
@@ -857,8 +858,8 @@ const vt = /* @__PURE__ */ D({
|
|
|
857
858
|
/* STABLE */
|
|
858
859
|
}, 8, ["content"])
|
|
859
860
|
]),
|
|
860
|
-
default:
|
|
861
|
-
o.value ? (p(), R(l(s), { key: 0 })) :
|
|
861
|
+
default: y(() => [
|
|
862
|
+
o.value ? (p(), R(l(s), { key: 0 })) : E("v-if", !0)
|
|
862
863
|
]),
|
|
863
864
|
_: 1
|
|
864
865
|
/* STABLE */
|
|
@@ -886,7 +887,7 @@ const vt = /* @__PURE__ */ D({
|
|
|
886
887
|
"聚焦-": { "zh-CN": "聚焦-", en: "Focus-", _appCode: "framework" },
|
|
887
888
|
"聚焦+": { "zh-CN": "聚焦+", en: "Focus+", _appCode: "framework" }
|
|
888
889
|
};
|
|
889
|
-
|
|
890
|
+
ye(pt);
|
|
890
891
|
const Nt = ge(vt), Ft = () => h(null);
|
|
891
892
|
export {
|
|
892
893
|
Nt as DasVideoDialog,
|
|
Binary file
|
|
@@ -213,10 +213,13 @@ var ot = /* @__PURE__ */ function() {
|
|
|
213
213
|
}();
|
|
214
214
|
function _e(e, t, i) {
|
|
215
215
|
var s = t.value;
|
|
216
|
-
if (s
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
216
|
+
if (s)
|
|
217
|
+
if (typeof IntersectionObserver > "u")
|
|
218
|
+
console.warn("[vue-observe-visibility] IntersectionObserver API is not available in your browser. Please install this polyfill: https://github.com/w3c/IntersectionObserver/tree/master/polyfill");
|
|
219
|
+
else {
|
|
220
|
+
var n = new ot(e, s, i);
|
|
221
|
+
e._vue_visibilityState = n;
|
|
222
|
+
}
|
|
220
223
|
}
|
|
221
224
|
function at(e, t, i) {
|
|
222
225
|
var s = t.value, n = t.oldValue;
|
|
@@ -443,7 +446,7 @@ var de = {
|
|
|
443
446
|
}
|
|
444
447
|
},
|
|
445
448
|
created() {
|
|
446
|
-
this.$_startIndex = 0, this.$_endIndex = 0, this.$_views = /* @__PURE__ */ new Map(), this.$_unusedViews = /* @__PURE__ */ new Map(), this.$_scrollDirty = !1, this.$_lastUpdateScrollPosition = 0, this.prerender && (this.$_prerender = !0, this.updateVisibleItems(!1)), this.gridItems && this.itemSize;
|
|
449
|
+
this.$_startIndex = 0, this.$_endIndex = 0, this.$_views = /* @__PURE__ */ new Map(), this.$_unusedViews = /* @__PURE__ */ new Map(), this.$_scrollDirty = !1, this.$_lastUpdateScrollPosition = 0, this.prerender && (this.$_prerender = !0, this.updateVisibleItems(!1)), this.gridItems && !this.itemSize && console.error("[vue-recycle-scroller] You must provide an itemSize when using gridItems");
|
|
447
450
|
},
|
|
448
451
|
mounted() {
|
|
449
452
|
this.applyPageMode(), this.$nextTick(() => {
|
|
@@ -620,6 +623,7 @@ var de = {
|
|
|
620
623
|
},
|
|
621
624
|
itemsLimitError() {
|
|
622
625
|
throw setTimeout(() => {
|
|
626
|
+
console.log("It seems the scroller element isn't scrolling, so it tries to render all the items at once.", "Scroller:", this.$el), console.log("Make sure the scroller has a fixed height (or width) and 'overflow-y' (or 'overflow-x') set to 'auto' so it can scroll correctly and only render the items visible in the scroll viewport.");
|
|
623
627
|
}), new Error("Rendered items limit reached");
|
|
624
628
|
},
|
|
625
629
|
sortViews() {
|
|
@@ -785,7 +789,9 @@ const St = ["onClick"], zt = { style: { display: "inline-block" } }, _t = {
|
|
|
785
789
|
s.showFullPath ? p.value = r.pathName || "" : p.value = r.name || "";
|
|
786
790
|
return;
|
|
787
791
|
}
|
|
788
|
-
let o = _.value.treeRef.getNode(r)
|
|
792
|
+
let o = _.value.treeRef.getNode(r);
|
|
793
|
+
console.log("treeNodeClick回调:", r, o);
|
|
794
|
+
let T = [o.data[s.fieldNames.label] || ""];
|
|
789
795
|
if (s.showFullPath)
|
|
790
796
|
for (; o.parent && o.parent.data[s.fieldNames.label]; )
|
|
791
797
|
o = o.parent, T.unshift(o.data[s.fieldNames.label]);
|
|
Binary file
|