hzzt-kfb-slide 0.1.2 → 0.1.4
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/{annotatejOG4ozNZ.js → annotate6FffM0W1.js} +1 -1
- package/dist/components/{annotateCMJGbBLj.js → annotateCR9KG-3F.js} +1 -1
- package/dist/components/{annotateCgNFZFGe.js → annotateDAo62muz.js} +1 -1
- package/dist/components/{annotateDJFMTHXi.js → annotateeaYSTegE.js} +3 -3
- package/dist/components/{arrowBD2-xgIB.js → arrowBQ8Z77kj.js} +1 -1
- package/dist/components/{arrowD30w6-6J.js → arrowCg4wTfkZ.js} +1 -1
- package/dist/components/{arrowCircleCf_nzJuW.js → arrowCircleDP_e9KCk.js} +1 -1
- package/dist/components/{arrowCircleCAfdy8wW.js → arrowCirclet2SbJIBg.js} +1 -1
- package/dist/components/{arrowDownmXw2RWeL.js → arrowDownVStC_Rgo.js} +1 -1
- package/dist/components/{arrowDownDbjXJahP.js → arrowDownhRMram4O.js} +1 -1
- package/dist/components/{arrowLeftBwpF3loy.js → arrowLeftCbrGnjEA.js} +1 -1
- package/dist/components/{arrowLeftRbPGsfKL.js → arrowLeftLT-SB32n.js} +1 -1
- package/dist/components/{arrowRightBwD1sc8e.js → arrowRightB41bdlNB.js} +1 -1
- package/dist/components/{arrowRightD3iq1e3c.js → arrowRightCXo2PmJn.js} +1 -1
- package/dist/components/{arrowUpB1vQJOJG.js → arrowUpBRQqlvlm.js} +1 -1
- package/dist/components/{arrowUpB5adayIQ.js → arrowUpCXSvtCjj.js} +1 -1
- package/dist/components/{bilateralBKbIltDO.js → bilateralDAqr15v8.js} +1 -1
- package/dist/components/{bilateralBV_xkHx0.js → bilateralDspCXWMP.js} +1 -1
- package/dist/components/{channelB1SrYJDW.js → channelCeqFRWFS.js} +1 -1
- package/dist/components/{channelH1BojppK.js → channelDX5VLbZp.js} +1 -1
- package/dist/components/{checkBD6gH0q_.js → checkBg2gGrZh.js} +1 -1
- package/dist/components/{checkBY8nYbfd.js → checkBlw6idpM.js} +1 -1
- package/dist/components/{configCLkyNyEP.js → configD8ZieJXs.js} +1 -1
- package/dist/components/{configBcEj_8AB.js → configDRo1nkFc.js} +1 -1
- package/dist/components/{customBdoSDhjH.js → customCorIZb01.js} +1 -1
- package/dist/components/{customDNmdytIO.js → customD7mZ7UNY.js} +1 -1
- package/dist/components/{deleteDG___Ydm.js → deleteCoRw6cgn.js} +1 -1
- package/dist/components/{deleteCCGds9UX.js → deleteJT3ej1t7.js} +1 -1
- package/dist/components/{dotDUHWjeT6.js → dotBRiK22PH.js} +1 -1
- package/dist/components/{dotCAK1gSEZ.js → dotBzZFhv3A.js} +1 -1
- package/dist/components/{dotCog1e5Lr.js → dotC8Cn9HBv.js} +1 -1
- package/dist/components/{dotDeD0p4h3.js → dotCPjUa1C2.js} +1 -1
- package/dist/components/{dotBWzkPfEe.js → dotDTBU0mNQ.js} +4 -4
- package/dist/components/{dotDhfq1ngT.js → dotm5YI4D68.js} +1 -1
- package/dist/components/{downloadD849T2y9.js → downloadB_NP85Et.js} +3 -3
- package/dist/components/{downloadBZfVn0zc.js → downloadBqzU62Qb.js} +1 -1
- package/dist/components/{downloadBd_Cujel.js → downloadCJ8JN9yG.js} +1 -1
- package/dist/components/{downloadBmt1pNrx.js → downloadCLKRx8KM.js} +1 -1
- package/dist/components/{ellipsei0WMn5o1.js → ellipseCUgzImFs.js} +1 -1
- package/dist/components/{ellipseDQW2p8r2.js → ellipseClAcoBrZ.js} +1 -1
- package/dist/components/{expandLeftBv_okPlY.js → expandLeftBFp31T43.js} +1 -1
- package/dist/components/{expandLeftDmUFkh2d.js → expandLeftCBduCmzp.js} +1 -1
- package/dist/components/{expandRightBsKPjotO.js → expandRightBPKLGWm0.js} +1 -1
- package/dist/components/{expandRightDs1uCp6s.js → expandRightXBFKrMFd.js} +1 -1
- package/dist/components/{flagBKJwm8DA.js → flagBeqSH6wI.js} +1 -1
- package/dist/components/{flagC4kAWLMv.js → flagDeylVVdT.js} +1 -1
- package/dist/components/{flipDVfGi2qG.js → flipBO5bQj9K.js} +1 -1
- package/dist/components/{fliprd-6cbtm.js → flipDX9vCZsy.js} +1 -1
- package/dist/components/{fontPyP8n1pb.js → fontBjX_7Th9.js} +1 -1
- package/dist/components/{fontBhLyULEE.js → fontD7eTPKps.js} +1 -1
- package/dist/components/{fullscreenC0sJWM1b.js → fullscreenBQ0RpFjW.js} +1 -1
- package/dist/components/{fullscreenBT9qKvk2.js → fullscreenIHrpmxWv.js} +1 -1
- package/dist/components/{fullscreenDGVwmkgF.js → fullscreenVlAGUy4v.js} +1 -1
- package/dist/components/{fullscreenBjnoUXEr.js → fullscreen_YCGsxzu.js} +2 -2
- package/dist/components/{index3jvwVv4H.js → indexCCS1cXZe.js} +2 -2
- package/dist/components/{indexCNC1g25E.js → indexCC_s3GdF.js} +142 -133
- package/dist/components/{infoDHGaQ92c.js → infoCIwheXne.js} +1 -1
- package/dist/components/{infoDniQzKU5.js → infoDR2eJ_8o.js} +1 -1
- package/dist/components/{levelCWEo4E8o.js → levelB9jESksc.js} +1 -1
- package/dist/components/{levelDged-DD8.js → levelCAlGIhJ0.js} +1 -1
- package/dist/components/{linenA1Sbb0z.js → lineCK4IOF0A.js} +1 -1
- package/dist/components/{lineCAnsgtDB.js → linecPazLEBr.js} +1 -1
- package/dist/components/{microscopeDxei39qJ.js → microscopeB9EFtiqd.js} +3 -3
- package/dist/components/{microscopeI_67Zvi_.js → microscopeBf2kOH1T.js} +1 -1
- package/dist/components/{microscopeM3B9tem3.js → microscopeBm8sed7y.js} +1 -1
- package/dist/components/{microscopeCXgA1RNg.js → microscopeDpKQo6gd.js} +1 -1
- package/dist/components/{moveCyESuupp.js → moveCR91uykt.js} +1 -1
- package/dist/components/{moveB0MjN8ns.js → moveCvpedroE.js} +3 -3
- package/dist/components/{moveDWuEFnzY.js → moveD4R_ClcF.js} +1 -1
- package/dist/components/{moveB-6xS2dU.js → moveDcd5CPmg.js} +1 -1
- package/dist/components/{nextBP6jYEfR.js → nextB55biH_O.js} +1 -1
- package/dist/components/{nextCmL8I293.js → nextCIs9GPoe.js} +1 -1
- package/dist/components/{polygonDAJzvnQG.js → polygonC7_9Bk0t.js} +1 -1
- package/dist/components/{polygondICyAF92.js → polygondmQqW2ps.js} +1 -1
- package/dist/components/{prevDADkZRjt.js → prevA1O-9Wj0.js} +1 -1
- package/dist/components/{prevGutMlHdh.js → prevCHbldCd6.js} +1 -1
- package/dist/components/{processD6VCGhpy.js → processA5wzWRCi.js} +1 -1
- package/dist/components/{processDprLKUHQ.js → processC7Gs4GXQ.js} +3 -3
- package/dist/components/{processD8Wa4hOW.js → processDRBn7BJ3.js} +1 -1
- package/dist/components/{processBJa4jfKx.js → processSKSn4n8U.js} +1 -1
- package/dist/components/{rectangleC08rVGjN.js → rectangleCNa0xTCL.js} +1 -1
- package/dist/components/{rectangleDUCBCBPE.js → rectangleD-FvfGHr.js} +1 -1
- package/dist/components/{rotateDcAKg0Ly.js → rotateCbpyCbNC.js} +1 -1
- package/dist/components/{rotateB7TupsDC.js → rotateCnn1NwC3.js} +4 -4
- package/dist/components/{rotateB4aIQveS.js → rotateCreZGnjg.js} +1 -1
- package/dist/components/{rotateCiAoG6uz.js → rotatet2GaK4pm.js} +1 -1
- package/dist/components/{settingCPRrk8ML.js → settingBfTJrbR4.js} +1 -1
- package/dist/components/{settingBo2jK0Dr.js → settingCE_v2uSj.js} +1 -1
- package/dist/components/{settingC52gqdUZ.js → settingD6SLvmC5.js} +1 -1
- package/dist/components/{settingC_K-RcOZ.js → settingDCV6xuXV.js} +3 -3
- package/dist/components/{starD4ECjoeD.js → star76DeKyCh.js} +1 -1
- package/dist/components/{starCWnNtX4T.js → starBKGvQ1-a.js} +1 -1
- package/dist/components/{tailormZu5rnh-.js → tailorBSixx8Aa.js} +1 -1
- package/dist/components/{tailorB4WI6Umx.js → tailorCDFj0iiX.js} +1 -1
- package/dist/components/{useCommoncwGp0w86.js → useCommonBfwh9yTn.js} +1 -1
- package/dist/components/{useCommonBTTzsGT6.js → useCommonqtTpTeqy.js} +1 -1
- package/dist/components/{voiceCE58JuHB.js → voiceC-FXokXs.js} +1 -1
- package/dist/components/{voiceCykEd0Hn.js → voiceCVmpm6GP.js} +1 -1
- package/dist/components/{zoomDoOddf7F.js → zoomBI25SD2L.js} +1 -1
- package/dist/components/{zoomInCQ1hHcFV.js → zoomInCd6Dpkve.js} +1 -1
- package/dist/components/{zoomInDIq1CbWp.js → zoomInDYnxo1vR.js} +1 -1
- package/dist/components/{zoomOutDMbifalR.js → zoomOut1FPtS-xc.js} +1 -1
- package/dist/components/{zoomOutvL8Qk5cc.js → zoomOutDnINHhzQ.js} +1 -1
- package/dist/components/{zoomDT5Z2mH5.js → zoomTx-waJ3j.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 -6
- package/types/components/HzztKfbSlide.vue.d.ts +4 -1
- package/types/components/KfbImage.vue.d.ts +9 -0
- 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("./annotateCR9KG-3F.js"))),
|
|
47
|
+
arrowCircle: S(I(() => import("./arrowCirclet2SbJIBg.js"))),
|
|
48
|
+
check: S(I(() => import("./checkBlw6idpM.js"))),
|
|
49
|
+
dot: S(I(() => import("./dotBzZFhv3A.js"))),
|
|
50
|
+
flip: S(I(() => import("./flipDX9vCZsy.js"))),
|
|
51
|
+
info: S(I(() => import("./infoDR2eJ_8o.js"))),
|
|
52
|
+
microscope: S(I(() => import("./microscopeBm8sed7y.js"))),
|
|
53
|
+
move: S(I(() => import("./moveDcd5CPmg.js"))),
|
|
54
|
+
next: S(I(() => import("./nextCIs9GPoe.js"))),
|
|
55
|
+
prev: S(I(() => import("./prevCHbldCd6.js"))),
|
|
56
|
+
process: S(I(() => import("./processDRBn7BJ3.js"))),
|
|
57
|
+
rotate: S(I(() => import("./rotateCbpyCbNC.js"))),
|
|
58
|
+
fullscreen: S(I(() => import("./fullscreenBQ0RpFjW.js"))),
|
|
59
|
+
setting: S(I(() => import("./settingBfTJrbR4.js"))),
|
|
60
|
+
tailor: S(I(() => import("./tailorCDFj0iiX.js"))),
|
|
61
|
+
download: S(I(() => import("./downloadCJ8JN9yG.js"))),
|
|
62
|
+
config: S(I(() => import("./configD8ZieJXs.js"))),
|
|
63
|
+
arrowDown: S(I(() => import("./arrowDownVStC_Rgo.js"))),
|
|
64
|
+
arrowUp: S(I(() => import("./arrowUpBRQqlvlm.js"))),
|
|
65
|
+
arrowLeft: S(I(() => import("./arrowLeftCbrGnjEA.js"))),
|
|
66
|
+
arrowRight: S(I(() => import("./arrowRightCXo2PmJn.js"))),
|
|
67
|
+
zoomIn: S(I(() => import("./zoomInCd6Dpkve.js"))),
|
|
68
|
+
zoomOut: S(I(() => import("./zoomOut1FPtS-xc.js"))),
|
|
69
|
+
level: S(I(() => import("./levelCAlGIhJ0.js"))),
|
|
70
|
+
channel: S(I(() => import("./channelDX5VLbZp.js"))),
|
|
71
|
+
delete: S(I(() => import("./deleteJT3ej1t7.js"))),
|
|
72
|
+
expandLeft: S(I(() => import("./expandLeftBFp31T43.js"))),
|
|
73
|
+
expandRight: S(I(() => import("./expandRightBPKLGWm0.js"))),
|
|
74
|
+
markLine: S(I(() => import("./lineCK4IOF0A.js"))),
|
|
75
|
+
markArrow: S(I(() => import("./arrowBQ8Z77kj.js"))),
|
|
76
|
+
markBilateral: S(I(() => import("./bilateralDspCXWMP.js"))),
|
|
77
|
+
markRectangle: S(I(() => import("./rectangleCNa0xTCL.js"))),
|
|
78
|
+
markEllipse: S(I(() => import("./ellipseCUgzImFs.js"))),
|
|
79
|
+
markPolygon: S(I(() => import("./polygonC7_9Bk0t.js"))),
|
|
80
|
+
markFlag: S(I(() => import("./flagDeylVVdT.js"))),
|
|
81
|
+
markStar: S(I(() => import("./starBKGvQ1-a.js"))),
|
|
82
|
+
markDot: S(I(() => import("./dotC8Cn9HBv.js"))),
|
|
83
|
+
markFont: S(I(() => import("./fontBjX_7Th9.js"))),
|
|
84
|
+
markVoice: S(I(() => import("./voiceC-FXokXs.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("./fullscreen_YCGsxzu.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("./settingDCV6xuXV.js")),
|
|
277
|
+
rotate: I(() => import("./rotateCnn1NwC3.js")),
|
|
278
|
+
dot: I(() => import("./dotDTBU0mNQ.js")),
|
|
279
|
+
annotate: I(() => import("./annotateeaYSTegE.js")),
|
|
280
|
+
process: I(() => import("./processC7Gs4GXQ.js")),
|
|
281
|
+
microscope: I(() => import("./microscopeB9EFtiqd.js")),
|
|
282
|
+
move: I(() => import("./moveCvpedroE.js")),
|
|
283
|
+
custom: I(() => import("./customD7mZ7UNY.js")),
|
|
284
|
+
zoom: I(() => import("./zoomBI25SD2L.js")),
|
|
285
|
+
download: I(() => import("./downloadB_NP85Et.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;
|
|
@@ -2328,6 +2328,10 @@ const Go = ["src", "fit"], Wo = ["src", "fit"], Ke = /* @__PURE__ */ J({
|
|
|
2328
2328
|
load: {
|
|
2329
2329
|
type: Function,
|
|
2330
2330
|
default: () => ({})
|
|
2331
|
+
},
|
|
2332
|
+
hover: {
|
|
2333
|
+
type: Boolean,
|
|
2334
|
+
default: !1
|
|
2331
2335
|
}
|
|
2332
2336
|
},
|
|
2333
2337
|
setup(u) {
|
|
@@ -2350,6 +2354,7 @@ const Go = ["src", "fit"], Wo = ["src", "fit"], Ke = /* @__PURE__ */ J({
|
|
|
2350
2354
|
l < e.retryTimes ? (a.src = e.src, l++) : a.src = Ze;
|
|
2351
2355
|
}
|
|
2352
2356
|
function s(h) {
|
|
2357
|
+
if (!e.hover) return;
|
|
2353
2358
|
if (h.target) {
|
|
2354
2359
|
const f = h.target, b = f.tagName;
|
|
2355
2360
|
let g = "";
|
|
@@ -2465,7 +2470,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2465
2470
|
value: !1
|
|
2466
2471
|
}), s = Z("sync", {
|
|
2467
2472
|
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 } =
|
|
2473
|
+
}), m = T(!1), _ = T(), h = N(() => t.slides.filter(({ read: b }) => b)), a = N(() => t.slides.filter(({ check: b }) => b)), { t: d } = ue();
|
|
2469
2474
|
function c(b) {
|
|
2470
2475
|
v.value = b, y("select", b);
|
|
2471
2476
|
}
|
|
@@ -2526,7 +2531,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2526
2531
|
k("div", ha, E(o(d)("切片名")), 1),
|
|
2527
2532
|
k("div", ga, E(o(d)("评分")), 1)
|
|
2528
2533
|
]),
|
|
2529
|
-
(w(!0), L(
|
|
2534
|
+
(w(!0), L(oe, null, ae(b.slides, (p, i) => (w(), L("li", {
|
|
2530
2535
|
key: i,
|
|
2531
2536
|
"data-index": i,
|
|
2532
2537
|
class: "flex align-items-center overflow-hidden",
|
|
@@ -2591,7 +2596,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2591
2596
|
}, E(p.grade), 13, Ca)
|
|
2592
2597
|
], 12, ya))), 128))
|
|
2593
2598
|
])) : (w(), L("div", ia, [
|
|
2594
|
-
(w(!0), L(
|
|
2599
|
+
(w(!0), L(oe, null, ae(b.slides, (p, i) => (w(), L("div", {
|
|
2595
2600
|
key: i,
|
|
2596
2601
|
class: ke(["hzzt-kfb-slides__box", o(v) === i ? "hzzt-kfb-slides__box--active" : ""]),
|
|
2597
2602
|
"data-index": i,
|
|
@@ -2603,7 +2608,8 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2603
2608
|
"retry-times": 1,
|
|
2604
2609
|
src: p.labelImg,
|
|
2605
2610
|
class: "hzzt-kfb-slides__img",
|
|
2606
|
-
fit: "cover"
|
|
2611
|
+
fit: "cover",
|
|
2612
|
+
hover: ""
|
|
2607
2613
|
}, null, 8, ["style", "src"]),
|
|
2608
2614
|
C(Ke, {
|
|
2609
2615
|
"retry-times": 1,
|
|
@@ -2668,7 +2674,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2668
2674
|
])
|
|
2669
2675
|
]));
|
|
2670
2676
|
}
|
|
2671
|
-
}), Va = /* @__PURE__ */ ge(Ea, [["__scopeId", "data-v-
|
|
2677
|
+
}), Va = /* @__PURE__ */ ge(Ea, [["__scopeId", "data-v-35358d3a"]]), Ia = { class: "hzzt-kfb-ai overflow-hidden" }, Ma = { class: "flex align-items-center margin-t-1" }, Sa = { style: { color: "var(--el-color-success)" } }, Ha = { class: "flex-1 flex overflow-auto wrap margin-t-1" }, Pa = ["onClick"], Ra = {
|
|
2672
2678
|
key: 0,
|
|
2673
2679
|
style: { "margin-left": "2px" }
|
|
2674
2680
|
}, Aa = /* @__PURE__ */ J({
|
|
@@ -2679,7 +2685,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2679
2685
|
analysis: {}
|
|
2680
2686
|
},
|
|
2681
2687
|
setup(u, { expose: e }) {
|
|
2682
|
-
const l = u, { t } =
|
|
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((V) => _.value.includes(V.cls || ""))), a = N(() => h.value.slice((r.value - 1) * s.value, r.value * s.value)), d = N(() => {
|
|
2683
2689
|
const V = /* @__PURE__ */ new Set();
|
|
2684
2690
|
return l.data.forEach((B) => {
|
|
2685
2691
|
const P = B.cls || "";
|
|
@@ -2749,7 +2755,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2749
2755
|
onChange: p
|
|
2750
2756
|
}, {
|
|
2751
2757
|
default: x(() => [
|
|
2752
|
-
(w(!0), L(
|
|
2758
|
+
(w(!0), L(oe, null, ae(d.value, (P) => (w(), H(o(We), {
|
|
2753
2759
|
key: P,
|
|
2754
2760
|
value: P
|
|
2755
2761
|
}, {
|
|
@@ -2777,10 +2783,10 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2777
2783
|
}, 8, ["type"])
|
|
2778
2784
|
]),
|
|
2779
2785
|
k("div", Ha, [
|
|
2780
|
-
(w(!0), L(
|
|
2786
|
+
(w(!0), L(oe, null, ae(a.value, (P, te) => (w(), L("div", {
|
|
2781
2787
|
key: te + (r.value - 1) * s.value,
|
|
2782
2788
|
class: ke(`hzzt-kfb-ai__img ${v.value === te + (r.value - 1) * s.value ? "hzzt-kfb-ai__img--active" : ""}`),
|
|
2783
|
-
onClick: (
|
|
2789
|
+
onClick: (ne) => b(P)
|
|
2784
2790
|
}, [
|
|
2785
2791
|
C(o(ml), {
|
|
2786
2792
|
"retry-times": 1,
|
|
@@ -2837,7 +2843,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2837
2843
|
}),
|
|
2838
2844
|
emits: /* @__PURE__ */ be(["tool"], ["update:index"]),
|
|
2839
2845
|
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 } =
|
|
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(), 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
2847
|
var $;
|
|
2842
2848
|
if (b.value) {
|
|
2843
2849
|
const A = s.value.findIndex(({ id: F }) => {
|
|
@@ -2889,10 +2895,10 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2889
2895
|
const {
|
|
2890
2896
|
hasAi: P,
|
|
2891
2897
|
hasIqc: te,
|
|
2892
|
-
currentAnalysis:
|
|
2898
|
+
currentAnalysis: ne,
|
|
2893
2899
|
aiLabelList: j,
|
|
2894
|
-
enableAi:
|
|
2895
|
-
enableIqc:
|
|
2900
|
+
enableAi: re,
|
|
2901
|
+
enableIqc: le,
|
|
2896
2902
|
toggleIqc: Me,
|
|
2897
2903
|
toggleAi: Se
|
|
2898
2904
|
} = Oo(t, r);
|
|
@@ -2910,7 +2916,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2910
2916
|
syncPosition: g.value,
|
|
2911
2917
|
syncZoom: g.value,
|
|
2912
2918
|
handle: void 0,
|
|
2913
|
-
analysis: r.value.id === $.id ?
|
|
2919
|
+
analysis: r.value.id === $.id ? ne.value : void 0
|
|
2914
2920
|
});
|
|
2915
2921
|
return (ce = t.kfb) != null && ce.handle ? t.kfb.handle($, A) : A;
|
|
2916
2922
|
}
|
|
@@ -2947,9 +2953,12 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2947
2953
|
jumpToSlide: He,
|
|
2948
2954
|
jumpToLabel: Pe,
|
|
2949
2955
|
jumpToPosition: Je,
|
|
2950
|
-
|
|
2956
|
+
analysis: ne,
|
|
2957
|
+
enableAi: re,
|
|
2958
|
+
enableIqc: le,
|
|
2959
|
+
showAiList: N(() => {
|
|
2951
2960
|
var $;
|
|
2952
|
-
return (($ = t.ai)
|
|
2961
|
+
return !!(($ = t.ai) != null && $.enable) && j.value.length;
|
|
2953
2962
|
})
|
|
2954
2963
|
}), ($, A) => (w(), L("div", Na, [
|
|
2955
2964
|
$.menus.length ? (w(), H(qe, {
|
|
@@ -2974,16 +2983,16 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
2974
2983
|
}, null, 8, ["modelValue", "active-text"]),
|
|
2975
2984
|
$.ai && $.ai.enable && o(te) ? (w(), H(o(Ee), {
|
|
2976
2985
|
key: 0,
|
|
2977
|
-
modelValue: o(
|
|
2978
|
-
"onUpdate:modelValue": A[1] || (A[1] = (F) => pe(
|
|
2986
|
+
modelValue: o(le),
|
|
2987
|
+
"onUpdate:modelValue": A[1] || (A[1] = (F) => pe(le) ? le.value = F : null),
|
|
2979
2988
|
"active-text": o(p)("AI质控"),
|
|
2980
2989
|
class: "margin-r-2",
|
|
2981
2990
|
onChange: o(Me)
|
|
2982
2991
|
}, null, 8, ["modelValue", "active-text", "onChange"])) : R("", !0),
|
|
2983
2992
|
$.ai && $.ai.enable && o(P) ? (w(), H(o(Ee), {
|
|
2984
2993
|
key: 1,
|
|
2985
|
-
modelValue: o(
|
|
2986
|
-
"onUpdate:modelValue": A[2] || (A[2] = (F) => pe(
|
|
2994
|
+
modelValue: o(re),
|
|
2995
|
+
"onUpdate:modelValue": A[2] || (A[2] = (F) => pe(re) ? re.value = F : null),
|
|
2987
2996
|
"active-text": o(p)("AI分析"),
|
|
2988
2997
|
class: "margin-r-2",
|
|
2989
2998
|
onChange: o(Se)
|
|
@@ -3020,7 +3029,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
3020
3029
|
}, [
|
|
3021
3030
|
k("div", Da, [
|
|
3022
3031
|
s.value.length && b.value ? (w(), L("ul", Ua, [
|
|
3023
|
-
(w(!0), L(
|
|
3032
|
+
(w(!0), L(oe, null, ae(s.value, (F, ce) => (w(), L("li", {
|
|
3024
3033
|
key: ce,
|
|
3025
3034
|
style: q(V.value),
|
|
3026
3035
|
class: ke(r.value.id === F.id ? "hzzt-kfb-view-screen-active" : ""),
|
|
@@ -3062,7 +3071,7 @@ const ta = /* @__PURE__ */ ge(Qo, [["render", ea]]), la = { class: "hzzt-kfb-sli
|
|
|
3062
3071
|
ref: a,
|
|
3063
3072
|
data: o(j),
|
|
3064
3073
|
slide: r.value,
|
|
3065
|
-
analysis: o(
|
|
3074
|
+
analysis: o(ne)
|
|
3066
3075
|
}, null, 8, ["style", "data", "slide", "analysis"])
|
|
3067
3076
|
], 8, ["disabled"])) : R("", !0),
|
|
3068
3077
|
fe($.$slots, "default")
|
|
@@ -3088,5 +3097,5 @@ export {
|
|
|
3088
3097
|
Ne as d,
|
|
3089
3098
|
qe as e,
|
|
3090
3099
|
Za as i,
|
|
3091
|
-
|
|
3100
|
+
ue as u
|
|
3092
3101
|
};
|