matrix_components 2.0.318 → 2.0.320

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.
@@ -1,5 +1,5 @@
1
1
  var _a2;
2
- import { defineComponent, createElementBlock, openBlock, createElementVNode, reactive, withDirectives, normalizeStyle, Fragment, renderList, toDisplayString, vShow, nextTick, useCssVars, ref as ref$1, unref, inject, watch, onMounted, normalizeClass, renderSlot, createCommentVNode, createBlock, isRef, onUnmounted, onBeforeUnmount, resolveDirective, resolveComponent, createVNode, withCtx, resolveDynamicComponent, createTextVNode, provide, computed, Teleport, defineAsyncComponent, createSlots, mergeProps, toHandlers, createApp, render, useAttrs, watchEffect, shallowRef, createStaticVNode, vModelText, Transition, getCurrentInstance, h as h$2, onUpdated } from "vue";
2
+ import { defineComponent, createElementBlock, openBlock, createElementVNode, reactive, withDirectives, normalizeStyle, Fragment, renderList, toDisplayString, vShow, nextTick, useCssVars, ref as ref$1, unref, inject, watch, onMounted, normalizeClass, renderSlot, createCommentVNode, createBlock, isRef, onUnmounted, onBeforeUnmount, resolveDirective, resolveComponent, createVNode, withCtx, resolveDynamicComponent, createTextVNode, useSlots, provide, computed, Teleport, defineAsyncComponent, createSlots, mergeProps, toHandlers, createApp, render, useAttrs, watchEffect, shallowRef, createStaticVNode, vModelText, Transition, getCurrentInstance, h as h$2, onUpdated } from "vue";
3
3
  import { ElMessage } from "element-plus";
4
4
  import VuePdfApp from "vue3-pdf-app";
5
5
  import axios from "axios";
@@ -5473,7 +5473,7 @@ const ElementPlusIconsVue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object
5473
5473
  ZoomOut: zoom_out_default
5474
5474
  }, Symbol.toStringTag, { value: "Module" }));
5475
5475
  const _hoisted_1$a = { class: "right-box-2" };
5476
- const _hoisted_2$9 = ["onClick"];
5476
+ const _hoisted_2$8 = ["onClick"];
5477
5477
  const _sfc_main$g = /* @__PURE__ */ defineComponent({
5478
5478
  __name: "videoRightMenu",
5479
5479
  props: {
@@ -5547,7 +5547,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
5547
5547
  right_closeMenu();
5548
5548
  rightHandler(item);
5549
5549
  }
5550
- }, toDisplayString(item == null ? void 0 : item.name), 9, _hoisted_2$9);
5550
+ }, toDisplayString(item == null ? void 0 : item.name), 9, _hoisted_2$8);
5551
5551
  }), 128))
5552
5552
  ])
5553
5553
  ], 36)), [
@@ -5565,7 +5565,7 @@ const _export_sfc = (sfc, props) => {
5565
5565
  };
5566
5566
  const ComRightMenu = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-644f5340"]]);
5567
5567
  const _hoisted_1$9 = { class: "split-icon-container" };
5568
- const _hoisted_2$8 = ["onClick"];
5568
+ const _hoisted_2$7 = ["onClick"];
5569
5569
  const _hoisted_3$6 = { class: "video-view-bg" };
5570
5570
  const _sfc_main$f = /* @__PURE__ */ defineComponent({
5571
5571
  __name: "SplitIcon",
@@ -5678,7 +5678,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
5678
5678
  info: videoInfo == null ? void 0 : videoInfo.info
5679
5679
  }, void 0, true) : createCommentVNode("", true)
5680
5680
  ])
5681
- ], 10, _hoisted_2$8);
5681
+ ], 10, _hoisted_2$7);
5682
5682
  }), 128))
5683
5683
  ]);
5684
5684
  };
@@ -5686,7 +5686,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
5686
5686
  });
5687
5687
  const SplitIcon = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-5efe1bd4"]]);
5688
5688
  const _hoisted_1$8 = { class: "split-box" };
5689
- const _hoisted_2$7 = ["onClick"];
5689
+ const _hoisted_2$6 = ["onClick"];
5690
5690
  const _sfc_main$e = /* @__PURE__ */ defineComponent({
5691
5691
  __name: "index",
5692
5692
  props: {
@@ -5727,7 +5727,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
5727
5727
  key: index2,
5728
5728
  class: normalizeClass(["martrix_iconfont", getIconClass(index2, unref(activeIndex))]),
5729
5729
  onClick: ($event) => activeIndex.value = index2 + 1
5730
- }, null, 10, _hoisted_2$7);
5730
+ }, null, 10, _hoisted_2$6);
5731
5731
  }), 64))
5732
5732
  ]);
5733
5733
  };
@@ -6084,7 +6084,7 @@ class hkVideo {
6084
6084
  }
6085
6085
  }
6086
6086
  const _hoisted_1$7 = ["id"];
6087
- const _hoisted_2$6 = ["id"];
6087
+ const _hoisted_2$5 = ["id"];
6088
6088
  const _hoisted_3$5 = {
6089
6089
  class: "video-mask",
6090
6090
  "element-loading-text": "加载中..."
@@ -6263,7 +6263,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
6263
6263
  createElementVNode("div", {
6264
6264
  class: "video-container",
6265
6265
  id: `hk-${unref(videoRandomId)}`
6266
- }, null, 8, _hoisted_2$6),
6266
+ }, null, 8, _hoisted_2$5),
6267
6267
  withDirectives(createElementVNode("div", _hoisted_3$5, null, 512), [
6268
6268
  [_directive_loading, videoLoading.value]
6269
6269
  ]),
@@ -6289,7 +6289,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
6289
6289
  });
6290
6290
  const HKPlayView = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-a962f649"]]);
6291
6291
  const _hoisted_1$6 = { class: "split-box" };
6292
- const _hoisted_2$5 = ["onMouseover", "onMouseleave"];
6292
+ const _hoisted_2$4 = ["onMouseover", "onMouseleave"];
6293
6293
  const _hoisted_3$4 = {
6294
6294
  key: 0,
6295
6295
  class: "no-signal"
@@ -6316,6 +6316,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
6316
6316
  },
6317
6317
  emits: ["removeVideo", "errorVideo", "urlError", "videoOriginalInfo"],
6318
6318
  setup(__props, { emit: __emit }) {
6319
+ const injectedSlots = inject("slots");
6319
6320
  const videoModelsInfo = ref$1({
6320
6321
  easyplayer: {
6321
6322
  name: "easyplayer",
@@ -6487,171 +6488,175 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
6487
6488
  height: "100%",
6488
6489
  isVideo: true
6489
6490
  }, {
6490
- "video-view-slot": withCtx(({ index: index2, url, info }) => [
6491
- createElementVNode("div", {
6492
- class: "live-player-box",
6493
- ref: (el2) => videoDivRefHandler(el2, index2),
6494
- onDblclick: toggleFullScreen,
6495
- onMouseover: ($event) => showCloseBtnHandler(index2),
6496
- onMouseleave: ($event) => hideCloseBtnHandler(index2)
6497
- }, [
6498
- !url ? (openBlock(), createElementBlock("span", _hoisted_3$4, "无信号")) : (openBlock(), createBlock(resolveDynamicComponent(getVideoModel(info)), {
6499
- key: 1,
6500
- ref: (el2) => videoPlayerRefHandler(el2, index2),
6501
- videoUrl: url,
6502
- MSE: __props.videoConfig.MSE,
6503
- WCS: __props.videoConfig.WCS,
6504
- WASM: __props.videoConfig.WASM,
6505
- WASMSIMD: __props.videoConfig.WASMSIMD,
6506
- loadTimeReplay: __props.videoErrorMaxCount,
6507
- stretch: __props.videoConfig.stretch,
6508
- hasAudio: __props.videoConfig.hasAudio,
6509
- isLive: __props.videoConfig.isLive,
6510
- playerIndex: index2,
6511
- hkPath: info == null ? void 0 : info.hkPath,
6491
+ "video-view-slot": withCtx(({ index: index2, url, info }) => {
6492
+ var _a3;
6493
+ return [
6494
+ createElementVNode("div", {
6495
+ class: "live-player-box",
6496
+ ref: (el2) => videoDivRefHandler(el2, index2),
6512
6497
  onDblclick: toggleFullScreen,
6513
- onError: ($event) => messageHandler($event, index2),
6514
- onUrlError: ($event) => urlErrorHandler($event, index2),
6515
- onVideoOriginalInfo: ($event) => videoOriginalInfoHandler($event, index2)
6516
- }, null, 40, ["videoUrl", "MSE", "WCS", "WASM", "WASMSIMD", "loadTimeReplay", "stretch", "hasAudio", "isLive", "playerIndex", "hkPath", "onError", "onUrlError", "onVideoOriginalInfo"])),
6517
- withDirectives(createVNode(_component_el_button, {
6518
- onClick: ($event) => closeVideoHandler(index2),
6519
- type: "info",
6520
- class: "close-btn"
6521
- }, {
6522
- default: withCtx(() => [..._cache[2] || (_cache[2] = [
6523
- createTextVNode("关闭", -1)
6524
- ])]),
6525
- _: 1
6526
- }, 8, ["onClick"]), [
6527
- [vShow, closeBtnStatusList.value[index2] && !!url && showClose]
6528
- ]),
6529
- unref(showVideoCtrls) ? withDirectives((openBlock(), createElementBlock("div", _hoisted_4$2, [
6530
- createElementVNode("div", _hoisted_5$2, [
6531
- createVNode(_component_el_icon, {
6532
- class: "ctrl-btn left",
6533
- onMousedown: ($event) => ctrlHandler("left", info)
6534
- }, {
6535
- default: withCtx(() => [
6536
- createVNode(_component_CaretLeft)
6537
- ]),
6538
- _: 1
6539
- }, 8, ["onMousedown"]),
6540
- createVNode(_component_el_icon, {
6541
- class: "ctrl-btn top",
6542
- onMousedown: ($event) => ctrlHandler("top", info)
6543
- }, {
6544
- default: withCtx(() => [
6545
- createVNode(_component_CaretTop)
6546
- ]),
6547
- _: 1
6548
- }, 8, ["onMousedown"]),
6549
- createVNode(_component_el_icon, {
6550
- class: "ctrl-btn right",
6551
- onMousedown: ($event) => ctrlHandler("right", info)
6552
- }, {
6553
- default: withCtx(() => [
6554
- createVNode(_component_CaretRight)
6555
- ]),
6556
- _: 1
6557
- }, 8, ["onMousedown"]),
6558
- createVNode(_component_el_icon, {
6559
- class: "ctrl-btn bottom",
6560
- onMousedown: ($event) => ctrlHandler("bottom", info)
6561
- }, {
6562
- default: withCtx(() => [
6563
- createVNode(_component_CaretBottom)
6564
- ]),
6565
- _: 1
6566
- }, 8, ["onMousedown"]),
6567
- createVNode(_component_el_icon, {
6568
- class: normalizeClass(["ctrl-btn speak", [speakStatue.value ? "running" : ""]]),
6569
- onMousedown: ($event) => ctrlHandler("speak", info)
6570
- }, {
6571
- default: withCtx(() => [
6572
- createVNode(_component_Microphone)
6573
- ]),
6574
- _: 1
6575
- }, 8, ["class", "onMousedown"]),
6576
- createElementVNode("div", _hoisted_6, [
6577
- _cache[3] || (_cache[3] = createElementVNode("span", { class: "speed-title" }, "速度:", -1)),
6578
- createVNode(_component_el_slider, {
6579
- class: "slid-btn",
6580
- modelValue: unref(slidValue),
6581
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(slidValue) ? slidValue.value = $event : null),
6582
- step: 5,
6583
- max: 255,
6584
- "show-tooltip": false,
6585
- onChange: ($event) => slidHandler(info)
6586
- }, null, 8, ["modelValue", "onChange"])
6587
- ])
6498
+ onMouseover: ($event) => showCloseBtnHandler(index2),
6499
+ onMouseleave: ($event) => hideCloseBtnHandler(index2)
6500
+ }, [
6501
+ !url ? (openBlock(), createElementBlock("span", _hoisted_3$4, "无信号")) : (openBlock(), createBlock(resolveDynamicComponent(getVideoModel(info)), {
6502
+ key: 1,
6503
+ ref: (el2) => videoPlayerRefHandler(el2, index2),
6504
+ videoUrl: url,
6505
+ MSE: __props.videoConfig.MSE,
6506
+ WCS: __props.videoConfig.WCS,
6507
+ WASM: __props.videoConfig.WASM,
6508
+ WASMSIMD: __props.videoConfig.WASMSIMD,
6509
+ loadTimeReplay: __props.videoErrorMaxCount,
6510
+ stretch: __props.videoConfig.stretch,
6511
+ hasAudio: __props.videoConfig.hasAudio,
6512
+ isLive: __props.videoConfig.isLive,
6513
+ playerIndex: index2,
6514
+ hkPath: info == null ? void 0 : info.hkPath,
6515
+ onDblclick: toggleFullScreen,
6516
+ onError: ($event) => messageHandler($event, index2),
6517
+ onUrlError: ($event) => urlErrorHandler($event, index2),
6518
+ onVideoOriginalInfo: ($event) => videoOriginalInfoHandler($event, index2)
6519
+ }, null, 40, ["videoUrl", "MSE", "WCS", "WASM", "WASMSIMD", "loadTimeReplay", "stretch", "hasAudio", "isLive", "playerIndex", "hkPath", "onError", "onUrlError", "onVideoOriginalInfo"])),
6520
+ withDirectives(createVNode(_component_el_button, {
6521
+ onClick: ($event) => closeVideoHandler(index2),
6522
+ type: "info",
6523
+ class: "close-btn"
6524
+ }, {
6525
+ default: withCtx(() => [..._cache[2] || (_cache[2] = [
6526
+ createTextVNode("关闭", -1)
6527
+ ])]),
6528
+ _: 1
6529
+ }, 8, ["onClick"]), [
6530
+ [vShow, closeBtnStatusList.value[index2] && !!url && showClose]
6588
6531
  ]),
6589
- createElementVNode("div", _hoisted_7, [
6590
- createVNode(_component_el_icon, {
6591
- class: "ctrl-btn zoom-in",
6592
- onMousedown: ($event) => ctrlHandler("zoom-in", info)
6593
- }, {
6594
- default: withCtx(() => [
6595
- createVNode(_component_ZoomIn)
6596
- ]),
6597
- _: 1
6598
- }, 8, ["onMousedown"]),
6599
- createVNode(_component_el_icon, {
6600
- class: "ctrl-btn zoom-out",
6601
- onMousedown: ($event) => ctrlHandler("zoom-out", info)
6602
- }, {
6603
- default: withCtx(() => [
6604
- createVNode(_component_ZoomOut)
6605
- ]),
6606
- _: 1
6607
- }, 8, ["onMousedown"]),
6608
- createVNode(_component_el_icon, {
6609
- class: "ctrl-btn scan",
6610
- onMousedown: ($event) => ctrlHandler("scan", info)
6611
- }, {
6612
- default: withCtx(() => [
6613
- createVNode(_component_Files)
6614
- ]),
6615
- _: 1
6616
- }, 8, ["onMousedown"]),
6617
- createVNode(_component_el_icon, {
6618
- class: "ctrl-btn cruise",
6619
- onMousedown: ($event) => ctrlHandler("cruise", info)
6620
- }, {
6621
- default: withCtx(() => [
6622
- createVNode(_component_MapLocation)
6623
- ]),
6624
- _: 1
6625
- }, 8, ["onMousedown"]),
6626
- createVNode(_component_el_icon, {
6627
- class: "ctrl-btn call",
6628
- onMousedown: ($event) => ctrlHandler("call", info)
6629
- }, {
6630
- default: withCtx(() => [
6631
- createVNode(_component_VideoCamera)
6632
- ]),
6633
- _: 1
6634
- }, 8, ["onMousedown"])
6635
- ])
6636
- ], 512)), [
6637
- [vShow, (unref(activeIndex) == 1 || isFullScreen.value) && closeBtnStatusList.value[index2] && !!url]
6638
- ]) : createCommentVNode("", true)
6639
- ], 40, _hoisted_2$5)
6640
- ]),
6532
+ unref(showVideoCtrls) ? withDirectives((openBlock(), createElementBlock("div", _hoisted_4$2, [
6533
+ createElementVNode("div", _hoisted_5$2, [
6534
+ createVNode(_component_el_icon, {
6535
+ class: "ctrl-btn left",
6536
+ onMousedown: ($event) => ctrlHandler("left", info)
6537
+ }, {
6538
+ default: withCtx(() => [
6539
+ createVNode(_component_CaretLeft)
6540
+ ]),
6541
+ _: 1
6542
+ }, 8, ["onMousedown"]),
6543
+ createVNode(_component_el_icon, {
6544
+ class: "ctrl-btn top",
6545
+ onMousedown: ($event) => ctrlHandler("top", info)
6546
+ }, {
6547
+ default: withCtx(() => [
6548
+ createVNode(_component_CaretTop)
6549
+ ]),
6550
+ _: 1
6551
+ }, 8, ["onMousedown"]),
6552
+ createVNode(_component_el_icon, {
6553
+ class: "ctrl-btn right",
6554
+ onMousedown: ($event) => ctrlHandler("right", info)
6555
+ }, {
6556
+ default: withCtx(() => [
6557
+ createVNode(_component_CaretRight)
6558
+ ]),
6559
+ _: 1
6560
+ }, 8, ["onMousedown"]),
6561
+ createVNode(_component_el_icon, {
6562
+ class: "ctrl-btn bottom",
6563
+ onMousedown: ($event) => ctrlHandler("bottom", info)
6564
+ }, {
6565
+ default: withCtx(() => [
6566
+ createVNode(_component_CaretBottom)
6567
+ ]),
6568
+ _: 1
6569
+ }, 8, ["onMousedown"]),
6570
+ createVNode(_component_el_icon, {
6571
+ class: normalizeClass(["ctrl-btn speak", [speakStatue.value ? "running" : ""]]),
6572
+ onMousedown: ($event) => ctrlHandler("speak", info)
6573
+ }, {
6574
+ default: withCtx(() => [
6575
+ createVNode(_component_Microphone)
6576
+ ]),
6577
+ _: 1
6578
+ }, 8, ["class", "onMousedown"]),
6579
+ createElementVNode("div", _hoisted_6, [
6580
+ _cache[3] || (_cache[3] = createElementVNode("span", { class: "speed-title" }, "速度:", -1)),
6581
+ createVNode(_component_el_slider, {
6582
+ class: "slid-btn",
6583
+ modelValue: unref(slidValue),
6584
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(slidValue) ? slidValue.value = $event : null),
6585
+ step: 5,
6586
+ max: 255,
6587
+ "show-tooltip": false,
6588
+ onChange: ($event) => slidHandler(info)
6589
+ }, null, 8, ["modelValue", "onChange"])
6590
+ ])
6591
+ ]),
6592
+ createElementVNode("div", _hoisted_7, [
6593
+ createVNode(_component_el_icon, {
6594
+ class: "ctrl-btn zoom-in",
6595
+ onMousedown: ($event) => ctrlHandler("zoom-in", info)
6596
+ }, {
6597
+ default: withCtx(() => [
6598
+ createVNode(_component_ZoomIn)
6599
+ ]),
6600
+ _: 1
6601
+ }, 8, ["onMousedown"]),
6602
+ createVNode(_component_el_icon, {
6603
+ class: "ctrl-btn zoom-out",
6604
+ onMousedown: ($event) => ctrlHandler("zoom-out", info)
6605
+ }, {
6606
+ default: withCtx(() => [
6607
+ createVNode(_component_ZoomOut)
6608
+ ]),
6609
+ _: 1
6610
+ }, 8, ["onMousedown"]),
6611
+ createVNode(_component_el_icon, {
6612
+ class: "ctrl-btn scan",
6613
+ onMousedown: ($event) => ctrlHandler("scan", info)
6614
+ }, {
6615
+ default: withCtx(() => [
6616
+ createVNode(_component_Files)
6617
+ ]),
6618
+ _: 1
6619
+ }, 8, ["onMousedown"]),
6620
+ createVNode(_component_el_icon, {
6621
+ class: "ctrl-btn cruise",
6622
+ onMousedown: ($event) => ctrlHandler("cruise", info)
6623
+ }, {
6624
+ default: withCtx(() => [
6625
+ createVNode(_component_MapLocation)
6626
+ ]),
6627
+ _: 1
6628
+ }, 8, ["onMousedown"]),
6629
+ createVNode(_component_el_icon, {
6630
+ class: "ctrl-btn call",
6631
+ onMousedown: ($event) => ctrlHandler("call", info)
6632
+ }, {
6633
+ default: withCtx(() => [
6634
+ createVNode(_component_VideoCamera)
6635
+ ]),
6636
+ _: 1
6637
+ }, 8, ["onMousedown"])
6638
+ ])
6639
+ ], 512)), [
6640
+ [vShow, (unref(activeIndex) == 1 || isFullScreen.value) && closeBtnStatusList.value[index2] && !!url]
6641
+ ]) : createCommentVNode("", true),
6642
+ ((_a3 = unref(injectedSlots)) == null ? void 0 : _a3["video-player-cover"]) ? (openBlock(), createBlock(resolveDynamicComponent(unref(injectedSlots)["video-player-cover"]), { key: 3 })) : createCommentVNode("", true)
6643
+ ], 40, _hoisted_2$4)
6644
+ ];
6645
+ }),
6641
6646
  _: 1
6642
6647
  }, 8, ["type", "activeIndex"])
6643
6648
  ]);
6644
6649
  };
6645
6650
  }
6646
6651
  });
6647
- const SplitVideoGroup = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-44d9e037"]]);
6652
+ const SplitVideoGroup = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-7ea8a538"]]);
6648
6653
  const ctrlApis = {
6649
6654
  fnUrl: "http://199.10.11.47:9091/videoTest/wvpFunction",
6650
6655
  commandUrl: "http://199.10.11.47:9091/videoTest/wvpMove",
6651
6656
  speakUrl: "http://199.10.11.47:19091/videoTest/wvpSpeak"
6652
6657
  };
6653
6658
  const _hoisted_1$5 = { class: "video-player-view" };
6654
- const _hoisted_2$4 = { class: "video-tree" };
6659
+ const _hoisted_2$3 = { class: "video-tree" };
6655
6660
  const _hoisted_3$3 = { class: "player-container" };
6656
6661
  const _sfc_main$a = /* @__PURE__ */ defineComponent({
6657
6662
  __name: "index",
@@ -6819,6 +6824,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
6819
6824
  "changeSplit"
6820
6825
  ],
6821
6826
  setup(__props, { expose: __expose, emit: __emit }) {
6827
+ const slots = useSlots();
6828
+ provide("slots", slots);
6822
6829
  const props = __props;
6823
6830
  const treeRef = ref$1();
6824
6831
  let videoErrorInfos = {};
@@ -7173,7 +7180,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
7173
7180
  const _directive_sline = resolveDirective("sline");
7174
7181
  return openBlock(), createElementBlock("div", _hoisted_1$5, [
7175
7182
  __props.showTree ? renderSlot(_ctx.$slots, "video-tree", { key: 0 }, () => [
7176
- createElementVNode("div", _hoisted_2$4, [
7183
+ createElementVNode("div", _hoisted_2$3, [
7177
7184
  createVNode(_component_el_tree, {
7178
7185
  class: "tree-view",
7179
7186
  ref_key: "treeRef",
@@ -7247,7 +7254,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
7247
7254
  };
7248
7255
  }
7249
7256
  });
7250
- const NsVideo = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-428a0f85"]]);
7257
+ const NsVideo = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-675ac530"]]);
7251
7258
  function registerDirective(app2) {
7252
7259
  app2.directive("sline", {
7253
7260
  mounted(el2) {
@@ -47085,7 +47092,7 @@ const loadCssVars = () => {
47085
47092
  return variables;
47086
47093
  };
47087
47094
  const _hoisted_1$4 = { class: "dialog-content" };
47088
- const _hoisted_2$3 = { class: "dialog-header" };
47095
+ const _hoisted_2$2 = { class: "dialog-header" };
47089
47096
  const _hoisted_3$2 = { class: "dialog-title" };
47090
47097
  const _hoisted_4$1 = { class: "dialog-controls" };
47091
47098
  const _hoisted_5$1 = {
@@ -47512,7 +47519,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
47512
47519
  onClosed: dealClosed
47513
47520
  }, createSlots({
47514
47521
  header: withCtx(() => [
47515
- createElementVNode("div", _hoisted_2$3, [
47522
+ createElementVNode("div", _hoisted_2$2, [
47516
47523
  createElementVNode("div", _hoisted_3$2, [
47517
47524
  __props.headerDom ? (openBlock(), createBlock(resolveDynamicComponent(asyncHeaderDom.value), mergeProps({ key: 0 }, props.headerOption, toHandlers({
47518
47525
  ...props.headerEvents,
@@ -47814,7 +47821,7 @@ _sfc_main$7.install = (app2) => {
47814
47821
  app2.component(_sfc_main$7.name, _sfc_main$7);
47815
47822
  };
47816
47823
  const _hoisted_1$3 = { class: "pdf-reader" };
47817
- const _hoisted_2$2 = { class: "pdf-tools" };
47824
+ const _hoisted_2$1 = { class: "pdf-tools" };
47818
47825
  const _hoisted_3$1 = ["id"];
47819
47826
  const _sfc_main$6 = /* @__PURE__ */ defineComponent({
47820
47827
  ...{
@@ -47903,7 +47910,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
47903
47910
  const _component_el_button = resolveComponent("el-button");
47904
47911
  const _component_el_empty = resolveComponent("el-empty");
47905
47912
  return openBlock(), createElementBlock("div", _hoisted_1$3, [
47906
- withDirectives(createElementVNode("div", _hoisted_2$2, [
47913
+ withDirectives(createElementVNode("div", _hoisted_2$1, [
47907
47914
  createVNode(_component_el_button, {
47908
47915
  id: idConfig.value.previousPage
47909
47916
  }, {
@@ -54325,7 +54332,7 @@ async function renderAsync(data, bodyContainer, styleContainer, userOptions) {
54325
54332
  return doc;
54326
54333
  }
54327
54334
  const _hoisted_1$2 = { class: "word-reader" };
54328
- const _hoisted_2$1 = { class: "word-tools" };
54335
+ const _hoisted_2 = { class: "word-tools" };
54329
54336
  const _hoisted_3 = { class: "zoom-info" };
54330
54337
  const _hoisted_4 = { class: "word-container" };
54331
54338
  const _hoisted_5 = {
@@ -54466,7 +54473,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
54466
54473
  return (_ctx, _cache) => {
54467
54474
  const _component_el_button = resolveComponent("el-button");
54468
54475
  return openBlock(), createElementBlock("div", _hoisted_1$2, [
54469
- withDirectives(createElementVNode("div", _hoisted_2$1, [
54476
+ withDirectives(createElementVNode("div", _hoisted_2, [
54470
54477
  createVNode(_component_el_button, {
54471
54478
  onClick: zoomOut,
54472
54479
  disabled: zoom.value <= 0.5
@@ -54512,10 +54519,6 @@ NsWord.install = (app2) => {
54512
54519
  app2.component(NsWord.name, NsWord);
54513
54520
  };
54514
54521
  const _hoisted_1$1 = { class: "ns-office" };
54515
- const _hoisted_2 = {
54516
- key: 3,
54517
- class: "unsupported-file"
54518
- };
54519
54522
  const _sfc_main$4 = /* @__PURE__ */ defineComponent({
54520
54523
  ...{
54521
54524
  name: "ns-office"
@@ -54565,6 +54568,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
54565
54568
  }
54566
54569
  });
54567
54570
  return (_ctx, _cache) => {
54571
+ const _component_NoData = resolveComponent("NoData");
54568
54572
  return openBlock(), createElementBlock("div", _hoisted_1$1, [
54569
54573
  fileType.value === "excel" ? (openBlock(), createBlock(_sfc_main$7, mergeProps({ key: 0 }, _ctx.$attrs, {
54570
54574
  isEdit: false,
@@ -54580,17 +54584,16 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
54580
54584
  url: __props.url,
54581
54585
  ref_key: "officeRef",
54582
54586
  ref: officeRef
54583
- }), null, 16, ["url"])) : (openBlock(), createElementBlock("div", _hoisted_2, [..._cache[0] || (_cache[0] = [
54584
- createElementVNode("div", { class: "error-message" }, [
54585
- createElementVNode("div", { class: "empty-icon" }),
54586
- createElementVNode("span", null, "暂无数据")
54587
- ], -1)
54588
- ])]))
54587
+ }), null, 16, ["url"])) : (openBlock(), createBlock(_component_NoData, {
54588
+ key: 3,
54589
+ noData: true,
54590
+ height: "100px"
54591
+ }))
54589
54592
  ]);
54590
54593
  };
54591
54594
  }
54592
54595
  });
54593
- const NsOffice = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-1402042a"]]);
54596
+ const NsOffice = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-5bac97ef"]]);
54594
54597
  NsOffice.install = (app2) => {
54595
54598
  app2.component(NsOffice.name, NsOffice);
54596
54599
  };