hzzt-kfb-slide 0.1.3 → 0.1.5
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/dist/components/{annotateBOkbe8MS.js → annotate8xj2A98v.js} +1 -1
- package/dist/components/{annotateCtpseU-a.js → annotateGjNhIEUS.js} +1 -1
- package/dist/components/{annotateDqkw5Fez.js → annotateYjhxwO-O.js} +3 -3
- package/dist/components/{annotateDMSLAwhF.js → annotateaT2ln47q.js} +1 -1
- package/dist/components/{arrow7yDW9k_B.js → arrowBdlwBejD.js} +1 -1
- package/dist/components/{arrowCircleXHVjpp7H.js → arrowCircleBZ0vbL6z.js} +1 -1
- package/dist/components/{arrowCircleBYU44CQm.js → arrowCircleXFn4JVgy.js} +1 -1
- package/dist/components/{arrowDownDqYRREIg.js → arrowDownGCh2Lw0i.js} +1 -1
- package/dist/components/{arrowDownCTDe3yVL.js → arrowDowndnugSqYp.js} +1 -1
- package/dist/components/{arrowLeftB3p8HgL0.js → arrowLeftBN2VngeB.js} +1 -1
- package/dist/components/{arrowLeftD4iY5sNl.js → arrowLeftCLCSoAuV.js} +1 -1
- package/dist/components/{arrowRightCl8b3lsE.js → arrowRightB4PY6OXy.js} +1 -1
- package/dist/components/{arrowRightBMf0PydO.js → arrowRightDZoUCSB2.js} +1 -1
- package/dist/components/{arrowUpDiAQe2rZ.js → arrowUpB7IXtKtV.js} +1 -1
- package/dist/components/{arrowUpBLl5OlAY.js → arrowUpBl2wvG3u.js} +1 -1
- package/dist/components/{arrowBCauxehh.js → arrowV0p7H1Th.js} +1 -1
- package/dist/components/{bilateralDwhtW7_D.js → bilateralC5duFJ6A.js} +1 -1
- package/dist/components/{bilateralB2vyaMZY.js → bilateralCtvESpf-.js} +1 -1
- package/dist/components/{channelDMV8PErx.js → channelCi_ZuzMe.js} +1 -1
- package/dist/components/{channelCLH9GNfS.js → channelD6H53g-b.js} +1 -1
- package/dist/components/{checkCo0hzIhz.js → checkB83dSLjb.js} +1 -1
- package/dist/components/{checkCZ4-Zj60.js → checksjFeop3N.js} +1 -1
- package/dist/components/{configDms9YweX.js → configCxmsg_TF.js} +1 -1
- package/dist/components/{configCF96CGHM.js → configDWyEzXec.js} +1 -1
- package/dist/components/{customBCBc7eIT.js → customCO17GhdN.js} +1 -1
- package/dist/components/{customjEZcj1hs.js → customaXTfMDbt.js} +1 -1
- package/dist/components/{deletehEQqJN-c.js → deleteBDC4kSvE.js} +1 -1
- package/dist/components/{deletezqVrcETu.js → deleteBVulFGbi.js} +1 -1
- package/dist/components/{dotCHLrHVqj.js → dotBpUyBBJE.js} +1 -1
- package/dist/components/{dotCCIUf70c.js → dotCZ2rxmW0.js} +1 -1
- package/dist/components/{dotdQs47Lr9.js → dotCfiP1wpN.js} +1 -1
- package/dist/components/{dotC_Wu2MaB.js → dotDF7k_2D_.js} +1 -1
- package/dist/components/{dotCjjtdb6p.js → dotDoBayn0_.js} +1 -1
- package/dist/components/{dothrMW8BWP.js → dotyTt-N1iw.js} +4 -4
- package/dist/components/{downloadCpgkJCG9.js → downloadAfgbfIZN.js} +1 -1
- package/dist/components/{downloadDja21JuR.js → downloadC8owamVT.js} +3 -3
- package/dist/components/{downloadC7ng9XC3.js → downloadCSx0zqJh.js} +1 -1
- package/dist/components/{downloadC4bGq7PS.js → downloadDDTSRfzn.js} +1 -1
- package/dist/components/{ellipseD7Wi0eID.js → ellipse9BMWh0Bj.js} +1 -1
- package/dist/components/{ellipse0_6bk6FV.js → ellipseD9v7gVpA.js} +1 -1
- package/dist/components/{expandLeftDf5gEfIc.js → expandLeftC_My6RhM.js} +1 -1
- package/dist/components/{expandLeftBxIoSuEr.js → expandLeftCjQIyWNL.js} +1 -1
- package/dist/components/{expandRightDOneIPqk.js → expandRightCVwFqDer.js} +1 -1
- package/dist/components/{expandRightBQInIkF3.js → expandRightyLhjmSs7.js} +1 -1
- package/dist/components/{flagDW-yx4nP.js → flag15kRl4x5.js} +1 -1
- package/dist/components/{flagLP1-MsJP.js → flagBY3qY1Cr.js} +1 -1
- package/dist/components/{flipDKaWRkEm.js → flipCfugAhxY.js} +1 -1
- package/dist/components/{flipB-6WVrbb.js → flipChRiWYFY.js} +1 -1
- package/dist/components/{fontDPpMubby.js → fontBzIblCy8.js} +1 -1
- package/dist/components/{fontC7WlP1Da.js → fontx_yMVStP.js} +1 -1
- package/dist/components/fullscreenBwO3dffr.js +1 -0
- package/dist/components/{fullscreenBt8I0q6T.js → fullscreenC_m29bsh.js} +15 -15
- package/dist/components/{fullscreenDWiK0h4R.js → fullscreenCpbm_UD_.js} +1 -1
- package/dist/components/{fullscreenCDwQl-Lr.js → fullscreenemECN2cF.js} +1 -1
- package/dist/components/{indexn2bxNjmA.js → indexBTX88dQr.js} +416 -407
- package/dist/components/indexByL7ETN6.js +4 -0
- package/dist/components/{infoB7jr4Upu.js → infoB5e2gbpo.js} +1 -1
- package/dist/components/{infoCpqoraWx.js → infoBmWvR1i0.js} +1 -1
- package/dist/components/{levelBrjlazmd.js → levelBa86-BJQ.js} +1 -1
- package/dist/components/{levelCBAg0_bw.js → levelD0GGuJBL.js} +1 -1
- package/dist/components/{linew3ozxQPE.js → lineBnmpwqg1.js} +1 -1
- package/dist/components/{lineCCuCw-Fv.js → lineSLRRAaKq.js} +1 -1
- package/dist/components/{microscopeDA7kQPaW.js → microscopeBdB0ZoEZ.js} +1 -1
- package/dist/components/{microscopeBP7YH9ut.js → microscopeCYI-Rtzj.js} +3 -3
- package/dist/components/{microscopeCuiYDRAm.js → microscopeDiHiWcGP.js} +1 -1
- package/dist/components/{microscopeBfhANHQK.js → microscopeDjEvEcUF.js} +1 -1
- package/dist/components/{moveCvJtM0Rh.js → move1yvRyFTP.js} +3 -3
- package/dist/components/{moveNJ14hogx.js → moveC2TQrO_D.js} +1 -1
- package/dist/components/{moveUsh-MOTU.js → moveCANGN5Jp.js} +1 -1
- package/dist/components/{moveulfVP9mx.js → moveDKADB3N-.js} +1 -1
- package/dist/components/{nextDAzoD_Ed.js → nextBON9HQRj.js} +1 -1
- package/dist/components/{nextC-zrJIh5.js → nextC3_M0jrY.js} +1 -1
- package/dist/components/{polygonB2WZ4vtx.js → polygonCtiCDAVU.js} +1 -1
- package/dist/components/{polygonCv3afvPi.js → polygonv8E0s3De.js} +1 -1
- package/dist/components/{prevBirFNbf7.js → prevBf9uWlcK.js} +1 -1
- package/dist/components/{prevaOwqy0eN.js → prevDK8jVCTd.js} +1 -1
- package/dist/components/{processDdhNW91k.js → processBo74-sQE.js} +1 -1
- package/dist/components/{processCXoLdDxs.js → processBy-mAYUa.js} +1 -1
- package/dist/components/{processB7UGFfLD.js → processCT3wpZqk.js} +3 -3
- package/dist/components/{processCI-nyivV.js → processD4AqciTq.js} +1 -1
- package/dist/components/{rectangleDLNNS9_h.js → rectangle3FWG4_9_.js} +1 -1
- package/dist/components/{rectangleBwz7OxdA.js → rectangleC0BitYF2.js} +1 -1
- package/dist/components/{rotateCJe6_8qr.js → rotateBsqpoRO8.js} +1 -1
- package/dist/components/{rotateCLx9D3GM.js → rotateD5wo0iWz.js} +4 -4
- package/dist/components/{rotateK3PfxPq6.js → rotateDrgb1BAd.js} +1 -1
- package/dist/components/{rotateCV9FGPf_.js → rotateLdmcAWDG.js} +1 -1
- package/dist/components/{settingCxoYQQVL.js → settingBY8j3KLr.js} +1 -1
- package/dist/components/{settingBop-3wwD.js → settingCKE17BGk.js} +1 -1
- package/dist/components/{settingM-Z5tkVy.js → settingDGQ1ZYg0.js} +3 -3
- package/dist/components/{settingCVsgx7JU.js → settingDymV9b7E.js} +1 -1
- package/dist/components/{starCIecWj0y.js → starDj9m9qwI.js} +1 -1
- package/dist/components/{starBsAQYe9Z.js → star__kFQKd3.js} +1 -1
- package/dist/components/{tailoref2TzeHV.js → tailorBfcbl4uu.js} +1 -1
- package/dist/components/{tailorD7E69iet.js → tailorClhtS8Zi.js} +1 -1
- package/dist/components/{useCommonCvv26qiJ.js → useCommon2885p97b.js} +1 -1
- package/dist/components/{useCommonBsOYRksV.js → useCommonJHuwZYYW.js} +1 -1
- package/dist/components/{voiceDwQUW2pt.js → voiceC8YYiyKw.js} +1 -1
- package/dist/components/{voiceCF8wSSzD.js → voiceDu262dkM.js} +1 -1
- package/dist/components/{zoomDAyw21VC.js → zoom5AmjJ_mM.js} +1 -1
- package/dist/components/{zoomBAzrPoEO.js → zoomDqF3JH_w.js} +1 -1
- package/dist/components/{zoomInChsCflX8.js → zoomInBM87Htmo.js} +1 -1
- package/dist/components/{zoomInF_WkkJqP.js → zoomInRtoVMmCo.js} +1 -1
- package/dist/components/{zoomOutD6Z5KCCH.js → zoomOutDMMh7_1z.js} +1 -1
- package/dist/components/{zoomOut6-rWqHY9.js → zoomOutr16qPO8Z.js} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.css +1 -1
- package/dist/index.es.js +1 -1
- package/package.json +1 -1
- package/types/components/KfbImage.vue.d.ts +9 -0
- package/web-types.json +1 -1
- package/dist/components/fullscreennfo5_gpr.js +0 -1
- package/dist/components/indexCzs5IBkT.js +0 -4
|
@@ -26,7 +26,7 @@ var $e = (u, e, l) => new Promise((t, y) => {
|
|
|
26
26
|
}, s = (m) => m.done ? t(m.value) : Promise.resolve(m.value).then(v, r);
|
|
27
27
|
s((l = l.apply(u, e)).next());
|
|
28
28
|
});
|
|
29
|
-
import { inject as Z, ref as T, markRaw as S, defineAsyncComponent as
|
|
29
|
+
import { inject as Z, ref as T, markRaw as S, defineAsyncComponent as M, defineComponent as J, createBlock as H, openBlock as w, unref as a, normalizeProps as ll, guardReactiveProps as ol, withCtx as x, resolveDynamicComponent as Ve, useModel as Be, computed as N, createElementBlock as L, createElementVNode as k, createVNode as C, toDisplayString as E, Fragment as oe, renderList as ae, isRef as pe, createTextVNode as K, watch as ee, h as al, renderSlot as fe, mergeProps as Oe, createCommentVNode as R, reactive as rt, onMounted as he, onBeforeUnmount as Ie, normalizeStyle as q, mergeDefaults as nl, withDirectives as Le, vShow as Ae, getCurrentInstance as sl, mergeModels as be, normalizeClass as ke, useCssVars as il, provide as de, Teleport as je, withModifiers as Fe } from "vue";
|
|
30
30
|
import { ElIcon as ze, ElRow as rl, ElCol as ul, ElSwitch as Ee, ElRadioGroup as ot, ElRadio as Te, ElDialog as Ge, ElForm as nt, ElFormItem as ie, ElInput as at, ElButton as _e, ElMessage as xt, ElLoading as Et, ElSlider as cl, ElTag as Vt, ElCheckbox as We, ElTooltip as Lt, ElPopover as dl, ElCheckboxGroup as vl, ElPagination as fl } from "element-plus";
|
|
31
31
|
import { KfbView as ve, OpenSeadragon as xe } from "kfb-view";
|
|
32
32
|
import ml from "v-lazy-image";
|
|
@@ -43,45 +43,45 @@ const pl = {
|
|
|
43
43
|
u.provide(It, e == null ? void 0 : e.global);
|
|
44
44
|
}
|
|
45
45
|
}, G = T({
|
|
46
|
-
annotate: S(
|
|
47
|
-
arrowCircle: S(
|
|
48
|
-
check: S(
|
|
49
|
-
dot: S(
|
|
50
|
-
flip: S(
|
|
51
|
-
info: S(
|
|
52
|
-
microscope: S(
|
|
53
|
-
move: S(
|
|
54
|
-
next: S(
|
|
55
|
-
prev: S(
|
|
56
|
-
process: S(
|
|
57
|
-
rotate: S(
|
|
58
|
-
fullscreen: S(
|
|
59
|
-
setting: S(
|
|
60
|
-
tailor: S(
|
|
61
|
-
download: S(
|
|
62
|
-
config: S(
|
|
63
|
-
arrowDown: S(
|
|
64
|
-
arrowUp: S(
|
|
65
|
-
arrowLeft: S(
|
|
66
|
-
arrowRight: S(
|
|
67
|
-
zoomIn: S(
|
|
68
|
-
zoomOut: S(
|
|
69
|
-
level: S(
|
|
70
|
-
channel: S(
|
|
71
|
-
delete: S(
|
|
72
|
-
expandLeft: S(
|
|
73
|
-
expandRight: S(
|
|
74
|
-
markLine: S(
|
|
75
|
-
markArrow: S(
|
|
76
|
-
markBilateral: S(
|
|
77
|
-
markRectangle: S(
|
|
78
|
-
markEllipse: S(
|
|
79
|
-
markPolygon: S(
|
|
80
|
-
markFlag: S(
|
|
81
|
-
markStar: S(
|
|
82
|
-
markDot: S(
|
|
83
|
-
markFont: S(
|
|
84
|
-
markVoice: S(
|
|
46
|
+
annotate: S(M(() => import("./annotate8xj2A98v.js"))),
|
|
47
|
+
arrowCircle: S(M(() => import("./arrowCircleBZ0vbL6z.js"))),
|
|
48
|
+
check: S(M(() => import("./checksjFeop3N.js"))),
|
|
49
|
+
dot: S(M(() => import("./dotCZ2rxmW0.js"))),
|
|
50
|
+
flip: S(M(() => import("./flipCfugAhxY.js"))),
|
|
51
|
+
info: S(M(() => import("./infoB5e2gbpo.js"))),
|
|
52
|
+
microscope: S(M(() => import("./microscopeDjEvEcUF.js"))),
|
|
53
|
+
move: S(M(() => import("./moveCANGN5Jp.js"))),
|
|
54
|
+
next: S(M(() => import("./nextC3_M0jrY.js"))),
|
|
55
|
+
prev: S(M(() => import("./prevBf9uWlcK.js"))),
|
|
56
|
+
process: S(M(() => import("./processD4AqciTq.js"))),
|
|
57
|
+
rotate: S(M(() => import("./rotateBsqpoRO8.js"))),
|
|
58
|
+
fullscreen: S(M(() => import("./fullscreenCpbm_UD_.js"))),
|
|
59
|
+
setting: S(M(() => import("./settingCKE17BGk.js"))),
|
|
60
|
+
tailor: S(M(() => import("./tailorBfcbl4uu.js"))),
|
|
61
|
+
download: S(M(() => import("./downloadAfgbfIZN.js"))),
|
|
62
|
+
config: S(M(() => import("./configDWyEzXec.js"))),
|
|
63
|
+
arrowDown: S(M(() => import("./arrowDownGCh2Lw0i.js"))),
|
|
64
|
+
arrowUp: S(M(() => import("./arrowUpB7IXtKtV.js"))),
|
|
65
|
+
arrowLeft: S(M(() => import("./arrowLeftBN2VngeB.js"))),
|
|
66
|
+
arrowRight: S(M(() => import("./arrowRightDZoUCSB2.js"))),
|
|
67
|
+
zoomIn: S(M(() => import("./zoomInRtoVMmCo.js"))),
|
|
68
|
+
zoomOut: S(M(() => import("./zoomOutr16qPO8Z.js"))),
|
|
69
|
+
level: S(M(() => import("./levelD0GGuJBL.js"))),
|
|
70
|
+
channel: S(M(() => import("./channelD6H53g-b.js"))),
|
|
71
|
+
delete: S(M(() => import("./deleteBVulFGbi.js"))),
|
|
72
|
+
expandLeft: S(M(() => import("./expandLeftCjQIyWNL.js"))),
|
|
73
|
+
expandRight: S(M(() => import("./expandRightyLhjmSs7.js"))),
|
|
74
|
+
markLine: S(M(() => import("./lineBnmpwqg1.js"))),
|
|
75
|
+
markArrow: S(M(() => import("./arrowBdlwBejD.js"))),
|
|
76
|
+
markBilateral: S(M(() => import("./bilateralC5duFJ6A.js"))),
|
|
77
|
+
markRectangle: S(M(() => import("./rectangleC0BitYF2.js"))),
|
|
78
|
+
markEllipse: S(M(() => import("./ellipseD9v7gVpA.js"))),
|
|
79
|
+
markPolygon: S(M(() => import("./polygonv8E0s3De.js"))),
|
|
80
|
+
markFlag: S(M(() => import("./flagBY3qY1Cr.js"))),
|
|
81
|
+
markStar: S(M(() => import("./star__kFQKd3.js"))),
|
|
82
|
+
markDot: S(M(() => import("./dotDoBayn0_.js"))),
|
|
83
|
+
markFont: S(M(() => import("./fontx_yMVStP.js"))),
|
|
84
|
+
markVoice: S(M(() => import("./voiceC8YYiyKw.js")))
|
|
85
85
|
}), Q = /* @__PURE__ */ J({
|
|
86
86
|
__name: "KfbIcon",
|
|
87
87
|
props: {
|
|
@@ -91,9 +91,9 @@ const pl = {
|
|
|
91
91
|
}
|
|
92
92
|
},
|
|
93
93
|
setup(u) {
|
|
94
|
-
return (e, l) => (w(), H(
|
|
94
|
+
return (e, l) => (w(), H(a(ze), ll(ol(e.$attrs)), {
|
|
95
95
|
default: x(() => [
|
|
96
|
-
(w(), H(Ve(
|
|
96
|
+
(w(), H(Ve(a(G)[u.name])))
|
|
97
97
|
]),
|
|
98
98
|
_: 1
|
|
99
99
|
}, 16));
|
|
@@ -138,14 +138,14 @@ const pl = {
|
|
|
138
138
|
return h in y;
|
|
139
139
|
}
|
|
140
140
|
function _(h) {
|
|
141
|
-
var
|
|
142
|
-
return ((
|
|
141
|
+
var o;
|
|
142
|
+
return ((o = h.props) == null ? void 0 : o.text) || (m(h.name) ? y[h.name] : "");
|
|
143
143
|
}
|
|
144
|
-
return (h,
|
|
145
|
-
k("h3", gl, E(
|
|
146
|
-
C(
|
|
144
|
+
return (h, o) => (w(), L("div", hl, [
|
|
145
|
+
k("h3", gl, E(a(l)("显示管理")), 1),
|
|
146
|
+
C(a(rl), { gutter: 10 }, {
|
|
147
147
|
default: x(() => [
|
|
148
|
-
(w(!0), L(oe, null, ae(t.value, (d) => (w(), H(
|
|
148
|
+
(w(!0), L(oe, null, ae(t.value, (d) => (w(), H(a(ul), {
|
|
149
149
|
key: d.name,
|
|
150
150
|
span: 8
|
|
151
151
|
}, {
|
|
@@ -164,7 +164,7 @@ const pl = {
|
|
|
164
164
|
}, null, 8, ["name"]))
|
|
165
165
|
]),
|
|
166
166
|
k("p", _l, E(_(d)), 1),
|
|
167
|
-
C(
|
|
167
|
+
C(a(Ee), {
|
|
168
168
|
modelValue: d.show,
|
|
169
169
|
"onUpdate:modelValue": (f) => d.show = f,
|
|
170
170
|
"active-text": "",
|
|
@@ -179,23 +179,23 @@ const pl = {
|
|
|
179
179
|
_: 1
|
|
180
180
|
}),
|
|
181
181
|
k("div", null, [
|
|
182
|
-
k("h3", bl, E(
|
|
182
|
+
k("h3", bl, E(a(l)("其他设置")), 1),
|
|
183
183
|
k("div", kl, [
|
|
184
|
-
k("p", zl, E(
|
|
185
|
-
C(
|
|
186
|
-
modelValue:
|
|
187
|
-
"onUpdate:modelValue":
|
|
184
|
+
k("p", zl, E(a(l)("工具列表显示切换")), 1),
|
|
185
|
+
C(a(ot), {
|
|
186
|
+
modelValue: a(s),
|
|
187
|
+
"onUpdate:modelValue": o[0] || (o[0] = (d) => pe(s) ? s.value = d : null)
|
|
188
188
|
}, {
|
|
189
189
|
default: x(() => [
|
|
190
|
-
C(
|
|
190
|
+
C(a(Te), { value: !0 }, {
|
|
191
191
|
default: x(() => [
|
|
192
|
-
K(E(
|
|
192
|
+
K(E(a(l)("显示工具名称")), 1)
|
|
193
193
|
]),
|
|
194
194
|
_: 1
|
|
195
195
|
}),
|
|
196
|
-
C(
|
|
196
|
+
C(a(Te), { value: !1 }, {
|
|
197
197
|
default: x(() => [
|
|
198
|
-
K(E(
|
|
198
|
+
K(E(a(l)("隐藏工具名称")), 1)
|
|
199
199
|
]),
|
|
200
200
|
_: 1
|
|
201
201
|
})
|
|
@@ -204,21 +204,21 @@ const pl = {
|
|
|
204
204
|
}, 8, ["modelValue"])
|
|
205
205
|
]),
|
|
206
206
|
k("div", Cl, [
|
|
207
|
-
k("p", $l, E(
|
|
208
|
-
C(
|
|
209
|
-
modelValue:
|
|
210
|
-
"onUpdate:modelValue":
|
|
207
|
+
k("p", $l, E(a(l)("小键盘显示切换")), 1),
|
|
208
|
+
C(a(ot), {
|
|
209
|
+
modelValue: a(v),
|
|
210
|
+
"onUpdate:modelValue": o[1] || (o[1] = (d) => pe(v) ? v.value = d : null)
|
|
211
211
|
}, {
|
|
212
212
|
default: x(() => [
|
|
213
|
-
C(
|
|
213
|
+
C(a(Te), { value: !0 }, {
|
|
214
214
|
default: x(() => [
|
|
215
|
-
K(E(
|
|
215
|
+
K(E(a(l)("显示小键盘")), 1)
|
|
216
216
|
]),
|
|
217
217
|
_: 1
|
|
218
218
|
}),
|
|
219
|
-
C(
|
|
219
|
+
C(a(Te), { value: !1 }, {
|
|
220
220
|
default: x(() => [
|
|
221
|
-
K(E(
|
|
221
|
+
K(E(a(l)("隐藏小键盘")), 1)
|
|
222
222
|
]),
|
|
223
223
|
_: 1
|
|
224
224
|
})
|
|
@@ -227,21 +227,21 @@ const pl = {
|
|
|
227
227
|
}, 8, ["modelValue"])
|
|
228
228
|
]),
|
|
229
229
|
k("div", Tl, [
|
|
230
|
-
k("p", xl, E(
|
|
231
|
-
C(
|
|
232
|
-
modelValue:
|
|
233
|
-
"onUpdate:modelValue":
|
|
230
|
+
k("p", xl, E(a(l)("水印文字")), 1),
|
|
231
|
+
C(a(ot), {
|
|
232
|
+
modelValue: a(r),
|
|
233
|
+
"onUpdate:modelValue": o[2] || (o[2] = (d) => pe(r) ? r.value = d : null)
|
|
234
234
|
}, {
|
|
235
235
|
default: x(() => [
|
|
236
|
-
C(
|
|
236
|
+
C(a(Te), { value: !0 }, {
|
|
237
237
|
default: x(() => [
|
|
238
|
-
K(E(
|
|
238
|
+
K(E(a(l)("启用")), 1)
|
|
239
239
|
]),
|
|
240
240
|
_: 1
|
|
241
241
|
}),
|
|
242
|
-
C(
|
|
242
|
+
C(a(Te), { value: !1 }, {
|
|
243
243
|
default: x(() => [
|
|
244
|
-
K(E(
|
|
244
|
+
K(E(a(l)("禁用")), 1)
|
|
245
245
|
]),
|
|
246
246
|
_: 1
|
|
247
247
|
})
|
|
@@ -270,28 +270,28 @@ const pl = {
|
|
|
270
270
|
info: y("信息"),
|
|
271
271
|
flip: y("镜像"),
|
|
272
272
|
tailor: y("截图")
|
|
273
|
-
}, r = Z("kfbViewRef"), s = T(!1), m = T(
|
|
274
|
-
fullscreen:
|
|
275
|
-
line:
|
|
276
|
-
setting:
|
|
277
|
-
rotate:
|
|
278
|
-
dot:
|
|
279
|
-
annotate:
|
|
280
|
-
process:
|
|
281
|
-
microscope:
|
|
282
|
-
move:
|
|
283
|
-
custom:
|
|
284
|
-
zoom:
|
|
285
|
-
download:
|
|
273
|
+
}, r = Z("kfbViewRef"), s = T(!1), m = T(o(l.menu)), _ = {
|
|
274
|
+
fullscreen: M(() => import("./fullscreenC_m29bsh.js")),
|
|
275
|
+
line: M(() => import("./lineBNwqZbqu.js")),
|
|
276
|
+
setting: M(() => import("./settingDGQ1ZYg0.js")),
|
|
277
|
+
rotate: M(() => import("./rotateD5wo0iWz.js")),
|
|
278
|
+
dot: M(() => import("./dotyTt-N1iw.js")),
|
|
279
|
+
annotate: M(() => import("./annotateYjhxwO-O.js")),
|
|
280
|
+
process: M(() => import("./processCT3wpZqk.js")),
|
|
281
|
+
microscope: M(() => import("./microscopeCYI-Rtzj.js")),
|
|
282
|
+
move: M(() => import("./move1yvRyFTP.js")),
|
|
283
|
+
custom: M(() => import("./customCO17GhdN.js")),
|
|
284
|
+
zoom: M(() => import("./zoomDqF3JH_w.js")),
|
|
285
|
+
download: M(() => import("./downloadC8owamVT.js"))
|
|
286
286
|
}, h = N(() => m.value.filter((c) => c.show !== !1).map((c) => ({
|
|
287
287
|
component: _[c.name],
|
|
288
288
|
props: c.props,
|
|
289
289
|
slots: c.slots
|
|
290
290
|
})));
|
|
291
291
|
ee(() => l.menu, (c) => {
|
|
292
|
-
m.value =
|
|
292
|
+
m.value = o(c);
|
|
293
293
|
});
|
|
294
|
-
function
|
|
294
|
+
function o(c) {
|
|
295
295
|
return c.map((n) => {
|
|
296
296
|
const f = typeof n == "string" ? n : n.name;
|
|
297
297
|
return v[f] ? {
|
|
@@ -373,11 +373,11 @@ const pl = {
|
|
|
373
373
|
}, 1040))), 128))
|
|
374
374
|
]),
|
|
375
375
|
fe(c.$slots, "right"),
|
|
376
|
-
C(
|
|
376
|
+
C(a(Ge), {
|
|
377
377
|
modelValue: s.value,
|
|
378
378
|
"onUpdate:modelValue": n[1] || (n[1] = (f) => s.value = f),
|
|
379
379
|
width: "800px",
|
|
380
|
-
title:
|
|
380
|
+
title: a(y)("阅片工具设置中心")
|
|
381
381
|
}, {
|
|
382
382
|
default: x(() => [
|
|
383
383
|
C(Ll, {
|
|
@@ -464,10 +464,10 @@ function Ml(u, e) {
|
|
|
464
464
|
(c = (d = m[0]) == null ? void 0 : d.match(/:(.*?);/)) == null || c[1];
|
|
465
465
|
const _ = atob(m == null ? void 0 : m[1]);
|
|
466
466
|
let h = _.length;
|
|
467
|
-
const
|
|
467
|
+
const o = new Uint8Array(h);
|
|
468
468
|
for (; h--; )
|
|
469
|
-
|
|
470
|
-
return new Blob([
|
|
469
|
+
o[h] = _.charCodeAt(h);
|
|
470
|
+
return new Blob([o], { type: s });
|
|
471
471
|
}
|
|
472
472
|
function v(r) {
|
|
473
473
|
const { width: s, height: m } = e.value.$options;
|
|
@@ -627,25 +627,25 @@ const Sl = ["onClick"], Hl = ["src"], Pl = {
|
|
|
627
627
|
];
|
|
628
628
|
});
|
|
629
629
|
ee(() => t.value, (n, f) => {
|
|
630
|
-
f != null && f.viewer && (f.viewer.removeHandler("canvas-contextmenu", h), f.viewer.removeHandler("canvas-click",
|
|
630
|
+
f != null && f.viewer && (f.viewer.removeHandler("canvas-contextmenu", h), f.viewer.removeHandler("canvas-click", o)), n != null && n.viewer && (n.viewer.addHandler("canvas-contextmenu", h), n.viewer.addHandler("canvas-click", o));
|
|
631
631
|
}), he(() => {
|
|
632
632
|
var n;
|
|
633
|
-
(n = t.value) != null && n.viewer && (t.value.viewer.addHandler("canvas-contextmenu", h), t.value.viewer.addHandler("canvas-click",
|
|
633
|
+
(n = t.value) != null && n.viewer && (t.value.viewer.addHandler("canvas-contextmenu", h), t.value.viewer.addHandler("canvas-click", o)), document.body.addEventListener("click", o);
|
|
634
634
|
}), Ie(() => {
|
|
635
635
|
var n;
|
|
636
|
-
(n = t.value) != null && n.viewer && (t.value.viewer.removeHandler("canvas-contextmenu", h), t.value.viewer.removeHandler("canvas-click",
|
|
636
|
+
(n = t.value) != null && n.viewer && (t.value.viewer.removeHandler("canvas-contextmenu", h), t.value.viewer.removeHandler("canvas-click", o)), document.body.removeEventListener("click", o);
|
|
637
637
|
});
|
|
638
638
|
function h(n) {
|
|
639
639
|
n.preventDefault = !0, l.value.top = `${n.position.y}px`, l.value.left = `${n.position.x}px`, l.value.display === "block" ? l.value.display = "none" : l.value.display = "block";
|
|
640
640
|
}
|
|
641
|
-
function
|
|
641
|
+
function o() {
|
|
642
642
|
l.value.display = "none";
|
|
643
643
|
}
|
|
644
644
|
function d(n, f) {
|
|
645
645
|
n.children || ((f == null ? void 0 : f.value) === "annotate" ? r("tool", "annotate", {
|
|
646
646
|
tool: n.value.substring(0, 1).toLocaleUpperCase() + n.value.substring(1),
|
|
647
647
|
once: !0
|
|
648
|
-
}) : n.value === "tailor_now" ? r("tool", "tailor", !0) : r("tool", n.value),
|
|
648
|
+
}) : n.value === "tailor_now" ? r("tool", "tailor", !0) : r("tool", n.value), o());
|
|
649
649
|
}
|
|
650
650
|
function c(n) {
|
|
651
651
|
return n == null || typeof n != "object" && typeof n != "function" ? !1 : (
|
|
@@ -666,7 +666,7 @@ const Sl = ["onClick"], Hl = ["src"], Pl = {
|
|
|
666
666
|
class: "flex align-items-center",
|
|
667
667
|
onClick: (p) => d(b)
|
|
668
668
|
}, [
|
|
669
|
-
c(b.icon) ? (w(), H(
|
|
669
|
+
c(b.icon) ? (w(), H(a(ze), {
|
|
670
670
|
key: 0,
|
|
671
671
|
class: "margin-r-3",
|
|
672
672
|
size: 18
|
|
@@ -693,10 +693,10 @@ const Sl = ["onClick"], Hl = ["src"], Pl = {
|
|
|
693
693
|
(w(!0), L(oe, null, ae(b.children, (p, i) => (w(), L("div", {
|
|
694
694
|
key: i,
|
|
695
695
|
class: "hzzt-kfb-menu-item",
|
|
696
|
-
onClick: (
|
|
696
|
+
onClick: (I) => d(p, b)
|
|
697
697
|
}, [
|
|
698
698
|
k("div", Nl, [
|
|
699
|
-
c(p.icon) ? (w(), H(
|
|
699
|
+
c(p.icon) ? (w(), H(a(ze), {
|
|
700
700
|
key: 0,
|
|
701
701
|
class: "margin-r-2",
|
|
702
702
|
size: 18
|
|
@@ -736,8 +736,8 @@ const Sl = ["onClick"], Hl = ["src"], Pl = {
|
|
|
736
736
|
}, W({}, st)),
|
|
737
737
|
setup(u, { expose: e }) {
|
|
738
738
|
const l = u, t = rt(W(W({}, st), l));
|
|
739
|
-
ee(() => l, (
|
|
740
|
-
h({ name: "change", value:
|
|
739
|
+
ee(() => l, (o) => {
|
|
740
|
+
h({ name: "change", value: o });
|
|
741
741
|
});
|
|
742
742
|
const y = T("200px"), v = T(!1), r = N(() => ({
|
|
743
743
|
borderRadius: t.shape,
|
|
@@ -746,28 +746,28 @@ const Sl = ["onClick"], Hl = ["src"], Pl = {
|
|
|
746
746
|
width: y.value,
|
|
747
747
|
height: y.value
|
|
748
748
|
})), s = Z("kfbView", T({}));
|
|
749
|
-
ee(() => s.value, (
|
|
750
|
-
d != null && d.viewer && d.viewer.removeHandler("zoom", m),
|
|
749
|
+
ee(() => s.value, (o, d) => {
|
|
750
|
+
d != null && d.viewer && d.viewer.removeHandler("zoom", m), o != null && o.viewer && o.viewer.addHandler("zoom", m);
|
|
751
751
|
}), he(() => {
|
|
752
|
-
var
|
|
753
|
-
(
|
|
752
|
+
var o;
|
|
753
|
+
(o = s.value) != null && o.viewer && s.value.viewer.addHandler("zoom", m);
|
|
754
754
|
}), Ie(() => {
|
|
755
|
-
var
|
|
756
|
-
(
|
|
755
|
+
var o;
|
|
756
|
+
(o = s.value) != null && o.viewer && s.value.viewer.removeHandler("zoom", m);
|
|
757
757
|
});
|
|
758
758
|
function m() {
|
|
759
759
|
setTimeout(() => {
|
|
760
760
|
h({ name: "change", value: t });
|
|
761
761
|
}, 100);
|
|
762
762
|
}
|
|
763
|
-
function _(
|
|
763
|
+
function _(o) {
|
|
764
764
|
let { x: d, y: c } = s.value.viewer.viewport.getCenter(!0);
|
|
765
|
-
|
|
765
|
+
o === "top" ? c -= 6e-3 : o === "bottom" ? c += 6e-3 : o === "left" ? d -= 6e-3 : o === "right" && (d += 6e-3), s.value.area.moveToLabel({ x: d, y: c });
|
|
766
766
|
}
|
|
767
|
-
function h({ name:
|
|
767
|
+
function h({ name: o, value: d }) {
|
|
768
768
|
var n, f;
|
|
769
769
|
const c = (f = (n = s.value.$options) == null ? void 0 : n.pxConversion) == null ? void 0 : f.imageCapRes;
|
|
770
|
-
if (
|
|
770
|
+
if (o === "visible") {
|
|
771
771
|
if (v.value = d, d) {
|
|
772
772
|
const b = s.value.area.imageToViewerElementRectangle(
|
|
773
773
|
{
|
|
@@ -779,7 +779,7 @@ const Sl = ["onClick"], Hl = ["src"], Pl = {
|
|
|
779
779
|
);
|
|
780
780
|
y.value = b.width + "px";
|
|
781
781
|
}
|
|
782
|
-
} else if (
|
|
782
|
+
} else if (o === "change") {
|
|
783
783
|
Object.assign(t, d);
|
|
784
784
|
const b = s.value.area.imageToViewerElementRectangle(
|
|
785
785
|
{
|
|
@@ -794,7 +794,7 @@ const Sl = ["onClick"], Hl = ["src"], Pl = {
|
|
|
794
794
|
}
|
|
795
795
|
return e({
|
|
796
796
|
scopeChange: h
|
|
797
|
-
}), (
|
|
797
|
+
}), (o, d) => v.value ? (w(), L("div", Kl, [
|
|
798
798
|
k("div", {
|
|
799
799
|
class: "hzzt-kfb-microscope__container",
|
|
800
800
|
style: q(r.value)
|
|
@@ -864,25 +864,25 @@ const Sl = ["onClick"], Hl = ["src"], Pl = {
|
|
|
864
864
|
r.value = !1;
|
|
865
865
|
});
|
|
866
866
|
}
|
|
867
|
-
return (
|
|
868
|
-
Le(k("div", { class: "hzzt-kfb-label__title" }, E(
|
|
867
|
+
return (o, d) => (w(), L("div", Gl, [
|
|
868
|
+
Le(k("div", { class: "hzzt-kfb-label__title" }, E(a(l)(`点击标签旋转${o.pathologyHandle ? ",点击病理号重绑" : ""}`)), 513), [
|
|
869
869
|
[Ae, v.value]
|
|
870
870
|
]),
|
|
871
871
|
Le(k("div", Wl, [
|
|
872
872
|
k("img", {
|
|
873
|
-
src:
|
|
874
|
-
style: q({ transform: `rotate(${
|
|
873
|
+
src: o.info.labelImg,
|
|
874
|
+
style: q({ transform: `rotate(${o.slide.angle}deg)` }),
|
|
875
875
|
onClick: m
|
|
876
876
|
}, null, 12, ql)
|
|
877
877
|
], 512), [
|
|
878
878
|
[Ae, v.value]
|
|
879
879
|
]),
|
|
880
|
-
|
|
880
|
+
o.pathologyHandle ? Le((w(), L("div", {
|
|
881
881
|
key: 0,
|
|
882
882
|
class: "hzzt-kfb-label__pathology flex align-items-center justify-content-between",
|
|
883
883
|
onClick: _
|
|
884
884
|
}, [
|
|
885
|
-
k("span", Zl, E(
|
|
885
|
+
k("span", Zl, E(o.slide.pathology_number), 1),
|
|
886
886
|
C(Q, {
|
|
887
887
|
size: "14",
|
|
888
888
|
name: "annotate"
|
|
@@ -907,7 +907,7 @@ const Sl = ["onClick"], Hl = ["src"], Pl = {
|
|
|
907
907
|
name: "arrowRight"
|
|
908
908
|
}))
|
|
909
909
|
], 4),
|
|
910
|
-
C(
|
|
910
|
+
C(a(Ge), {
|
|
911
911
|
modelValue: r.value,
|
|
912
912
|
"onUpdate:modelValue": d[5] || (d[5] = (c) => r.value = c),
|
|
913
913
|
"append-to-body": !0,
|
|
@@ -915,20 +915,20 @@ const Sl = ["onClick"], Hl = ["src"], Pl = {
|
|
|
915
915
|
width: "450px"
|
|
916
916
|
}, {
|
|
917
917
|
footer: x(() => [
|
|
918
|
-
C(
|
|
918
|
+
C(a(_e), {
|
|
919
919
|
onClick: d[4] || (d[4] = (c) => r.value = !1)
|
|
920
920
|
}, {
|
|
921
921
|
default: x(() => [
|
|
922
|
-
K(E(
|
|
922
|
+
K(E(a(l)("取消")), 1)
|
|
923
923
|
]),
|
|
924
924
|
_: 1
|
|
925
925
|
}),
|
|
926
|
-
C(
|
|
926
|
+
C(a(_e), {
|
|
927
927
|
type: "primary",
|
|
928
928
|
onClick: h
|
|
929
929
|
}, {
|
|
930
930
|
default: x(() => [
|
|
931
|
-
K(E(
|
|
931
|
+
K(E(a(l)("确认")), 1)
|
|
932
932
|
]),
|
|
933
933
|
_: 1
|
|
934
934
|
})
|
|
@@ -937,50 +937,50 @@ const Sl = ["onClick"], Hl = ["src"], Pl = {
|
|
|
937
937
|
k("div", Yl, [
|
|
938
938
|
k("div", Xl, [
|
|
939
939
|
k("img", {
|
|
940
|
-
src:
|
|
940
|
+
src: o.slide.labelImg
|
|
941
941
|
}, null, 8, Ql),
|
|
942
942
|
k("img", {
|
|
943
|
-
src:
|
|
943
|
+
src: o.slide.previewImg
|
|
944
944
|
}, null, 8, Jl)
|
|
945
945
|
])
|
|
946
946
|
]),
|
|
947
|
-
C(
|
|
947
|
+
C(a(nt), { class: "margin-t-2" }, {
|
|
948
948
|
default: x(() => [
|
|
949
|
-
C(
|
|
950
|
-
label:
|
|
949
|
+
C(a(ie), {
|
|
950
|
+
label: a(l)("病理号")
|
|
951
951
|
}, {
|
|
952
952
|
default: x(() => [
|
|
953
|
-
C(
|
|
954
|
-
modelValue:
|
|
955
|
-
"onUpdate:modelValue": d[1] || (d[1] = (c) =>
|
|
956
|
-
placeholder:
|
|
953
|
+
C(a(at), {
|
|
954
|
+
modelValue: o.slide.pathology_number,
|
|
955
|
+
"onUpdate:modelValue": d[1] || (d[1] = (c) => o.slide.pathology_number = c),
|
|
956
|
+
placeholder: a(l)("输入病理号"),
|
|
957
957
|
clearable: ""
|
|
958
958
|
}, null, 8, ["modelValue", "placeholder"])
|
|
959
959
|
]),
|
|
960
960
|
_: 1
|
|
961
961
|
}, 8, ["label"]),
|
|
962
|
-
C(
|
|
963
|
-
label:
|
|
962
|
+
C(a(ie), {
|
|
963
|
+
label: a(l)("蜡块号")
|
|
964
964
|
}, {
|
|
965
965
|
default: x(() => [
|
|
966
|
-
C(
|
|
967
|
-
modelValue:
|
|
968
|
-
"onUpdate:modelValue": d[2] || (d[2] = (c) =>
|
|
969
|
-
placeholder:
|
|
966
|
+
C(a(at), {
|
|
967
|
+
modelValue: o.slide.paraffin_block_number,
|
|
968
|
+
"onUpdate:modelValue": d[2] || (d[2] = (c) => o.slide.paraffin_block_number = c),
|
|
969
|
+
placeholder: a(l)("输入蜡块号"),
|
|
970
970
|
clearable: ""
|
|
971
971
|
}, null, 8, ["modelValue", "placeholder"])
|
|
972
972
|
]),
|
|
973
973
|
_: 1
|
|
974
974
|
}, 8, ["label"]),
|
|
975
|
-
|
|
975
|
+
o.slide.slide_id ? R("", !0) : (w(), H(a(ie), {
|
|
976
976
|
key: 0,
|
|
977
|
-
label:
|
|
977
|
+
label: a(l)("试剂")
|
|
978
978
|
}, {
|
|
979
979
|
default: x(() => [
|
|
980
|
-
C(
|
|
981
|
-
modelValue:
|
|
982
|
-
"onUpdate:modelValue": d[3] || (d[3] = (c) =>
|
|
983
|
-
placeholder:
|
|
980
|
+
C(a(at), {
|
|
981
|
+
modelValue: o.slide.reagent,
|
|
982
|
+
"onUpdate:modelValue": d[3] || (d[3] = (c) => o.slide.reagent = c),
|
|
983
|
+
placeholder: a(l)("输入试剂"),
|
|
984
984
|
clearable: ""
|
|
985
985
|
}, null, 8, ["modelValue", "placeholder"])
|
|
986
986
|
]),
|
|
@@ -1003,7 +1003,7 @@ function lo(u, e) {
|
|
|
1003
1003
|
}), u.value.viewer.addHandler("canvas-drag-end", (s) => {
|
|
1004
1004
|
if (l.value !== 1) {
|
|
1005
1005
|
y.value = s.position;
|
|
1006
|
-
const m = u.value.viewer.viewport.containerSize.x, _ = u.value.viewer.viewport.containerSize.y, h = (y.value.x - t.value.x) / (m * e.value) * (l.value - 1),
|
|
1006
|
+
const m = u.value.viewer.viewport.containerSize.x, _ = u.value.viewer.viewport.containerSize.y, h = (y.value.x - t.value.x) / (m * e.value) * (l.value - 1), o = (y.value.y - t.value.y) / (_ * e.value) * (l.value - 1), d = u.value.viewer.viewport.getCenter(), c = new xe.Point(d.x - h, d.y - o);
|
|
1007
1007
|
u.value.viewer.viewport.panTo(c), t.value = null;
|
|
1008
1008
|
}
|
|
1009
1009
|
});
|
|
@@ -1050,7 +1050,7 @@ function oo(u, e, l, t, y) {
|
|
|
1050
1050
|
}) || (v.value = void 0), l.value.initLabelList(f);
|
|
1051
1051
|
}
|
|
1052
1052
|
}
|
|
1053
|
-
function
|
|
1053
|
+
function o(n, f) {
|
|
1054
1054
|
var g, p;
|
|
1055
1055
|
v.value && (v.value.select = !1, v.value = void 0);
|
|
1056
1056
|
const b = (l.value.labelList || []).findIndex((i) => i.id === n.id);
|
|
@@ -1076,7 +1076,7 @@ function oo(u, e, l, t, y) {
|
|
|
1076
1076
|
currentLabel: v,
|
|
1077
1077
|
localLabelList: r,
|
|
1078
1078
|
initLabel: s,
|
|
1079
|
-
jumpToLabel:
|
|
1079
|
+
jumpToLabel: o,
|
|
1080
1080
|
reloadLabelList: h,
|
|
1081
1081
|
eventHandel: m,
|
|
1082
1082
|
addHandle: d
|
|
@@ -1096,9 +1096,9 @@ function no(u, e) {
|
|
|
1096
1096
|
const r = T(!1), s = T(0);
|
|
1097
1097
|
let m = 0;
|
|
1098
1098
|
const _ = T([]), h = T(void 0);
|
|
1099
|
-
let
|
|
1100
|
-
function d(i,
|
|
1101
|
-
i.save(), i.strokeStyle = "rgba(0,0,0,0)", i.miterLimit = 4, i.font = "15px ''", i.fillStyle =
|
|
1099
|
+
let o = !1;
|
|
1100
|
+
function d(i, I) {
|
|
1101
|
+
i.save(), i.strokeStyle = "rgba(0,0,0,0)", i.miterLimit = 4, i.font = "15px ''", i.fillStyle = I, i.font = " 15px ''", i.scale(0.03125, 0.03125), i.save(), i.font = " 15px ''", i.beginPath(), i.moveTo(515.041727, 670.617766), i.bezierCurveTo(606.625894, 670.617766, 681.137374, 596.113511, 681.137374, 504.52212), i.lineTo(681.137374, 229.350568), i.bezierCurveTo(681.137374, 137.76640100000003, 606.625894, 63.254920999999996, 515.041727, 63.254920999999996), i.bezierCurveTo(423.44311000000005, 63.254920999999996, 348.93885500000005, 137.766401, 348.93885600000004, 229.350568), i.lineTo(348.93885600000004, 504.52212), i.bezierCurveTo(348.93885600000004, 596.113512, 423.44311100000004, 670.617767, 515.041727, 670.617766), i.closePath(), i.fill(), i.stroke(), i.restore(), i.save(), i.font = " 15px ''", i.beginPath(), i.moveTo(801.643237, 874.001665), i.lineTo(558.391759, 874.001665), i.lineTo(558.391759, 828.578057), i.bezierCurveTo(719.899527, 807.264291, 844.993269, 668.7898399999999, 844.993269, 501.55986699999994), i.translate(801.643237, 501.55986699999994), i.rotate(0), i.arc(0, 0, 43.350032, 0, 3.141592653589793, !0), i.rotate(0), i.translate(-801.643237, -501.55986699999994), i.bezierCurveTo(758.2932050000001, 635.684865, 649.166725, 744.811345, 515.0345020000001, 744.811346), i.bezierCurveTo(380.9095040000001, 744.811346, 271.79024900000013, 635.6848659999999, 271.79024900000013, 501.55986699999994), i.translate(228.44021750000013, 501.5664510740879), i.rotate(0), i.arc(0, 0, 43.350032, -15188164315591997e-20, -3.1414407719461273, !0), i.rotate(0), i.translate(-228.44021750000013, -501.5664510740879), i.bezierCurveTo(185.09018600000013, 668.7898389999999, 310.1911530000001, 807.271516, 471.69169500000015, 828.578057), i.lineTo(471.69169500000015, 874.001665), i.lineTo(228.440217, 874.001665), i.translate(228.440217, 917.3516970000001), i.rotate(0), i.arc(0, 0, 43.350032, -1.5707963267948966, 1.5707963267948966, !0), i.rotate(0), i.translate(-228.440217, -917.3516970000001), i.lineTo(801.643237, 960.701729), i.translate(801.643237, 917.3516970000001), i.rotate(0), i.arc(0, 0, 43.350032, 1.5707963267948966, 4.71238898038469, !0), i.rotate(0), i.translate(-801.643237, -917.3516970000001), i.closePath(), i.fill(), i.stroke(), i.restore(), i.restore();
|
|
1102
1102
|
}
|
|
1103
1103
|
function c() {
|
|
1104
1104
|
return $e(this, null, function* () {
|
|
@@ -1110,7 +1110,7 @@ function no(u, e) {
|
|
|
1110
1110
|
const i = new Blob(_.value, { type: u.audioType || "audio/wav" });
|
|
1111
1111
|
h.value.src = URL.createObjectURL(i);
|
|
1112
1112
|
}
|
|
1113
|
-
r.value = !1,
|
|
1113
|
+
r.value = !1, o && (yield p());
|
|
1114
1114
|
})), v.start(), r.value = !0, m = window.setInterval(() => {
|
|
1115
1115
|
s.value++;
|
|
1116
1116
|
}, 1e3);
|
|
@@ -1123,10 +1123,10 @@ function no(u, e) {
|
|
|
1123
1123
|
y.value && v ? (v.stop(), y.value.getTracks().forEach((i) => i.stop()), v = null, y.value = void 0) : (v = null, y.value = void 0), r.value = !1, m && (clearInterval(m), m = 0), s.value = 0;
|
|
1124
1124
|
}
|
|
1125
1125
|
function f(i) {
|
|
1126
|
-
t.value = !0, h.value = i, _.value = [],
|
|
1126
|
+
t.value = !0, h.value = i, _.value = [], o = !1;
|
|
1127
1127
|
}
|
|
1128
1128
|
function b() {
|
|
1129
|
-
r.value && n(), t.value = !1, r.value = !1,
|
|
1129
|
+
r.value && n(), t.value = !1, r.value = !1, o = !1;
|
|
1130
1130
|
}
|
|
1131
1131
|
function g() {
|
|
1132
1132
|
return $e(this, null, function* () {
|
|
@@ -1134,7 +1134,7 @@ function no(u, e) {
|
|
|
1134
1134
|
xt.error(l("请先录音"));
|
|
1135
1135
|
return;
|
|
1136
1136
|
}
|
|
1137
|
-
r.value && n(), r.value = !1,
|
|
1137
|
+
r.value && n(), r.value = !1, o = !0, _.value.length && (yield p()), t.value = !1;
|
|
1138
1138
|
});
|
|
1139
1139
|
}
|
|
1140
1140
|
function p() {
|
|
@@ -1142,10 +1142,10 @@ function no(u, e) {
|
|
|
1142
1142
|
if (u.uploadHandle && h.value) {
|
|
1143
1143
|
const i = Et.service({
|
|
1144
1144
|
text: l("录音上传中")
|
|
1145
|
-
}),
|
|
1145
|
+
}), I = new Blob(_.value, { type: u.audioType || "audio/wav" });
|
|
1146
1146
|
_.value = [];
|
|
1147
1147
|
try {
|
|
1148
|
-
yield u.uploadHandle(u.slide, h.value,
|
|
1148
|
+
yield u.uploadHandle(u.slide, h.value, I).then((B) => {
|
|
1149
1149
|
h.value.src = B;
|
|
1150
1150
|
}), i.close(), e(h.value);
|
|
1151
1151
|
} catch (B) {
|
|
@@ -1187,12 +1187,12 @@ function so(u, e, l) {
|
|
|
1187
1187
|
height: u.analysis.zoom_roi.h
|
|
1188
1188
|
}, 5);
|
|
1189
1189
|
}), he(() => {
|
|
1190
|
-
window.addEventListener("mousemove", _), window.addEventListener("mouseup",
|
|
1190
|
+
window.addEventListener("mousemove", _), window.addEventListener("mouseup", o);
|
|
1191
1191
|
}), Ie(() => {
|
|
1192
|
-
window.removeEventListener("mousemove", _), window.removeEventListener("mouseup",
|
|
1192
|
+
window.removeEventListener("mousemove", _), window.removeEventListener("mouseup", o);
|
|
1193
1193
|
});
|
|
1194
1194
|
function s(c, n, f) {
|
|
1195
|
-
var g, p, i,
|
|
1195
|
+
var g, p, i, I;
|
|
1196
1196
|
const b = we(W({}, n), {
|
|
1197
1197
|
file: (g = u.analysis) == null ? void 0 : g.hotmap_path
|
|
1198
1198
|
});
|
|
@@ -1202,7 +1202,7 @@ function so(u, e, l) {
|
|
|
1202
1202
|
m(c, b);
|
|
1203
1203
|
else
|
|
1204
1204
|
return u.tileHandle(b);
|
|
1205
|
-
} else if (((
|
|
1205
|
+
} else if (((I = u.analysis) == null ? void 0 : I.hotmap_type) === "drag")
|
|
1206
1206
|
m(c, b);
|
|
1207
1207
|
else
|
|
1208
1208
|
return u.tileHandle(b);
|
|
@@ -1230,7 +1230,7 @@ function so(u, e, l) {
|
|
|
1230
1230
|
const { x: n, y: f } = c;
|
|
1231
1231
|
v.value = !0, r = { x: n, y: f };
|
|
1232
1232
|
}
|
|
1233
|
-
function
|
|
1233
|
+
function o() {
|
|
1234
1234
|
v.value = !1, r = null;
|
|
1235
1235
|
}
|
|
1236
1236
|
function d(c) {
|
|
@@ -1241,9 +1241,9 @@ function so(u, e, l) {
|
|
|
1241
1241
|
position: g,
|
|
1242
1242
|
size: p,
|
|
1243
1243
|
initRendered: i,
|
|
1244
|
-
tile:
|
|
1244
|
+
tile: I,
|
|
1245
1245
|
pixelDensityRatio: B
|
|
1246
|
-
} = c, P =
|
|
1246
|
+
} = c, P = I.getUrl(), te = y.value * B, ne = g.original.x;
|
|
1247
1247
|
if (ne < te && ne + p.x > te) {
|
|
1248
1248
|
const j = te - ne, re = p.x - j, le = t.value.find((Se) => Se.url === P), Me = (le == null ? void 0 : le.load) === "success" ? le.img : i.canvas;
|
|
1249
1249
|
n.drawImage(
|
|
@@ -1302,15 +1302,15 @@ function so(u, e, l) {
|
|
|
1302
1302
|
}
|
|
1303
1303
|
function io(u, e, l) {
|
|
1304
1304
|
const t = sl(), y = T(!1), v = new BroadcastChannel("sync_kfb_view");
|
|
1305
|
-
v.onmessage = (
|
|
1306
|
-
const d =
|
|
1305
|
+
v.onmessage = (o) => {
|
|
1306
|
+
const d = o.data;
|
|
1307
1307
|
_(d);
|
|
1308
1308
|
}, he(() => {
|
|
1309
|
-
var
|
|
1310
|
-
(
|
|
1309
|
+
var o, d, c;
|
|
1310
|
+
(o = l.value) == null || o.addEventListener("mouseenter", r), (d = l.value) == null || d.addEventListener("mousemove", r), (c = l.value) == null || c.addEventListener("mouseleave", s);
|
|
1311
1311
|
}), Ie(() => {
|
|
1312
|
-
var
|
|
1313
|
-
(
|
|
1312
|
+
var o, d, c;
|
|
1313
|
+
(o = l.value) == null || o.removeEventListener("mouseenter", r), (d = l.value) == null || d.removeEventListener("mousemove", r), (c = l.value) == null || c.removeEventListener("mouseleave", s), v.close();
|
|
1314
1314
|
});
|
|
1315
1315
|
function r() {
|
|
1316
1316
|
y.value = !0;
|
|
@@ -1319,15 +1319,15 @@ function io(u, e, l) {
|
|
|
1319
1319
|
y.value = !1;
|
|
1320
1320
|
}
|
|
1321
1321
|
function m() {
|
|
1322
|
-
let
|
|
1322
|
+
let o;
|
|
1323
1323
|
e.value.viewer.addHandler("pan", (d) => {
|
|
1324
1324
|
var f, b, g, p;
|
|
1325
|
-
if (!
|
|
1326
|
-
|
|
1325
|
+
if (!o) {
|
|
1326
|
+
o = (b = (f = d.center) == null ? void 0 : f.clone) == null ? void 0 : b.call(f);
|
|
1327
1327
|
return;
|
|
1328
1328
|
}
|
|
1329
|
-
const c = d.center, n = (g = c == null ? void 0 : c.minus) == null ? void 0 : g.call(c,
|
|
1330
|
-
|
|
1329
|
+
const c = d.center, n = (g = c == null ? void 0 : c.minus) == null ? void 0 : g.call(c, o);
|
|
1330
|
+
o = (p = c == null ? void 0 : c.clone) == null ? void 0 : p.call(c), u.syncPosition && h({
|
|
1331
1331
|
position: n,
|
|
1332
1332
|
type: "sync_position"
|
|
1333
1333
|
});
|
|
@@ -1341,21 +1341,21 @@ function io(u, e, l) {
|
|
|
1341
1341
|
if (u.syncZoom && h({
|
|
1342
1342
|
zoom: e.value.viewer.viewport.getZoom(!0),
|
|
1343
1343
|
type: "sync_zoom"
|
|
1344
|
-
}), !
|
|
1344
|
+
}), !o)
|
|
1345
1345
|
return;
|
|
1346
|
-
const d = e.value.viewer.viewport.getCenter(!0), c = (n = d == null ? void 0 : d.minus) == null ? void 0 : n.call(d,
|
|
1347
|
-
|
|
1346
|
+
const d = e.value.viewer.viewport.getCenter(!0), c = (n = d == null ? void 0 : d.minus) == null ? void 0 : n.call(d, o);
|
|
1347
|
+
o = void 0, u.syncPosition && h({
|
|
1348
1348
|
position: c,
|
|
1349
1349
|
type: "sync_position"
|
|
1350
1350
|
});
|
|
1351
1351
|
});
|
|
1352
1352
|
}
|
|
1353
|
-
function _(
|
|
1354
|
-
|
|
1353
|
+
function _(o) {
|
|
1354
|
+
o.uuid && o.type === "sync_position" && o.uuid !== (t == null ? void 0 : t.uid) ? e.value && e.value.viewer.viewport.panBy(o.position, !0) : o.uuid && o.type === "sync_zoom" && o.uuid !== (t == null ? void 0 : t.uid) && e.value && e.value.viewer.viewport.zoomTo(o.zoom);
|
|
1355
1355
|
}
|
|
1356
|
-
function h(
|
|
1356
|
+
function h(o) {
|
|
1357
1357
|
var d;
|
|
1358
|
-
y.value && v.postMessage(we(W({},
|
|
1358
|
+
y.value && v.postMessage(we(W({}, o), {
|
|
1359
1359
|
uuid: t == null ? void 0 : t.uid,
|
|
1360
1360
|
fileName: (d = u.slide) == null ? void 0 : d.file
|
|
1361
1361
|
}));
|
|
@@ -1413,32 +1413,32 @@ function fo(u, e, l = {}) {
|
|
|
1413
1413
|
minThreshold: r = 0.05
|
|
1414
1414
|
// 值越小,停止移动时的精度越高
|
|
1415
1415
|
} = l;
|
|
1416
|
-
let s = !1, m = null, _ = 0, h = 0,
|
|
1416
|
+
let s = !1, m = null, _ = 0, h = 0, o = !1;
|
|
1417
1417
|
const d = () => {
|
|
1418
1418
|
s = document.pointerLockElement === e.value, s || c();
|
|
1419
1419
|
}, c = () => {
|
|
1420
|
-
_ = 0, h = 0, m && (cancelAnimationFrame(m), m = null),
|
|
1420
|
+
_ = 0, h = 0, m && (cancelAnimationFrame(m), m = null), o = !1;
|
|
1421
1421
|
}, n = (i) => $e(this, null, function* () {
|
|
1422
1422
|
try {
|
|
1423
1423
|
i.key === "l" && e.value && (document.pointerLockElement ? (document.exitPointerLock(), console.log("鼠标已解锁!")) : (yield e.value.requestPointerLock(), console.log("鼠标已锁定!")));
|
|
1424
|
-
} catch (
|
|
1425
|
-
console.error("无法锁定鼠标:",
|
|
1424
|
+
} catch (I) {
|
|
1425
|
+
console.error("无法锁定鼠标:", I);
|
|
1426
1426
|
}
|
|
1427
1427
|
}), f = (i) => {
|
|
1428
1428
|
if (s) {
|
|
1429
1429
|
i.preventDefault();
|
|
1430
|
-
const
|
|
1431
|
-
u.value.viewer.viewport.zoomBy(
|
|
1430
|
+
const I = Math.pow(y, Math.sign(i.deltaY) * -1);
|
|
1431
|
+
u.value.viewer.viewport.zoomBy(I), u.value.viewer.viewport.applyConstraints();
|
|
1432
1432
|
}
|
|
1433
1433
|
}, b = (i) => {
|
|
1434
|
-
s && (_ += i.movementX * t, h += i.movementY * t, !
|
|
1434
|
+
s && (_ += i.movementX * t, h += i.movementY * t, !o && (Math.abs(_) > 1 || Math.abs(h) > 1) && (o = !0, m = requestAnimationFrame(g)));
|
|
1435
1435
|
}, g = () => {
|
|
1436
1436
|
const i = u.value.viewer.viewport;
|
|
1437
1437
|
if (Math.abs(_) > r || Math.abs(h) > r) {
|
|
1438
|
-
const
|
|
1438
|
+
const I = i.deltaPointsFromPixels(
|
|
1439
1439
|
new xe.Point(_, h)
|
|
1440
1440
|
);
|
|
1441
|
-
i.panBy(
|
|
1441
|
+
i.panBy(I), i.applyConstraints();
|
|
1442
1442
|
}
|
|
1443
1443
|
_ *= v, h *= v, Math.abs(_) > r || Math.abs(h) > r ? m = requestAnimationFrame(g) : c();
|
|
1444
1444
|
}, p = () => {
|
|
@@ -1483,7 +1483,7 @@ const mo = /* @__PURE__ */ J({
|
|
|
1483
1483
|
size: "24",
|
|
1484
1484
|
class: "margin-b-4 margin-t-2"
|
|
1485
1485
|
}),
|
|
1486
|
-
C(
|
|
1486
|
+
C(a(cl), {
|
|
1487
1487
|
modelValue: l.value,
|
|
1488
1488
|
"onUpdate:modelValue": s[0] || (s[0] = (m) => l.value = m),
|
|
1489
1489
|
vertical: "",
|
|
@@ -1524,7 +1524,7 @@ const mo = /* @__PURE__ */ J({
|
|
|
1524
1524
|
], r = N(() => {
|
|
1525
1525
|
var m;
|
|
1526
1526
|
return (((m = l.info) == null ? void 0 : m.channel) || []).map((_) => {
|
|
1527
|
-
const h = v.find((
|
|
1527
|
+
const h = v.find((o) => o.key === _.eqt_num);
|
|
1528
1528
|
return {
|
|
1529
1529
|
label: _.eqt_num,
|
|
1530
1530
|
color: _.r ? `rgb(${_.r}, ${_.g}, ${_.b})` : h == null ? void 0 : h.color
|
|
@@ -1543,7 +1543,7 @@ const mo = /* @__PURE__ */ J({
|
|
|
1543
1543
|
key: h.label,
|
|
1544
1544
|
style: q({ background: h.color }),
|
|
1545
1545
|
class: ke(["hzzt-kfb-channel__box", y.value.includes(h.label) ? "" : "hzzt-kfb-channel__box--unactive"]),
|
|
1546
|
-
onClick: (
|
|
1546
|
+
onClick: (o) => s(h.label)
|
|
1547
1547
|
}, E(h.label), 15, ho))), 128))
|
|
1548
1548
|
])) : R("", !0);
|
|
1549
1549
|
}
|
|
@@ -1571,7 +1571,7 @@ const mo = /* @__PURE__ */ J({
|
|
|
1571
1571
|
}, [
|
|
1572
1572
|
k("div", yo, [
|
|
1573
1573
|
Le(k("div", wo, [
|
|
1574
|
-
k("span", null, E(
|
|
1574
|
+
k("span", null, E(a(y)("标注列表")), 1)
|
|
1575
1575
|
], 512), [
|
|
1576
1576
|
[Ae, l.value]
|
|
1577
1577
|
]),
|
|
@@ -1583,9 +1583,9 @@ const mo = /* @__PURE__ */ J({
|
|
|
1583
1583
|
]),
|
|
1584
1584
|
Le(k("div", _o, [
|
|
1585
1585
|
(w(!0), L(oe, null, ae(s.annotations, (_, h) => {
|
|
1586
|
-
var
|
|
1586
|
+
var o;
|
|
1587
1587
|
return w(), L("div", {
|
|
1588
|
-
class: ke(["hzzt-kfb-annotation__item", ((
|
|
1588
|
+
class: ke(["hzzt-kfb-annotation__item", ((o = s.annotation) == null ? void 0 : o.id) === _.id ? "hzzt-kfb-annotation__item--active" : ""]),
|
|
1589
1589
|
key: h,
|
|
1590
1590
|
onClick: (d) => r(_)
|
|
1591
1591
|
}, [
|
|
@@ -1593,7 +1593,7 @@ const mo = /* @__PURE__ */ J({
|
|
|
1593
1593
|
size: "16",
|
|
1594
1594
|
name: v(_)
|
|
1595
1595
|
}, null, 8, ["name"]),
|
|
1596
|
-
k("span", null, E(
|
|
1596
|
+
k("span", null, E(a(y)("标注")) + E(h + 1), 1)
|
|
1597
1597
|
], 10, bo);
|
|
1598
1598
|
}), 128))
|
|
1599
1599
|
], 512), [
|
|
@@ -1667,16 +1667,16 @@ const Co = ["element-loading-text"], $o = {
|
|
|
1667
1667
|
emits: ["tool"],
|
|
1668
1668
|
setup(u, { expose: e, emit: l }) {
|
|
1669
1669
|
il((z) => ({
|
|
1670
|
-
"
|
|
1670
|
+
"102f89ac": ne.value
|
|
1671
1671
|
}));
|
|
1672
|
-
const t = u, y = l, { t: v, locale: r } = ue(), s = T(), m = T(), _ = T(), h = T(!1),
|
|
1672
|
+
const t = u, y = l, { t: v, locale: r } = ue(), s = T(), m = T(), _ = T(), h = T(!1), o = T({}), d = T(!1), c = T(0), n = T(0), f = T(0), b = T([]), g = T({
|
|
1673
1673
|
width: 0,
|
|
1674
1674
|
height: 0,
|
|
1675
1675
|
fileNum: 0,
|
|
1676
1676
|
scanScale: 1,
|
|
1677
1677
|
fileName: "",
|
|
1678
1678
|
ratiomap: {}
|
|
1679
|
-
}), p = Z("show-kfb-label", T(!0)), i = Z("show-keyboard", T(!1)),
|
|
1679
|
+
}), p = Z("show-kfb-label", T(!0)), i = Z("show-keyboard", T(!1)), I = Z("show-watermark", T(!1)), B = T(!1), P = Et.directive;
|
|
1680
1680
|
ee(() => {
|
|
1681
1681
|
var z;
|
|
1682
1682
|
return (z = t.slide) == null ? void 0 : z.file;
|
|
@@ -1688,8 +1688,8 @@ const Co = ["element-loading-text"], $o = {
|
|
|
1688
1688
|
ft();
|
|
1689
1689
|
});
|
|
1690
1690
|
const te = St(t), ne = N(() => {
|
|
1691
|
-
var z,
|
|
1692
|
-
return `url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='150' height='100'><text x='30' y='80' font-family='Arial' font-size='16' fill='${((z = t.watermark) == null ? void 0 : z.color) || "rgba(0,0,0,0.2)"}' transform='rotate(-30)' text-anchor='middle'>${((
|
|
1691
|
+
var z, V;
|
|
1692
|
+
return `url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='150' height='100'><text x='30' y='80' font-family='Arial' font-size='16' fill='${((z = t.watermark) == null ? void 0 : z.color) || "rgba(0,0,0,0.2)"}' transform='rotate(-30)' text-anchor='middle'>${((V = t.watermark) == null ? void 0 : V.text) || "水印文字"}</text></svg>")`;
|
|
1693
1693
|
}), {
|
|
1694
1694
|
imageProcess: j,
|
|
1695
1695
|
matrixValues: re,
|
|
@@ -1698,11 +1698,11 @@ const Co = ["element-loading-text"], $o = {
|
|
|
1698
1698
|
} = Il(t), {
|
|
1699
1699
|
tailorEvent: Se,
|
|
1700
1700
|
shotScreen: ye
|
|
1701
|
-
} = Ml(y,
|
|
1701
|
+
} = Ml(y, o), {
|
|
1702
1702
|
moveEvent: De,
|
|
1703
1703
|
fastMove: Ye
|
|
1704
|
-
} = lo(
|
|
1705
|
-
fo(
|
|
1704
|
+
} = lo(o, n), { initSync: Xe } = io(t, o, s);
|
|
1705
|
+
fo(o, s);
|
|
1706
1706
|
const { drawDot: Qe } = ao(), {
|
|
1707
1707
|
voiceVisible: He,
|
|
1708
1708
|
voiceForm: Pe,
|
|
@@ -1722,7 +1722,7 @@ const Co = ["element-loading-text"], $o = {
|
|
|
1722
1722
|
reloadLabelList: At,
|
|
1723
1723
|
eventHandel: Nt,
|
|
1724
1724
|
addHandle: Bt
|
|
1725
|
-
} = oo(t, y,
|
|
1725
|
+
} = oo(t, y, o, ut, tt);
|
|
1726
1726
|
function Dt(z) {
|
|
1727
1727
|
Bt(z);
|
|
1728
1728
|
}
|
|
@@ -1732,12 +1732,12 @@ const Co = ["element-loading-text"], $o = {
|
|
|
1732
1732
|
hotmapLine: Kt,
|
|
1733
1733
|
lineMouseDown: vt,
|
|
1734
1734
|
hotmapImgs: jt
|
|
1735
|
-
} = so(t,
|
|
1735
|
+
} = so(t, o, lt);
|
|
1736
1736
|
function ft() {
|
|
1737
1737
|
var z;
|
|
1738
|
-
(z = t.slide) != null && z.file && t.fileHandle && (d.value || (d.value = !0, t.fileHandle(t.slide).then((
|
|
1738
|
+
(z = t.slide) != null && z.file && t.fileHandle && (d.value || (d.value = !0, t.fileHandle(t.slide).then((V) => {
|
|
1739
1739
|
var Y, se, me, O;
|
|
1740
|
-
g.value =
|
|
1740
|
+
g.value = V, b.value = (((Y = g.value) == null ? void 0 : Y.channel) || []).map((U) => U.eqt_num), o.value = new ve(W({
|
|
1741
1741
|
el: m.value,
|
|
1742
1742
|
fileName: (se = t.slide) == null ? void 0 : se.file,
|
|
1743
1743
|
scale: g.value.scanScale,
|
|
@@ -1788,7 +1788,7 @@ const Co = ["element-loading-text"], $o = {
|
|
|
1788
1788
|
}
|
|
1789
1789
|
}
|
|
1790
1790
|
}
|
|
1791
|
-
}, t.options || {})),
|
|
1791
|
+
}, t.options || {})), o.value.viewer.drawer.canvas.style.filter = "url(#colorMatrixFilter)", Rt(), Gt(), Xe(), setTimeout(() => {
|
|
1792
1792
|
var U, D;
|
|
1793
1793
|
(U = t.analysis) != null && U.hotmap_path && ((D = t.analysis) != null && D.zoom_roi) && lt({
|
|
1794
1794
|
x: t.analysis.zoom_roi.x,
|
|
@@ -1809,10 +1809,10 @@ const Co = ["element-loading-text"], $o = {
|
|
|
1809
1809
|
})));
|
|
1810
1810
|
}
|
|
1811
1811
|
function Ot() {
|
|
1812
|
-
const z =
|
|
1812
|
+
const z = o.value.viewer;
|
|
1813
1813
|
if (z.world) {
|
|
1814
|
-
const
|
|
1815
|
-
z.world.removeItem(
|
|
1814
|
+
const V = z.world.getItemAt(0), Y = z.viewport.getZoom(), se = z.viewport.getCenter();
|
|
1815
|
+
z.world.removeItem(V), z.addTiledImage({
|
|
1816
1816
|
tileSource: mt(),
|
|
1817
1817
|
success: function() {
|
|
1818
1818
|
z.viewport.zoomTo(Y), z.viewport.panTo(se);
|
|
@@ -1822,9 +1822,9 @@ const Co = ["element-loading-text"], $o = {
|
|
|
1822
1822
|
}
|
|
1823
1823
|
function mt() {
|
|
1824
1824
|
var me, O;
|
|
1825
|
-
const z = g.value.tileWidth || g.value.imageBlockLen || 256,
|
|
1825
|
+
const z = g.value.tileWidth || g.value.imageBlockLen || 256, V = g.value.tileHeight || g.value.imageBlockLen || 256, Y = {};
|
|
1826
1826
|
(me = t.analysis) != null && me.hotmap_path && (((O = t.analysis) == null ? void 0 : O.hotmap_info) || []).forEach((U) => {
|
|
1827
|
-
Y[U[0] / z + "_" + U[1] /
|
|
1827
|
+
Y[U[0] / z + "_" + U[1] / V + "_" + U[2]] = !0;
|
|
1828
1828
|
});
|
|
1829
1829
|
let se = 10;
|
|
1830
1830
|
return Object.keys(g.value.ratiomap).forEach((U) => {
|
|
@@ -1834,7 +1834,7 @@ const Co = ["element-loading-text"], $o = {
|
|
|
1834
1834
|
height: g.value.height,
|
|
1835
1835
|
width: g.value.width,
|
|
1836
1836
|
tileWidth: z,
|
|
1837
|
-
tileHeight:
|
|
1837
|
+
tileHeight: V,
|
|
1838
1838
|
minLevel: Math.floor(se || 8),
|
|
1839
1839
|
getTileUrl: (U, D, Ce) => {
|
|
1840
1840
|
var bt, kt, zt, Ct;
|
|
@@ -1853,23 +1853,23 @@ const Co = ["element-loading-text"], $o = {
|
|
|
1853
1853
|
};
|
|
1854
1854
|
}
|
|
1855
1855
|
function Gt() {
|
|
1856
|
-
|
|
1856
|
+
o.value.viewer.addHandler("rotate", (z) => {
|
|
1857
1857
|
c.value = z.degrees || 0;
|
|
1858
|
-
}),
|
|
1859
|
-
const
|
|
1858
|
+
}), o.value.viewer.addHandler("zoom", (z) => {
|
|
1859
|
+
const V = o.value.viewer.viewport.viewportToImageZoom(
|
|
1860
1860
|
z.zoom || 0
|
|
1861
|
-
) * Number(
|
|
1862
|
-
n.value = Number(
|
|
1863
|
-
}),
|
|
1861
|
+
) * Number(o.value.$options.scale);
|
|
1862
|
+
n.value = Number(V.toFixed(2));
|
|
1863
|
+
}), o.value.$on(ve.events.EVENT_NAVIGATOR_VESTIGE, (z) => {
|
|
1864
1864
|
t.navigatorHandle && t.navigatorHandle("add", t.slide, z);
|
|
1865
1865
|
}), t.navigatorHandle && t.navigatorHandle("list", t.slide).then((z) => {
|
|
1866
|
-
var
|
|
1867
|
-
(Y = (
|
|
1866
|
+
var V, Y;
|
|
1867
|
+
(Y = (V = o.value.navigator) == null ? void 0 : V.drawPointList) == null || Y.call(V, z);
|
|
1868
1868
|
}), Se(), De();
|
|
1869
1869
|
}
|
|
1870
1870
|
function Wt() {
|
|
1871
1871
|
var z;
|
|
1872
|
-
(z =
|
|
1872
|
+
(z = o.value) != null && z.destroy && (o.value.destroy(), o.value = {}, g.value = {
|
|
1873
1873
|
width: 0,
|
|
1874
1874
|
height: 0,
|
|
1875
1875
|
fileNum: 0,
|
|
@@ -1878,46 +1878,49 @@ const Co = ["element-loading-text"], $o = {
|
|
|
1878
1878
|
ratiomap: {}
|
|
1879
1879
|
}, jt.value = [], b.value = [], n.value = 0, c.value = 0, f.value = 0);
|
|
1880
1880
|
}
|
|
1881
|
-
function pt(z,
|
|
1882
|
-
z === "annotate" ? ht(
|
|
1881
|
+
function pt(z, V) {
|
|
1882
|
+
z === "annotate" ? ht(V) : z === "tailor" ? ye(V) : z === "info" ? h.value = !0 : z === "flip" ? gt() : z === "delete" ? Nt("delete")(et.value) : y("tool", z, V);
|
|
1883
1883
|
}
|
|
1884
1884
|
function ht(z) {
|
|
1885
|
-
z.tool === "Voice" && (z.subType = "voice", z.tool = "Dot", z.custom = !0),
|
|
1885
|
+
z.tool === "Voice" && (z.subType = "voice", z.tool = "Dot", z.custom = !0), o.value.board.startDraw(z);
|
|
1886
1886
|
}
|
|
1887
1887
|
function qt() {
|
|
1888
|
-
|
|
1888
|
+
o.value.board.endDraw();
|
|
1889
1889
|
}
|
|
1890
1890
|
function gt() {
|
|
1891
|
-
|
|
1891
|
+
o.value.viewer.viewport.toggleFlip();
|
|
1892
1892
|
}
|
|
1893
1893
|
function Zt(z) {
|
|
1894
|
-
var
|
|
1895
|
-
(Y = (
|
|
1894
|
+
var V, Y;
|
|
1895
|
+
(Y = (V = _.value) == null ? void 0 : V.scopeChange) == null || Y.call(V, z);
|
|
1896
1896
|
}
|
|
1897
1897
|
function Yt() {
|
|
1898
1898
|
h.value = !0;
|
|
1899
1899
|
}
|
|
1900
1900
|
function yt(z) {
|
|
1901
|
-
|
|
1901
|
+
var V;
|
|
1902
|
+
(V = o.value) != null && V.grid && o.value.grid.updated(z);
|
|
1902
1903
|
}
|
|
1903
1904
|
function wt(z) {
|
|
1904
|
-
|
|
1905
|
+
var V;
|
|
1906
|
+
(V = o.value) != null && V.graduation && o.value.graduation.updated(z);
|
|
1905
1907
|
}
|
|
1906
1908
|
function _t(z) {
|
|
1907
|
-
|
|
1909
|
+
var V;
|
|
1910
|
+
(V = o.value) != null && V.navigator && (o.value.navigator.element.style.display = z ? "flex" : "none");
|
|
1908
1911
|
}
|
|
1909
1912
|
function tt(z) {
|
|
1910
|
-
const
|
|
1911
|
-
|
|
1913
|
+
const V = o.value.viewer.viewport.imageToViewportZoom(Number(z / o.value.$options.scale));
|
|
1914
|
+
o.value.viewer.viewport.zoomTo(V);
|
|
1912
1915
|
}
|
|
1913
|
-
function lt(z,
|
|
1914
|
-
|
|
1916
|
+
function lt(z, V) {
|
|
1917
|
+
o.value.area && (o.value.area.moveToLabel(o.value.viewer.viewport.imageToViewportCoordinates(
|
|
1915
1918
|
z.x + z.width / 2,
|
|
1916
1919
|
z.y + z.height / 2
|
|
1917
|
-
)), tt(
|
|
1920
|
+
)), tt(V));
|
|
1918
1921
|
}
|
|
1919
|
-
return de("kfbView",
|
|
1920
|
-
kfbView:
|
|
1922
|
+
return de("kfbView", o), de("currentLabel", et), e({
|
|
1923
|
+
kfbView: o,
|
|
1921
1924
|
degrees: c,
|
|
1922
1925
|
zoom: n,
|
|
1923
1926
|
forceRedraw: Me,
|
|
@@ -1935,7 +1938,7 @@ const Co = ["element-loading-text"], $o = {
|
|
|
1935
1938
|
jumpToLabel: dt,
|
|
1936
1939
|
jumpToPosition: lt,
|
|
1937
1940
|
reloadLabelList: At
|
|
1938
|
-
}), (z,
|
|
1941
|
+
}), (z, V) => {
|
|
1939
1942
|
var Y, se, me;
|
|
1940
1943
|
return w(), L("div", {
|
|
1941
1944
|
ref_key: "mainKfbViewRef",
|
|
@@ -1947,55 +1950,55 @@ const Co = ["element-loading-text"], $o = {
|
|
|
1947
1950
|
ref_key: "kfbViewMainRef",
|
|
1948
1951
|
ref: m,
|
|
1949
1952
|
class: "hzzt-kfb-view__main",
|
|
1950
|
-
"element-loading-text":
|
|
1953
|
+
"element-loading-text": a(v)("加载中"),
|
|
1951
1954
|
"element-loading-background": "rgba(0, 0, 0, 0.8)"
|
|
1952
1955
|
}, null, 8, Co)), [
|
|
1953
|
-
[
|
|
1954
|
-
]) : (w(), L("div", $o,
|
|
1956
|
+
[a(P), d.value]
|
|
1957
|
+
]) : (w(), L("div", $o, V[5] || (V[5] = [
|
|
1955
1958
|
k("img", {
|
|
1956
1959
|
style: { width: "50%" },
|
|
1957
1960
|
src: Ze
|
|
1958
1961
|
}, null, -1)
|
|
1959
1962
|
]))),
|
|
1960
|
-
z.analysis && z.analysis.result ? (w(), H(
|
|
1963
|
+
z.analysis && z.analysis.result ? (w(), H(a(Vt), {
|
|
1961
1964
|
key: 2,
|
|
1962
1965
|
class: "hzzt-kfb-view__tag",
|
|
1963
|
-
type:
|
|
1966
|
+
type: a(te).type
|
|
1964
1967
|
}, {
|
|
1965
1968
|
default: x(() => [
|
|
1966
|
-
K(E(
|
|
1969
|
+
K(E(a(te).name), 1)
|
|
1967
1970
|
]),
|
|
1968
1971
|
_: 1
|
|
1969
1972
|
}, 8, ["type"])) : R("", !0),
|
|
1970
1973
|
(w(), L("svg", To, [
|
|
1971
1974
|
k("filter", xo, [
|
|
1972
1975
|
k("feColorMatrix", {
|
|
1973
|
-
values:
|
|
1976
|
+
values: a(re),
|
|
1974
1977
|
type: "matrix"
|
|
1975
1978
|
}, null, 8, Lo),
|
|
1976
1979
|
k("feColorMatrix", {
|
|
1977
|
-
values:
|
|
1980
|
+
values: a(le),
|
|
1978
1981
|
type: "saturate"
|
|
1979
1982
|
}, null, 8, Eo),
|
|
1980
1983
|
k("feComponentTransfer", null, [
|
|
1981
1984
|
k("feFuncR", {
|
|
1982
1985
|
id: "feFuncR",
|
|
1983
1986
|
type: "gamma",
|
|
1984
|
-
exponent:
|
|
1987
|
+
exponent: a(j).ga,
|
|
1985
1988
|
amplitude: "1",
|
|
1986
1989
|
offset: "0"
|
|
1987
1990
|
}, null, 8, Vo),
|
|
1988
1991
|
k("feFuncG", {
|
|
1989
1992
|
id: "feFuncG",
|
|
1990
1993
|
type: "gamma",
|
|
1991
|
-
exponent:
|
|
1994
|
+
exponent: a(j).ga,
|
|
1992
1995
|
amplitude: "1",
|
|
1993
1996
|
offset: "0"
|
|
1994
1997
|
}, null, 8, Io),
|
|
1995
1998
|
k("feFuncB", {
|
|
1996
1999
|
id: "feFuncB",
|
|
1997
2000
|
type: "gamma",
|
|
1998
|
-
exponent:
|
|
2001
|
+
exponent: a(j).ga,
|
|
1999
2002
|
amplitude: "1",
|
|
2000
2003
|
offset: "0"
|
|
2001
2004
|
}, null, 8, Mo)
|
|
@@ -2010,50 +2013,50 @@ const Co = ["element-loading-text"], $o = {
|
|
|
2010
2013
|
ref_key: "microscopeRef",
|
|
2011
2014
|
ref: _
|
|
2012
2015
|
}), null, 16),
|
|
2013
|
-
|
|
2016
|
+
a(p) && z.slide.file && g.value.labelImg ? (w(), H(to, {
|
|
2014
2017
|
key: 3,
|
|
2015
2018
|
info: g.value,
|
|
2016
2019
|
slide: z.slide,
|
|
2017
2020
|
pathologyHandle: z.pathologyHandle,
|
|
2018
2021
|
onTool: pt
|
|
2019
2022
|
}, null, 8, ["info", "slide", "pathologyHandle"])) : R("", !0),
|
|
2020
|
-
|
|
2023
|
+
a(i) ? (w(), H(vo, { key: 4 })) : R("", !0),
|
|
2021
2024
|
(Y = z.slide.children) != null && Y.length ? (w(), H(mo, {
|
|
2022
2025
|
key: 5,
|
|
2023
2026
|
modelValue: f.value,
|
|
2024
|
-
"onUpdate:modelValue":
|
|
2027
|
+
"onUpdate:modelValue": V[0] || (V[0] = (O) => f.value = O),
|
|
2025
2028
|
slides: z.slide.children
|
|
2026
2029
|
}, null, 8, ["modelValue", "slides"])) : R("", !0),
|
|
2027
2030
|
(me = (se = g.value) == null ? void 0 : se.channel) != null && me.length ? (w(), H(go, {
|
|
2028
2031
|
key: 6,
|
|
2029
2032
|
modelValue: b.value,
|
|
2030
|
-
"onUpdate:modelValue":
|
|
2033
|
+
"onUpdate:modelValue": V[1] || (V[1] = (O) => b.value = O),
|
|
2031
2034
|
info: g.value,
|
|
2032
2035
|
onLoad: Ot
|
|
2033
2036
|
}, null, 8, ["modelValue", "info"])) : R("", !0),
|
|
2034
|
-
|
|
2037
|
+
a(ct).length ? (w(), H(zo, {
|
|
2035
2038
|
key: 7,
|
|
2036
2039
|
expand: B.value,
|
|
2037
|
-
"onUpdate:expand":
|
|
2040
|
+
"onUpdate:expand": V[2] || (V[2] = (O) => B.value = O),
|
|
2038
2041
|
style: q({
|
|
2039
2042
|
top: z.analysis && z.analysis.result ? "24px" : "4px"
|
|
2040
2043
|
}),
|
|
2041
|
-
annotation:
|
|
2042
|
-
annotations:
|
|
2043
|
-
onSelect:
|
|
2044
|
+
annotation: a(et),
|
|
2045
|
+
annotations: a(ct),
|
|
2046
|
+
onSelect: a(dt)
|
|
2044
2047
|
}, null, 8, ["expand", "style", "annotation", "annotations", "onSelect"])) : R("", !0),
|
|
2045
|
-
C(
|
|
2048
|
+
C(a(Ge), {
|
|
2046
2049
|
modelValue: h.value,
|
|
2047
|
-
"onUpdate:modelValue":
|
|
2050
|
+
"onUpdate:modelValue": V[3] || (V[3] = (O) => h.value = O),
|
|
2048
2051
|
"append-to-body": !0,
|
|
2049
|
-
title:
|
|
2052
|
+
title: a(v)("图像信息"),
|
|
2050
2053
|
width: "700px",
|
|
2051
2054
|
top: "5vh"
|
|
2052
2055
|
}, {
|
|
2053
2056
|
default: x(() => [
|
|
2054
|
-
C(
|
|
2057
|
+
C(a(nt), { "label-position": "left" }, {
|
|
2055
2058
|
default: x(() => [
|
|
2056
|
-
C(
|
|
2059
|
+
C(a(ie), {
|
|
2057
2060
|
class: "flex",
|
|
2058
2061
|
"label-width": "0px"
|
|
2059
2062
|
}, {
|
|
@@ -2072,49 +2075,49 @@ const Co = ["element-loading-text"], $o = {
|
|
|
2072
2075
|
]),
|
|
2073
2076
|
_: 1
|
|
2074
2077
|
}),
|
|
2075
|
-
C(
|
|
2076
|
-
label:
|
|
2078
|
+
C(a(ie), {
|
|
2079
|
+
label: a(v)("文件名")
|
|
2077
2080
|
}, {
|
|
2078
2081
|
default: x(() => [
|
|
2079
2082
|
k("span", Ro, E(g.value.fileName), 1)
|
|
2080
2083
|
]),
|
|
2081
2084
|
_: 1
|
|
2082
2085
|
}, 8, ["label"]),
|
|
2083
|
-
C(
|
|
2084
|
-
label:
|
|
2086
|
+
C(a(ie), {
|
|
2087
|
+
label: a(v)("图像像素")
|
|
2085
2088
|
}, {
|
|
2086
2089
|
default: x(() => [
|
|
2087
2090
|
k("span", Ao, E(g.value.width) + "Pixel - " + E(g.value.height) + "Pixel", 1)
|
|
2088
2091
|
]),
|
|
2089
2092
|
_: 1
|
|
2090
2093
|
}, 8, ["label"]),
|
|
2091
|
-
C(
|
|
2092
|
-
label:
|
|
2094
|
+
C(a(ie), {
|
|
2095
|
+
label: a(v)("扫描倍率")
|
|
2093
2096
|
}, {
|
|
2094
2097
|
default: x(() => [
|
|
2095
2098
|
k("span", No, E(g.value.scanScale), 1)
|
|
2096
2099
|
]),
|
|
2097
2100
|
_: 1
|
|
2098
2101
|
}, 8, ["label"]),
|
|
2099
|
-
C(
|
|
2100
|
-
label:
|
|
2102
|
+
C(a(ie), {
|
|
2103
|
+
label: a(v)("扫描时刻")
|
|
2101
2104
|
}, {
|
|
2102
2105
|
default: x(() => [
|
|
2103
2106
|
k("span", Bo, E(g.value.scanTime), 1)
|
|
2104
2107
|
]),
|
|
2105
2108
|
_: 1
|
|
2106
2109
|
}, 8, ["label"]),
|
|
2107
|
-
C(
|
|
2108
|
-
label:
|
|
2110
|
+
C(a(ie), {
|
|
2111
|
+
label: a(v)("扫描时间")
|
|
2109
2112
|
}, {
|
|
2110
2113
|
default: x(() => [
|
|
2111
2114
|
k("span", Do, E(g.value.scanDuration || 0) + "s", 1)
|
|
2112
2115
|
]),
|
|
2113
2116
|
_: 1
|
|
2114
2117
|
}, 8, ["label"]),
|
|
2115
|
-
g.value.ext ? (w(), H(
|
|
2118
|
+
g.value.ext ? (w(), H(a(ie), {
|
|
2116
2119
|
key: 0,
|
|
2117
|
-
label:
|
|
2120
|
+
label: a(v)("扫描设备")
|
|
2118
2121
|
}, {
|
|
2119
2122
|
default: x(() => [
|
|
2120
2123
|
k("span", Uo, E(g.value.ext.machineNum || ""), 1)
|
|
@@ -2127,44 +2130,44 @@ const Co = ["element-loading-text"], $o = {
|
|
|
2127
2130
|
]),
|
|
2128
2131
|
_: 1
|
|
2129
2132
|
}, 8, ["modelValue", "title"]),
|
|
2130
|
-
C(
|
|
2131
|
-
modelValue:
|
|
2132
|
-
"onUpdate:modelValue":
|
|
2133
|
+
C(a(Ge), {
|
|
2134
|
+
modelValue: a(He),
|
|
2135
|
+
"onUpdate:modelValue": V[4] || (V[4] = (O) => pe(He) ? He.value = O : null),
|
|
2133
2136
|
"append-to-body": !0,
|
|
2134
|
-
title:
|
|
2137
|
+
title: a(v)("语音输入"),
|
|
2135
2138
|
width: "500px",
|
|
2136
2139
|
top: "5vh"
|
|
2137
2140
|
}, {
|
|
2138
2141
|
footer: x(() => [
|
|
2139
|
-
C(
|
|
2142
|
+
C(a(_e), { onClick: a(Ht) }, {
|
|
2140
2143
|
default: x(() => [
|
|
2141
|
-
K(E(
|
|
2144
|
+
K(E(a(v)("取消")), 1)
|
|
2142
2145
|
]),
|
|
2143
2146
|
_: 1
|
|
2144
2147
|
}, 8, ["onClick"]),
|
|
2145
|
-
C(
|
|
2148
|
+
C(a(_e), {
|
|
2146
2149
|
type: "primary",
|
|
2147
|
-
onClick:
|
|
2150
|
+
onClick: a(Pt)
|
|
2148
2151
|
}, {
|
|
2149
2152
|
default: x(() => [
|
|
2150
|
-
K(E(
|
|
2153
|
+
K(E(a(v)("确定")), 1)
|
|
2151
2154
|
]),
|
|
2152
2155
|
_: 1
|
|
2153
2156
|
}, 8, ["onClick"])
|
|
2154
2157
|
]),
|
|
2155
2158
|
default: x(() => [
|
|
2156
|
-
C(
|
|
2159
|
+
C(a(nt), { "label-position": "left" }, {
|
|
2157
2160
|
default: x(() => {
|
|
2158
2161
|
var O;
|
|
2159
2162
|
return [
|
|
2160
|
-
C(
|
|
2163
|
+
C(a(ie), null, {
|
|
2161
2164
|
default: x(() => {
|
|
2162
2165
|
var U;
|
|
2163
2166
|
return [
|
|
2164
|
-
(U =
|
|
2167
|
+
(U = a(Pe)) != null && U.src ? (w(), L("audio", {
|
|
2165
2168
|
key: 0,
|
|
2166
2169
|
class: "width-100%",
|
|
2167
|
-
src:
|
|
2170
|
+
src: a(Pe).src,
|
|
2168
2171
|
controls: "",
|
|
2169
2172
|
preload: "auto"
|
|
2170
2173
|
}, null, 8, Fo)) : R("", !0)
|
|
@@ -2172,28 +2175,28 @@ const Co = ["element-loading-text"], $o = {
|
|
|
2172
2175
|
}),
|
|
2173
2176
|
_: 1
|
|
2174
2177
|
}),
|
|
2175
|
-
(O =
|
|
2178
|
+
(O = a(Pe)) != null && O.src ? R("", !0) : (w(), H(a(ie), { key: 0 }, {
|
|
2176
2179
|
default: x(() => [
|
|
2177
|
-
|
|
2180
|
+
a(A) ? (w(), H(a(_e), {
|
|
2178
2181
|
key: 1,
|
|
2179
2182
|
type: "danger",
|
|
2180
|
-
onClick:
|
|
2183
|
+
onClick: a(ce)
|
|
2181
2184
|
}, {
|
|
2182
2185
|
default: x(() => [
|
|
2183
|
-
K(E(
|
|
2186
|
+
K(E(a(v)("结束录音")), 1)
|
|
2184
2187
|
]),
|
|
2185
2188
|
_: 1
|
|
2186
|
-
}, 8, ["onClick"])) : (w(), H(
|
|
2189
|
+
}, 8, ["onClick"])) : (w(), H(a(_e), {
|
|
2187
2190
|
key: 0,
|
|
2188
2191
|
type: "primary",
|
|
2189
|
-
onClick:
|
|
2192
|
+
onClick: a(F)
|
|
2190
2193
|
}, {
|
|
2191
2194
|
default: x(() => [
|
|
2192
|
-
K(E(
|
|
2195
|
+
K(E(a(v)("开始录音")), 1)
|
|
2193
2196
|
]),
|
|
2194
2197
|
_: 1
|
|
2195
2198
|
}, 8, ["onClick"])),
|
|
2196
|
-
|
|
2199
|
+
a(A) ? (w(), L("span", Ko, E(a(v)("录音时长")) + ":" + E(a($)) + "s", 1)) : R("", !0)
|
|
2197
2200
|
]),
|
|
2198
2201
|
_: 1
|
|
2199
2202
|
}))
|
|
@@ -2207,14 +2210,14 @@ const Co = ["element-loading-text"], $o = {
|
|
|
2207
2210
|
z.analysis && z.analysis.hotmap_path && z.analysis.hotmap_type !== "switch" ? (w(), L("div", {
|
|
2208
2211
|
key: 8,
|
|
2209
2212
|
class: "hzzt-kfb-view__hotmap",
|
|
2210
|
-
style: q({ left:
|
|
2213
|
+
style: q({ left: a(Kt) + "px" })
|
|
2211
2214
|
}, [
|
|
2212
|
-
C(
|
|
2215
|
+
C(a(ze), {
|
|
2213
2216
|
class: "icon-caret-left",
|
|
2214
2217
|
size: "30",
|
|
2215
|
-
onMousedown:
|
|
2218
|
+
onMousedown: a(vt)
|
|
2216
2219
|
}, {
|
|
2217
|
-
default: x(() =>
|
|
2220
|
+
default: x(() => V[6] || (V[6] = [
|
|
2218
2221
|
k("svg", {
|
|
2219
2222
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2220
2223
|
viewBox: "0 0 1024 1024"
|
|
@@ -2228,12 +2231,12 @@ const Co = ["element-loading-text"], $o = {
|
|
|
2228
2231
|
_: 1,
|
|
2229
2232
|
__: [6]
|
|
2230
2233
|
}, 8, ["onMousedown"]),
|
|
2231
|
-
C(
|
|
2234
|
+
C(a(ze), {
|
|
2232
2235
|
class: "icon-caret-right",
|
|
2233
2236
|
size: "30",
|
|
2234
|
-
onMousedown:
|
|
2237
|
+
onMousedown: a(vt)
|
|
2235
2238
|
}, {
|
|
2236
|
-
default: x(() =>
|
|
2239
|
+
default: x(() => V[7] || (V[7] = [
|
|
2237
2240
|
k("svg", {
|
|
2238
2241
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2239
2242
|
viewBox: "0 0 1024 1024"
|
|
@@ -2248,7 +2251,7 @@ const Co = ["element-loading-text"], $o = {
|
|
|
2248
2251
|
__: [7]
|
|
2249
2252
|
}, 8, ["onMousedown"])
|
|
2250
2253
|
], 4)) : R("", !0),
|
|
2251
|
-
|
|
2254
|
+
a(I) ? (w(), L("div", jo)) : R("", !0),
|
|
2252
2255
|
fe(z.$slots, "default")
|
|
2253
2256
|
], 512);
|
|
2254
2257
|
};
|
|
@@ -2258,26 +2261,26 @@ function Oo(u, e) {
|
|
|
2258
2261
|
var b, g;
|
|
2259
2262
|
const l = T(!!((b = u.ai) != null && b.default)), t = T(!!((g = u.ai) != null && g.default)), y = T([]), v = N(
|
|
2260
2263
|
() => {
|
|
2261
|
-
var p, i,
|
|
2262
|
-
return (p = e.value) != null && p.analysis ? Object.prototype.toString.call((i = e.value) == null ? void 0 : i.analysis) === "[object Array]" ? (
|
|
2264
|
+
var p, i, I, B;
|
|
2265
|
+
return (p = e.value) != null && p.analysis ? Object.prototype.toString.call((i = e.value) == null ? void 0 : i.analysis) === "[object Array]" ? (I = e.value) == null ? void 0 : I.analysis : [(B = e.value) == null ? void 0 : B.analysis] : [];
|
|
2263
2266
|
}
|
|
2264
2267
|
), r = N(() => v.value.find((p) => (p == null ? void 0 : p.class) === "IQC")), s = N(() => !!r.value), m = N(() => v.value.find((p) => (p == null ? void 0 : p.class) !== "IQC")), _ = N(() => !!m.value), h = N(() => l.value ? m.value : t.value ? r.value : void 0);
|
|
2265
2268
|
ee(() => {
|
|
2266
2269
|
var p;
|
|
2267
2270
|
return (p = u.ai) == null ? void 0 : p.default;
|
|
2268
2271
|
}, () => {
|
|
2269
|
-
|
|
2272
|
+
o();
|
|
2270
2273
|
}), ee(() => {
|
|
2271
2274
|
var p;
|
|
2272
2275
|
return (p = e == null ? void 0 : e.value) == null ? void 0 : p.id;
|
|
2273
2276
|
}, () => {
|
|
2274
|
-
|
|
2277
|
+
o(), d();
|
|
2275
2278
|
}), he(() => {
|
|
2276
|
-
|
|
2279
|
+
o(), d();
|
|
2277
2280
|
});
|
|
2278
|
-
function
|
|
2279
|
-
var p, i,
|
|
2280
|
-
l.value = !!((p = u.ai) != null && p.default), t.value = !!((i = u.ai) != null && i.default), _.value && l.value && (t.value = !1), s.value && t.value && (l.value = !1), (
|
|
2281
|
+
function o() {
|
|
2282
|
+
var p, i, I;
|
|
2283
|
+
l.value = !!((p = u.ai) != null && p.default), t.value = !!((i = u.ai) != null && i.default), _.value && l.value && (t.value = !1), s.value && t.value && (l.value = !1), (I = e.value) != null && I.id && (_.value || (l.value = !1), s.value || (t.value = !1));
|
|
2281
2284
|
}
|
|
2282
2285
|
function d() {
|
|
2283
2286
|
var p;
|
|
@@ -2328,6 +2331,10 @@ const Go = ["src", "fit"], Wo = ["src", "fit"], Ke = /* @__PURE__ */ J({
|
|
|
2328
2331
|
load: {
|
|
2329
2332
|
type: Function,
|
|
2330
2333
|
default: () => ({})
|
|
2334
|
+
},
|
|
2335
|
+
hover: {
|
|
2336
|
+
type: Boolean,
|
|
2337
|
+
default: !1
|
|
2331
2338
|
}
|
|
2332
2339
|
},
|
|
2333
2340
|
setup(u) {
|
|
@@ -2346,21 +2353,22 @@ const Go = ["src", "fit"], Wo = ["src", "fit"], Ke = /* @__PURE__ */ J({
|
|
|
2346
2353
|
zIndex: "10000"
|
|
2347
2354
|
}));
|
|
2348
2355
|
function r(h) {
|
|
2349
|
-
const
|
|
2350
|
-
l < e.retryTimes ? (
|
|
2356
|
+
const o = h.target;
|
|
2357
|
+
l < e.retryTimes ? (o.src = e.src, l++) : o.src = Ze;
|
|
2351
2358
|
}
|
|
2352
2359
|
function s(h) {
|
|
2360
|
+
if (!e.hover) return;
|
|
2353
2361
|
if (h.target) {
|
|
2354
2362
|
const f = h.target, b = f.tagName;
|
|
2355
2363
|
let g = "";
|
|
2356
2364
|
if (f.tagName === "IMG" ? g = f.src || "" : b === "DIV" && (g = f.children[0].src || ""), g.indexOf(Ze) > -1)
|
|
2357
2365
|
return;
|
|
2358
2366
|
}
|
|
2359
|
-
const { x:
|
|
2360
|
-
y.x = Math.min(Math.max(
|
|
2367
|
+
const { x: o, y: d } = m(h), c = 4 * 300 / 3, n = 300;
|
|
2368
|
+
y.x = Math.min(Math.max(o, c / 2), window.innerWidth - c / 2), y.y = Math.min(Math.max(d, n / 2), window.innerHeight - n / 2), t.value = !0;
|
|
2361
2369
|
}
|
|
2362
2370
|
function m(h) {
|
|
2363
|
-
const
|
|
2371
|
+
const o = h.target, d = h.offsetX, c = h.offsetY, n = o.clientWidth, f = o.clientHeight;
|
|
2364
2372
|
return {
|
|
2365
2373
|
x: h.clientX + n - d,
|
|
2366
2374
|
y: h.clientY - c + f / 2
|
|
@@ -2369,7 +2377,7 @@ const Go = ["src", "fit"], Wo = ["src", "fit"], Ke = /* @__PURE__ */ J({
|
|
|
2369
2377
|
function _() {
|
|
2370
2378
|
t.value = !1;
|
|
2371
2379
|
}
|
|
2372
|
-
return (h,
|
|
2380
|
+
return (h, o) => (w(), L("div", {
|
|
2373
2381
|
class: "relative",
|
|
2374
2382
|
onMouseenter: s,
|
|
2375
2383
|
onMouseleave: _
|
|
@@ -2397,7 +2405,7 @@ const Go = ["src", "fit"], Wo = ["src", "fit"], Ke = /* @__PURE__ */ J({
|
|
|
2397
2405
|
height: "100%",
|
|
2398
2406
|
width: "100%"
|
|
2399
2407
|
},
|
|
2400
|
-
onMouseenter:
|
|
2408
|
+
onMouseenter: o[0] || (o[0] = () => {
|
|
2401
2409
|
t.value = !0;
|
|
2402
2410
|
}),
|
|
2403
2411
|
onMouseleave: _
|
|
@@ -2465,7 +2473,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2465
2473
|
value: !1
|
|
2466
2474
|
}), s = Z("sync", {
|
|
2467
2475
|
value: !1
|
|
2468
|
-
}), m = T(!1), _ = T(), h = N(() => t.slides.filter(({ read: b }) => b)),
|
|
2476
|
+
}), m = T(!1), _ = T(), h = N(() => t.slides.filter(({ read: b }) => b)), o = N(() => t.slides.filter(({ check: b }) => b)), { t: d } = ue();
|
|
2469
2477
|
function c(b) {
|
|
2470
2478
|
v.value = b, y("select", b);
|
|
2471
2479
|
}
|
|
@@ -2473,8 +2481,8 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2473
2481
|
b.check = !b.check;
|
|
2474
2482
|
}
|
|
2475
2483
|
function f(b) {
|
|
2476
|
-
var p, i,
|
|
2477
|
-
const g = ((
|
|
2484
|
+
var p, i, I;
|
|
2485
|
+
const g = ((I = (i = (p = _.value.querySelector('[data-index="0"]')) == null ? void 0 : p.getBoundingClientRect) == null ? void 0 : i.call(p)) == null ? void 0 : I.y) || 0;
|
|
2478
2486
|
_.value.scrollTop = _.value.querySelector(`[data-index="${b}"]`).getBoundingClientRect().y - g;
|
|
2479
2487
|
}
|
|
2480
2488
|
return e({
|
|
@@ -2488,7 +2496,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2488
2496
|
K("/" + E(b.slides.length), 1)
|
|
2489
2497
|
]),
|
|
2490
2498
|
k("div", sa, [
|
|
2491
|
-
C(
|
|
2499
|
+
C(a(ze), {
|
|
2492
2500
|
class: "margin-r-2 pointer",
|
|
2493
2501
|
size: "16",
|
|
2494
2502
|
color: m.value ? "#999" : "#000",
|
|
@@ -2499,7 +2507,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2499
2507
|
]),
|
|
2500
2508
|
_: 1
|
|
2501
2509
|
}, 8, ["color"]),
|
|
2502
|
-
C(
|
|
2510
|
+
C(a(ze), {
|
|
2503
2511
|
class: "pointer",
|
|
2504
2512
|
name: "cus-list",
|
|
2505
2513
|
size: "16",
|
|
@@ -2522,27 +2530,27 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2522
2530
|
m.value ? (w(), L("ul", fa, [
|
|
2523
2531
|
k("li", ma, [
|
|
2524
2532
|
g[5] || (g[5] = k("div", { class: "w-10%" }, null, -1)),
|
|
2525
|
-
k("div", pa, E(
|
|
2526
|
-
k("div", ha, E(
|
|
2527
|
-
k("div", ga, E(
|
|
2533
|
+
k("div", pa, E(a(d)("缩略图")), 1),
|
|
2534
|
+
k("div", ha, E(a(d)("切片名")), 1),
|
|
2535
|
+
k("div", ga, E(a(d)("评分")), 1)
|
|
2528
2536
|
]),
|
|
2529
2537
|
(w(!0), L(oe, null, ae(b.slides, (p, i) => (w(), L("li", {
|
|
2530
2538
|
key: i,
|
|
2531
2539
|
"data-index": i,
|
|
2532
2540
|
class: "flex align-items-center overflow-hidden",
|
|
2533
2541
|
style: q({
|
|
2534
|
-
backgroundColor:
|
|
2542
|
+
backgroundColor: a(v) === i ? "rgba(6, 85, 195, 0.1)" : "#fff"
|
|
2535
2543
|
}),
|
|
2536
|
-
onClick: (
|
|
2544
|
+
onClick: (I) => c(i)
|
|
2537
2545
|
}, [
|
|
2538
2546
|
k("div", {
|
|
2539
2547
|
class: "w-10% text-center",
|
|
2540
2548
|
onClick: Fe(() => {
|
|
2541
2549
|
}, ["stop"])
|
|
2542
2550
|
}, [
|
|
2543
|
-
C(
|
|
2551
|
+
C(a(We), {
|
|
2544
2552
|
modelValue: p.check,
|
|
2545
|
-
"onUpdate:modelValue": (
|
|
2553
|
+
"onUpdate:modelValue": (I) => p.check = I,
|
|
2546
2554
|
style: { width: "14px", height: "16px" }
|
|
2547
2555
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
2548
2556
|
]),
|
|
@@ -2562,11 +2570,11 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2562
2570
|
style: { height: "45px" },
|
|
2563
2571
|
class: "flex-1"
|
|
2564
2572
|
}, null, 8, ["src"]),
|
|
2565
|
-
p.read ? R("", !0) : (w(), L("div", ba, E(
|
|
2573
|
+
p.read ? R("", !0) : (w(), L("div", ba, E(a(d)("未读")), 1))
|
|
2566
2574
|
])
|
|
2567
2575
|
]),
|
|
2568
2576
|
k("div", ka, [
|
|
2569
|
-
C(
|
|
2577
|
+
C(a(Lt), {
|
|
2570
2578
|
effect: "dark",
|
|
2571
2579
|
placement: "bottom",
|
|
2572
2580
|
content: `${p.name}`
|
|
@@ -2576,7 +2584,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2576
2584
|
style: { "line-height": "16px" },
|
|
2577
2585
|
class: "margin-l-1 ellipsis hzzt-kfb-slides__text",
|
|
2578
2586
|
dir: "rtl",
|
|
2579
|
-
onClick: Fe((
|
|
2587
|
+
onClick: Fe((I) => n(p), ["stop"])
|
|
2580
2588
|
}, E(p.name), 9, za)
|
|
2581
2589
|
]),
|
|
2582
2590
|
_: 2
|
|
@@ -2587,15 +2595,15 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2587
2595
|
style: q({
|
|
2588
2596
|
color: p.gradeColor
|
|
2589
2597
|
}),
|
|
2590
|
-
onClick: (
|
|
2598
|
+
onClick: (I) => y("tool", "grade", p)
|
|
2591
2599
|
}, E(p.grade), 13, Ca)
|
|
2592
2600
|
], 12, ya))), 128))
|
|
2593
2601
|
])) : (w(), L("div", ia, [
|
|
2594
2602
|
(w(!0), L(oe, null, ae(b.slides, (p, i) => (w(), L("div", {
|
|
2595
2603
|
key: i,
|
|
2596
|
-
class: ke(["hzzt-kfb-slides__box",
|
|
2604
|
+
class: ke(["hzzt-kfb-slides__box", a(v) === i ? "hzzt-kfb-slides__box--active" : ""]),
|
|
2597
2605
|
"data-index": i,
|
|
2598
|
-
onClick: (
|
|
2606
|
+
onClick: (I) => c(i)
|
|
2599
2607
|
}, [
|
|
2600
2608
|
k("div", ua, [
|
|
2601
2609
|
C(Ke, {
|
|
@@ -2603,7 +2611,8 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2603
2611
|
"retry-times": 1,
|
|
2604
2612
|
src: p.labelImg,
|
|
2605
2613
|
class: "hzzt-kfb-slides__img",
|
|
2606
|
-
fit: "cover"
|
|
2614
|
+
fit: "cover",
|
|
2615
|
+
hover: ""
|
|
2607
2616
|
}, null, 8, ["style", "src"]),
|
|
2608
2617
|
C(Ke, {
|
|
2609
2618
|
"retry-times": 1,
|
|
@@ -2617,12 +2626,12 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2617
2626
|
onClick: Fe(() => {
|
|
2618
2627
|
}, ["stop"])
|
|
2619
2628
|
}, [
|
|
2620
|
-
C(
|
|
2629
|
+
C(a(We), {
|
|
2621
2630
|
modelValue: p.check,
|
|
2622
|
-
"onUpdate:modelValue": (
|
|
2631
|
+
"onUpdate:modelValue": (I) => p.check = I,
|
|
2623
2632
|
style: { width: "14px", height: "16px" }
|
|
2624
2633
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
2625
|
-
C(
|
|
2634
|
+
C(a(Lt), {
|
|
2626
2635
|
effect: "dark",
|
|
2627
2636
|
placement: "bottom",
|
|
2628
2637
|
content: `${p.name}`
|
|
@@ -2631,36 +2640,36 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2631
2640
|
k("span", {
|
|
2632
2641
|
style: { "line-height": "16px", "text-align": "center", width: "calc(100% - 14px)" },
|
|
2633
2642
|
class: "margin-l-1 ellipsis",
|
|
2634
|
-
onClick: Fe((
|
|
2643
|
+
onClick: Fe((I) => n(p), ["stop"])
|
|
2635
2644
|
}, E(p.name), 9, ca)
|
|
2636
2645
|
]),
|
|
2637
2646
|
_: 2
|
|
2638
2647
|
}, 1032, ["content"])
|
|
2639
2648
|
]),
|
|
2640
|
-
p.read ? R("", !0) : (w(), L("div", da, E(
|
|
2649
|
+
p.read ? R("", !0) : (w(), L("div", da, E(a(d)("未读")), 1)),
|
|
2641
2650
|
p.grade ? (w(), L("div", {
|
|
2642
2651
|
key: 1,
|
|
2643
2652
|
class: "hzzt-kfb-slides__grade",
|
|
2644
2653
|
style: q({
|
|
2645
2654
|
background: p.gradeColor
|
|
2646
2655
|
}),
|
|
2647
|
-
onClick: (
|
|
2656
|
+
onClick: (I) => y("tool", "grade", p)
|
|
2648
2657
|
}, E(p.grade), 13, va)) : R("", !0),
|
|
2649
2658
|
fe(b.$slots, "slide", { slide: p }, void 0, !0)
|
|
2650
2659
|
], 10, ra))), 128))
|
|
2651
2660
|
]))
|
|
2652
2661
|
], 512),
|
|
2653
|
-
|
|
2662
|
+
o.value.length > 1 ? (w(), L("div", $a, [
|
|
2654
2663
|
k("div", Ta, [
|
|
2655
|
-
k("span", xa, E(
|
|
2656
|
-
C(
|
|
2657
|
-
modelValue:
|
|
2664
|
+
k("span", xa, E(a(d)("分屏")), 1),
|
|
2665
|
+
C(a(Ee), {
|
|
2666
|
+
modelValue: a(r),
|
|
2658
2667
|
"onUpdate:modelValue": g[2] || (g[2] = (p) => pe(r) ? r.value = p : null)
|
|
2659
2668
|
}, null, 8, ["modelValue"]),
|
|
2660
|
-
|
|
2661
|
-
|
|
2669
|
+
a(r) ? (w(), L("span", La, E(a(d)("同步")), 1)) : R("", !0),
|
|
2670
|
+
a(r) ? (w(), H(a(Ee), {
|
|
2662
2671
|
key: 1,
|
|
2663
|
-
modelValue:
|
|
2672
|
+
modelValue: a(s),
|
|
2664
2673
|
"onUpdate:modelValue": g[3] || (g[3] = (p) => pe(s) ? s.value = p : null)
|
|
2665
2674
|
}, null, 8, ["modelValue"])) : R("", !0)
|
|
2666
2675
|
])
|
|
@@ -2668,7 +2677,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2668
2677
|
])
|
|
2669
2678
|
]));
|
|
2670
2679
|
}
|
|
2671
|
-
}), Va = /* @__PURE__ */ ge(Ea, [["__scopeId", "data-v-
|
|
2680
|
+
}), Va = /* @__PURE__ */ ge(Ea, [["__scopeId", "data-v-35358d3a"]]), Ia = { class: "hzzt-kfb-ai overflow-hidden" }, Ma = { class: "flex align-items-center margin-t-1" }, Sa = { style: { color: "var(--el-color-success)" } }, Ha = { class: "flex-1 flex overflow-auto wrap margin-t-1" }, Pa = ["onClick"], Ra = {
|
|
2672
2681
|
key: 0,
|
|
2673
2682
|
style: { "margin-left": "2px" }
|
|
2674
2683
|
}, Aa = /* @__PURE__ */ J({
|
|
@@ -2679,51 +2688,51 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2679
2688
|
analysis: {}
|
|
2680
2689
|
},
|
|
2681
2690
|
setup(u, { expose: e }) {
|
|
2682
|
-
const l = u, { t } = ue(), y = Z("kfbViewRef"), v = T(-1), r = T(1), s = T(100), m = T(!0), _ = T([]), h = N(() => l.data.filter((
|
|
2683
|
-
const
|
|
2691
|
+
const l = u, { t } = ue(), y = Z("kfbViewRef"), v = T(-1), r = T(1), s = T(100), m = T(!0), _ = T([]), h = N(() => l.data.filter((I) => _.value.includes(I.cls || ""))), o = N(() => h.value.slice((r.value - 1) * s.value, r.value * s.value)), d = N(() => {
|
|
2692
|
+
const I = /* @__PURE__ */ new Set();
|
|
2684
2693
|
return l.data.forEach((B) => {
|
|
2685
2694
|
const P = B.cls || "";
|
|
2686
|
-
P && !
|
|
2687
|
-
}), Array.from(
|
|
2695
|
+
P && !I.has(P) && I.add(P);
|
|
2696
|
+
}), Array.from(I);
|
|
2688
2697
|
}), c = N(() => _.value.length !== 0 && _.value.length !== d.value.length), n = St(l);
|
|
2689
|
-
ee(() => d.value, (
|
|
2690
|
-
f(), _.value = [...
|
|
2698
|
+
ee(() => d.value, (I) => {
|
|
2699
|
+
f(), _.value = [...I];
|
|
2691
2700
|
}), he(() => {
|
|
2692
2701
|
_.value = [...d.value];
|
|
2693
2702
|
});
|
|
2694
2703
|
function f() {
|
|
2695
2704
|
v.value = -1, r.value = 1, s.value = 100, m.value = !0;
|
|
2696
2705
|
}
|
|
2697
|
-
function b(
|
|
2698
|
-
const B = h.value.findIndex((P) => P.id ===
|
|
2699
|
-
v.value = B, y.value.jumpToLabel(
|
|
2706
|
+
function b(I) {
|
|
2707
|
+
const B = h.value.findIndex((P) => P.id === I.id);
|
|
2708
|
+
v.value = B, y.value.jumpToLabel(I, 5);
|
|
2700
2709
|
}
|
|
2701
|
-
function g(
|
|
2702
|
-
const B = l.data.filter((P) => P.cls ===
|
|
2710
|
+
function g(I) {
|
|
2711
|
+
const B = l.data.filter((P) => P.cls === I);
|
|
2703
2712
|
return B.length ? `(${B.length})` : "";
|
|
2704
2713
|
}
|
|
2705
2714
|
function p() {
|
|
2706
2715
|
v.value = -1, m.value = _.value.length == d.value.length;
|
|
2707
2716
|
}
|
|
2708
|
-
function i(
|
|
2709
|
-
_.value =
|
|
2717
|
+
function i(I) {
|
|
2718
|
+
_.value = I ? [...d.value] : [], v.value = -1;
|
|
2710
2719
|
}
|
|
2711
2720
|
return e({
|
|
2712
2721
|
labelList: h
|
|
2713
|
-
}), (
|
|
2722
|
+
}), (I, B) => (w(), L("div", Ia, [
|
|
2714
2723
|
k("div", Ma, [
|
|
2715
|
-
C(
|
|
2724
|
+
C(a(dl), {
|
|
2716
2725
|
placement: "bottom",
|
|
2717
2726
|
trigger: "click",
|
|
2718
2727
|
width: "160"
|
|
2719
2728
|
}, {
|
|
2720
2729
|
reference: x(() => [
|
|
2721
|
-
C(
|
|
2730
|
+
C(a(_e), {
|
|
2722
2731
|
class: "margin-r-1",
|
|
2723
2732
|
type: "primary"
|
|
2724
2733
|
}, {
|
|
2725
2734
|
default: x(() => [
|
|
2726
|
-
K(E(
|
|
2735
|
+
K(E(a(t)("分类")) + " ", 1),
|
|
2727
2736
|
C(Q, { name: "arrowDown" })
|
|
2728
2737
|
]),
|
|
2729
2738
|
_: 1
|
|
@@ -2731,25 +2740,25 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2731
2740
|
]),
|
|
2732
2741
|
default: x(() => [
|
|
2733
2742
|
k("div", null, [
|
|
2734
|
-
C(
|
|
2743
|
+
C(a(We), {
|
|
2735
2744
|
modelValue: m.value,
|
|
2736
2745
|
"onUpdate:modelValue": B[0] || (B[0] = (P) => m.value = P),
|
|
2737
2746
|
indeterminate: c.value,
|
|
2738
2747
|
onChange: i
|
|
2739
2748
|
}, {
|
|
2740
2749
|
default: x(() => [
|
|
2741
|
-
K(E(
|
|
2750
|
+
K(E(a(t)("全选")), 1)
|
|
2742
2751
|
]),
|
|
2743
2752
|
_: 1
|
|
2744
2753
|
}, 8, ["modelValue", "indeterminate"]),
|
|
2745
|
-
C(
|
|
2754
|
+
C(a(vl), {
|
|
2746
2755
|
modelValue: _.value,
|
|
2747
2756
|
"onUpdate:modelValue": B[1] || (B[1] = (P) => _.value = P),
|
|
2748
2757
|
class: "flex column",
|
|
2749
2758
|
onChange: p
|
|
2750
2759
|
}, {
|
|
2751
2760
|
default: x(() => [
|
|
2752
|
-
(w(!0), L(oe, null, ae(d.value, (P) => (w(), H(
|
|
2761
|
+
(w(!0), L(oe, null, ae(d.value, (P) => (w(), H(a(We), {
|
|
2753
2762
|
key: P,
|
|
2754
2763
|
value: P
|
|
2755
2764
|
}, {
|
|
@@ -2766,26 +2775,26 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2766
2775
|
]),
|
|
2767
2776
|
_: 1
|
|
2768
2777
|
}),
|
|
2769
|
-
C(
|
|
2770
|
-
type:
|
|
2778
|
+
C(a(Vt), {
|
|
2779
|
+
type: a(n).type,
|
|
2771
2780
|
class: "margin-l-1"
|
|
2772
2781
|
}, {
|
|
2773
2782
|
default: x(() => [
|
|
2774
|
-
K(E(
|
|
2783
|
+
K(E(a(n).name), 1)
|
|
2775
2784
|
]),
|
|
2776
2785
|
_: 1
|
|
2777
2786
|
}, 8, ["type"])
|
|
2778
2787
|
]),
|
|
2779
2788
|
k("div", Ha, [
|
|
2780
|
-
(w(!0), L(oe, null, ae(
|
|
2789
|
+
(w(!0), L(oe, null, ae(o.value, (P, te) => (w(), L("div", {
|
|
2781
2790
|
key: te + (r.value - 1) * s.value,
|
|
2782
2791
|
class: ke(`hzzt-kfb-ai__img ${v.value === te + (r.value - 1) * s.value ? "hzzt-kfb-ai__img--active" : ""}`),
|
|
2783
2792
|
onClick: (ne) => b(P)
|
|
2784
2793
|
}, [
|
|
2785
|
-
C(
|
|
2794
|
+
C(a(ml), {
|
|
2786
2795
|
"retry-times": 1,
|
|
2787
2796
|
src: P.imageUrl,
|
|
2788
|
-
"error-src":
|
|
2797
|
+
"error-src": a(Ze)
|
|
2789
2798
|
}, null, 8, ["src", "error-src"]),
|
|
2790
2799
|
k("div", {
|
|
2791
2800
|
style: q({ color: P.strokeStyle }),
|
|
@@ -2796,7 +2805,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2796
2805
|
], 4)
|
|
2797
2806
|
], 10, Pa))), 128))
|
|
2798
2807
|
]),
|
|
2799
|
-
C(
|
|
2808
|
+
C(a(fl), {
|
|
2800
2809
|
class: "wrap",
|
|
2801
2810
|
"current-page": r.value,
|
|
2802
2811
|
"onUpdate:currentPage": B[2] || (B[2] = (P) => r.value = P),
|
|
@@ -2837,7 +2846,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2837
2846
|
}),
|
|
2838
2847
|
emits: /* @__PURE__ */ be(["tool"], ["update:index"]),
|
|
2839
2848
|
setup(u, { expose: e, emit: l }) {
|
|
2840
|
-
const t = u, y = l, v = Be(u, "index"), r = N(() => t.slides[v.value]), s = N(() => t.slides.filter(({ check: $ }) => $)), m = T(), _ = T(), h = T(),
|
|
2849
|
+
const t = u, y = l, v = Be(u, "index"), r = N(() => t.slides[v.value]), s = N(() => t.slides.filter(({ check: $ }) => $)), m = T(), _ = T(), h = T(), o = T(), d = T(t.showKeyboard), c = T(t.showKfbLabel), n = T(t.showWatermark), f = T(t.showMenuText), b = T(!1), g = T(!1), { t: p } = ue(), i = N(() => {
|
|
2841
2850
|
var $;
|
|
2842
2851
|
if (b.value) {
|
|
2843
2852
|
const A = s.value.findIndex(({ id: F }) => {
|
|
@@ -2847,7 +2856,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2847
2856
|
return (($ = h.value) == null ? void 0 : $[A]) || _.value;
|
|
2848
2857
|
} else
|
|
2849
2858
|
return _.value;
|
|
2850
|
-
}),
|
|
2859
|
+
}), I = N(() => s.value.length <= 1 ? {
|
|
2851
2860
|
height: "100%",
|
|
2852
2861
|
width: "100%"
|
|
2853
2862
|
} : s.value.length <= 2 ? {
|
|
@@ -2906,7 +2915,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2906
2915
|
process: t.process,
|
|
2907
2916
|
microscope: t.microscope,
|
|
2908
2917
|
slide: $,
|
|
2909
|
-
aiLabelList: r.value.id === $.id ? ((F =
|
|
2918
|
+
aiLabelList: r.value.id === $.id ? ((F = o.value) == null ? void 0 : F.labelList) || [] : [],
|
|
2910
2919
|
syncPosition: g.value,
|
|
2911
2920
|
syncZoom: g.value,
|
|
2912
2921
|
handle: void 0,
|
|
@@ -2966,30 +2975,30 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2966
2975
|
fe($.$slots, "left")
|
|
2967
2976
|
]),
|
|
2968
2977
|
right: x(() => [
|
|
2969
|
-
C(
|
|
2978
|
+
C(a(Ee), {
|
|
2970
2979
|
modelValue: c.value,
|
|
2971
2980
|
"onUpdate:modelValue": A[0] || (A[0] = (F) => c.value = F),
|
|
2972
|
-
"active-text":
|
|
2981
|
+
"active-text": a(p)("隐藏标签"),
|
|
2973
2982
|
"true-value": !1,
|
|
2974
2983
|
"false-value": !0,
|
|
2975
2984
|
class: "margin-r-2",
|
|
2976
2985
|
onChange: Qe
|
|
2977
2986
|
}, null, 8, ["modelValue", "active-text"]),
|
|
2978
|
-
$.ai && $.ai.enable &&
|
|
2987
|
+
$.ai && $.ai.enable && a(te) ? (w(), H(a(Ee), {
|
|
2979
2988
|
key: 0,
|
|
2980
|
-
modelValue:
|
|
2989
|
+
modelValue: a(le),
|
|
2981
2990
|
"onUpdate:modelValue": A[1] || (A[1] = (F) => pe(le) ? le.value = F : null),
|
|
2982
|
-
"active-text":
|
|
2991
|
+
"active-text": a(p)("AI质控"),
|
|
2983
2992
|
class: "margin-r-2",
|
|
2984
|
-
onChange:
|
|
2993
|
+
onChange: a(Me)
|
|
2985
2994
|
}, null, 8, ["modelValue", "active-text", "onChange"])) : R("", !0),
|
|
2986
|
-
$.ai && $.ai.enable &&
|
|
2995
|
+
$.ai && $.ai.enable && a(P) ? (w(), H(a(Ee), {
|
|
2987
2996
|
key: 1,
|
|
2988
|
-
modelValue:
|
|
2997
|
+
modelValue: a(re),
|
|
2989
2998
|
"onUpdate:modelValue": A[2] || (A[2] = (F) => pe(re) ? re.value = F : null),
|
|
2990
|
-
"active-text":
|
|
2999
|
+
"active-text": a(p)("AI分析"),
|
|
2991
3000
|
class: "margin-r-2",
|
|
2992
|
-
onChange:
|
|
3001
|
+
onChange: a(Se)
|
|
2993
3002
|
}, null, 8, ["modelValue", "active-text", "onChange"])) : R("", !0),
|
|
2994
3003
|
fe($.$slots, "right")
|
|
2995
3004
|
]),
|
|
@@ -3025,7 +3034,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
3025
3034
|
s.value.length && b.value ? (w(), L("ul", Ua, [
|
|
3026
3035
|
(w(!0), L(oe, null, ae(s.value, (F, ce) => (w(), L("li", {
|
|
3027
3036
|
key: ce,
|
|
3028
|
-
style: q(
|
|
3037
|
+
style: q(I.value),
|
|
3029
3038
|
class: ke(r.value.id === F.id ? "hzzt-kfb-view-screen-active" : ""),
|
|
3030
3039
|
onClick: (ut) => Ye(F)
|
|
3031
3040
|
}, [
|
|
@@ -3053,7 +3062,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
3053
3062
|
}, 16)) : R("", !0)
|
|
3054
3063
|
])
|
|
3055
3064
|
], 8, ["disabled"])),
|
|
3056
|
-
$.ai && $.ai.enable &&
|
|
3065
|
+
$.ai && $.ai.enable && a(j).length ? (w(), H(je, {
|
|
3057
3066
|
key: 1,
|
|
3058
3067
|
defer: "",
|
|
3059
3068
|
to: "#kfb-slide-ai",
|
|
@@ -3062,10 +3071,10 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
3062
3071
|
C(Aa, {
|
|
3063
3072
|
style: q($.teleport ? "" : "width: 350px"),
|
|
3064
3073
|
ref_key: "kfbAiRef",
|
|
3065
|
-
ref:
|
|
3066
|
-
data:
|
|
3074
|
+
ref: o,
|
|
3075
|
+
data: a(j),
|
|
3067
3076
|
slide: r.value,
|
|
3068
|
-
analysis:
|
|
3077
|
+
analysis: a(ne)
|
|
3069
3078
|
}, null, 8, ["style", "data", "slide", "analysis"])
|
|
3070
3079
|
], 8, ["disabled"])) : R("", !0),
|
|
3071
3080
|
fe($.$slots, "default")
|