hzzt-kfb-slide 0.1.2 → 0.1.3
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/{annotateCMJGbBLj.js → annotateBOkbe8MS.js} +1 -1
- package/dist/components/{annotateCgNFZFGe.js → annotateCtpseU-a.js} +1 -1
- package/dist/components/{annotatejOG4ozNZ.js → annotateDMSLAwhF.js} +1 -1
- package/dist/components/{annotateDJFMTHXi.js → annotateDqkw5Fez.js} +3 -3
- package/dist/components/{arrowBD2-xgIB.js → arrow7yDW9k_B.js} +1 -1
- package/dist/components/{arrowD30w6-6J.js → arrowBCauxehh.js} +1 -1
- package/dist/components/{arrowCircleCf_nzJuW.js → arrowCircleBYU44CQm.js} +1 -1
- package/dist/components/{arrowCircleCAfdy8wW.js → arrowCircleXHVjpp7H.js} +1 -1
- package/dist/components/{arrowDownDbjXJahP.js → arrowDownCTDe3yVL.js} +1 -1
- package/dist/components/{arrowDownmXw2RWeL.js → arrowDownDqYRREIg.js} +1 -1
- package/dist/components/{arrowLeftBwpF3loy.js → arrowLeftB3p8HgL0.js} +1 -1
- package/dist/components/{arrowLeftRbPGsfKL.js → arrowLeftD4iY5sNl.js} +1 -1
- package/dist/components/{arrowRightD3iq1e3c.js → arrowRightBMf0PydO.js} +1 -1
- package/dist/components/{arrowRightBwD1sc8e.js → arrowRightCl8b3lsE.js} +1 -1
- package/dist/components/{arrowUpB5adayIQ.js → arrowUpBLl5OlAY.js} +1 -1
- package/dist/components/{arrowUpB1vQJOJG.js → arrowUpDiAQe2rZ.js} +1 -1
- package/dist/components/{bilateralBKbIltDO.js → bilateralB2vyaMZY.js} +1 -1
- package/dist/components/{bilateralBV_xkHx0.js → bilateralDwhtW7_D.js} +1 -1
- package/dist/components/{channelH1BojppK.js → channelCLH9GNfS.js} +1 -1
- package/dist/components/{channelB1SrYJDW.js → channelDMV8PErx.js} +1 -1
- package/dist/components/{checkBY8nYbfd.js → checkCZ4-Zj60.js} +1 -1
- package/dist/components/{checkBD6gH0q_.js → checkCo0hzIhz.js} +1 -1
- package/dist/components/{configCLkyNyEP.js → configCF96CGHM.js} +1 -1
- package/dist/components/{configBcEj_8AB.js → configDms9YweX.js} +1 -1
- package/dist/components/{customDNmdytIO.js → customBCBc7eIT.js} +1 -1
- package/dist/components/{customBdoSDhjH.js → customjEZcj1hs.js} +1 -1
- package/dist/components/{deleteDG___Ydm.js → deletehEQqJN-c.js} +1 -1
- package/dist/components/{deleteCCGds9UX.js → deletezqVrcETu.js} +1 -1
- package/dist/components/{dotCAK1gSEZ.js → dotCCIUf70c.js} +1 -1
- package/dist/components/{dotDeD0p4h3.js → dotCHLrHVqj.js} +1 -1
- package/dist/components/{dotDUHWjeT6.js → dotC_Wu2MaB.js} +1 -1
- package/dist/components/{dotCog1e5Lr.js → dotCjjtdb6p.js} +1 -1
- package/dist/components/{dotDhfq1ngT.js → dotdQs47Lr9.js} +1 -1
- package/dist/components/{dotBWzkPfEe.js → dothrMW8BWP.js} +4 -4
- package/dist/components/{downloadBZfVn0zc.js → downloadC4bGq7PS.js} +1 -1
- package/dist/components/{downloadBmt1pNrx.js → downloadC7ng9XC3.js} +1 -1
- package/dist/components/{downloadBd_Cujel.js → downloadCpgkJCG9.js} +1 -1
- package/dist/components/{downloadD849T2y9.js → downloadDja21JuR.js} +3 -3
- package/dist/components/{ellipsei0WMn5o1.js → ellipse0_6bk6FV.js} +1 -1
- package/dist/components/{ellipseDQW2p8r2.js → ellipseD7Wi0eID.js} +1 -1
- package/dist/components/{expandLeftBv_okPlY.js → expandLeftBxIoSuEr.js} +1 -1
- package/dist/components/{expandLeftDmUFkh2d.js → expandLeftDf5gEfIc.js} +1 -1
- package/dist/components/{expandRightBsKPjotO.js → expandRightBQInIkF3.js} +1 -1
- package/dist/components/{expandRightDs1uCp6s.js → expandRightDOneIPqk.js} +1 -1
- package/dist/components/{flagBKJwm8DA.js → flagDW-yx4nP.js} +1 -1
- package/dist/components/{flagC4kAWLMv.js → flagLP1-MsJP.js} +1 -1
- package/dist/components/{flipDVfGi2qG.js → flipB-6WVrbb.js} +1 -1
- package/dist/components/{fliprd-6cbtm.js → flipDKaWRkEm.js} +1 -1
- package/dist/components/{fontPyP8n1pb.js → fontC7WlP1Da.js} +1 -1
- package/dist/components/{fontBhLyULEE.js → fontDPpMubby.js} +1 -1
- package/dist/components/{fullscreenBjnoUXEr.js → fullscreenBt8I0q6T.js} +2 -2
- package/dist/components/{fullscreenBT9qKvk2.js → fullscreenCDwQl-Lr.js} +1 -1
- package/dist/components/{fullscreenC0sJWM1b.js → fullscreenDWiK0h4R.js} +1 -1
- package/dist/components/{fullscreenDGVwmkgF.js → fullscreennfo5_gpr.js} +1 -1
- package/dist/components/{index3jvwVv4H.js → indexCzs5IBkT.js} +2 -2
- package/dist/components/{indexCNC1g25E.js → indexn2bxNjmA.js} +134 -131
- package/dist/components/{infoDniQzKU5.js → infoB7jr4Upu.js} +1 -1
- package/dist/components/{infoDHGaQ92c.js → infoCpqoraWx.js} +1 -1
- package/dist/components/{levelCWEo4E8o.js → levelBrjlazmd.js} +1 -1
- package/dist/components/{levelDged-DD8.js → levelCBAg0_bw.js} +1 -1
- package/dist/components/{lineCAnsgtDB.js → lineCCuCw-Fv.js} +1 -1
- package/dist/components/{linenA1Sbb0z.js → linew3ozxQPE.js} +1 -1
- package/dist/components/{microscopeDxei39qJ.js → microscopeBP7YH9ut.js} +3 -3
- package/dist/components/{microscopeM3B9tem3.js → microscopeBfhANHQK.js} +1 -1
- package/dist/components/{microscopeI_67Zvi_.js → microscopeCuiYDRAm.js} +1 -1
- package/dist/components/{microscopeCXgA1RNg.js → microscopeDA7kQPaW.js} +1 -1
- package/dist/components/{moveB0MjN8ns.js → moveCvJtM0Rh.js} +3 -3
- package/dist/components/{moveCyESuupp.js → moveNJ14hogx.js} +1 -1
- package/dist/components/{moveB-6xS2dU.js → moveUsh-MOTU.js} +1 -1
- package/dist/components/{moveDWuEFnzY.js → moveulfVP9mx.js} +1 -1
- package/dist/components/{nextCmL8I293.js → nextC-zrJIh5.js} +1 -1
- package/dist/components/{nextBP6jYEfR.js → nextDAzoD_Ed.js} +1 -1
- package/dist/components/{polygondICyAF92.js → polygonB2WZ4vtx.js} +1 -1
- package/dist/components/{polygonDAJzvnQG.js → polygonCv3afvPi.js} +1 -1
- package/dist/components/{prevGutMlHdh.js → prevBirFNbf7.js} +1 -1
- package/dist/components/{prevDADkZRjt.js → prevaOwqy0eN.js} +1 -1
- package/dist/components/{processDprLKUHQ.js → processB7UGFfLD.js} +3 -3
- package/dist/components/{processD8Wa4hOW.js → processCI-nyivV.js} +1 -1
- package/dist/components/{processBJa4jfKx.js → processCXoLdDxs.js} +1 -1
- package/dist/components/{processD6VCGhpy.js → processDdhNW91k.js} +1 -1
- package/dist/components/{rectangleC08rVGjN.js → rectangleBwz7OxdA.js} +1 -1
- package/dist/components/{rectangleDUCBCBPE.js → rectangleDLNNS9_h.js} +1 -1
- package/dist/components/{rotateDcAKg0Ly.js → rotateCJe6_8qr.js} +1 -1
- package/dist/components/{rotateB7TupsDC.js → rotateCLx9D3GM.js} +4 -4
- package/dist/components/{rotateB4aIQveS.js → rotateCV9FGPf_.js} +1 -1
- package/dist/components/{rotateCiAoG6uz.js → rotateK3PfxPq6.js} +1 -1
- package/dist/components/{settingCPRrk8ML.js → settingBop-3wwD.js} +1 -1
- package/dist/components/{settingBo2jK0Dr.js → settingCVsgx7JU.js} +1 -1
- package/dist/components/{settingC52gqdUZ.js → settingCxoYQQVL.js} +1 -1
- package/dist/components/{settingC_K-RcOZ.js → settingM-Z5tkVy.js} +3 -3
- package/dist/components/{starCWnNtX4T.js → starBsAQYe9Z.js} +1 -1
- package/dist/components/{starD4ECjoeD.js → starCIecWj0y.js} +1 -1
- package/dist/components/{tailormZu5rnh-.js → tailorD7E69iet.js} +1 -1
- package/dist/components/{tailorB4WI6Umx.js → tailoref2TzeHV.js} +1 -1
- package/dist/components/{useCommonBTTzsGT6.js → useCommonBsOYRksV.js} +1 -1
- package/dist/components/{useCommoncwGp0w86.js → useCommonCvv26qiJ.js} +1 -1
- package/dist/components/{voiceCykEd0Hn.js → voiceCF8wSSzD.js} +1 -1
- package/dist/components/{voiceCE58JuHB.js → voiceDwQUW2pt.js} +1 -1
- package/dist/components/{zoomDoOddf7F.js → zoomBAzrPoEO.js} +1 -1
- package/dist/components/{zoomDT5Z2mH5.js → zoomDAyw21VC.js} +1 -1
- package/dist/components/{zoomInDIq1CbWp.js → zoomInChsCflX8.js} +1 -1
- package/dist/components/{zoomInCQ1hHcFV.js → zoomInF_WkkJqP.js} +1 -1
- package/dist/components/{zoomOutDMbifalR.js → zoomOut6-rWqHY9.js} +1 -1
- package/dist/components/{zoomOutvL8Qk5cc.js → zoomOutD6Z5KCCH.js} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1 -1
- package/package.json +1 -6
- package/types/components/HzztKfbSlide.vue.d.ts +4 -1
- package/web-types.json +156 -0
|
@@ -26,12 +26,12 @@ 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 I, defineComponent as J, createBlock as H, openBlock as w, unref as o, 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
|
|
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
|
|
29
|
+
import { inject as Z, ref as T, markRaw as S, defineAsyncComponent as I, defineComponent as J, createBlock as H, openBlock as w, unref as o, 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
|
+
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";
|
|
33
33
|
const It = Symbol("I18N_INJECT_KEY");
|
|
34
|
-
function
|
|
34
|
+
function ue() {
|
|
35
35
|
const u = Z(It), e = (l) => l;
|
|
36
36
|
return {
|
|
37
37
|
locale: u == null ? void 0 : u.locale,
|
|
@@ -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(I(() => import("./
|
|
47
|
-
arrowCircle: S(I(() => import("./
|
|
48
|
-
check: S(I(() => import("./
|
|
49
|
-
dot: S(I(() => import("./
|
|
50
|
-
flip: S(I(() => import("./
|
|
51
|
-
info: S(I(() => import("./
|
|
52
|
-
microscope: S(I(() => import("./
|
|
53
|
-
move: S(I(() => import("./
|
|
54
|
-
next: S(I(() => import("./
|
|
55
|
-
prev: S(I(() => import("./
|
|
56
|
-
process: S(I(() => import("./
|
|
57
|
-
rotate: S(I(() => import("./
|
|
58
|
-
fullscreen: S(I(() => import("./
|
|
59
|
-
setting: S(I(() => import("./
|
|
60
|
-
tailor: S(I(() => import("./
|
|
61
|
-
download: S(I(() => import("./
|
|
62
|
-
config: S(I(() => import("./
|
|
63
|
-
arrowDown: S(I(() => import("./
|
|
64
|
-
arrowUp: S(I(() => import("./
|
|
65
|
-
arrowLeft: S(I(() => import("./
|
|
66
|
-
arrowRight: S(I(() => import("./
|
|
67
|
-
zoomIn: S(I(() => import("./
|
|
68
|
-
zoomOut: S(I(() => import("./
|
|
69
|
-
level: S(I(() => import("./
|
|
70
|
-
channel: S(I(() => import("./
|
|
71
|
-
delete: S(I(() => import("./
|
|
72
|
-
expandLeft: S(I(() => import("./
|
|
73
|
-
expandRight: S(I(() => import("./
|
|
74
|
-
markLine: S(I(() => import("./
|
|
75
|
-
markArrow: S(I(() => import("./
|
|
76
|
-
markBilateral: S(I(() => import("./
|
|
77
|
-
markRectangle: S(I(() => import("./
|
|
78
|
-
markEllipse: S(I(() => import("./
|
|
79
|
-
markPolygon: S(I(() => import("./
|
|
80
|
-
markFlag: S(I(() => import("./
|
|
81
|
-
markStar: S(I(() => import("./
|
|
82
|
-
markDot: S(I(() => import("./
|
|
83
|
-
markFont: S(I(() => import("./
|
|
84
|
-
markVoice: S(I(() => import("./
|
|
46
|
+
annotate: S(I(() => import("./annotateBOkbe8MS.js"))),
|
|
47
|
+
arrowCircle: S(I(() => import("./arrowCircleXHVjpp7H.js"))),
|
|
48
|
+
check: S(I(() => import("./checkCZ4-Zj60.js"))),
|
|
49
|
+
dot: S(I(() => import("./dotCCIUf70c.js"))),
|
|
50
|
+
flip: S(I(() => import("./flipDKaWRkEm.js"))),
|
|
51
|
+
info: S(I(() => import("./infoB7jr4Upu.js"))),
|
|
52
|
+
microscope: S(I(() => import("./microscopeBfhANHQK.js"))),
|
|
53
|
+
move: S(I(() => import("./moveUsh-MOTU.js"))),
|
|
54
|
+
next: S(I(() => import("./nextC-zrJIh5.js"))),
|
|
55
|
+
prev: S(I(() => import("./prevBirFNbf7.js"))),
|
|
56
|
+
process: S(I(() => import("./processCI-nyivV.js"))),
|
|
57
|
+
rotate: S(I(() => import("./rotateCJe6_8qr.js"))),
|
|
58
|
+
fullscreen: S(I(() => import("./fullscreenDWiK0h4R.js"))),
|
|
59
|
+
setting: S(I(() => import("./settingBop-3wwD.js"))),
|
|
60
|
+
tailor: S(I(() => import("./tailoref2TzeHV.js"))),
|
|
61
|
+
download: S(I(() => import("./downloadCpgkJCG9.js"))),
|
|
62
|
+
config: S(I(() => import("./configCF96CGHM.js"))),
|
|
63
|
+
arrowDown: S(I(() => import("./arrowDownDqYRREIg.js"))),
|
|
64
|
+
arrowUp: S(I(() => import("./arrowUpDiAQe2rZ.js"))),
|
|
65
|
+
arrowLeft: S(I(() => import("./arrowLeftB3p8HgL0.js"))),
|
|
66
|
+
arrowRight: S(I(() => import("./arrowRightBMf0PydO.js"))),
|
|
67
|
+
zoomIn: S(I(() => import("./zoomInF_WkkJqP.js"))),
|
|
68
|
+
zoomOut: S(I(() => import("./zoomOut6-rWqHY9.js"))),
|
|
69
|
+
level: S(I(() => import("./levelCBAg0_bw.js"))),
|
|
70
|
+
channel: S(I(() => import("./channelCLH9GNfS.js"))),
|
|
71
|
+
delete: S(I(() => import("./deletezqVrcETu.js"))),
|
|
72
|
+
expandLeft: S(I(() => import("./expandLeftBxIoSuEr.js"))),
|
|
73
|
+
expandRight: S(I(() => import("./expandRightBQInIkF3.js"))),
|
|
74
|
+
markLine: S(I(() => import("./linew3ozxQPE.js"))),
|
|
75
|
+
markArrow: S(I(() => import("./arrow7yDW9k_B.js"))),
|
|
76
|
+
markBilateral: S(I(() => import("./bilateralDwhtW7_D.js"))),
|
|
77
|
+
markRectangle: S(I(() => import("./rectangleBwz7OxdA.js"))),
|
|
78
|
+
markEllipse: S(I(() => import("./ellipse0_6bk6FV.js"))),
|
|
79
|
+
markPolygon: S(I(() => import("./polygonCv3afvPi.js"))),
|
|
80
|
+
markFlag: S(I(() => import("./flagLP1-MsJP.js"))),
|
|
81
|
+
markStar: S(I(() => import("./starBsAQYe9Z.js"))),
|
|
82
|
+
markDot: S(I(() => import("./dotCjjtdb6p.js"))),
|
|
83
|
+
markFont: S(I(() => import("./fontC7WlP1Da.js"))),
|
|
84
|
+
markVoice: S(I(() => import("./voiceDwQUW2pt.js")))
|
|
85
85
|
}), Q = /* @__PURE__ */ J({
|
|
86
86
|
__name: "KfbIcon",
|
|
87
87
|
props: {
|
|
@@ -118,7 +118,7 @@ const pl = {
|
|
|
118
118
|
},
|
|
119
119
|
emits: ["update:menus"],
|
|
120
120
|
setup(u) {
|
|
121
|
-
const e = Be(u, "menus"), { t: l } =
|
|
121
|
+
const e = Be(u, "menus"), { t: l } = ue(), t = N(() => e.value.filter((h) => h.name !== "line" && h.name !== "config" && h.name !== "zoom")), y = {
|
|
122
122
|
fullscreen: l("全屏"),
|
|
123
123
|
next: l("上一张"),
|
|
124
124
|
prev: l("上一张"),
|
|
@@ -145,7 +145,7 @@ const pl = {
|
|
|
145
145
|
k("h3", gl, E(o(l)("显示管理")), 1),
|
|
146
146
|
C(o(rl), { gutter: 10 }, {
|
|
147
147
|
default: x(() => [
|
|
148
|
-
(w(!0), L(
|
|
148
|
+
(w(!0), L(oe, null, ae(t.value, (d) => (w(), H(o(ul), {
|
|
149
149
|
key: d.name,
|
|
150
150
|
span: 8
|
|
151
151
|
}, {
|
|
@@ -263,7 +263,7 @@ const pl = {
|
|
|
263
263
|
},
|
|
264
264
|
emits: ["tool"],
|
|
265
265
|
setup(u, { emit: e }) {
|
|
266
|
-
const l = u, t = e, { t: y } =
|
|
266
|
+
const l = u, t = e, { t: y } = ue(), v = {
|
|
267
267
|
prev: y("上一张"),
|
|
268
268
|
next: y("下一张"),
|
|
269
269
|
config: y("配置"),
|
|
@@ -271,18 +271,18 @@ const pl = {
|
|
|
271
271
|
flip: y("镜像"),
|
|
272
272
|
tailor: y("截图")
|
|
273
273
|
}, r = Z("kfbViewRef"), s = T(!1), m = T(a(l.menu)), _ = {
|
|
274
|
-
fullscreen: I(() => import("./
|
|
274
|
+
fullscreen: I(() => import("./fullscreenBt8I0q6T.js")),
|
|
275
275
|
line: I(() => import("./lineBNwqZbqu.js")),
|
|
276
|
-
setting: I(() => import("./
|
|
277
|
-
rotate: I(() => import("./
|
|
278
|
-
dot: I(() => import("./
|
|
279
|
-
annotate: I(() => import("./
|
|
280
|
-
process: I(() => import("./
|
|
281
|
-
microscope: I(() => import("./
|
|
282
|
-
move: I(() => import("./
|
|
283
|
-
custom: I(() => import("./
|
|
284
|
-
zoom: I(() => import("./
|
|
285
|
-
download: I(() => import("./
|
|
276
|
+
setting: I(() => import("./settingM-Z5tkVy.js")),
|
|
277
|
+
rotate: I(() => import("./rotateCLx9D3GM.js")),
|
|
278
|
+
dot: I(() => import("./dothrMW8BWP.js")),
|
|
279
|
+
annotate: I(() => import("./annotateDqkw5Fez.js")),
|
|
280
|
+
process: I(() => import("./processB7UGFfLD.js")),
|
|
281
|
+
microscope: I(() => import("./microscopeBP7YH9ut.js")),
|
|
282
|
+
move: I(() => import("./moveCvJtM0Rh.js")),
|
|
283
|
+
custom: I(() => import("./customBCBc7eIT.js")),
|
|
284
|
+
zoom: I(() => import("./zoomBAzrPoEO.js")),
|
|
285
|
+
download: I(() => import("./downloadDja21JuR.js"))
|
|
286
286
|
}, h = N(() => m.value.filter((c) => c.show !== !1).map((c) => ({
|
|
287
287
|
component: _[c.name],
|
|
288
288
|
props: c.props,
|
|
@@ -362,12 +362,12 @@ const pl = {
|
|
|
362
362
|
return (c, n) => (w(), L("div", El, [
|
|
363
363
|
fe(c.$slots, "left"),
|
|
364
364
|
k("div", Vl, [
|
|
365
|
-
(w(!0), L(
|
|
365
|
+
(w(!0), L(oe, null, ae(h.value, (f, b) => (w(), H(Ve(f.component), Oe({ ref_for: !0 }, f.props, {
|
|
366
366
|
key: b,
|
|
367
367
|
onTool: d
|
|
368
368
|
}), {
|
|
369
369
|
default: x(() => [
|
|
370
|
-
f.slots ? (w(!0), L(
|
|
370
|
+
f.slots ? (w(!0), L(oe, { key: 0 }, ae(f.slots, (g) => (w(), H(Ve(g)))), 256)) : R("", !0)
|
|
371
371
|
]),
|
|
372
372
|
_: 2
|
|
373
373
|
}, 1040))), 128))
|
|
@@ -524,7 +524,7 @@ const Sl = ["onClick"], Hl = ["src"], Pl = {
|
|
|
524
524
|
top: "0",
|
|
525
525
|
left: "0",
|
|
526
526
|
display: "none"
|
|
527
|
-
}), t = Z("kfbView", T({})), y = Z("currentLabel"), v = u, r = e, { t: s } =
|
|
527
|
+
}), t = Z("kfbView", T({})), y = Z("currentLabel"), v = u, r = e, { t: s } = ue(), m = [
|
|
528
528
|
{
|
|
529
529
|
label: s("直线"),
|
|
530
530
|
value: "line",
|
|
@@ -658,7 +658,7 @@ const Sl = ["onClick"], Hl = ["src"], Pl = {
|
|
|
658
658
|
class: "hzzt-kfb-menu",
|
|
659
659
|
style: q(l.value)
|
|
660
660
|
}, [
|
|
661
|
-
(w(!0), L(
|
|
661
|
+
(w(!0), L(oe, null, ae(_.value, (b, g) => (w(), L("div", {
|
|
662
662
|
key: g,
|
|
663
663
|
class: "hzzt-kfb-menu-item"
|
|
664
664
|
}, [
|
|
@@ -690,7 +690,7 @@ const Sl = ["onClick"], Hl = ["src"], Pl = {
|
|
|
690
690
|
size: 14
|
|
691
691
|
})) : R("", !0),
|
|
692
692
|
b.children ? (w(), L("div", Rl, [
|
|
693
|
-
(w(!0), L(
|
|
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
696
|
onClick: (V) => d(p, b)
|
|
@@ -852,7 +852,7 @@ const Sl = ["onClick"], Hl = ["src"], Pl = {
|
|
|
852
852
|
},
|
|
853
853
|
emits: ["tool"],
|
|
854
854
|
setup(u, { emit: e }) {
|
|
855
|
-
const { t: l } =
|
|
855
|
+
const { t: l } = ue(), t = u, y = e, v = T(!0), r = T(!1), s = N(() => t.slide.pathology_id ? l("修改病理号") : l("绑定病理号"));
|
|
856
856
|
function m() {
|
|
857
857
|
t.slide.angle || (t.slide.angle = 0), t.slide.angle += 90, t.slide.angle > 360 && (t.slide.angle = t.slide.angle % 360), y("tool", "rotate", t.slide.angle);
|
|
858
858
|
}
|
|
@@ -946,7 +946,7 @@ const Sl = ["onClick"], Hl = ["src"], Pl = {
|
|
|
946
946
|
]),
|
|
947
947
|
C(o(nt), { class: "margin-t-2" }, {
|
|
948
948
|
default: x(() => [
|
|
949
|
-
C(o(
|
|
949
|
+
C(o(ie), {
|
|
950
950
|
label: o(l)("病理号")
|
|
951
951
|
}, {
|
|
952
952
|
default: x(() => [
|
|
@@ -959,7 +959,7 @@ const Sl = ["onClick"], Hl = ["src"], Pl = {
|
|
|
959
959
|
]),
|
|
960
960
|
_: 1
|
|
961
961
|
}, 8, ["label"]),
|
|
962
|
-
C(o(
|
|
962
|
+
C(o(ie), {
|
|
963
963
|
label: o(l)("蜡块号")
|
|
964
964
|
}, {
|
|
965
965
|
default: x(() => [
|
|
@@ -972,7 +972,7 @@ const Sl = ["onClick"], Hl = ["src"], Pl = {
|
|
|
972
972
|
]),
|
|
973
973
|
_: 1
|
|
974
974
|
}, 8, ["label"]),
|
|
975
|
-
a.slide.slide_id ? R("", !0) : (w(), H(o(
|
|
975
|
+
a.slide.slide_id ? R("", !0) : (w(), H(o(ie), {
|
|
976
976
|
key: 0,
|
|
977
977
|
label: o(l)("试剂")
|
|
978
978
|
}, {
|
|
@@ -1091,7 +1091,7 @@ function ao() {
|
|
|
1091
1091
|
};
|
|
1092
1092
|
}
|
|
1093
1093
|
function no(u, e) {
|
|
1094
|
-
const { t: l } =
|
|
1094
|
+
const { t: l } = ue(), t = T(!1), y = T();
|
|
1095
1095
|
let v = null;
|
|
1096
1096
|
const r = T(!1), s = T(0);
|
|
1097
1097
|
let m = 0;
|
|
@@ -1243,9 +1243,9 @@ function so(u, e, l) {
|
|
|
1243
1243
|
initRendered: i,
|
|
1244
1244
|
tile: V,
|
|
1245
1245
|
pixelDensityRatio: B
|
|
1246
|
-
} = c, P = V.getUrl(), te = y.value * B,
|
|
1247
|
-
if (
|
|
1248
|
-
const j = te -
|
|
1246
|
+
} = c, P = V.getUrl(), te = y.value * B, ne = g.original.x;
|
|
1247
|
+
if (ne < te && ne + p.x > te) {
|
|
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(
|
|
1250
1250
|
Me,
|
|
1251
1251
|
0,
|
|
@@ -1260,17 +1260,17 @@ function so(u, e, l) {
|
|
|
1260
1260
|
i.canvas,
|
|
1261
1261
|
f * j / p.x,
|
|
1262
1262
|
0,
|
|
1263
|
-
f *
|
|
1263
|
+
f * re / p.x,
|
|
1264
1264
|
b,
|
|
1265
1265
|
g.x + j,
|
|
1266
1266
|
g.y,
|
|
1267
|
-
|
|
1267
|
+
re,
|
|
1268
1268
|
p.y
|
|
1269
1269
|
);
|
|
1270
|
-
} else if (
|
|
1271
|
-
const j = t.value.find((
|
|
1270
|
+
} else if (ne + p.x <= te) {
|
|
1271
|
+
const j = t.value.find((le) => le.url === P), re = (j == null ? void 0 : j.load) === "success" ? j.img : i.canvas;
|
|
1272
1272
|
n.drawImage(
|
|
1273
|
-
|
|
1273
|
+
re,
|
|
1274
1274
|
0,
|
|
1275
1275
|
0,
|
|
1276
1276
|
f,
|
|
@@ -1280,7 +1280,7 @@ function so(u, e, l) {
|
|
|
1280
1280
|
p.x,
|
|
1281
1281
|
p.y
|
|
1282
1282
|
);
|
|
1283
|
-
} else
|
|
1283
|
+
} else ne >= te && n.drawImage(
|
|
1284
1284
|
i.canvas,
|
|
1285
1285
|
0,
|
|
1286
1286
|
0,
|
|
@@ -1387,7 +1387,7 @@ const ro = { class: "hzzt-kfb-keyword flex wrap" }, uo = ["onMouseenter"], co =
|
|
|
1387
1387
|
return Ie(() => {
|
|
1388
1388
|
clearTimeout(t);
|
|
1389
1389
|
}), (r, s) => (w(), L("div", ro, [
|
|
1390
|
-
(w(!0), L(
|
|
1390
|
+
(w(!0), L(oe, null, ae(e.value, (m) => (w(), L("div", {
|
|
1391
1391
|
key: m.code,
|
|
1392
1392
|
class: "hzzt-kfb-keyword__code flex column align-items-center justify-content-center",
|
|
1393
1393
|
onMouseenter: (_) => y(_, m.code),
|
|
@@ -1539,7 +1539,7 @@ const mo = /* @__PURE__ */ J({
|
|
|
1539
1539
|
name: "channel",
|
|
1540
1540
|
size: "32"
|
|
1541
1541
|
}),
|
|
1542
|
-
(w(!0), L(
|
|
1542
|
+
(w(!0), L(oe, null, ae(r.value, (h) => (w(), L("div", {
|
|
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"]),
|
|
@@ -1558,7 +1558,7 @@ const mo = /* @__PURE__ */ J({
|
|
|
1558
1558
|
}),
|
|
1559
1559
|
emits: /* @__PURE__ */ be(["select"], ["update:expand"]),
|
|
1560
1560
|
setup(u, { emit: e }) {
|
|
1561
|
-
const l = Be(u, "expand"), t = e, { t: y } =
|
|
1561
|
+
const l = Be(u, "expand"), t = e, { t: y } = ue();
|
|
1562
1562
|
function v(s) {
|
|
1563
1563
|
const m = s.subType || s.tool || "";
|
|
1564
1564
|
return `mark${m.substring(0, 1).toLocaleUpperCase()}${m.substring(1)}`;
|
|
@@ -1582,7 +1582,7 @@ const mo = /* @__PURE__ */ J({
|
|
|
1582
1582
|
}, null, 8, ["name"])
|
|
1583
1583
|
]),
|
|
1584
1584
|
Le(k("div", _o, [
|
|
1585
|
-
(w(!0), L(
|
|
1585
|
+
(w(!0), L(oe, null, ae(s.annotations, (_, h) => {
|
|
1586
1586
|
var a;
|
|
1587
1587
|
return w(), L("div", {
|
|
1588
1588
|
class: ke(["hzzt-kfb-annotation__item", ((a = s.annotation) == null ? void 0 : a.id) === _.id ? "hzzt-kfb-annotation__item--active" : ""]),
|
|
@@ -1603,7 +1603,7 @@ const mo = /* @__PURE__ */ J({
|
|
|
1603
1603
|
}
|
|
1604
1604
|
}), zo = /* @__PURE__ */ ge(ko, [["__scopeId", "data-v-bfc56a3e"]]);
|
|
1605
1605
|
function St(u) {
|
|
1606
|
-
const { t: e } =
|
|
1606
|
+
const { t: e } = ue();
|
|
1607
1607
|
return N(() => {
|
|
1608
1608
|
var y;
|
|
1609
1609
|
const t = ((y = u == null ? void 0 : u.analysis) == null ? void 0 : y.result) || "";
|
|
@@ -1667,9 +1667,9 @@ const Co = ["element-loading-text"], $o = {
|
|
|
1667
1667
|
emits: ["tool"],
|
|
1668
1668
|
setup(u, { expose: e, emit: l }) {
|
|
1669
1669
|
il((z) => ({
|
|
1670
|
-
"7ea95e8e":
|
|
1670
|
+
"7ea95e8e": ne.value
|
|
1671
1671
|
}));
|
|
1672
|
-
const t = u, y = l, { t: v, locale: r } =
|
|
1672
|
+
const t = u, y = l, { t: v, locale: r } = ue(), s = T(), m = T(), _ = T(), h = T(!1), a = 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,
|
|
@@ -1687,13 +1687,13 @@ const Co = ["element-loading-text"], $o = {
|
|
|
1687
1687
|
}), he(() => {
|
|
1688
1688
|
ft();
|
|
1689
1689
|
});
|
|
1690
|
-
const te = St(t),
|
|
1690
|
+
const te = St(t), ne = N(() => {
|
|
1691
1691
|
var z, M;
|
|
1692
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'>${((M = t.watermark) == null ? void 0 : M.text) || "水印文字"}</text></svg>")`;
|
|
1693
1693
|
}), {
|
|
1694
1694
|
imageProcess: j,
|
|
1695
|
-
matrixValues:
|
|
1696
|
-
saturateValues:
|
|
1695
|
+
matrixValues: re,
|
|
1696
|
+
saturateValues: le,
|
|
1697
1697
|
forceRedraw: Me
|
|
1698
1698
|
} = Il(t), {
|
|
1699
1699
|
tailorEvent: Se,
|
|
@@ -1736,10 +1736,10 @@ const Co = ["element-loading-text"], $o = {
|
|
|
1736
1736
|
function ft() {
|
|
1737
1737
|
var z;
|
|
1738
1738
|
(z = t.slide) != null && z.file && t.fileHandle && (d.value || (d.value = !0, t.fileHandle(t.slide).then((M) => {
|
|
1739
|
-
var Y,
|
|
1739
|
+
var Y, se, me, O;
|
|
1740
1740
|
g.value = M, b.value = (((Y = g.value) == null ? void 0 : Y.channel) || []).map((U) => U.eqt_num), a.value = new ve(W({
|
|
1741
1741
|
el: m.value,
|
|
1742
|
-
fileName: (
|
|
1742
|
+
fileName: (se = t.slide) == null ? void 0 : se.file,
|
|
1743
1743
|
scale: g.value.scanScale,
|
|
1744
1744
|
lang: (r == null ? void 0 : r.value) === "en-US" ? "en" : r == null ? void 0 : r.value,
|
|
1745
1745
|
navigator: {
|
|
@@ -1811,11 +1811,11 @@ const Co = ["element-loading-text"], $o = {
|
|
|
1811
1811
|
function Ot() {
|
|
1812
1812
|
const z = a.value.viewer;
|
|
1813
1813
|
if (z.world) {
|
|
1814
|
-
const M = z.world.getItemAt(0), Y = z.viewport.getZoom(),
|
|
1814
|
+
const M = z.world.getItemAt(0), Y = z.viewport.getZoom(), se = z.viewport.getCenter();
|
|
1815
1815
|
z.world.removeItem(M), z.addTiledImage({
|
|
1816
1816
|
tileSource: mt(),
|
|
1817
1817
|
success: function() {
|
|
1818
|
-
z.viewport.zoomTo(Y), z.viewport.panTo(
|
|
1818
|
+
z.viewport.zoomTo(Y), z.viewport.panTo(se);
|
|
1819
1819
|
}
|
|
1820
1820
|
});
|
|
1821
1821
|
}
|
|
@@ -1826,16 +1826,16 @@ const Co = ["element-loading-text"], $o = {
|
|
|
1826
1826
|
(me = t.analysis) != null && me.hotmap_path && (((O = t.analysis) == null ? void 0 : O.hotmap_info) || []).forEach((U) => {
|
|
1827
1827
|
Y[U[0] / z + "_" + U[1] / M + "_" + U[2]] = !0;
|
|
1828
1828
|
});
|
|
1829
|
-
let
|
|
1829
|
+
let se = 10;
|
|
1830
1830
|
return Object.keys(g.value.ratiomap).forEach((U) => {
|
|
1831
1831
|
const D = g.value.fileNum - Math.sqrt(g.value.scanScale / Number(U));
|
|
1832
|
-
D > 0 && (
|
|
1832
|
+
D > 0 && (se = se ? Math.min(se, D) : D);
|
|
1833
1833
|
}), {
|
|
1834
1834
|
height: g.value.height,
|
|
1835
1835
|
width: g.value.width,
|
|
1836
1836
|
tileWidth: z,
|
|
1837
1837
|
tileHeight: M,
|
|
1838
|
-
minLevel: Math.floor(
|
|
1838
|
+
minLevel: Math.floor(se || 8),
|
|
1839
1839
|
getTileUrl: (U, D, Ce) => {
|
|
1840
1840
|
var bt, kt, zt, Ct;
|
|
1841
1841
|
const Ue = U, X = {
|
|
@@ -1936,7 +1936,7 @@ const Co = ["element-loading-text"], $o = {
|
|
|
1936
1936
|
jumpToPosition: lt,
|
|
1937
1937
|
reloadLabelList: At
|
|
1938
1938
|
}), (z, M) => {
|
|
1939
|
-
var Y,
|
|
1939
|
+
var Y, se, me;
|
|
1940
1940
|
return w(), L("div", {
|
|
1941
1941
|
ref_key: "mainKfbViewRef",
|
|
1942
1942
|
ref: s,
|
|
@@ -1970,11 +1970,11 @@ const Co = ["element-loading-text"], $o = {
|
|
|
1970
1970
|
(w(), L("svg", To, [
|
|
1971
1971
|
k("filter", xo, [
|
|
1972
1972
|
k("feColorMatrix", {
|
|
1973
|
-
values: o(
|
|
1973
|
+
values: o(re),
|
|
1974
1974
|
type: "matrix"
|
|
1975
1975
|
}, null, 8, Lo),
|
|
1976
1976
|
k("feColorMatrix", {
|
|
1977
|
-
values: o(
|
|
1977
|
+
values: o(le),
|
|
1978
1978
|
type: "saturate"
|
|
1979
1979
|
}, null, 8, Eo),
|
|
1980
1980
|
k("feComponentTransfer", null, [
|
|
@@ -2024,7 +2024,7 @@ const Co = ["element-loading-text"], $o = {
|
|
|
2024
2024
|
"onUpdate:modelValue": M[0] || (M[0] = (O) => f.value = O),
|
|
2025
2025
|
slides: z.slide.children
|
|
2026
2026
|
}, null, 8, ["modelValue", "slides"])) : R("", !0),
|
|
2027
|
-
(me = (
|
|
2027
|
+
(me = (se = g.value) == null ? void 0 : se.channel) != null && me.length ? (w(), H(go, {
|
|
2028
2028
|
key: 6,
|
|
2029
2029
|
modelValue: b.value,
|
|
2030
2030
|
"onUpdate:modelValue": M[1] || (M[1] = (O) => b.value = O),
|
|
@@ -2053,7 +2053,7 @@ const Co = ["element-loading-text"], $o = {
|
|
|
2053
2053
|
default: x(() => [
|
|
2054
2054
|
C(o(nt), { "label-position": "left" }, {
|
|
2055
2055
|
default: x(() => [
|
|
2056
|
-
C(o(
|
|
2056
|
+
C(o(ie), {
|
|
2057
2057
|
class: "flex",
|
|
2058
2058
|
"label-width": "0px"
|
|
2059
2059
|
}, {
|
|
@@ -2072,7 +2072,7 @@ const Co = ["element-loading-text"], $o = {
|
|
|
2072
2072
|
]),
|
|
2073
2073
|
_: 1
|
|
2074
2074
|
}),
|
|
2075
|
-
C(o(
|
|
2075
|
+
C(o(ie), {
|
|
2076
2076
|
label: o(v)("文件名")
|
|
2077
2077
|
}, {
|
|
2078
2078
|
default: x(() => [
|
|
@@ -2080,7 +2080,7 @@ const Co = ["element-loading-text"], $o = {
|
|
|
2080
2080
|
]),
|
|
2081
2081
|
_: 1
|
|
2082
2082
|
}, 8, ["label"]),
|
|
2083
|
-
C(o(
|
|
2083
|
+
C(o(ie), {
|
|
2084
2084
|
label: o(v)("图像像素")
|
|
2085
2085
|
}, {
|
|
2086
2086
|
default: x(() => [
|
|
@@ -2088,7 +2088,7 @@ const Co = ["element-loading-text"], $o = {
|
|
|
2088
2088
|
]),
|
|
2089
2089
|
_: 1
|
|
2090
2090
|
}, 8, ["label"]),
|
|
2091
|
-
C(o(
|
|
2091
|
+
C(o(ie), {
|
|
2092
2092
|
label: o(v)("扫描倍率")
|
|
2093
2093
|
}, {
|
|
2094
2094
|
default: x(() => [
|
|
@@ -2096,7 +2096,7 @@ const Co = ["element-loading-text"], $o = {
|
|
|
2096
2096
|
]),
|
|
2097
2097
|
_: 1
|
|
2098
2098
|
}, 8, ["label"]),
|
|
2099
|
-
C(o(
|
|
2099
|
+
C(o(ie), {
|
|
2100
2100
|
label: o(v)("扫描时刻")
|
|
2101
2101
|
}, {
|
|
2102
2102
|
default: x(() => [
|
|
@@ -2104,7 +2104,7 @@ const Co = ["element-loading-text"], $o = {
|
|
|
2104
2104
|
]),
|
|
2105
2105
|
_: 1
|
|
2106
2106
|
}, 8, ["label"]),
|
|
2107
|
-
C(o(
|
|
2107
|
+
C(o(ie), {
|
|
2108
2108
|
label: o(v)("扫描时间")
|
|
2109
2109
|
}, {
|
|
2110
2110
|
default: x(() => [
|
|
@@ -2112,7 +2112,7 @@ const Co = ["element-loading-text"], $o = {
|
|
|
2112
2112
|
]),
|
|
2113
2113
|
_: 1
|
|
2114
2114
|
}, 8, ["label"]),
|
|
2115
|
-
g.value.ext ? (w(), H(o(
|
|
2115
|
+
g.value.ext ? (w(), H(o(ie), {
|
|
2116
2116
|
key: 0,
|
|
2117
2117
|
label: o(v)("扫描设备")
|
|
2118
2118
|
}, {
|
|
@@ -2157,7 +2157,7 @@ const Co = ["element-loading-text"], $o = {
|
|
|
2157
2157
|
default: x(() => {
|
|
2158
2158
|
var O;
|
|
2159
2159
|
return [
|
|
2160
|
-
C(o(
|
|
2160
|
+
C(o(ie), null, {
|
|
2161
2161
|
default: x(() => {
|
|
2162
2162
|
var U;
|
|
2163
2163
|
return [
|
|
@@ -2172,7 +2172,7 @@ const Co = ["element-loading-text"], $o = {
|
|
|
2172
2172
|
}),
|
|
2173
2173
|
_: 1
|
|
2174
2174
|
}),
|
|
2175
|
-
(O = o(Pe)) != null && O.src ? R("", !0) : (w(), H(o(
|
|
2175
|
+
(O = o(Pe)) != null && O.src ? R("", !0) : (w(), H(o(ie), { key: 0 }, {
|
|
2176
2176
|
default: x(() => [
|
|
2177
2177
|
o(A) ? (w(), H(o(_e), {
|
|
2178
2178
|
key: 1,
|
|
@@ -2265,19 +2265,19 @@ function Oo(u, e) {
|
|
|
2265
2265
|
ee(() => {
|
|
2266
2266
|
var p;
|
|
2267
2267
|
return (p = u.ai) == null ? void 0 : p.default;
|
|
2268
|
-
}, (
|
|
2269
|
-
|
|
2268
|
+
}, () => {
|
|
2269
|
+
a();
|
|
2270
2270
|
}), ee(() => {
|
|
2271
2271
|
var p;
|
|
2272
2272
|
return (p = e == null ? void 0 : e.value) == null ? void 0 : p.id;
|
|
2273
2273
|
}, () => {
|
|
2274
2274
|
a(), d();
|
|
2275
2275
|
}), he(() => {
|
|
2276
|
-
|
|
2277
|
-
l.value = !!((p = u.ai) != null && p.default), t.value = !!((i = u.ai) != null && i.default), a(), d();
|
|
2276
|
+
a(), d();
|
|
2278
2277
|
});
|
|
2279
2278
|
function a() {
|
|
2280
|
-
|
|
2279
|
+
var p, i, V;
|
|
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), (V = e.value) != null && V.id && (_.value || (l.value = !1), s.value || (t.value = !1));
|
|
2281
2281
|
}
|
|
2282
2282
|
function d() {
|
|
2283
2283
|
var p;
|
|
@@ -2465,7 +2465,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2465
2465
|
value: !1
|
|
2466
2466
|
}), s = Z("sync", {
|
|
2467
2467
|
value: !1
|
|
2468
|
-
}), m = T(!1), _ = T(), h = N(() => t.slides.filter(({ read: b }) => b)), a = N(() => t.slides.filter(({ check: b }) => b)), { t: d } =
|
|
2468
|
+
}), m = T(!1), _ = T(), h = N(() => t.slides.filter(({ read: b }) => b)), a = N(() => t.slides.filter(({ check: b }) => b)), { t: d } = ue();
|
|
2469
2469
|
function c(b) {
|
|
2470
2470
|
v.value = b, y("select", b);
|
|
2471
2471
|
}
|
|
@@ -2526,7 +2526,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2526
2526
|
k("div", ha, E(o(d)("切片名")), 1),
|
|
2527
2527
|
k("div", ga, E(o(d)("评分")), 1)
|
|
2528
2528
|
]),
|
|
2529
|
-
(w(!0), L(
|
|
2529
|
+
(w(!0), L(oe, null, ae(b.slides, (p, i) => (w(), L("li", {
|
|
2530
2530
|
key: i,
|
|
2531
2531
|
"data-index": i,
|
|
2532
2532
|
class: "flex align-items-center overflow-hidden",
|
|
@@ -2591,7 +2591,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2591
2591
|
}, E(p.grade), 13, Ca)
|
|
2592
2592
|
], 12, ya))), 128))
|
|
2593
2593
|
])) : (w(), L("div", ia, [
|
|
2594
|
-
(w(!0), L(
|
|
2594
|
+
(w(!0), L(oe, null, ae(b.slides, (p, i) => (w(), L("div", {
|
|
2595
2595
|
key: i,
|
|
2596
2596
|
class: ke(["hzzt-kfb-slides__box", o(v) === i ? "hzzt-kfb-slides__box--active" : ""]),
|
|
2597
2597
|
"data-index": i,
|
|
@@ -2679,7 +2679,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2679
2679
|
analysis: {}
|
|
2680
2680
|
},
|
|
2681
2681
|
setup(u, { expose: e }) {
|
|
2682
|
-
const l = u, { t } =
|
|
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((V) => _.value.includes(V.cls || ""))), a = N(() => h.value.slice((r.value - 1) * s.value, r.value * s.value)), d = N(() => {
|
|
2683
2683
|
const V = /* @__PURE__ */ new Set();
|
|
2684
2684
|
return l.data.forEach((B) => {
|
|
2685
2685
|
const P = B.cls || "";
|
|
@@ -2749,7 +2749,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2749
2749
|
onChange: p
|
|
2750
2750
|
}, {
|
|
2751
2751
|
default: x(() => [
|
|
2752
|
-
(w(!0), L(
|
|
2752
|
+
(w(!0), L(oe, null, ae(d.value, (P) => (w(), H(o(We), {
|
|
2753
2753
|
key: P,
|
|
2754
2754
|
value: P
|
|
2755
2755
|
}, {
|
|
@@ -2777,10 +2777,10 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2777
2777
|
}, 8, ["type"])
|
|
2778
2778
|
]),
|
|
2779
2779
|
k("div", Ha, [
|
|
2780
|
-
(w(!0), L(
|
|
2780
|
+
(w(!0), L(oe, null, ae(a.value, (P, te) => (w(), L("div", {
|
|
2781
2781
|
key: te + (r.value - 1) * s.value,
|
|
2782
2782
|
class: ke(`hzzt-kfb-ai__img ${v.value === te + (r.value - 1) * s.value ? "hzzt-kfb-ai__img--active" : ""}`),
|
|
2783
|
-
onClick: (
|
|
2783
|
+
onClick: (ne) => b(P)
|
|
2784
2784
|
}, [
|
|
2785
2785
|
C(o(ml), {
|
|
2786
2786
|
"retry-times": 1,
|
|
@@ -2837,7 +2837,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2837
2837
|
}),
|
|
2838
2838
|
emits: /* @__PURE__ */ be(["tool"], ["update:index"]),
|
|
2839
2839
|
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(), a = 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 } =
|
|
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(), a = 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
2841
|
var $;
|
|
2842
2842
|
if (b.value) {
|
|
2843
2843
|
const A = s.value.findIndex(({ id: F }) => {
|
|
@@ -2889,10 +2889,10 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2889
2889
|
const {
|
|
2890
2890
|
hasAi: P,
|
|
2891
2891
|
hasIqc: te,
|
|
2892
|
-
currentAnalysis:
|
|
2892
|
+
currentAnalysis: ne,
|
|
2893
2893
|
aiLabelList: j,
|
|
2894
|
-
enableAi:
|
|
2895
|
-
enableIqc:
|
|
2894
|
+
enableAi: re,
|
|
2895
|
+
enableIqc: le,
|
|
2896
2896
|
toggleIqc: Me,
|
|
2897
2897
|
toggleAi: Se
|
|
2898
2898
|
} = Oo(t, r);
|
|
@@ -2910,7 +2910,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2910
2910
|
syncPosition: g.value,
|
|
2911
2911
|
syncZoom: g.value,
|
|
2912
2912
|
handle: void 0,
|
|
2913
|
-
analysis: r.value.id === $.id ?
|
|
2913
|
+
analysis: r.value.id === $.id ? ne.value : void 0
|
|
2914
2914
|
});
|
|
2915
2915
|
return (ce = t.kfb) != null && ce.handle ? t.kfb.handle($, A) : A;
|
|
2916
2916
|
}
|
|
@@ -2947,9 +2947,12 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2947
2947
|
jumpToSlide: He,
|
|
2948
2948
|
jumpToLabel: Pe,
|
|
2949
2949
|
jumpToPosition: Je,
|
|
2950
|
-
|
|
2950
|
+
analysis: ne,
|
|
2951
|
+
enableAi: re,
|
|
2952
|
+
enableIqc: le,
|
|
2953
|
+
showAiList: N(() => {
|
|
2951
2954
|
var $;
|
|
2952
|
-
return (($ = t.ai)
|
|
2955
|
+
return !!(($ = t.ai) != null && $.enable) && j.value.length;
|
|
2953
2956
|
})
|
|
2954
2957
|
}), ($, A) => (w(), L("div", Na, [
|
|
2955
2958
|
$.menus.length ? (w(), H(qe, {
|
|
@@ -2974,16 +2977,16 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2974
2977
|
}, null, 8, ["modelValue", "active-text"]),
|
|
2975
2978
|
$.ai && $.ai.enable && o(te) ? (w(), H(o(Ee), {
|
|
2976
2979
|
key: 0,
|
|
2977
|
-
modelValue: o(
|
|
2978
|
-
"onUpdate:modelValue": A[1] || (A[1] = (F) => pe(
|
|
2980
|
+
modelValue: o(le),
|
|
2981
|
+
"onUpdate:modelValue": A[1] || (A[1] = (F) => pe(le) ? le.value = F : null),
|
|
2979
2982
|
"active-text": o(p)("AI质控"),
|
|
2980
2983
|
class: "margin-r-2",
|
|
2981
2984
|
onChange: o(Me)
|
|
2982
2985
|
}, null, 8, ["modelValue", "active-text", "onChange"])) : R("", !0),
|
|
2983
2986
|
$.ai && $.ai.enable && o(P) ? (w(), H(o(Ee), {
|
|
2984
2987
|
key: 1,
|
|
2985
|
-
modelValue: o(
|
|
2986
|
-
"onUpdate:modelValue": A[2] || (A[2] = (F) => pe(
|
|
2988
|
+
modelValue: o(re),
|
|
2989
|
+
"onUpdate:modelValue": A[2] || (A[2] = (F) => pe(re) ? re.value = F : null),
|
|
2987
2990
|
"active-text": o(p)("AI分析"),
|
|
2988
2991
|
class: "margin-r-2",
|
|
2989
2992
|
onChange: o(Se)
|
|
@@ -3020,7 +3023,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
3020
3023
|
}, [
|
|
3021
3024
|
k("div", Da, [
|
|
3022
3025
|
s.value.length && b.value ? (w(), L("ul", Ua, [
|
|
3023
|
-
(w(!0), L(
|
|
3026
|
+
(w(!0), L(oe, null, ae(s.value, (F, ce) => (w(), L("li", {
|
|
3024
3027
|
key: ce,
|
|
3025
3028
|
style: q(V.value),
|
|
3026
3029
|
class: ke(r.value.id === F.id ? "hzzt-kfb-view-screen-active" : ""),
|
|
@@ -3062,7 +3065,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
3062
3065
|
ref: a,
|
|
3063
3066
|
data: o(j),
|
|
3064
3067
|
slide: r.value,
|
|
3065
|
-
analysis: o(
|
|
3068
|
+
analysis: o(ne)
|
|
3066
3069
|
}, null, 8, ["style", "data", "slide", "analysis"])
|
|
3067
3070
|
], 8, ["disabled"])) : R("", !0),
|
|
3068
3071
|
fe($.$slots, "default")
|
|
@@ -3088,5 +3091,5 @@ export {
|
|
|
3088
3091
|
Ne as d,
|
|
3089
3092
|
qe as e,
|
|
3090
3093
|
Za as i,
|
|
3091
|
-
|
|
3094
|
+
ue as u
|
|
3092
3095
|
};
|