hzzt-kfb-slide 0.1.4 → 0.1.6
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/{annotateCR9KG-3F.js → annotateCdSQFwCj.js} +1 -1
- package/dist/components/{annotateeaYSTegE.js → annotateCl71xIPH.js} +12 -11
- package/dist/components/annotateDO5M9JWn.js +1 -0
- package/dist/components/{annotateDAo62muz.js → annotatetAUvSoEJ.js} +1 -1
- package/dist/components/{arrowCg4wTfkZ.js → arrowBPWE_Tj8.js} +1 -1
- package/dist/components/{arrowCircleDP_e9KCk.js → arrowCircleC0Vg8mp7.js} +1 -1
- package/dist/components/{arrowCirclet2SbJIBg.js → arrowCircleCReazPnY.js} +1 -1
- package/dist/components/{arrowBQ8Z77kj.js → arrowDgJclFBQ.js} +1 -1
- package/dist/components/{arrowDownhRMram4O.js → arrowDownBQKVy4bt.js} +1 -1
- package/dist/components/{arrowDownVStC_Rgo.js → arrowDownnqDRPbBd.js} +1 -1
- package/dist/components/{arrowLeftLT-SB32n.js → arrowLeftB2U1F2qZ.js} +1 -1
- package/dist/components/{arrowLeftCbrGnjEA.js → arrowLeftDj6Itp4F.js} +1 -1
- package/dist/components/{arrowRightB41bdlNB.js → arrowRightCSwKUrhN.js} +1 -1
- package/dist/components/{arrowRightCXo2PmJn.js → arrowRightDCr2AlGZ.js} +1 -1
- package/dist/components/{arrowUpBRQqlvlm.js → arrowUpCpYvRfVO.js} +1 -1
- package/dist/components/{arrowUpCXSvtCjj.js → arrowUpDgrtjFV6.js} +1 -1
- package/dist/components/{bilateralDspCXWMP.js → bilateralBUw2SoJf.js} +1 -1
- package/dist/components/{bilateralDAqr15v8.js → bilateralDVJhO31-.js} +1 -1
- package/dist/components/{channelDX5VLbZp.js → channelCJCVpuLF.js} +1 -1
- package/dist/components/{channelCeqFRWFS.js → channelCs6ZE8um.js} +1 -1
- package/dist/components/{checkBlw6idpM.js → check8TJn3_jJ.js} +1 -1
- package/dist/components/{checkBg2gGrZh.js → checkCfXktCml.js} +1 -1
- package/dist/components/{configD8ZieJXs.js → configBe8-dLRN.js} +1 -1
- package/dist/components/{configDRo1nkFc.js → configqcWqLkt4.js} +1 -1
- package/dist/components/{customCorIZb01.js → customBrybVHZv.js} +1 -1
- package/dist/components/{customD7mZ7UNY.js → customCQCfV-gG.js} +1 -1
- package/dist/components/{deleteJT3ej1t7.js → deleteBU0GP7Yy.js} +1 -1
- package/dist/components/{deleteCoRw6cgn.js → deleteCmIU67QE.js} +1 -1
- package/dist/components/dotBQOp_rwi.js +1 -0
- package/dist/components/{dotDTBU0mNQ.js → dotBcJiiYty.js} +12 -11
- package/dist/components/{dotC8Cn9HBv.js → dotBh_s1V_P.js} +1 -1
- package/dist/components/{dotBzZFhv3A.js → dotCphUYVyB.js} +1 -1
- package/dist/components/{dotCPjUa1C2.js → dotCvH1RlzH.js} +1 -1
- package/dist/components/{dotBRiK22PH.js → doteFPFBfAW.js} +1 -1
- package/dist/components/{downloadB_NP85Et.js → downloadBI_yUCk3.js} +9 -8
- package/dist/components/{downloadCJ8JN9yG.js → downloadCHx2b2_B.js} +1 -1
- package/dist/components/downloadXGx0oGdp.js +1 -0
- package/dist/components/{downloadBqzU62Qb.js → downloadcEXbNygZ.js} +1 -1
- package/dist/components/{ellipseClAcoBrZ.js → ellipseDe7HHOXa.js} +1 -1
- package/dist/components/{ellipseCUgzImFs.js → ellipseDyv6_gDz.js} +1 -1
- package/dist/components/{expandLeftCBduCmzp.js → expandLeftBgJbKplZ.js} +1 -1
- package/dist/components/{expandLeftBFp31T43.js → expandLeftDg3adQ4T.js} +1 -1
- package/dist/components/{expandRightBPKLGWm0.js → expandRightdxRBWwRm.js} +1 -1
- package/dist/components/{expandRightXBFKrMFd.js → expandRightqFe_W3sR.js} +1 -1
- package/dist/components/{flagBeqSH6wI.js → flagCU6uqzPN.js} +1 -1
- package/dist/components/{flagDeylVVdT.js → flagDRe0SWi3.js} +1 -1
- package/dist/components/{flipDX9vCZsy.js → flip9lYVaLpe.js} +1 -1
- package/dist/components/{flipBO5bQj9K.js → flipCDCxOt9y.js} +1 -1
- package/dist/components/{fontD7eTPKps.js → fontDkvAgbCM.js} +1 -1
- package/dist/components/{fontBjX_7Th9.js → fontd7EzPpXH.js} +1 -1
- package/dist/components/fullscreenCZwukv-0.js +1 -0
- package/dist/components/{fullscreenBQ0RpFjW.js → fullscreenDy4Qm4ZR.js} +1 -1
- package/dist/components/{fullscreenIHrpmxWv.js → fullscreenTdRK3tdy.js} +1 -1
- package/dist/components/{fullscreen_YCGsxzu.js → fullscreencCCYQmz_.js} +15 -15
- package/dist/components/indexBT0pDXGv.js +4 -0
- package/dist/components/{indexCC_s3GdF.js → indexDsZFgGo3.js} +416 -413
- package/dist/components/{infoDR2eJ_8o.js → infoC1BWzO7n.js} +1 -1
- package/dist/components/{infoCIwheXne.js → infoCiA71kXk.js} +1 -1
- package/dist/components/{levelCAlGIhJ0.js → levelDSTSikX9.js} +1 -1
- package/dist/components/{levelB9jESksc.js → levelOdW6h7X2.js} +1 -1
- package/dist/components/{linecPazLEBr.js → lineBSHtlWxM.js} +1 -1
- package/dist/components/{lineCK4IOF0A.js → lineBkNX_3iO.js} +1 -1
- package/dist/components/{microscopeBm8sed7y.js → microscopeBrBArxoj.js} +1 -1
- package/dist/components/microscopeBxdGVcdh.js +1 -0
- package/dist/components/{microscopeB9EFtiqd.js → microscopeCE4DFA5Y.js} +19 -14
- package/dist/components/{microscopeBf2kOH1T.js → microscopeCxL3T7-N.js} +1 -1
- package/dist/components/{moveD4R_ClcF.js → moveBRvr2sY1.js} +1 -1
- package/dist/components/{moveCvpedroE.js → moveD15Zgiom.js} +12 -11
- package/dist/components/{moveDcd5CPmg.js → moveDummawTk.js} +1 -1
- package/dist/components/movefwH4M5H0.js +1 -0
- package/dist/components/{nextCIs9GPoe.js → nextBDggmoQ_.js} +1 -1
- package/dist/components/{nextB55biH_O.js → nextChP2Vlnb.js} +1 -1
- package/dist/components/{polygondmQqW2ps.js → polygonCmzlG1iP.js} +1 -1
- package/dist/components/{polygonC7_9Bk0t.js → polygonDo1Cbrt6.js} +1 -1
- package/dist/components/{prevCHbldCd6.js → prevbRAbQ3BR.js} +1 -1
- package/dist/components/{prevA1O-9Wj0.js → prevmE7bILKU.js} +1 -1
- package/dist/components/processBUGF5YEC.js +1 -0
- package/dist/components/{processSKSn4n8U.js → processCVbgqqwQ.js} +1 -1
- package/dist/components/{processDRBn7BJ3.js → processD9HeCeP-.js} +1 -1
- package/dist/components/{processC7Gs4GXQ.js → processDzM4HfLm.js} +14 -13
- package/dist/components/{rectangleD-FvfGHr.js → rectangleBK-f_GHa.js} +1 -1
- package/dist/components/{rectangleCNa0xTCL.js → rectangleDOV_C_Ja.js} +1 -1
- package/dist/components/{rotateCnn1NwC3.js → rotateB_h0GOmZ.js} +7 -6
- package/dist/components/rotateBcLjWjrA.js +1 -0
- package/dist/components/{rotateCreZGnjg.js → rotateCmFZEZx8.js} +1 -1
- package/dist/components/{rotateCbpyCbNC.js → rotateT_e50-cB.js} +1 -1
- package/dist/components/setting8hsjZ-e4.js +1 -0
- package/dist/components/{settingCE_v2uSj.js → settingBfLQ5p0p.js} +1 -1
- package/dist/components/{settingBfTJrbR4.js → settingCVD1ckI-.js} +1 -1
- package/dist/components/{settingDCV6xuXV.js → settingjTUOI6Mm.js} +6 -5
- package/dist/components/{starBKGvQ1-a.js → starBYNGaEpq.js} +1 -1
- package/dist/components/{star76DeKyCh.js → starDlznUFWe.js} +1 -1
- package/dist/components/{tailorCDFj0iiX.js → tailorDNalOD3B.js} +1 -1
- package/dist/components/{tailorBSixx8Aa.js → tailorIp9ltUDh.js} +1 -1
- package/dist/components/{useCommonBfwh9yTn.js → useCommonIatIQYgz.js} +1 -1
- package/dist/components/{useCommonqtTpTeqy.js → useCommonQuWXQYVy.js} +1 -1
- package/dist/components/{voiceCVmpm6GP.js → voiceCEHlUUHi.js} +1 -1
- package/dist/components/{voiceC-FXokXs.js → voiceDLOYP8uT.js} +1 -1
- package/dist/components/{zoomBI25SD2L.js → zoomCfjxf2fA.js} +1 -1
- package/dist/components/{zoomTx-waJ3j.js → zoomDDgUA7UY.js} +1 -1
- package/dist/components/{zoomInCd6Dpkve.js → zoomInCT6fL7B4.js} +1 -1
- package/dist/components/{zoomInDYnxo1vR.js → zoomInfc0fWGjY.js} +1 -1
- package/dist/components/{zoomOut1FPtS-xc.js → zoomOutCCyBnDpt.js} +1 -1
- package/dist/components/{zoomOutDnINHhzQ.js → zoomOutCHMkqZ20.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/KfbView/index.d.ts +1 -1
- package/web-types.json +1 -1
- package/dist/components/annotate6FffM0W1.js +0 -1
- package/dist/components/dotm5YI4D68.js +0 -1
- package/dist/components/downloadCLKRx8KM.js +0 -1
- package/dist/components/fullscreenVlAGUy4v.js +0 -1
- package/dist/components/indexCCS1cXZe.js +0 -4
- package/dist/components/microscopeDpKQo6gd.js +0 -1
- package/dist/components/moveCR91uykt.js +0 -1
- package/dist/components/processA5wzWRCi.js +0 -1
- package/dist/components/rotatet2GaK4pm.js +0 -1
- package/dist/components/settingD6SLvmC5.js +0 -1
|
@@ -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("./annotateCdSQFwCj.js"))),
|
|
47
|
+
arrowCircle: S(M(() => import("./arrowCircleCReazPnY.js"))),
|
|
48
|
+
check: S(M(() => import("./check8TJn3_jJ.js"))),
|
|
49
|
+
dot: S(M(() => import("./dotCphUYVyB.js"))),
|
|
50
|
+
flip: S(M(() => import("./flip9lYVaLpe.js"))),
|
|
51
|
+
info: S(M(() => import("./infoC1BWzO7n.js"))),
|
|
52
|
+
microscope: S(M(() => import("./microscopeBrBArxoj.js"))),
|
|
53
|
+
move: S(M(() => import("./moveDummawTk.js"))),
|
|
54
|
+
next: S(M(() => import("./nextBDggmoQ_.js"))),
|
|
55
|
+
prev: S(M(() => import("./prevbRAbQ3BR.js"))),
|
|
56
|
+
process: S(M(() => import("./processD9HeCeP-.js"))),
|
|
57
|
+
rotate: S(M(() => import("./rotateT_e50-cB.js"))),
|
|
58
|
+
fullscreen: S(M(() => import("./fullscreenDy4Qm4ZR.js"))),
|
|
59
|
+
setting: S(M(() => import("./settingCVD1ckI-.js"))),
|
|
60
|
+
tailor: S(M(() => import("./tailorDNalOD3B.js"))),
|
|
61
|
+
download: S(M(() => import("./downloadCHx2b2_B.js"))),
|
|
62
|
+
config: S(M(() => import("./configBe8-dLRN.js"))),
|
|
63
|
+
arrowDown: S(M(() => import("./arrowDownnqDRPbBd.js"))),
|
|
64
|
+
arrowUp: S(M(() => import("./arrowUpCpYvRfVO.js"))),
|
|
65
|
+
arrowLeft: S(M(() => import("./arrowLeftDj6Itp4F.js"))),
|
|
66
|
+
arrowRight: S(M(() => import("./arrowRightDCr2AlGZ.js"))),
|
|
67
|
+
zoomIn: S(M(() => import("./zoomInCT6fL7B4.js"))),
|
|
68
|
+
zoomOut: S(M(() => import("./zoomOutCCyBnDpt.js"))),
|
|
69
|
+
level: S(M(() => import("./levelDSTSikX9.js"))),
|
|
70
|
+
channel: S(M(() => import("./channelCJCVpuLF.js"))),
|
|
71
|
+
delete: S(M(() => import("./deleteBU0GP7Yy.js"))),
|
|
72
|
+
expandLeft: S(M(() => import("./expandLeftDg3adQ4T.js"))),
|
|
73
|
+
expandRight: S(M(() => import("./expandRightdxRBWwRm.js"))),
|
|
74
|
+
markLine: S(M(() => import("./lineBkNX_3iO.js"))),
|
|
75
|
+
markArrow: S(M(() => import("./arrowDgJclFBQ.js"))),
|
|
76
|
+
markBilateral: S(M(() => import("./bilateralBUw2SoJf.js"))),
|
|
77
|
+
markRectangle: S(M(() => import("./rectangleDOV_C_Ja.js"))),
|
|
78
|
+
markEllipse: S(M(() => import("./ellipseDyv6_gDz.js"))),
|
|
79
|
+
markPolygon: S(M(() => import("./polygonDo1Cbrt6.js"))),
|
|
80
|
+
markFlag: S(M(() => import("./flagDRe0SWi3.js"))),
|
|
81
|
+
markStar: S(M(() => import("./starBYNGaEpq.js"))),
|
|
82
|
+
markDot: S(M(() => import("./dotBh_s1V_P.js"))),
|
|
83
|
+
markFont: S(M(() => import("./fontd7EzPpXH.js"))),
|
|
84
|
+
markVoice: S(M(() => import("./voiceDLOYP8uT.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,40 +270,40 @@ 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("./fullscreencCCYQmz_.js")),
|
|
275
|
+
line: M(() => import("./lineBNwqZbqu.js")),
|
|
276
|
+
setting: M(() => import("./settingjTUOI6Mm.js")),
|
|
277
|
+
rotate: M(() => import("./rotateB_h0GOmZ.js")),
|
|
278
|
+
dot: M(() => import("./dotBcJiiYty.js")),
|
|
279
|
+
annotate: M(() => import("./annotateCl71xIPH.js")),
|
|
280
|
+
process: M(() => import("./processDzM4HfLm.js")),
|
|
281
|
+
microscope: M(() => import("./microscopeCE4DFA5Y.js")),
|
|
282
|
+
move: M(() => import("./moveD15Zgiom.js")),
|
|
283
|
+
custom: M(() => import("./customCQCfV-gG.js")),
|
|
284
|
+
zoom: M(() => import("./zoomCfjxf2fA.js")),
|
|
285
|
+
download: M(() => import("./downloadBI_yUCk3.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] ? {
|
|
298
298
|
name: "custom",
|
|
299
299
|
show: typeof n == "string" ? !0 : n.show !== !1,
|
|
300
300
|
props: we(W({
|
|
301
|
-
text: v[f]
|
|
302
|
-
}, typeof n == "string" ? {} : n.props), {
|
|
303
|
-
name: f,
|
|
301
|
+
text: v[f],
|
|
304
302
|
component: al(Q, {
|
|
305
303
|
name: f
|
|
306
304
|
})
|
|
305
|
+
}, typeof n == "string" ? {} : n.props), {
|
|
306
|
+
name: f
|
|
307
307
|
})
|
|
308
308
|
} : f === "process" ? {
|
|
309
309
|
name: 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)
|
|
@@ -837,7 +837,7 @@ const Sl = ["onClick"], Hl = ["src"], Pl = {
|
|
|
837
837
|
])
|
|
838
838
|
])) : R("", !0);
|
|
839
839
|
}
|
|
840
|
-
}), Ol = /* @__PURE__ */ ge(jl, [["__scopeId", "data-v-
|
|
840
|
+
}), Ol = /* @__PURE__ */ ge(jl, [["__scopeId", "data-v-cf5949b8"]]), Gl = { class: "hzzt-kfb-label flex column" }, Wl = { class: "hzzt-kfb-label__img flex justify-content-center" }, ql = ["src"], Zl = { class: "ellipsis flex-1" }, Yl = {
|
|
841
841
|
class: "flex margin-b-4",
|
|
842
842
|
style: { width: "100%" }
|
|
843
843
|
}, Xl = {
|
|
@@ -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
|
});
|
|
@@ -1034,7 +1034,7 @@ function oo(u, e, l, t, y) {
|
|
|
1034
1034
|
if (n === "add" && f && ((f == null ? void 0 : f.subType) || ((b = f == null ? void 0 : f.__data__) == null ? void 0 : b.subType)) === "voice")
|
|
1035
1035
|
t(f);
|
|
1036
1036
|
else
|
|
1037
|
-
return u.labelHandle(n, u.slide, f).then((g) => {
|
|
1037
|
+
return u.labelHandle(n, u.slide, f, r.value).then((g) => {
|
|
1038
1038
|
r.value = g, h();
|
|
1039
1039
|
}).catch(() => {
|
|
1040
1040
|
h();
|
|
@@ -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);
|
|
@@ -1062,7 +1062,7 @@ function oo(u, e, l, t, y) {
|
|
|
1062
1062
|
f && y(f);
|
|
1063
1063
|
}
|
|
1064
1064
|
function d(n) {
|
|
1065
|
-
return u.labelHandle("add", u.slide, n).then((f) => {
|
|
1065
|
+
return u.labelHandle("add", u.slide, n, r.value).then((f) => {
|
|
1066
1066
|
r.value = f, h();
|
|
1067
1067
|
}).catch(() => {
|
|
1068
1068
|
h();
|
|
@@ -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;
|
|
@@ -2350,8 +2353,8 @@ const Go = ["src", "fit"], Wo = ["src", "fit"], Ke = /* @__PURE__ */ J({
|
|
|
2350
2353
|
zIndex: "10000"
|
|
2351
2354
|
}));
|
|
2352
2355
|
function r(h) {
|
|
2353
|
-
const
|
|
2354
|
-
l < e.retryTimes ? (
|
|
2356
|
+
const o = h.target;
|
|
2357
|
+
l < e.retryTimes ? (o.src = e.src, l++) : o.src = Ze;
|
|
2355
2358
|
}
|
|
2356
2359
|
function s(h) {
|
|
2357
2360
|
if (!e.hover) return;
|
|
@@ -2361,11 +2364,11 @@ const Go = ["src", "fit"], Wo = ["src", "fit"], Ke = /* @__PURE__ */ J({
|
|
|
2361
2364
|
if (f.tagName === "IMG" ? g = f.src || "" : b === "DIV" && (g = f.children[0].src || ""), g.indexOf(Ze) > -1)
|
|
2362
2365
|
return;
|
|
2363
2366
|
}
|
|
2364
|
-
const { x:
|
|
2365
|
-
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;
|
|
2366
2369
|
}
|
|
2367
2370
|
function m(h) {
|
|
2368
|
-
const
|
|
2371
|
+
const o = h.target, d = h.offsetX, c = h.offsetY, n = o.clientWidth, f = o.clientHeight;
|
|
2369
2372
|
return {
|
|
2370
2373
|
x: h.clientX + n - d,
|
|
2371
2374
|
y: h.clientY - c + f / 2
|
|
@@ -2374,7 +2377,7 @@ const Go = ["src", "fit"], Wo = ["src", "fit"], Ke = /* @__PURE__ */ J({
|
|
|
2374
2377
|
function _() {
|
|
2375
2378
|
t.value = !1;
|
|
2376
2379
|
}
|
|
2377
|
-
return (h,
|
|
2380
|
+
return (h, o) => (w(), L("div", {
|
|
2378
2381
|
class: "relative",
|
|
2379
2382
|
onMouseenter: s,
|
|
2380
2383
|
onMouseleave: _
|
|
@@ -2402,7 +2405,7 @@ const Go = ["src", "fit"], Wo = ["src", "fit"], Ke = /* @__PURE__ */ J({
|
|
|
2402
2405
|
height: "100%",
|
|
2403
2406
|
width: "100%"
|
|
2404
2407
|
},
|
|
2405
|
-
onMouseenter:
|
|
2408
|
+
onMouseenter: o[0] || (o[0] = () => {
|
|
2406
2409
|
t.value = !0;
|
|
2407
2410
|
}),
|
|
2408
2411
|
onMouseleave: _
|
|
@@ -2470,7 +2473,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2470
2473
|
value: !1
|
|
2471
2474
|
}), s = Z("sync", {
|
|
2472
2475
|
value: !1
|
|
2473
|
-
}), 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();
|
|
2474
2477
|
function c(b) {
|
|
2475
2478
|
v.value = b, y("select", b);
|
|
2476
2479
|
}
|
|
@@ -2478,8 +2481,8 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2478
2481
|
b.check = !b.check;
|
|
2479
2482
|
}
|
|
2480
2483
|
function f(b) {
|
|
2481
|
-
var p, i,
|
|
2482
|
-
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;
|
|
2483
2486
|
_.value.scrollTop = _.value.querySelector(`[data-index="${b}"]`).getBoundingClientRect().y - g;
|
|
2484
2487
|
}
|
|
2485
2488
|
return e({
|
|
@@ -2493,7 +2496,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2493
2496
|
K("/" + E(b.slides.length), 1)
|
|
2494
2497
|
]),
|
|
2495
2498
|
k("div", sa, [
|
|
2496
|
-
C(
|
|
2499
|
+
C(a(ze), {
|
|
2497
2500
|
class: "margin-r-2 pointer",
|
|
2498
2501
|
size: "16",
|
|
2499
2502
|
color: m.value ? "#999" : "#000",
|
|
@@ -2504,7 +2507,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2504
2507
|
]),
|
|
2505
2508
|
_: 1
|
|
2506
2509
|
}, 8, ["color"]),
|
|
2507
|
-
C(
|
|
2510
|
+
C(a(ze), {
|
|
2508
2511
|
class: "pointer",
|
|
2509
2512
|
name: "cus-list",
|
|
2510
2513
|
size: "16",
|
|
@@ -2527,27 +2530,27 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2527
2530
|
m.value ? (w(), L("ul", fa, [
|
|
2528
2531
|
k("li", ma, [
|
|
2529
2532
|
g[5] || (g[5] = k("div", { class: "w-10%" }, null, -1)),
|
|
2530
|
-
k("div", pa, E(
|
|
2531
|
-
k("div", ha, E(
|
|
2532
|
-
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)
|
|
2533
2536
|
]),
|
|
2534
2537
|
(w(!0), L(oe, null, ae(b.slides, (p, i) => (w(), L("li", {
|
|
2535
2538
|
key: i,
|
|
2536
2539
|
"data-index": i,
|
|
2537
2540
|
class: "flex align-items-center overflow-hidden",
|
|
2538
2541
|
style: q({
|
|
2539
|
-
backgroundColor:
|
|
2542
|
+
backgroundColor: a(v) === i ? "rgba(6, 85, 195, 0.1)" : "#fff"
|
|
2540
2543
|
}),
|
|
2541
|
-
onClick: (
|
|
2544
|
+
onClick: (I) => c(i)
|
|
2542
2545
|
}, [
|
|
2543
2546
|
k("div", {
|
|
2544
2547
|
class: "w-10% text-center",
|
|
2545
2548
|
onClick: Fe(() => {
|
|
2546
2549
|
}, ["stop"])
|
|
2547
2550
|
}, [
|
|
2548
|
-
C(
|
|
2551
|
+
C(a(We), {
|
|
2549
2552
|
modelValue: p.check,
|
|
2550
|
-
"onUpdate:modelValue": (
|
|
2553
|
+
"onUpdate:modelValue": (I) => p.check = I,
|
|
2551
2554
|
style: { width: "14px", height: "16px" }
|
|
2552
2555
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
2553
2556
|
]),
|
|
@@ -2567,11 +2570,11 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2567
2570
|
style: { height: "45px" },
|
|
2568
2571
|
class: "flex-1"
|
|
2569
2572
|
}, null, 8, ["src"]),
|
|
2570
|
-
p.read ? R("", !0) : (w(), L("div", ba, E(
|
|
2573
|
+
p.read ? R("", !0) : (w(), L("div", ba, E(a(d)("未读")), 1))
|
|
2571
2574
|
])
|
|
2572
2575
|
]),
|
|
2573
2576
|
k("div", ka, [
|
|
2574
|
-
C(
|
|
2577
|
+
C(a(Lt), {
|
|
2575
2578
|
effect: "dark",
|
|
2576
2579
|
placement: "bottom",
|
|
2577
2580
|
content: `${p.name}`
|
|
@@ -2581,7 +2584,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2581
2584
|
style: { "line-height": "16px" },
|
|
2582
2585
|
class: "margin-l-1 ellipsis hzzt-kfb-slides__text",
|
|
2583
2586
|
dir: "rtl",
|
|
2584
|
-
onClick: Fe((
|
|
2587
|
+
onClick: Fe((I) => n(p), ["stop"])
|
|
2585
2588
|
}, E(p.name), 9, za)
|
|
2586
2589
|
]),
|
|
2587
2590
|
_: 2
|
|
@@ -2592,15 +2595,15 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2592
2595
|
style: q({
|
|
2593
2596
|
color: p.gradeColor
|
|
2594
2597
|
}),
|
|
2595
|
-
onClick: (
|
|
2598
|
+
onClick: (I) => y("tool", "grade", p)
|
|
2596
2599
|
}, E(p.grade), 13, Ca)
|
|
2597
2600
|
], 12, ya))), 128))
|
|
2598
2601
|
])) : (w(), L("div", ia, [
|
|
2599
2602
|
(w(!0), L(oe, null, ae(b.slides, (p, i) => (w(), L("div", {
|
|
2600
2603
|
key: i,
|
|
2601
|
-
class: ke(["hzzt-kfb-slides__box",
|
|
2604
|
+
class: ke(["hzzt-kfb-slides__box", a(v) === i ? "hzzt-kfb-slides__box--active" : ""]),
|
|
2602
2605
|
"data-index": i,
|
|
2603
|
-
onClick: (
|
|
2606
|
+
onClick: (I) => c(i)
|
|
2604
2607
|
}, [
|
|
2605
2608
|
k("div", ua, [
|
|
2606
2609
|
C(Ke, {
|
|
@@ -2623,12 +2626,12 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2623
2626
|
onClick: Fe(() => {
|
|
2624
2627
|
}, ["stop"])
|
|
2625
2628
|
}, [
|
|
2626
|
-
C(
|
|
2629
|
+
C(a(We), {
|
|
2627
2630
|
modelValue: p.check,
|
|
2628
|
-
"onUpdate:modelValue": (
|
|
2631
|
+
"onUpdate:modelValue": (I) => p.check = I,
|
|
2629
2632
|
style: { width: "14px", height: "16px" }
|
|
2630
2633
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
2631
|
-
C(
|
|
2634
|
+
C(a(Lt), {
|
|
2632
2635
|
effect: "dark",
|
|
2633
2636
|
placement: "bottom",
|
|
2634
2637
|
content: `${p.name}`
|
|
@@ -2637,36 +2640,36 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2637
2640
|
k("span", {
|
|
2638
2641
|
style: { "line-height": "16px", "text-align": "center", width: "calc(100% - 14px)" },
|
|
2639
2642
|
class: "margin-l-1 ellipsis",
|
|
2640
|
-
onClick: Fe((
|
|
2643
|
+
onClick: Fe((I) => n(p), ["stop"])
|
|
2641
2644
|
}, E(p.name), 9, ca)
|
|
2642
2645
|
]),
|
|
2643
2646
|
_: 2
|
|
2644
2647
|
}, 1032, ["content"])
|
|
2645
2648
|
]),
|
|
2646
|
-
p.read ? R("", !0) : (w(), L("div", da, E(
|
|
2649
|
+
p.read ? R("", !0) : (w(), L("div", da, E(a(d)("未读")), 1)),
|
|
2647
2650
|
p.grade ? (w(), L("div", {
|
|
2648
2651
|
key: 1,
|
|
2649
2652
|
class: "hzzt-kfb-slides__grade",
|
|
2650
2653
|
style: q({
|
|
2651
2654
|
background: p.gradeColor
|
|
2652
2655
|
}),
|
|
2653
|
-
onClick: (
|
|
2656
|
+
onClick: (I) => y("tool", "grade", p)
|
|
2654
2657
|
}, E(p.grade), 13, va)) : R("", !0),
|
|
2655
2658
|
fe(b.$slots, "slide", { slide: p }, void 0, !0)
|
|
2656
2659
|
], 10, ra))), 128))
|
|
2657
2660
|
]))
|
|
2658
2661
|
], 512),
|
|
2659
|
-
|
|
2662
|
+
o.value.length > 1 ? (w(), L("div", $a, [
|
|
2660
2663
|
k("div", Ta, [
|
|
2661
|
-
k("span", xa, E(
|
|
2662
|
-
C(
|
|
2663
|
-
modelValue:
|
|
2664
|
+
k("span", xa, E(a(d)("分屏")), 1),
|
|
2665
|
+
C(a(Ee), {
|
|
2666
|
+
modelValue: a(r),
|
|
2664
2667
|
"onUpdate:modelValue": g[2] || (g[2] = (p) => pe(r) ? r.value = p : null)
|
|
2665
2668
|
}, null, 8, ["modelValue"]),
|
|
2666
|
-
|
|
2667
|
-
|
|
2669
|
+
a(r) ? (w(), L("span", La, E(a(d)("同步")), 1)) : R("", !0),
|
|
2670
|
+
a(r) ? (w(), H(a(Ee), {
|
|
2668
2671
|
key: 1,
|
|
2669
|
-
modelValue:
|
|
2672
|
+
modelValue: a(s),
|
|
2670
2673
|
"onUpdate:modelValue": g[3] || (g[3] = (p) => pe(s) ? s.value = p : null)
|
|
2671
2674
|
}, null, 8, ["modelValue"])) : R("", !0)
|
|
2672
2675
|
])
|
|
@@ -2685,51 +2688,51 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2685
2688
|
analysis: {}
|
|
2686
2689
|
},
|
|
2687
2690
|
setup(u, { expose: e }) {
|
|
2688
|
-
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((
|
|
2689
|
-
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();
|
|
2690
2693
|
return l.data.forEach((B) => {
|
|
2691
2694
|
const P = B.cls || "";
|
|
2692
|
-
P && !
|
|
2693
|
-
}), Array.from(
|
|
2695
|
+
P && !I.has(P) && I.add(P);
|
|
2696
|
+
}), Array.from(I);
|
|
2694
2697
|
}), c = N(() => _.value.length !== 0 && _.value.length !== d.value.length), n = St(l);
|
|
2695
|
-
ee(() => d.value, (
|
|
2696
|
-
f(), _.value = [...
|
|
2698
|
+
ee(() => d.value, (I) => {
|
|
2699
|
+
f(), _.value = [...I];
|
|
2697
2700
|
}), he(() => {
|
|
2698
2701
|
_.value = [...d.value];
|
|
2699
2702
|
});
|
|
2700
2703
|
function f() {
|
|
2701
2704
|
v.value = -1, r.value = 1, s.value = 100, m.value = !0;
|
|
2702
2705
|
}
|
|
2703
|
-
function b(
|
|
2704
|
-
const B = h.value.findIndex((P) => P.id ===
|
|
2705
|
-
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);
|
|
2706
2709
|
}
|
|
2707
|
-
function g(
|
|
2708
|
-
const B = l.data.filter((P) => P.cls ===
|
|
2710
|
+
function g(I) {
|
|
2711
|
+
const B = l.data.filter((P) => P.cls === I);
|
|
2709
2712
|
return B.length ? `(${B.length})` : "";
|
|
2710
2713
|
}
|
|
2711
2714
|
function p() {
|
|
2712
2715
|
v.value = -1, m.value = _.value.length == d.value.length;
|
|
2713
2716
|
}
|
|
2714
|
-
function i(
|
|
2715
|
-
_.value =
|
|
2717
|
+
function i(I) {
|
|
2718
|
+
_.value = I ? [...d.value] : [], v.value = -1;
|
|
2716
2719
|
}
|
|
2717
2720
|
return e({
|
|
2718
2721
|
labelList: h
|
|
2719
|
-
}), (
|
|
2722
|
+
}), (I, B) => (w(), L("div", Ia, [
|
|
2720
2723
|
k("div", Ma, [
|
|
2721
|
-
C(
|
|
2724
|
+
C(a(dl), {
|
|
2722
2725
|
placement: "bottom",
|
|
2723
2726
|
trigger: "click",
|
|
2724
2727
|
width: "160"
|
|
2725
2728
|
}, {
|
|
2726
2729
|
reference: x(() => [
|
|
2727
|
-
C(
|
|
2730
|
+
C(a(_e), {
|
|
2728
2731
|
class: "margin-r-1",
|
|
2729
2732
|
type: "primary"
|
|
2730
2733
|
}, {
|
|
2731
2734
|
default: x(() => [
|
|
2732
|
-
K(E(
|
|
2735
|
+
K(E(a(t)("分类")) + " ", 1),
|
|
2733
2736
|
C(Q, { name: "arrowDown" })
|
|
2734
2737
|
]),
|
|
2735
2738
|
_: 1
|
|
@@ -2737,25 +2740,25 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2737
2740
|
]),
|
|
2738
2741
|
default: x(() => [
|
|
2739
2742
|
k("div", null, [
|
|
2740
|
-
C(
|
|
2743
|
+
C(a(We), {
|
|
2741
2744
|
modelValue: m.value,
|
|
2742
2745
|
"onUpdate:modelValue": B[0] || (B[0] = (P) => m.value = P),
|
|
2743
2746
|
indeterminate: c.value,
|
|
2744
2747
|
onChange: i
|
|
2745
2748
|
}, {
|
|
2746
2749
|
default: x(() => [
|
|
2747
|
-
K(E(
|
|
2750
|
+
K(E(a(t)("全选")), 1)
|
|
2748
2751
|
]),
|
|
2749
2752
|
_: 1
|
|
2750
2753
|
}, 8, ["modelValue", "indeterminate"]),
|
|
2751
|
-
C(
|
|
2754
|
+
C(a(vl), {
|
|
2752
2755
|
modelValue: _.value,
|
|
2753
2756
|
"onUpdate:modelValue": B[1] || (B[1] = (P) => _.value = P),
|
|
2754
2757
|
class: "flex column",
|
|
2755
2758
|
onChange: p
|
|
2756
2759
|
}, {
|
|
2757
2760
|
default: x(() => [
|
|
2758
|
-
(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), {
|
|
2759
2762
|
key: P,
|
|
2760
2763
|
value: P
|
|
2761
2764
|
}, {
|
|
@@ -2772,26 +2775,26 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2772
2775
|
]),
|
|
2773
2776
|
_: 1
|
|
2774
2777
|
}),
|
|
2775
|
-
C(
|
|
2776
|
-
type:
|
|
2778
|
+
C(a(Vt), {
|
|
2779
|
+
type: a(n).type,
|
|
2777
2780
|
class: "margin-l-1"
|
|
2778
2781
|
}, {
|
|
2779
2782
|
default: x(() => [
|
|
2780
|
-
K(E(
|
|
2783
|
+
K(E(a(n).name), 1)
|
|
2781
2784
|
]),
|
|
2782
2785
|
_: 1
|
|
2783
2786
|
}, 8, ["type"])
|
|
2784
2787
|
]),
|
|
2785
2788
|
k("div", Ha, [
|
|
2786
|
-
(w(!0), L(oe, null, ae(
|
|
2789
|
+
(w(!0), L(oe, null, ae(o.value, (P, te) => (w(), L("div", {
|
|
2787
2790
|
key: te + (r.value - 1) * s.value,
|
|
2788
2791
|
class: ke(`hzzt-kfb-ai__img ${v.value === te + (r.value - 1) * s.value ? "hzzt-kfb-ai__img--active" : ""}`),
|
|
2789
2792
|
onClick: (ne) => b(P)
|
|
2790
2793
|
}, [
|
|
2791
|
-
C(
|
|
2794
|
+
C(a(ml), {
|
|
2792
2795
|
"retry-times": 1,
|
|
2793
2796
|
src: P.imageUrl,
|
|
2794
|
-
"error-src":
|
|
2797
|
+
"error-src": a(Ze)
|
|
2795
2798
|
}, null, 8, ["src", "error-src"]),
|
|
2796
2799
|
k("div", {
|
|
2797
2800
|
style: q({ color: P.strokeStyle }),
|
|
@@ -2802,7 +2805,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2802
2805
|
], 4)
|
|
2803
2806
|
], 10, Pa))), 128))
|
|
2804
2807
|
]),
|
|
2805
|
-
C(
|
|
2808
|
+
C(a(fl), {
|
|
2806
2809
|
class: "wrap",
|
|
2807
2810
|
"current-page": r.value,
|
|
2808
2811
|
"onUpdate:currentPage": B[2] || (B[2] = (P) => r.value = P),
|
|
@@ -2843,7 +2846,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2843
2846
|
}),
|
|
2844
2847
|
emits: /* @__PURE__ */ be(["tool"], ["update:index"]),
|
|
2845
2848
|
setup(u, { expose: e, emit: l }) {
|
|
2846
|
-
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(() => {
|
|
2847
2850
|
var $;
|
|
2848
2851
|
if (b.value) {
|
|
2849
2852
|
const A = s.value.findIndex(({ id: F }) => {
|
|
@@ -2853,7 +2856,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2853
2856
|
return (($ = h.value) == null ? void 0 : $[A]) || _.value;
|
|
2854
2857
|
} else
|
|
2855
2858
|
return _.value;
|
|
2856
|
-
}),
|
|
2859
|
+
}), I = N(() => s.value.length <= 1 ? {
|
|
2857
2860
|
height: "100%",
|
|
2858
2861
|
width: "100%"
|
|
2859
2862
|
} : s.value.length <= 2 ? {
|
|
@@ -2912,7 +2915,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2912
2915
|
process: t.process,
|
|
2913
2916
|
microscope: t.microscope,
|
|
2914
2917
|
slide: $,
|
|
2915
|
-
aiLabelList: r.value.id === $.id ? ((F =
|
|
2918
|
+
aiLabelList: r.value.id === $.id ? ((F = o.value) == null ? void 0 : F.labelList) || [] : [],
|
|
2916
2919
|
syncPosition: g.value,
|
|
2917
2920
|
syncZoom: g.value,
|
|
2918
2921
|
handle: void 0,
|
|
@@ -2972,30 +2975,30 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2972
2975
|
fe($.$slots, "left")
|
|
2973
2976
|
]),
|
|
2974
2977
|
right: x(() => [
|
|
2975
|
-
C(
|
|
2978
|
+
C(a(Ee), {
|
|
2976
2979
|
modelValue: c.value,
|
|
2977
2980
|
"onUpdate:modelValue": A[0] || (A[0] = (F) => c.value = F),
|
|
2978
|
-
"active-text":
|
|
2979
|
-
"
|
|
2980
|
-
"
|
|
2981
|
+
"active-text": a(p)("隐藏标签"),
|
|
2982
|
+
"active-value": !1,
|
|
2983
|
+
"inactive-value": !0,
|
|
2981
2984
|
class: "margin-r-2",
|
|
2982
2985
|
onChange: Qe
|
|
2983
2986
|
}, null, 8, ["modelValue", "active-text"]),
|
|
2984
|
-
$.ai && $.ai.enable &&
|
|
2987
|
+
$.ai && $.ai.enable && a(te) ? (w(), H(a(Ee), {
|
|
2985
2988
|
key: 0,
|
|
2986
|
-
modelValue:
|
|
2989
|
+
modelValue: a(le),
|
|
2987
2990
|
"onUpdate:modelValue": A[1] || (A[1] = (F) => pe(le) ? le.value = F : null),
|
|
2988
|
-
"active-text":
|
|
2991
|
+
"active-text": a(p)("AI质控"),
|
|
2989
2992
|
class: "margin-r-2",
|
|
2990
|
-
onChange:
|
|
2993
|
+
onChange: a(Me)
|
|
2991
2994
|
}, null, 8, ["modelValue", "active-text", "onChange"])) : R("", !0),
|
|
2992
|
-
$.ai && $.ai.enable &&
|
|
2995
|
+
$.ai && $.ai.enable && a(P) ? (w(), H(a(Ee), {
|
|
2993
2996
|
key: 1,
|
|
2994
|
-
modelValue:
|
|
2997
|
+
modelValue: a(re),
|
|
2995
2998
|
"onUpdate:modelValue": A[2] || (A[2] = (F) => pe(re) ? re.value = F : null),
|
|
2996
|
-
"active-text":
|
|
2999
|
+
"active-text": a(p)("AI分析"),
|
|
2997
3000
|
class: "margin-r-2",
|
|
2998
|
-
onChange:
|
|
3001
|
+
onChange: a(Se)
|
|
2999
3002
|
}, null, 8, ["modelValue", "active-text", "onChange"])) : R("", !0),
|
|
3000
3003
|
fe($.$slots, "right")
|
|
3001
3004
|
]),
|
|
@@ -3031,7 +3034,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
3031
3034
|
s.value.length && b.value ? (w(), L("ul", Ua, [
|
|
3032
3035
|
(w(!0), L(oe, null, ae(s.value, (F, ce) => (w(), L("li", {
|
|
3033
3036
|
key: ce,
|
|
3034
|
-
style: q(
|
|
3037
|
+
style: q(I.value),
|
|
3035
3038
|
class: ke(r.value.id === F.id ? "hzzt-kfb-view-screen-active" : ""),
|
|
3036
3039
|
onClick: (ut) => Ye(F)
|
|
3037
3040
|
}, [
|
|
@@ -3059,7 +3062,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
3059
3062
|
}, 16)) : R("", !0)
|
|
3060
3063
|
])
|
|
3061
3064
|
], 8, ["disabled"])),
|
|
3062
|
-
$.ai && $.ai.enable &&
|
|
3065
|
+
$.ai && $.ai.enable && a(j).length ? (w(), H(je, {
|
|
3063
3066
|
key: 1,
|
|
3064
3067
|
defer: "",
|
|
3065
3068
|
to: "#kfb-slide-ai",
|
|
@@ -3068,10 +3071,10 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
3068
3071
|
C(Aa, {
|
|
3069
3072
|
style: q($.teleport ? "" : "width: 350px"),
|
|
3070
3073
|
ref_key: "kfbAiRef",
|
|
3071
|
-
ref:
|
|
3072
|
-
data:
|
|
3074
|
+
ref: o,
|
|
3075
|
+
data: a(j),
|
|
3073
3076
|
slide: r.value,
|
|
3074
|
-
analysis:
|
|
3077
|
+
analysis: a(ne)
|
|
3075
3078
|
}, null, 8, ["style", "data", "slide", "analysis"])
|
|
3076
3079
|
], 8, ["disabled"])) : R("", !0),
|
|
3077
3080
|
fe($.$slots, "default")
|