matrix_components 2.0.352 → 2.0.355
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,
|
|
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, 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$7 = { 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$7, [
|
|
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$6 = {
|
|
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$6, 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$5 = {
|
|
6294
6294
|
key: 0,
|
|
6295
6295
|
class: "no-signal"
|
|
6296
6296
|
};
|
|
6297
|
-
const _hoisted_4$
|
|
6297
|
+
const _hoisted_4$3 = {
|
|
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$5, "无信号")) : (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$3, [
|
|
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$4 = { 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$4, [
|
|
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$3 = { class: "dialog-title" };
|
|
47097
|
+
const _hoisted_4$2 = { 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$3, [
|
|
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$2, [
|
|
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$2 = ["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$2),
|
|
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 = { class: "zoom-info" };
|
|
54342
|
-
const _hoisted_4 = { class: "word-container" };
|
|
54341
|
+
const _hoisted_3$1 = { class: "zoom-info" };
|
|
54342
|
+
const _hoisted_4$1 = { 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, toDisplayString(Math.round(zoom.value * 100)) + "%", 1),
|
|
54491
|
+
createElementVNode("span", _hoisted_3$1, 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$1, [
|
|
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,8 +76852,10 @@ function isNotNull(value) {
|
|
|
76852
76852
|
return false;
|
|
76853
76853
|
}
|
|
76854
76854
|
}
|
|
76855
|
-
const _hoisted_1 =
|
|
76855
|
+
const _hoisted_1 = { class: "error-view" };
|
|
76856
76856
|
const _hoisted_2 = ["src"];
|
|
76857
|
+
const _hoisted_3 = { class: "error-view" };
|
|
76858
|
+
const _hoisted_4 = ["src"];
|
|
76857
76859
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
76858
76860
|
__name: "NsImage",
|
|
76859
76861
|
props: {
|
|
@@ -76951,37 +76953,42 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
76951
76953
|
}
|
|
76952
76954
|
return (_ctx, _cache) => {
|
|
76953
76955
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
76954
|
-
createVNode(unref(ElImage), {
|
|
76956
|
+
createVNode(unref(ElImage), mergeProps({
|
|
76955
76957
|
class: "preview-image-view",
|
|
76956
|
-
fit: "fill"
|
|
76958
|
+
fit: "fill"
|
|
76959
|
+
}, _ctx.$attrs, {
|
|
76957
76960
|
src: _url.value,
|
|
76958
76961
|
"show-progress": "",
|
|
76959
76962
|
onClick: showPreviewHander
|
|
76960
|
-
}, {
|
|
76963
|
+
}), {
|
|
76961
76964
|
error: withCtx(() => [
|
|
76962
|
-
|
|
76963
|
-
|
|
76964
|
-
|
|
76965
|
-
|
|
76966
|
-
|
|
76967
|
-
|
|
76968
|
-
|
|
76969
|
-
|
|
76965
|
+
createElementVNode("div", _hoisted_1, [
|
|
76966
|
+
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
76967
|
+
createElementVNode("img", {
|
|
76968
|
+
src: unref(EmptyPng),
|
|
76969
|
+
class: "error-img",
|
|
76970
|
+
style: { "max-width": "150px", "height": "auto" }
|
|
76971
|
+
}, null, 8, _hoisted_2)
|
|
76972
|
+
], true)
|
|
76973
|
+
])
|
|
76970
76974
|
]),
|
|
76971
76975
|
_: 3
|
|
76972
|
-
},
|
|
76976
|
+
}, 16, ["src"]),
|
|
76973
76977
|
(openBlock(), createBlock(Teleport, { to: "#app" }, [
|
|
76974
76978
|
showPreview.value ? (openBlock(), createBlock(unref(ElImageViewer), {
|
|
76975
76979
|
key: 0,
|
|
76976
76980
|
"show-progress": "",
|
|
76977
76981
|
"url-list": [_url.value],
|
|
76978
|
-
onClose: _cache[
|
|
76982
|
+
onClose: _cache[0] || (_cache[0] = ($event) => showPreview.value = false)
|
|
76979
76983
|
}, {
|
|
76980
76984
|
"viewer-error": withCtx(() => [
|
|
76981
|
-
createElementVNode("
|
|
76982
|
-
|
|
76983
|
-
|
|
76984
|
-
|
|
76985
|
+
createElementVNode("div", _hoisted_3, [
|
|
76986
|
+
createElementVNode("img", {
|
|
76987
|
+
src: unref(EmptyPng),
|
|
76988
|
+
class: "error-img",
|
|
76989
|
+
style: { "max-width": "150px", "height": "auto" }
|
|
76990
|
+
}, null, 8, _hoisted_4)
|
|
76991
|
+
])
|
|
76985
76992
|
]),
|
|
76986
76993
|
_: 1
|
|
76987
76994
|
}, 8, ["url-list"])) : createCommentVNode("", true)
|
|
@@ -76990,7 +76997,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
76990
76997
|
};
|
|
76991
76998
|
}
|
|
76992
76999
|
});
|
|
76993
|
-
const NsImage = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
77000
|
+
const NsImage = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-689874ab"]]);
|
|
76994
77001
|
NsImage.install = (app2) => {
|
|
76995
77002
|
app2.component(NsImage.name, NsImage);
|
|
76996
77003
|
};
|