matrix_components 2.0.355 → 2.0.357
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, useSlots, 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, withModifiers, h as h$2, onUpdated } from "vue";
|
|
3
3
|
import { ElMessage, ElImage, ElImageViewer } from "element-plus";
|
|
4
4
|
import VuePdfApp from "vue3-pdf-app";
|
|
5
5
|
import axios from "axios";
|
|
@@ -5566,7 +5566,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
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
5568
|
const _hoisted_2$8 = ["onClick"];
|
|
5569
|
-
const _hoisted_3$
|
|
5569
|
+
const _hoisted_3$6 = { class: "video-view-bg" };
|
|
5570
5570
|
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
5571
5571
|
__name: "SplitIcon",
|
|
5572
5572
|
props: {
|
|
@@ -5670,7 +5670,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
5670
5670
|
]),
|
|
5671
5671
|
onClick: ($event) => iconClick(videoInfo.index)
|
|
5672
5672
|
}, [
|
|
5673
|
-
createElementVNode("div", _hoisted_3$
|
|
5673
|
+
createElementVNode("div", _hoisted_3$6, [
|
|
5674
5674
|
__props.isVideo ? renderSlot(_ctx.$slots, "video-view-slot", {
|
|
5675
5675
|
key: 0,
|
|
5676
5676
|
index: videoInfo.index,
|
|
@@ -6085,7 +6085,7 @@ class hkVideo {
|
|
|
6085
6085
|
}
|
|
6086
6086
|
const _hoisted_1$7 = ["id"];
|
|
6087
6087
|
const _hoisted_2$6 = ["id"];
|
|
6088
|
-
const _hoisted_3$
|
|
6088
|
+
const _hoisted_3$5 = {
|
|
6089
6089
|
class: "video-mask",
|
|
6090
6090
|
"element-loading-text": "加载中..."
|
|
6091
6091
|
};
|
|
@@ -6264,7 +6264,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
6264
6264
|
class: "video-container",
|
|
6265
6265
|
id: `hk-${unref(videoRandomId)}`
|
|
6266
6266
|
}, null, 8, _hoisted_2$6),
|
|
6267
|
-
withDirectives(createElementVNode("div", _hoisted_3$
|
|
6267
|
+
withDirectives(createElementVNode("div", _hoisted_3$5, null, 512), [
|
|
6268
6268
|
[_directive_loading, videoLoading.value]
|
|
6269
6269
|
]),
|
|
6270
6270
|
withDirectives(createElementVNode("div", {
|
|
@@ -6290,11 +6290,11 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
6290
6290
|
const HKPlayView = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-a962f649"]]);
|
|
6291
6291
|
const _hoisted_1$6 = { class: "split-box" };
|
|
6292
6292
|
const _hoisted_2$5 = ["onMouseover", "onMouseleave"];
|
|
6293
|
-
const _hoisted_3$
|
|
6293
|
+
const _hoisted_3$4 = {
|
|
6294
6294
|
key: 0,
|
|
6295
6295
|
class: "no-signal"
|
|
6296
6296
|
};
|
|
6297
|
-
const _hoisted_4$
|
|
6297
|
+
const _hoisted_4$2 = {
|
|
6298
6298
|
key: 2,
|
|
6299
6299
|
class: "ctrl-box"
|
|
6300
6300
|
};
|
|
@@ -6498,7 +6498,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
6498
6498
|
onMouseover: ($event) => showCloseBtnHandler(index2),
|
|
6499
6499
|
onMouseleave: ($event) => hideCloseBtnHandler(index2)
|
|
6500
6500
|
}, [
|
|
6501
|
-
!url ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
6501
|
+
!url ? (openBlock(), createElementBlock("span", _hoisted_3$4, "无信号")) : (openBlock(), createBlock(resolveDynamicComponent(getVideoModel(info)), {
|
|
6502
6502
|
key: 1,
|
|
6503
6503
|
ref: (el2) => videoPlayerRefHandler(el2, index2),
|
|
6504
6504
|
videoUrl: url,
|
|
@@ -6529,7 +6529,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
6529
6529
|
}, 8, ["onClick"]), [
|
|
6530
6530
|
[vShow, closeBtnStatusList.value[index2] && !!url && showClose]
|
|
6531
6531
|
]),
|
|
6532
|
-
unref(showVideoCtrls) ? withDirectives((openBlock(), createElementBlock("div", _hoisted_4$
|
|
6532
|
+
unref(showVideoCtrls) ? withDirectives((openBlock(), createElementBlock("div", _hoisted_4$2, [
|
|
6533
6533
|
createElementVNode("div", _hoisted_5$2, [
|
|
6534
6534
|
createVNode(_component_el_icon, {
|
|
6535
6535
|
class: "ctrl-btn left",
|
|
@@ -6657,7 +6657,7 @@ const ctrlApis = {
|
|
|
6657
6657
|
};
|
|
6658
6658
|
const _hoisted_1$5 = { class: "video-player-view" };
|
|
6659
6659
|
const _hoisted_2$4 = { class: "video-tree" };
|
|
6660
|
-
const _hoisted_3$
|
|
6660
|
+
const _hoisted_3$3 = { class: "player-container" };
|
|
6661
6661
|
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
6662
6662
|
__name: "index",
|
|
6663
6663
|
props: {
|
|
@@ -7217,7 +7217,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
7217
7217
|
}, 8, ["node-key", "data", "props", "default-expanded-keys", "onNodeExpand"])
|
|
7218
7218
|
])
|
|
7219
7219
|
], true) : createCommentVNode("", true),
|
|
7220
|
-
createElementVNode("div", _hoisted_3$
|
|
7220
|
+
createElementVNode("div", _hoisted_3$3, [
|
|
7221
7221
|
__props.showVideoSplit ? renderSlot(_ctx.$slots, "video-player-head", { key: 0 }, () => [
|
|
7222
7222
|
createVNode(SplitIconGroup, {
|
|
7223
7223
|
class: "video-player-head",
|
|
@@ -47093,8 +47093,8 @@ const loadCssVars = () => {
|
|
|
47093
47093
|
};
|
|
47094
47094
|
const _hoisted_1$4 = { class: "dialog-content" };
|
|
47095
47095
|
const _hoisted_2$3 = { class: "dialog-header" };
|
|
47096
|
-
const _hoisted_3$
|
|
47097
|
-
const _hoisted_4$
|
|
47096
|
+
const _hoisted_3$2 = { class: "dialog-title" };
|
|
47097
|
+
const _hoisted_4$1 = { class: "dialog-controls" };
|
|
47098
47098
|
const _hoisted_5$1 = {
|
|
47099
47099
|
key: 1,
|
|
47100
47100
|
class: "dialog-footer"
|
|
@@ -47520,7 +47520,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
47520
47520
|
}, createSlots({
|
|
47521
47521
|
header: withCtx(() => [
|
|
47522
47522
|
createElementVNode("div", _hoisted_2$3, [
|
|
47523
|
-
createElementVNode("div", _hoisted_3$
|
|
47523
|
+
createElementVNode("div", _hoisted_3$2, [
|
|
47524
47524
|
__props.headerDom ? (openBlock(), createBlock(resolveDynamicComponent(asyncHeaderDom.value), mergeProps({ key: 0 }, props.headerOption, toHandlers({
|
|
47525
47525
|
...props.headerEvents,
|
|
47526
47526
|
close: closeDialog
|
|
@@ -47528,7 +47528,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
47528
47528
|
createTextVNode(toDisplayString(currentTitle.value), 1)
|
|
47529
47529
|
], 64))
|
|
47530
47530
|
]),
|
|
47531
|
-
createElementVNode("div", _hoisted_4$
|
|
47531
|
+
createElementVNode("div", _hoisted_4$1, [
|
|
47532
47532
|
showMaximizeButton.value ? (openBlock(), createBlock(_component_el_icon, {
|
|
47533
47533
|
key: 0,
|
|
47534
47534
|
class: "dialog-maximize",
|
|
@@ -47827,7 +47827,7 @@ _sfc_main$7.install = (app2) => {
|
|
|
47827
47827
|
};
|
|
47828
47828
|
const _hoisted_1$3 = { class: "pdf-reader" };
|
|
47829
47829
|
const _hoisted_2$2 = { class: "pdf-tools" };
|
|
47830
|
-
const _hoisted_3$
|
|
47830
|
+
const _hoisted_3$1 = ["id"];
|
|
47831
47831
|
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
47832
47832
|
...{
|
|
47833
47833
|
name: "ns-pdf"
|
|
@@ -47929,7 +47929,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
47929
47929
|
class: "jump-input",
|
|
47930
47930
|
id: idConfig.value.pageNumber,
|
|
47931
47931
|
type: "number"
|
|
47932
|
-
}, null, 8, _hoisted_3$
|
|
47932
|
+
}, null, 8, _hoisted_3$1),
|
|
47933
47933
|
createElementVNode("span", null, "/" + toDisplayString(numPages.value) + "页", 1)
|
|
47934
47934
|
]),
|
|
47935
47935
|
createVNode(_component_el_button, {
|
|
@@ -54338,8 +54338,8 @@ async function renderAsync(data, bodyContainer, styleContainer, userOptions) {
|
|
|
54338
54338
|
}
|
|
54339
54339
|
const _hoisted_1$2 = { class: "word-reader" };
|
|
54340
54340
|
const _hoisted_2$1 = { class: "word-tools" };
|
|
54341
|
-
const _hoisted_3
|
|
54342
|
-
const _hoisted_4
|
|
54341
|
+
const _hoisted_3 = { class: "zoom-info" };
|
|
54342
|
+
const _hoisted_4 = { class: "word-container" };
|
|
54343
54343
|
const _hoisted_5 = {
|
|
54344
54344
|
key: 0,
|
|
54345
54345
|
class: "loading-wrapper"
|
|
@@ -54488,7 +54488,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
54488
54488
|
])]),
|
|
54489
54489
|
_: 1
|
|
54490
54490
|
}, 8, ["disabled"]),
|
|
54491
|
-
createElementVNode("span", _hoisted_3
|
|
54491
|
+
createElementVNode("span", _hoisted_3, toDisplayString(Math.round(zoom.value * 100)) + "%", 1),
|
|
54492
54492
|
createVNode(_component_el_button, {
|
|
54493
54493
|
onClick: zoomIn,
|
|
54494
54494
|
disabled: zoom.value >= 3
|
|
@@ -54501,7 +54501,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
54501
54501
|
], 512), [
|
|
54502
54502
|
[vShow, __props.hasTool && !noData.value]
|
|
54503
54503
|
]),
|
|
54504
|
-
withDirectives(createElementVNode("div", _hoisted_4
|
|
54504
|
+
withDirectives(createElementVNode("div", _hoisted_4, [
|
|
54505
54505
|
loading.value ? (openBlock(), createElementBlock("div", _hoisted_5, [..._cache[2] || (_cache[2] = [
|
|
54506
54506
|
createElementVNode("div", { style: { "height": "200px" } }, null, -1)
|
|
54507
54507
|
])])) : createCommentVNode("", true),
|
|
@@ -76852,10 +76852,8 @@ function isNotNull(value) {
|
|
|
76852
76852
|
return false;
|
|
76853
76853
|
}
|
|
76854
76854
|
}
|
|
76855
|
-
const _hoisted_1 =
|
|
76855
|
+
const _hoisted_1 = ["src"];
|
|
76856
76856
|
const _hoisted_2 = ["src"];
|
|
76857
|
-
const _hoisted_3 = { class: "error-view" };
|
|
76858
|
-
const _hoisted_4 = ["src"];
|
|
76859
76857
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
76860
76858
|
__name: "NsImage",
|
|
76861
76859
|
props: {
|
|
@@ -76962,13 +76960,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
76962
76960
|
onClick: showPreviewHander
|
|
76963
76961
|
}), {
|
|
76964
76962
|
error: withCtx(() => [
|
|
76965
|
-
createElementVNode("div",
|
|
76963
|
+
createElementVNode("div", {
|
|
76964
|
+
class: "error-view",
|
|
76965
|
+
onClick: _cache[1] || (_cache[1] = withModifiers(() => {
|
|
76966
|
+
}, ["stop"]))
|
|
76967
|
+
}, [
|
|
76966
76968
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
76967
76969
|
createElementVNode("img", {
|
|
76968
76970
|
src: unref(EmptyPng),
|
|
76969
76971
|
class: "error-img",
|
|
76970
|
-
style: { "max-width": "
|
|
76971
|
-
|
|
76972
|
+
style: { "max-width": "100%", "height": "auto" },
|
|
76973
|
+
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
76974
|
+
}, ["stop"]))
|
|
76975
|
+
}, null, 8, _hoisted_1)
|
|
76972
76976
|
], true)
|
|
76973
76977
|
])
|
|
76974
76978
|
]),
|
|
@@ -76979,15 +76983,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
76979
76983
|
key: 0,
|
|
76980
76984
|
"show-progress": "",
|
|
76981
76985
|
"url-list": [_url.value],
|
|
76982
|
-
onClose: _cache[
|
|
76986
|
+
onClose: _cache[4] || (_cache[4] = ($event) => showPreview.value = false)
|
|
76983
76987
|
}, {
|
|
76984
76988
|
"viewer-error": withCtx(() => [
|
|
76985
|
-
createElementVNode("div",
|
|
76989
|
+
createElementVNode("div", {
|
|
76990
|
+
class: "error-view",
|
|
76991
|
+
onClick: _cache[3] || (_cache[3] = withModifiers(() => {
|
|
76992
|
+
}, ["stop"]))
|
|
76993
|
+
}, [
|
|
76986
76994
|
createElementVNode("img", {
|
|
76987
76995
|
src: unref(EmptyPng),
|
|
76988
76996
|
class: "error-img",
|
|
76989
|
-
style: { "max-width": "
|
|
76990
|
-
|
|
76997
|
+
style: { "max-width": "100%", "height": "auto" },
|
|
76998
|
+
onClick: _cache[2] || (_cache[2] = withModifiers(() => {
|
|
76999
|
+
}, ["stop"]))
|
|
77000
|
+
}, null, 8, _hoisted_2)
|
|
76991
77001
|
])
|
|
76992
77002
|
]),
|
|
76993
77003
|
_: 1
|
|
@@ -76997,7 +77007,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
76997
77007
|
};
|
|
76998
77008
|
}
|
|
76999
77009
|
});
|
|
77000
|
-
const NsImage = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
77010
|
+
const NsImage = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-15d28535"]]);
|
|
77001
77011
|
NsImage.install = (app2) => {
|
|
77002
77012
|
app2.component(NsImage.name, NsImage);
|
|
77003
77013
|
};
|