hzzt-kfb-slide 0.1.0 → 0.1.1

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.
Files changed (109) hide show
  1. package/dist/components/{annotateBjK38kC5.js → annotateB3lFxMEo.js} +3 -3
  2. package/dist/components/{annotateDswEmgoP.js → annotateB8zoDimf.js} +1 -1
  3. package/dist/components/{annotateBe1iGjLm.js → annotateCLaAaHN_.js} +1 -1
  4. package/dist/components/{annotateBCPPxCOM.js → annotateDa-PLWsY.js} +1 -1
  5. package/dist/components/{arrowCircleDcEhXBbb.js → arrowCircleCiliVlpQ.js} +1 -1
  6. package/dist/components/{arrowCircleCwh64ps_.js → arrowCircleD-pOtQNL.js} +1 -1
  7. package/dist/components/{arrowB_iF_C7o.js → arrowCmICz6PS.js} +1 -1
  8. package/dist/components/{arrowBsGolew1.js → arrowDjWPvUqv.js} +1 -1
  9. package/dist/components/{arrowDownGBYuSng0.js → arrowDownBiQp1p0i.js} +1 -1
  10. package/dist/components/{arrowDownBO1BfpJc.js → arrowDownCLuKnhgC.js} +1 -1
  11. package/dist/components/{arrowLeftC5fR0o6a.js → arrowLeftC5Xn0ZKF.js} +1 -1
  12. package/dist/components/{arrowLeftD5sInyYk.js → arrowLeftCBSwbPg8.js} +1 -1
  13. package/dist/components/{arrowRightD8w_2T2p.js → arrowRightC-gQEqoF.js} +1 -1
  14. package/dist/components/{arrowRightDZ5B3UGP.js → arrowRightDxs4lV9Z.js} +1 -1
  15. package/dist/components/{arrowUpBeusa4Lo.js → arrowUpBfRL3fhE.js} +1 -1
  16. package/dist/components/{arrowUpBc9Kyfxz.js → arrowUpCs2jBl9R.js} +1 -1
  17. package/dist/components/{bilateralCZQNj8IO.js → bilateral1NHhlA6z.js} +1 -1
  18. package/dist/components/{bilateraliBpUezXT.js → bilateralxnj69N0V.js} +1 -1
  19. package/dist/components/{channelD-i4fzni.js → channelChBho3_o.js} +1 -1
  20. package/dist/components/{channelCex9iiR2.js → channelD9KcPJ4H.js} +1 -1
  21. package/dist/components/{checkCt32HIH2.js → checkDJiCkpCP.js} +1 -1
  22. package/dist/components/{checkDdnX-C4X.js → checkPjfQU2X-.js} +1 -1
  23. package/dist/components/{configBFvCGNtv.js → configBVvJPXEW.js} +1 -1
  24. package/dist/components/{configBwkv57gw.js → configBoVZz6t_.js} +1 -1
  25. package/dist/components/{customCjYE_yPK.js → customBqUoJeja.js} +1 -1
  26. package/dist/components/{customCGjGRDJm.js → customCuFCEEmf.js} +1 -1
  27. package/dist/components/{deleteBpbziZfN.js → deleteBK4VaII7.js} +1 -1
  28. package/dist/components/{deleteB9iRvKYT.js → deleteBbL8JyJH.js} +1 -1
  29. package/dist/components/{dotDeJyIiYJ.js → dotC3ho5Naw.js} +1 -1
  30. package/dist/components/{dotD_biewxL.js → dotCZFwvsGJ.js} +4 -4
  31. package/dist/components/{dotDcO8K7mJ.js → dotCZmc5XHw.js} +1 -1
  32. package/dist/components/{dotDvq6YQgW.js → dotD0RUyAOF.js} +1 -1
  33. package/dist/components/{dotBlqZNkl0.js → dotDdB7hEiU.js} +1 -1
  34. package/dist/components/{dotCF84g70n.js → dotDf3m-ZtS.js} +1 -1
  35. package/dist/components/{downloadDy93WSTG.js → downloadBPbhAwsC.js} +1 -1
  36. package/dist/components/{downloadBnieQIP8.js → downloadC9SBQxWS.js} +1 -1
  37. package/dist/components/{downloadC8nKUjq6.js → downloadGVNhdAbp.js} +3 -3
  38. package/dist/components/{downloadBwUL0Ea7.js → downloadi5H6HjoE.js} +1 -1
  39. package/dist/components/{ellipseBxnZw_Wq.js → ellipseBBwG5L6y.js} +1 -1
  40. package/dist/components/{ellipseCp5zAGAh.js → ellipseGq_BKpIA.js} +1 -1
  41. package/dist/components/{expandLeftC1Ta5tGY.js → expandLeftBVBh6iI1.js} +1 -1
  42. package/dist/components/{expandLeft0jc4WZXg.js → expandLeftCWohfvHq.js} +1 -1
  43. package/dist/components/{expandRightBH8iguKS.js → expandRight-KeLeoCw.js} +1 -1
  44. package/dist/components/{expandRightDb0-tlNj.js → expandRightCuU0Ktmj.js} +1 -1
  45. package/dist/components/{flagDbfaF80Z.js → flagCNdHcaOr.js} +1 -1
  46. package/dist/components/{flagBEcBfVBz.js → flagDNqPx5NT.js} +1 -1
  47. package/dist/components/{flipBIarRte4.js → flip2i6pDnun.js} +1 -1
  48. package/dist/components/{flipChZNTRna.js → flipBJRiEs27.js} +1 -1
  49. package/dist/components/{fontBuHpTztq.js → fontBvWU1Zty.js} +1 -1
  50. package/dist/components/{fontU7S814K8.js → fontCsdG88OT.js} +1 -1
  51. package/dist/components/{fullscreenuBLuHv03.js → fullscreenB7VOC9nF.js} +1 -1
  52. package/dist/components/{fullscreenBpAk7wDb.js → fullscreenCfE6L14I.js} +1 -1
  53. package/dist/components/{fullscreenBiMgHdq_.js → fullscreenilcy7g6R.js} +2 -2
  54. package/dist/components/{fullscreenBQ1YkrN_.js → fullscreenkPWhn6hX.js} +1 -1
  55. package/dist/components/{indexCiVL4LuE.js → indexBk8PrnQT.js} +1077 -1065
  56. package/dist/components/indexh_hCt-Tc.js +4 -0
  57. package/dist/components/{infoCp7ve5DR.js → infoBKGJei_W.js} +1 -1
  58. package/dist/components/{infoC4hGYJaF.js → infoDD1pEfcw.js} +1 -1
  59. package/dist/components/{levelKqcfU9Ld.js → level0LJ8aEMv.js} +1 -1
  60. package/dist/components/{levelCeI--h7X.js → levelCkmf3f6J.js} +1 -1
  61. package/dist/components/{lineC3B9m1Ug.js → lineCFav17ki.js} +1 -1
  62. package/dist/components/{lineOSorc3WE.js → linerlsB9JL7.js} +1 -1
  63. package/dist/components/{microscopeBFEz_lq4.js → microscopeBBz0yD7E.js} +1 -1
  64. package/dist/components/{microscopeD9m8Vj5p.js → microscopeCLmgCovH.js} +3 -3
  65. package/dist/components/{microscopeD9DoPiHa.js → microscopeCgg0Ym67.js} +1 -1
  66. package/dist/components/{microscopemifUUWdo.js → microscopeCq6kF8bY.js} +1 -1
  67. package/dist/components/{moveCoqqrHrF.js → moveB41ZcoNK.js} +1 -1
  68. package/dist/components/{moveP1udjvew.js → moveB8_22tie.js} +1 -1
  69. package/dist/components/{move67AZY9GV.js → moveBGpoQ1-D.js} +3 -3
  70. package/dist/components/{move0dbwvgpp.js → moveCkVAoMeQ.js} +1 -1
  71. package/dist/components/{next949tlxwI.js → nextD5Z4bZnT.js} +1 -1
  72. package/dist/components/{nextF-0K-c0T.js → nextDRedCGZe.js} +1 -1
  73. package/dist/components/{polygonCVRu0jGg.js → polygonCp9oWQ3l.js} +1 -1
  74. package/dist/components/{polygonCY1umCDA.js → polygongm9CHAwB.js} +1 -1
  75. package/dist/components/{prevBoMShTVJ.js → prevCPX6EC1A.js} +1 -1
  76. package/dist/components/{prevZJi0HBQa.js → prevgL7_Qz0_.js} +1 -1
  77. package/dist/components/{process3Kd9iKAC.js → processBAq39ThA.js} +1 -1
  78. package/dist/components/{processDFHVq7yX.js → processDgdAEClC.js} +1 -1
  79. package/dist/components/{processX0dS45XF.js → processMgvhvblB.js} +1 -1
  80. package/dist/components/{processBtDhC5cN.js → processnL7rVPu0.js} +3 -3
  81. package/dist/components/{rectangleBRcZJKiG.js → rectangleDDWXtsEU.js} +1 -1
  82. package/dist/components/{rectangleD42v1SqR.js → rectangleqZeguu3p.js} +1 -1
  83. package/dist/components/{rotate7jt-EuDp.js → rotate7bzyW-OB.js} +1 -1
  84. package/dist/components/{rotateDu_mkWYc.js → rotateCEBfde_V.js} +4 -4
  85. package/dist/components/{rotateHyLr1dia.js → rotateCUUn3DGL.js} +1 -1
  86. package/dist/components/{rotate5_xJfsZ2.js → rotateb49G-Q8z.js} +1 -1
  87. package/dist/components/{setting3Ugpfl6Q.js → settingB3EwckOT.js} +1 -1
  88. package/dist/components/{settingCutO8H2U.js → settingDFygEEDe.js} +1 -1
  89. package/dist/components/{settingonwvagGo.js → settingDWDMPbdO.js} +3 -3
  90. package/dist/components/{settingBdsG5NNP.js → settingh3PMi-mk.js} +1 -1
  91. package/dist/components/{starB6lZrSR_.js → starBXSy-NoI.js} +1 -1
  92. package/dist/components/{starBuk9Zpe8.js → starCx7mYpn2.js} +1 -1
  93. package/dist/components/{tailorCxS09ZPn.js → tailorBzcPtJBg.js} +1 -1
  94. package/dist/components/{tailorC1nOu9Zx.js → tailorCvYJnrbK.js} +1 -1
  95. package/dist/components/{useCommon_E1byFLe.js → useCommonBRWUFIsx.js} +1 -1
  96. package/dist/components/{useCommonDvVbDPSe.js → useCommonBT6Pfwp3.js} +1 -1
  97. package/dist/components/{voiceDFacjiIM.js → voiceCCipOfTa.js} +1 -1
  98. package/dist/components/{voiceCifc7IPf.js → voiceDJghWoc3.js} +1 -1
  99. package/dist/components/{zoomB7VyAZrz.js → zoomDePdFm9E.js} +1 -1
  100. package/dist/components/{zoomInCf25h6Us.js → zoomInC4xFE1uN.js} +1 -1
  101. package/dist/components/{zoomInRDq1eDLi.js → zoomInDzq-DbIa.js} +1 -1
  102. package/dist/components/{zoomOutDdDapD_E.js → zoomOutBQz07s5R.js} +1 -1
  103. package/dist/components/{zoomOutjIFNPuhT.js → zoomOutDnt66Lz5.js} +1 -1
  104. package/dist/components/{zoomBFx-vjsG.js → zoomqK-uW5RK.js} +1 -1
  105. package/dist/index.cjs.js +1 -1
  106. package/dist/index.es.js +1 -1
  107. package/package.json +1 -1
  108. package/types/components/ai/useAiResult.d.ts +7 -0
  109. package/dist/components/indexCFzrAiFg.js +0 -4
@@ -1,86 +1,86 @@
1
- var Wt = Object.defineProperty, Zt = Object.defineProperties;
2
- var qt = Object.getOwnPropertyDescriptors;
1
+ var qt = Object.defineProperty, Yt = Object.defineProperties;
2
+ var Xt = Object.getOwnPropertyDescriptors;
3
3
  var yt = Object.getOwnPropertySymbols;
4
- var Yt = Object.prototype.hasOwnProperty, Xt = Object.prototype.propertyIsEnumerable;
5
- var _t = (c, e, o) => e in c ? Wt(c, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : c[e] = o, j = (c, e) => {
6
- for (var o in e || (e = {}))
7
- Yt.call(e, o) && _t(c, o, e[o]);
4
+ var Qt = Object.prototype.hasOwnProperty, Jt = Object.prototype.propertyIsEnumerable;
5
+ var _t = (u, e, n) => e in u ? qt(u, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : u[e] = n, j = (u, e) => {
6
+ for (var n in e || (e = {}))
7
+ Qt.call(e, n) && _t(u, n, e[n]);
8
8
  if (yt)
9
- for (var o of yt(e))
10
- Xt.call(e, o) && _t(c, o, e[o]);
11
- return c;
12
- }, me = (c, e) => Zt(c, qt(e));
13
- var Ce = (c, e, o) => new Promise((t, _) => {
14
- var v = (f) => {
9
+ for (var n of yt(e))
10
+ Jt.call(e, n) && _t(u, n, e[n]);
11
+ return u;
12
+ }, me = (u, e) => Yt(u, Xt(e));
13
+ var Ce = (u, e, n) => new Promise((t, y) => {
14
+ var d = (f) => {
15
15
  try {
16
- i(o.next(f));
16
+ i(n.next(f));
17
17
  } catch (g) {
18
- _(g);
18
+ y(g);
19
19
  }
20
- }, u = (f) => {
20
+ }, c = (f) => {
21
21
  try {
22
- i(o.throw(f));
22
+ i(n.throw(f));
23
23
  } catch (g) {
24
- _(g);
24
+ y(g);
25
25
  }
26
- }, i = (f) => f.done ? t(f.value) : Promise.resolve(f.value).then(v, u);
27
- i((o = o.apply(c, e)).next());
26
+ }, i = (f) => f.done ? t(f.value) : Promise.resolve(f.value).then(d, c);
27
+ i((n = n.apply(u, e)).next());
28
28
  });
29
- import { inject as J, ref as $, markRaw as H, defineAsyncComponent as M, defineComponent as ee, createBlock as P, openBlock as y, unref as n, normalizeProps as Qt, guardReactiveProps as Jt, withCtx as x, resolveDynamicComponent as xe, useModel as Ee, computed as B, createElementBlock as L, createElementVNode as b, createVNode as T, toDisplayString as V, Fragment as le, renderList as oe, createTextVNode as G, isRef as Ve, watch as ne, h as el, provide as re, renderSlot as ce, mergeProps as Ke, createCommentVNode as A, reactive as ot, onMounted as pe, onBeforeUnmount as Ie, normalizeStyle as W, mergeDefaults as tl, withDirectives as $e, vShow as Re, getCurrentInstance as ll, mergeModels as we, normalizeClass as ye, Teleport as Fe, withModifiers as Be } from "vue";
30
- import { ElIcon as _e, ElRow as ol, ElCol as nl, ElSwitch as Le, ElRadioGroup as bt, ElRadio as De, ElDialog as je, ElForm as tt, ElFormItem as se, ElInput as et, ElButton as ge, ElMessage as kt, ElLoading as Ct, ElSlider as al, ElTag as Tt, ElCheckbox as Oe, ElTooltip as zt, ElPopover as sl, ElCheckboxGroup as il, ElPagination as rl } from "element-plus";
31
- import { KfbView as ue, OpenSeadragon as Te } from "kfb-view";
32
- import ul from "v-lazy-image";
33
- function de() {
34
- const c = J("i18n"), e = (o) => o;
29
+ import { inject as J, ref as $, markRaw as H, defineAsyncComponent as V, defineComponent as ee, createBlock as P, openBlock as _, unref as o, normalizeProps as el, guardReactiveProps as tl, withCtx as x, resolveDynamicComponent as xe, useModel as Ee, computed as B, createElementBlock as L, createElementVNode as b, createVNode as T, toDisplayString as E, Fragment as le, renderList as oe, createTextVNode as G, isRef as Ve, watch as ne, h as ll, provide as ue, renderSlot as de, mergeProps as Ke, createCommentVNode as A, reactive as ot, onMounted as pe, onBeforeUnmount as Ie, normalizeStyle as Z, mergeDefaults as ol, withDirectives as $e, vShow as Pe, getCurrentInstance as nl, mergeModels as we, normalizeClass as ye, Teleport as Fe, withModifiers as Be } from "vue";
30
+ import { ElIcon as _e, ElRow as al, ElCol as sl, ElSwitch as Le, ElRadioGroup as bt, ElRadio as De, ElDialog as je, ElForm as tt, ElFormItem as se, ElInput as et, ElButton as ge, ElMessage as kt, ElLoading as Ct, ElSlider as il, ElTag as Tt, ElCheckbox as Oe, ElTooltip as zt, ElPopover as rl, ElCheckboxGroup as ul, ElPagination as cl } from "element-plus";
31
+ import { KfbView as ce, OpenSeadragon as Te } from "kfb-view";
32
+ import dl from "v-lazy-image";
33
+ function ie() {
34
+ const u = J("i18n"), e = (n) => n;
35
35
  return {
36
- locale: c == null ? void 0 : c.locale,
37
- t: (c == null ? void 0 : c.t) || e
36
+ locale: u == null ? void 0 : u.locale,
37
+ t: (u == null ? void 0 : u.t) || e
38
38
  };
39
39
  }
40
- const cl = {
41
- install(c, e) {
42
- c.provide("i18n", e == null ? void 0 : e.global);
40
+ const vl = {
41
+ install(u, e) {
42
+ u.provide("i18n", e == null ? void 0 : e.global);
43
43
  }
44
44
  }, O = $({
45
- annotate: H(M(() => import("./annotateBCPPxCOM.js"))),
46
- arrowCircle: H(M(() => import("./arrowCircleDcEhXBbb.js"))),
47
- check: H(M(() => import("./checkDdnX-C4X.js"))),
48
- dot: H(M(() => import("./dotDcO8K7mJ.js"))),
49
- flip: H(M(() => import("./flipBIarRte4.js"))),
50
- info: H(M(() => import("./infoCp7ve5DR.js"))),
51
- microscope: H(M(() => import("./microscopeD9DoPiHa.js"))),
52
- move: H(M(() => import("./moveCoqqrHrF.js"))),
53
- next: H(M(() => import("./next949tlxwI.js"))),
54
- prev: H(M(() => import("./prevBoMShTVJ.js"))),
55
- process: H(M(() => import("./process3Kd9iKAC.js"))),
56
- rotate: H(M(() => import("./rotateHyLr1dia.js"))),
57
- fullscreen: H(M(() => import("./fullscreenBQ1YkrN_.js"))),
58
- setting: H(M(() => import("./settingCutO8H2U.js"))),
59
- tailor: H(M(() => import("./tailorCxS09ZPn.js"))),
60
- download: H(M(() => import("./downloadDy93WSTG.js"))),
61
- config: H(M(() => import("./configBFvCGNtv.js"))),
62
- arrowDown: H(M(() => import("./arrowDownGBYuSng0.js"))),
63
- arrowUp: H(M(() => import("./arrowUpBeusa4Lo.js"))),
64
- arrowLeft: H(M(() => import("./arrowLeftD5sInyYk.js"))),
65
- arrowRight: H(M(() => import("./arrowRightDZ5B3UGP.js"))),
66
- zoomIn: H(M(() => import("./zoomInRDq1eDLi.js"))),
67
- zoomOut: H(M(() => import("./zoomOutjIFNPuhT.js"))),
68
- level: H(M(() => import("./levelKqcfU9Ld.js"))),
69
- channel: H(M(() => import("./channelCex9iiR2.js"))),
70
- delete: H(M(() => import("./deleteBpbziZfN.js"))),
71
- expandLeft: H(M(() => import("./expandLeft0jc4WZXg.js"))),
72
- expandRight: H(M(() => import("./expandRightBH8iguKS.js"))),
73
- markLine: H(M(() => import("./lineOSorc3WE.js"))),
74
- markArrow: H(M(() => import("./arrowBsGolew1.js"))),
75
- markBilateral: H(M(() => import("./bilateraliBpUezXT.js"))),
76
- markRectangle: H(M(() => import("./rectangleD42v1SqR.js"))),
77
- markEllipse: H(M(() => import("./ellipseCp5zAGAh.js"))),
78
- markPolygon: H(M(() => import("./polygonCVRu0jGg.js"))),
79
- markFlag: H(M(() => import("./flagDbfaF80Z.js"))),
80
- markStar: H(M(() => import("./starB6lZrSR_.js"))),
81
- markDot: H(M(() => import("./dotCF84g70n.js"))),
82
- markFont: H(M(() => import("./fontBuHpTztq.js"))),
83
- markVoice: H(M(() => import("./voiceCifc7IPf.js")))
45
+ annotate: H(V(() => import("./annotateDa-PLWsY.js"))),
46
+ arrowCircle: H(V(() => import("./arrowCircleCiliVlpQ.js"))),
47
+ check: H(V(() => import("./checkPjfQU2X-.js"))),
48
+ dot: H(V(() => import("./dotCZmc5XHw.js"))),
49
+ flip: H(V(() => import("./flip2i6pDnun.js"))),
50
+ info: H(V(() => import("./infoBKGJei_W.js"))),
51
+ microscope: H(V(() => import("./microscopeCgg0Ym67.js"))),
52
+ move: H(V(() => import("./moveB41ZcoNK.js"))),
53
+ next: H(V(() => import("./nextD5Z4bZnT.js"))),
54
+ prev: H(V(() => import("./prevCPX6EC1A.js"))),
55
+ process: H(V(() => import("./processBAq39ThA.js"))),
56
+ rotate: H(V(() => import("./rotateCUUn3DGL.js"))),
57
+ fullscreen: H(V(() => import("./fullscreenkPWhn6hX.js"))),
58
+ setting: H(V(() => import("./settingDFygEEDe.js"))),
59
+ tailor: H(V(() => import("./tailorBzcPtJBg.js"))),
60
+ download: H(V(() => import("./downloadBPbhAwsC.js"))),
61
+ config: H(V(() => import("./configBVvJPXEW.js"))),
62
+ arrowDown: H(V(() => import("./arrowDownBiQp1p0i.js"))),
63
+ arrowUp: H(V(() => import("./arrowUpBfRL3fhE.js"))),
64
+ arrowLeft: H(V(() => import("./arrowLeftCBSwbPg8.js"))),
65
+ arrowRight: H(V(() => import("./arrowRightDxs4lV9Z.js"))),
66
+ zoomIn: H(V(() => import("./zoomInDzq-DbIa.js"))),
67
+ zoomOut: H(V(() => import("./zoomOutDnt66Lz5.js"))),
68
+ level: H(V(() => import("./level0LJ8aEMv.js"))),
69
+ channel: H(V(() => import("./channelD9KcPJ4H.js"))),
70
+ delete: H(V(() => import("./deleteBK4VaII7.js"))),
71
+ expandLeft: H(V(() => import("./expandLeftCWohfvHq.js"))),
72
+ expandRight: H(V(() => import("./expandRight-KeLeoCw.js"))),
73
+ markLine: H(V(() => import("./linerlsB9JL7.js"))),
74
+ markArrow: H(V(() => import("./arrowDjWPvUqv.js"))),
75
+ markBilateral: H(V(() => import("./bilateralxnj69N0V.js"))),
76
+ markRectangle: H(V(() => import("./rectangleqZeguu3p.js"))),
77
+ markEllipse: H(V(() => import("./ellipseGq_BKpIA.js"))),
78
+ markPolygon: H(V(() => import("./polygonCp9oWQ3l.js"))),
79
+ markFlag: H(V(() => import("./flagCNdHcaOr.js"))),
80
+ markStar: H(V(() => import("./starBXSy-NoI.js"))),
81
+ markDot: H(V(() => import("./dotDf3m-ZtS.js"))),
82
+ markFont: H(V(() => import("./fontBvWU1Zty.js"))),
83
+ markVoice: H(V(() => import("./voiceDJghWoc3.js")))
84
84
  }), X = /* @__PURE__ */ ee({
85
85
  __name: "KfbIcon",
86
86
  props: {
@@ -89,21 +89,21 @@ const cl = {
89
89
  required: !0
90
90
  }
91
91
  },
92
- setup(c) {
93
- return (e, o) => (y(), P(n(_e), Qt(Jt(e.$attrs)), {
92
+ setup(u) {
93
+ return (e, n) => (_(), P(o(_e), el(tl(e.$attrs)), {
94
94
  default: x(() => [
95
- (y(), P(xe(n(O)[c.name])))
95
+ (_(), P(xe(o(O)[u.name])))
96
96
  ]),
97
97
  _: 1
98
98
  }, 16));
99
99
  }
100
- }), dl = { class: "hzzt-kfb-tool-config" }, vl = { class: "hzzt-kfb-tool-config__title margin-b-2" }, fl = { class: "hzzt-kfb-tool-config__block flex align-items-center" }, ml = { class: "hzzt-kfb-tool-config__icon flex align-items-center justify-content-center" }, pl = { class: "margin-l-4 flex-1" }, hl = { class: "hzzt-kfb-tool-config__title" }, gl = { class: "flex align-items-center" }, wl = {
100
+ }), fl = { class: "hzzt-kfb-tool-config" }, ml = { class: "hzzt-kfb-tool-config__title margin-b-2" }, pl = { class: "hzzt-kfb-tool-config__block flex align-items-center" }, hl = { class: "hzzt-kfb-tool-config__icon flex align-items-center justify-content-center" }, gl = { class: "margin-l-4 flex-1" }, wl = { class: "hzzt-kfb-tool-config__title" }, yl = { class: "flex align-items-center" }, _l = {
101
101
  class: "margin-t-2 margin-b-2",
102
102
  style: { width: "160px" }
103
- }, yl = { class: "flex align-items-center" }, _l = {
103
+ }, bl = { class: "flex align-items-center" }, kl = {
104
104
  class: "margin-t-2 margin-b-2",
105
105
  style: { width: "160px" }
106
- }, bl = /* @__PURE__ */ ee({
106
+ }, zl = /* @__PURE__ */ ee({
107
107
  name: "KfbToolConfig",
108
108
  __name: "KfbToolConfig",
109
109
  props: {
@@ -115,8 +115,8 @@ const cl = {
115
115
  showTextModifiers: {}
116
116
  },
117
117
  emits: ["update:menus", "update:showText"],
118
- setup(c) {
119
- const e = Ee(c, "menus"), o = Ee(c, "showText"), { t } = de(), _ = B(() => e.value.filter((g) => g.name !== "line" && g.name !== "config" && g.name !== "zoom")), v = {
118
+ setup(u) {
119
+ const e = Ee(u, "menus"), n = Ee(u, "showText"), { t } = ie(), y = B(() => e.value.filter((g) => g.name !== "line" && g.name !== "config" && g.name !== "zoom")), d = {
120
120
  fullscreen: t("全屏"),
121
121
  next: t("上一张"),
122
122
  prev: t("上一张"),
@@ -131,38 +131,38 @@ const cl = {
131
131
  move: t("快速移动"),
132
132
  info: t("信息"),
133
133
  download: t("下载")
134
- }, u = J("show-keyboard", $(!1));
134
+ }, c = J("show-keyboard", $(!1));
135
135
  function i(g) {
136
- return g in v;
136
+ return g in d;
137
137
  }
138
138
  function f(g) {
139
139
  var h;
140
- return ((h = g.props) == null ? void 0 : h.text) || (i(g.name) ? v[g.name] : "");
140
+ return ((h = g.props) == null ? void 0 : h.text) || (i(g.name) ? d[g.name] : "");
141
141
  }
142
- return (g, h) => (y(), L("div", dl, [
143
- b("h3", vl, V(n(t)("显示管理")), 1),
144
- T(n(ol), { gutter: 10 }, {
142
+ return (g, h) => (_(), L("div", fl, [
143
+ b("h3", ml, E(o(t)("显示管理")), 1),
144
+ T(o(al), { gutter: 10 }, {
145
145
  default: x(() => [
146
- (y(!0), L(le, null, oe(_.value, (l) => (y(), P(n(nl), {
146
+ (_(!0), L(le, null, oe(y.value, (l) => (_(), P(o(sl), {
147
147
  key: l.name,
148
148
  span: 8
149
149
  }, {
150
150
  default: x(() => {
151
- var a, m;
151
+ var a, p;
152
152
  return [
153
- b("div", fl, [
154
- b("div", ml, [
155
- (a = l.props) != null && a.component ? (y(), P(xe((m = l.props) == null ? void 0 : m.component), {
153
+ b("div", pl, [
154
+ b("div", hl, [
155
+ (a = l.props) != null && a.component ? (_(), P(xe((p = l.props) == null ? void 0 : p.component), {
156
156
  key: 1,
157
157
  size: 24
158
- })) : (y(), P(X, {
158
+ })) : (_(), P(X, {
159
159
  key: 0,
160
160
  size: 24,
161
161
  name: l.name
162
162
  }, null, 8, ["name"]))
163
163
  ]),
164
- b("p", pl, V(f(l)), 1),
165
- T(n(Le), {
164
+ b("p", gl, E(f(l)), 1),
165
+ T(o(Le), {
166
166
  modelValue: l.show,
167
167
  "onUpdate:modelValue": (r) => l.show = r,
168
168
  "active-text": "",
@@ -177,23 +177,23 @@ const cl = {
177
177
  _: 1
178
178
  }),
179
179
  b("div", null, [
180
- b("h3", hl, V(n(t)("其他设置")), 1),
181
- b("div", gl, [
182
- b("p", wl, V(n(t)("工具列表显示切换")), 1),
183
- T(n(bt), {
184
- modelValue: o.value,
185
- "onUpdate:modelValue": h[0] || (h[0] = (l) => o.value = l)
180
+ b("h3", wl, E(o(t)("其他设置")), 1),
181
+ b("div", yl, [
182
+ b("p", _l, E(o(t)("工具列表显示切换")), 1),
183
+ T(o(bt), {
184
+ modelValue: n.value,
185
+ "onUpdate:modelValue": h[0] || (h[0] = (l) => n.value = l)
186
186
  }, {
187
187
  default: x(() => [
188
- T(n(De), { value: !0 }, {
188
+ T(o(De), { value: !0 }, {
189
189
  default: x(() => [
190
- G(V(n(t)("显示工具名称")), 1)
190
+ G(E(o(t)("显示工具名称")), 1)
191
191
  ]),
192
192
  _: 1
193
193
  }),
194
- T(n(De), { value: !1 }, {
194
+ T(o(De), { value: !1 }, {
195
195
  default: x(() => [
196
- G(V(n(t)("隐藏工具名称")), 1)
196
+ G(E(o(t)("隐藏工具名称")), 1)
197
197
  ]),
198
198
  _: 1
199
199
  })
@@ -201,22 +201,22 @@ const cl = {
201
201
  _: 1
202
202
  }, 8, ["modelValue"])
203
203
  ]),
204
- b("div", yl, [
205
- b("p", _l, V(n(t)("小键盘显示切换")), 1),
206
- T(n(bt), {
207
- modelValue: n(u),
208
- "onUpdate:modelValue": h[1] || (h[1] = (l) => Ve(u) ? u.value = l : null)
204
+ b("div", bl, [
205
+ b("p", kl, E(o(t)("小键盘显示切换")), 1),
206
+ T(o(bt), {
207
+ modelValue: o(c),
208
+ "onUpdate:modelValue": h[1] || (h[1] = (l) => Ve(c) ? c.value = l : null)
209
209
  }, {
210
210
  default: x(() => [
211
- T(n(De), { value: !0 }, {
211
+ T(o(De), { value: !0 }, {
212
212
  default: x(() => [
213
- G(V(n(t)("显示小键盘")), 1)
213
+ G(E(o(t)("显示小键盘")), 1)
214
214
  ]),
215
215
  _: 1
216
216
  }),
217
- T(n(De), { value: !1 }, {
217
+ T(o(De), { value: !1 }, {
218
218
  default: x(() => [
219
- G(V(n(t)("隐藏小键盘")), 1)
219
+ G(E(o(t)("隐藏小键盘")), 1)
220
220
  ]),
221
221
  _: 1
222
222
  })
@@ -227,7 +227,7 @@ const cl = {
227
227
  ])
228
228
  ]));
229
229
  }
230
- }), kl = { class: "hzzt-kfb-toolbox" }, zl = { class: "hzzt-kfb-toolbox__component" }, Ae = /* @__PURE__ */ ee({
230
+ }), Cl = { class: "hzzt-kfb-toolbox" }, Tl = { class: "hzzt-kfb-toolbox__component" }, Re = /* @__PURE__ */ ee({
231
231
  name: "KfbToolbox",
232
232
  __name: "KfbToolbox",
233
233
  props: {
@@ -237,129 +237,129 @@ const cl = {
237
237
  showMenuText: { type: Boolean }
238
238
  },
239
239
  emits: ["tool"],
240
- setup(c, { emit: e }) {
241
- const o = c, t = e, { t: _ } = de(), v = {
242
- prev: _("上一张"),
243
- next: _("下一张"),
244
- config: _("配置"),
245
- info: _("信息"),
246
- flip: _("镜像"),
247
- tailor: _("截图")
248
- }, u = J("kfbViewRef"), i = $(!1), f = $(o.showMenuText), g = $(a(o.menu)), h = {
249
- fullscreen: M(() => import("./fullscreenBiMgHdq_.js")),
250
- line: M(() => import("./lineBIoJpzbf.js")),
251
- setting: M(() => import("./settingonwvagGo.js")),
252
- rotate: M(() => import("./rotateDu_mkWYc.js")),
253
- dot: M(() => import("./dotD_biewxL.js")),
254
- annotate: M(() => import("./annotateBjK38kC5.js")),
255
- process: M(() => import("./processBtDhC5cN.js")),
256
- microscope: M(() => import("./microscopeD9m8Vj5p.js")),
257
- move: M(() => import("./move67AZY9GV.js")),
258
- custom: M(() => import("./customCjYE_yPK.js")),
259
- zoom: M(() => import("./zoomBFx-vjsG.js")),
260
- download: M(() => import("./downloadC8nKUjq6.js"))
240
+ setup(u, { emit: e }) {
241
+ const n = u, t = e, { t: y } = ie(), d = {
242
+ prev: y("上一张"),
243
+ next: y("下一张"),
244
+ config: y("配置"),
245
+ info: y("信息"),
246
+ flip: y("镜像"),
247
+ tailor: y("截图")
248
+ }, c = J("kfbViewRef"), i = $(!1), f = $(n.showMenuText), g = $(a(n.menu)), h = {
249
+ fullscreen: V(() => import("./fullscreenilcy7g6R.js")),
250
+ line: V(() => import("./lineBIoJpzbf.js")),
251
+ setting: V(() => import("./settingDWDMPbdO.js")),
252
+ rotate: V(() => import("./rotateCEBfde_V.js")),
253
+ dot: V(() => import("./dotCZFwvsGJ.js")),
254
+ annotate: V(() => import("./annotateB3lFxMEo.js")),
255
+ process: V(() => import("./processnL7rVPu0.js")),
256
+ microscope: V(() => import("./microscopeCLmgCovH.js")),
257
+ move: V(() => import("./moveBGpoQ1-D.js")),
258
+ custom: V(() => import("./customBqUoJeja.js")),
259
+ zoom: V(() => import("./zoomqK-uW5RK.js")),
260
+ download: V(() => import("./downloadGVNhdAbp.js"))
261
261
  }, l = B(() => g.value.filter((r) => r.show !== !1).map((r) => ({
262
262
  component: h[r.name],
263
263
  props: r.props,
264
264
  slots: r.slots
265
265
  })));
266
- ne(() => o.menu, (r) => {
266
+ ne(() => n.menu, (r) => {
267
267
  g.value = a(r);
268
268
  });
269
269
  function a(r) {
270
270
  return r.map((s) => {
271
- const p = typeof s == "string" ? s : s.name;
272
- return v[p] ? {
271
+ const m = typeof s == "string" ? s : s.name;
272
+ return d[m] ? {
273
273
  name: "custom",
274
274
  show: typeof s == "string" ? !0 : s.show !== !1,
275
275
  props: me(j({
276
- text: v[p]
276
+ text: d[m]
277
277
  }, typeof s == "string" ? {} : s.props), {
278
- name: p,
279
- component: el(X, {
280
- name: p
278
+ name: m,
279
+ component: ll(X, {
280
+ name: m
281
281
  })
282
282
  })
283
- } : p === "process" ? {
284
- name: p,
283
+ } : m === "process" ? {
284
+ name: m,
285
285
  props: typeof s == "string" ? {
286
- process: o.process
286
+ process: n.process
287
287
  } : j({
288
- process: o.process
288
+ process: n.process
289
289
  }, s.props),
290
290
  slots: typeof s == "string" ? void 0 : s.slots,
291
291
  show: typeof s == "string" ? !0 : s.show !== !1
292
- } : p === "microscope" ? {
293
- name: p,
292
+ } : m === "microscope" ? {
293
+ name: m,
294
294
  props: typeof s == "string" ? {
295
- process: o.process
295
+ process: n.process
296
296
  } : j({
297
- microscope: o.microscope
297
+ microscope: n.microscope
298
298
  }, s.props),
299
299
  slots: typeof s == "string" ? void 0 : s.slots,
300
300
  show: typeof s == "string" ? !0 : s.show !== !1
301
301
  } : {
302
- name: p,
302
+ name: m,
303
303
  props: typeof s == "string" ? {} : s.props,
304
304
  slots: typeof s == "string" ? void 0 : s.slots,
305
305
  show: typeof s == "string" ? !0 : s.show !== !1
306
306
  };
307
307
  });
308
308
  }
309
- function m(r, s) {
310
- const p = {
311
- annotate: () => u.value.startDraw(s),
312
- tailor: () => u.value.shotScreen(s),
313
- process: () => u.value.forceRedraw(s),
314
- microscope: () => u.value.scopeChange(s),
315
- move: () => u.value.fastMove(s),
316
- endDraw: () => u.value.endDraw(),
317
- info: () => u.value.info(),
318
- zoom: () => u.value.zoomTo(s),
319
- flip: () => u.value.toggleFlip(s),
309
+ function p(r, s) {
310
+ const m = {
311
+ annotate: () => c.value.startDraw(s),
312
+ tailor: () => c.value.shotScreen(s),
313
+ process: () => c.value.forceRedraw(s),
314
+ microscope: () => c.value.scopeChange(s),
315
+ move: () => c.value.fastMove(s),
316
+ endDraw: () => c.value.endDraw(),
317
+ info: () => c.value.info(),
318
+ zoom: () => c.value.zoomTo(s),
319
+ flip: () => c.value.toggleFlip(s),
320
320
  config: () => i.value = !0,
321
- grid: () => u.value.updateGrid(s),
322
- ruler: () => u.value.updateGrid(s),
323
- graduation: () => u.value.updateGraduation(s),
324
- navigator: () => u.value.updateNavigator(s),
321
+ grid: () => c.value.updateGrid(s),
322
+ ruler: () => c.value.updateGrid(s),
323
+ graduation: () => c.value.updateGraduation(s),
324
+ navigator: () => c.value.updateNavigator(s),
325
325
  tool: () => {
326
- u.value.updateGrid({
326
+ c.value.updateGrid({
327
327
  show: s
328
- }), u.value.updateGraduation({
328
+ }), c.value.updateGraduation({
329
329
  show: s
330
- }), u.value.updateGrid({
330
+ }), c.value.updateGrid({
331
331
  ruler: s
332
- }), u.value.updateNavigator(s);
332
+ }), c.value.updateNavigator(s);
333
333
  }
334
334
  };
335
- p[r] ? p[r]() : t("tool", r, s);
335
+ m[r] ? m[r]() : t("tool", r, s);
336
336
  }
337
- return re("show-text", f), (r, s) => (y(), L("div", kl, [
338
- ce(r.$slots, "left"),
339
- b("div", zl, [
340
- (y(!0), L(le, null, oe(l.value, (p, w) => (y(), P(xe(p.component), Ke({ ref_for: !0 }, p.props, {
337
+ return ue("show-text", f), (r, s) => (_(), L("div", Cl, [
338
+ de(r.$slots, "left"),
339
+ b("div", Tl, [
340
+ (_(!0), L(le, null, oe(l.value, (m, w) => (_(), P(xe(m.component), Ke({ ref_for: !0 }, m.props, {
341
341
  key: w,
342
- onTool: m
342
+ onTool: p
343
343
  }), {
344
344
  default: x(() => [
345
- p.slots ? (y(!0), L(le, { key: 0 }, oe(p.slots, (k) => (y(), P(xe(k)))), 256)) : A("", !0)
345
+ m.slots ? (_(!0), L(le, { key: 0 }, oe(m.slots, (k) => (_(), P(xe(k)))), 256)) : A("", !0)
346
346
  ]),
347
347
  _: 2
348
348
  }, 1040))), 128))
349
349
  ]),
350
- ce(r.$slots, "right"),
351
- T(n(je), {
350
+ de(r.$slots, "right"),
351
+ T(o(je), {
352
352
  modelValue: i.value,
353
- "onUpdate:modelValue": s[2] || (s[2] = (p) => i.value = p),
353
+ "onUpdate:modelValue": s[2] || (s[2] = (m) => i.value = m),
354
354
  width: "800px",
355
- title: n(_)("阅片工具设置中心")
355
+ title: o(y)("阅片工具设置中心")
356
356
  }, {
357
357
  default: x(() => [
358
- T(bl, {
358
+ T(zl, {
359
359
  menus: g.value,
360
- "onUpdate:menus": s[0] || (s[0] = (p) => g.value = p),
360
+ "onUpdate:menus": s[0] || (s[0] = (m) => g.value = m),
361
361
  showText: f.value,
362
- "onUpdate:showText": s[1] || (s[1] = (p) => f.value = p)
362
+ "onUpdate:showText": s[1] || (s[1] = (m) => f.value = m)
363
363
  }, null, 8, ["menus", "showText"])
364
364
  ]),
365
365
  _: 1
@@ -380,19 +380,19 @@ const cl = {
380
380
  l: 0,
381
381
  ga: 1
382
382
  };
383
- function Cl(c) {
384
- const e = ot(j(j({}, $t), c.process));
385
- ne(() => c.process, (v) => {
386
- _(v);
383
+ function $l(u) {
384
+ const e = ot(j(j({}, $t), u.process));
385
+ ne(() => u.process, (d) => {
386
+ y(d);
387
387
  });
388
- const o = B(() => {
389
- const v = [
388
+ const n = B(() => {
389
+ const d = [
390
390
  1 + e.r + e.l + 0.5 * e.c,
391
391
  0,
392
392
  0,
393
393
  0,
394
394
  -0.25 * e.c
395
- ], u = [
395
+ ], c = [
396
396
  0,
397
397
  1 + e.g + e.l + 0.5 * e.c,
398
398
  0,
@@ -405,40 +405,40 @@ function Cl(c) {
405
405
  0,
406
406
  -0.25 * e.c
407
407
  ], f = [0, 0, 0, 1, 0];
408
- return `${v.join(" ")}
409
- ${u.join(" ")}
408
+ return `${d.join(" ")}
409
+ ${c.join(" ")}
410
410
  ${i.join(" ")}
411
411
  ${f.join(" ")}`;
412
412
  }), t = B(() => String(1 + e.s));
413
- function _(v) {
414
- v && Object.assign(e, v);
413
+ function y(d) {
414
+ d && Object.assign(e, d);
415
415
  }
416
416
  return {
417
417
  imageProcess: e,
418
- matrixValues: o,
418
+ matrixValues: n,
419
419
  saturateValues: t,
420
- forceRedraw: _
420
+ forceRedraw: y
421
421
  };
422
422
  }
423
- function Tl(c, e) {
424
- function o() {
425
- e.value.$on(ue.events.EVENT_TAILORING_SCREENSHOT, t);
423
+ function Ll(u, e) {
424
+ function n() {
425
+ e.value.$on(ce.events.EVENT_TAILORING_SCREENSHOT, t);
426
426
  }
427
- function t({ base64: u, region: i }) {
427
+ function t({ base64: c, region: i }) {
428
428
  if (window.ClipboardItem && (navigator != null && navigator.clipboard)) {
429
- const f = _(u, "image/png");
429
+ const f = y(c, "image/png");
430
430
  navigator.clipboard.write([
431
431
  new window.ClipboardItem({
432
432
  [f.type]: f
433
433
  })
434
434
  ]);
435
435
  }
436
- c("tool", "screen-shot", { base64: u, region: i });
436
+ u("tool", "screen-shot", { base64: c, region: i });
437
437
  }
438
- function _(u, i) {
439
- var a, m;
440
- const f = u.split(",");
441
- (m = (a = f[0]) == null ? void 0 : a.match(/:(.*?);/)) == null || m[1];
438
+ function y(c, i) {
439
+ var a, p;
440
+ const f = c.split(",");
441
+ (p = (a = f[0]) == null ? void 0 : a.match(/:(.*?);/)) == null || p[1];
442
442
  const g = atob(f == null ? void 0 : f[1]);
443
443
  let h = g.length;
444
444
  const l = new Uint8Array(h);
@@ -446,9 +446,9 @@ function Tl(c, e) {
446
446
  l[h] = g.charCodeAt(h);
447
447
  return new Blob([l], { type: i });
448
448
  }
449
- function v(u) {
449
+ function d(c) {
450
450
  const { width: i, height: f } = e.value.$options;
451
- u ? i > f ? e.value.tailoring.init(
451
+ c ? i > f ? e.value.tailoring.init(
452
452
  {
453
453
  left: (i - f) / 2,
454
454
  top: 0,
@@ -475,33 +475,33 @@ function Tl(c, e) {
475
475
  );
476
476
  }
477
477
  return {
478
- tailorEvent: o,
479
- shotScreen: v
478
+ tailorEvent: n,
479
+ shotScreen: d
480
480
  };
481
481
  }
482
- const $l = ["onClick"], Ll = ["src"], xl = {
482
+ const xl = ["onClick"], El = ["src"], Vl = {
483
483
  key: 2,
484
484
  style: { width: "18px" },
485
485
  class: "margin-r-3"
486
- }, El = {
486
+ }, Ml = {
487
487
  key: 1,
488
488
  class: "hzzt-kfb-sub-menu"
489
- }, Vl = ["onClick"], Ml = { class: "flex align-items-center" }, Il = ["src"], Sl = {
489
+ }, Il = ["onClick"], Sl = { class: "flex align-items-center" }, Hl = ["src"], Pl = {
490
490
  key: 2,
491
491
  style: { width: "18px" },
492
492
  class: "margin-r-2"
493
- }, Hl = /* @__PURE__ */ ee({
493
+ }, Rl = /* @__PURE__ */ ee({
494
494
  __name: "KfbMenu",
495
495
  props: {
496
496
  menus: {}
497
497
  },
498
498
  emits: ["tool"],
499
- setup(c, { emit: e }) {
500
- const o = $({
499
+ setup(u, { emit: e }) {
500
+ const n = $({
501
501
  top: "0",
502
502
  left: "0",
503
503
  display: "none"
504
- }), t = J("kfbView", $({})), _ = J("currentLabel"), v = c, u = e, { t: i } = de(), f = [
504
+ }), t = J("kfbView", $({})), y = J("currentLabel"), d = u, c = e, { t: i } = ie(), f = [
505
505
  {
506
506
  label: i("直线"),
507
507
  value: "line",
@@ -559,11 +559,11 @@ const $l = ["onClick"], Ll = ["src"], xl = {
559
559
  }
560
560
  ], g = B(() => {
561
561
  var r;
562
- return _ != null && _.value ? [{
562
+ return y != null && y.value ? [{
563
563
  label: i("删除"),
564
564
  value: "delete",
565
565
  icon: O.value.delete
566
- }] : (r = v.menus) != null && r.length ? v.menus.map((s) => s.value === "annotate" ? me(j({}, s), {
566
+ }] : (r = d.menus) != null && r.length ? d.menus.map((s) => s.value === "annotate" ? me(j({}, s), {
567
567
  children: f
568
568
  }) : me(j({}, s), {
569
569
  icon: s.icon || O.value[s.value]
@@ -613,115 +613,115 @@ const $l = ["onClick"], Ll = ["src"], xl = {
613
613
  (r = t.value) != null && r.viewer && (t.value.viewer.removeHandler("canvas-contextmenu", h), t.value.viewer.removeHandler("canvas-click", l)), document.body.removeEventListener("click", l);
614
614
  });
615
615
  function h(r) {
616
- r.preventDefault = !0, o.value.top = `${r.position.y}px`, o.value.left = `${r.position.x}px`, o.value.display === "block" ? o.value.display = "none" : o.value.display = "block";
616
+ r.preventDefault = !0, n.value.top = `${r.position.y}px`, n.value.left = `${r.position.x}px`, n.value.display === "block" ? n.value.display = "none" : n.value.display = "block";
617
617
  }
618
618
  function l() {
619
- o.value.display = "none";
619
+ n.value.display = "none";
620
620
  }
621
621
  function a(r, s) {
622
- r.children || ((s == null ? void 0 : s.value) === "annotate" ? u("tool", "annotate", {
622
+ r.children || ((s == null ? void 0 : s.value) === "annotate" ? c("tool", "annotate", {
623
623
  tool: r.value.substring(0, 1).toLocaleUpperCase() + r.value.substring(1),
624
624
  once: !0
625
- }) : r.value === "tailor_now" ? u("tool", "tailor", !0) : u("tool", r.value), l());
625
+ }) : r.value === "tailor_now" ? c("tool", "tailor", !0) : c("tool", r.value), l());
626
626
  }
627
- function m(r) {
627
+ function p(r) {
628
628
  return r == null || typeof r != "object" && typeof r != "function" ? !1 : (
629
629
  // 函数式组件
630
630
  typeof r == "function" || // 对象式组件
631
631
  "render" in r || "setup" in r
632
632
  );
633
633
  }
634
- return (r, s) => (y(), L("div", {
634
+ return (r, s) => (_(), L("div", {
635
635
  class: "hzzt-kfb-menu",
636
- style: W(o.value)
636
+ style: Z(n.value)
637
637
  }, [
638
- (y(!0), L(le, null, oe(g.value, (p, w) => (y(), L("div", {
638
+ (_(!0), L(le, null, oe(g.value, (m, w) => (_(), L("div", {
639
639
  key: w,
640
640
  class: "hzzt-kfb-menu-item"
641
641
  }, [
642
642
  b("div", {
643
643
  class: "flex align-items-center",
644
- onClick: (k) => a(p)
644
+ onClick: (k) => a(m)
645
645
  }, [
646
- m(p.icon) ? (y(), P(n(_e), {
646
+ p(m.icon) ? (_(), P(o(_e), {
647
647
  key: 0,
648
648
  class: "margin-r-3",
649
649
  size: 18
650
650
  }, {
651
651
  default: x(() => [
652
- (y(), P(xe(p.icon)))
652
+ (_(), P(xe(m.icon)))
653
653
  ]),
654
654
  _: 2
655
- }, 1024)) : p.icon ? (y(), L("img", {
655
+ }, 1024)) : m.icon ? (_(), L("img", {
656
656
  key: 1,
657
657
  style: { width: "18px" },
658
658
  class: "margin-r-2",
659
- src: p.icon
660
- }, null, 8, Ll)) : (y(), L("div", xl)),
661
- b("span", null, V(p.label), 1)
662
- ], 8, $l),
663
- p.children ? (y(), P(X, {
659
+ src: m.icon
660
+ }, null, 8, El)) : (_(), L("div", Vl)),
661
+ b("span", null, E(m.label), 1)
662
+ ], 8, xl),
663
+ m.children ? (_(), P(X, {
664
664
  key: 0,
665
665
  name: "arrowRight",
666
666
  class: "margin-r-2",
667
667
  size: 14
668
668
  })) : A("", !0),
669
- p.children ? (y(), L("div", El, [
670
- (y(!0), L(le, null, oe(p.children, (k, d) => (y(), L("div", {
671
- key: d,
669
+ m.children ? (_(), L("div", Ml, [
670
+ (_(!0), L(le, null, oe(m.children, (k, v) => (_(), L("div", {
671
+ key: v,
672
672
  class: "hzzt-kfb-menu-item",
673
- onClick: (E) => a(k, p)
673
+ onClick: (M) => a(k, m)
674
674
  }, [
675
- b("div", Ml, [
676
- m(k.icon) ? (y(), P(n(_e), {
675
+ b("div", Sl, [
676
+ p(k.icon) ? (_(), P(o(_e), {
677
677
  key: 0,
678
678
  class: "margin-r-2",
679
679
  size: 18
680
680
  }, {
681
681
  default: x(() => [
682
- (y(), P(xe(k.icon)))
682
+ (_(), P(xe(k.icon)))
683
683
  ]),
684
684
  _: 2
685
- }, 1024)) : k.icon ? (y(), L("img", {
685
+ }, 1024)) : k.icon ? (_(), L("img", {
686
686
  key: 1,
687
687
  style: { width: "18px" },
688
688
  class: "margin-r-2",
689
689
  src: k.icon
690
- }, null, 8, Il)) : (y(), L("div", Sl)),
691
- b("span", null, V(k.label), 1)
690
+ }, null, 8, Hl)) : (_(), L("div", Pl)),
691
+ b("span", null, E(k.label), 1)
692
692
  ])
693
- ], 8, Vl))), 128))
693
+ ], 8, Il))), 128))
694
694
  ])) : A("", !0)
695
695
  ]))), 128))
696
696
  ], 4));
697
697
  }
698
- }), he = (c, e) => {
699
- const o = c.__vccOpts || c;
700
- for (const [t, _] of e)
701
- o[t] = _;
702
- return o;
703
- }, Pl = /* @__PURE__ */ he(Hl, [["__scopeId", "data-v-414722d0"]]), Rl = {
698
+ }), he = (u, e) => {
699
+ const n = u.__vccOpts || u;
700
+ for (const [t, y] of e)
701
+ n[t] = y;
702
+ return n;
703
+ }, Al = /* @__PURE__ */ he(Rl, [["__scopeId", "data-v-414722d0"]]), Nl = {
704
704
  key: 0,
705
705
  class: "hzzt-kfb-microscope"
706
- }, Al = /* @__PURE__ */ ee({
706
+ }, Bl = /* @__PURE__ */ ee({
707
707
  __name: "KfbMicroscope",
708
- props: /* @__PURE__ */ tl({
708
+ props: /* @__PURE__ */ ol({
709
709
  shape: {},
710
710
  width: {},
711
711
  color: {},
712
712
  borderWidth: {}
713
713
  }, j({}, lt)),
714
- setup(c, { expose: e }) {
715
- const o = c, t = ot(j(j({}, lt), o));
716
- ne(() => o, (l) => {
714
+ setup(u, { expose: e }) {
715
+ const n = u, t = ot(j(j({}, lt), n));
716
+ ne(() => n, (l) => {
717
717
  h({ name: "change", value: l });
718
718
  });
719
- const _ = $("200px"), v = $(!1), u = B(() => ({
719
+ const y = $("200px"), d = $(!1), c = B(() => ({
720
720
  borderRadius: t.shape,
721
721
  borderColor: t.color,
722
722
  borderWidth: t.borderWidth + "px",
723
- width: _.value,
724
- height: _.value
723
+ width: y.value,
724
+ height: y.value
725
725
  })), i = J("kfbView", $({}));
726
726
  ne(() => i.value, (l, a) => {
727
727
  a != null && a.viewer && a.viewer.removeHandler("zoom", f), l != null && l.viewer && l.viewer.addHandler("zoom", f);
@@ -738,47 +738,47 @@ const $l = ["onClick"], Ll = ["src"], xl = {
738
738
  }, 100);
739
739
  }
740
740
  function g(l) {
741
- let { x: a, y: m } = i.value.viewer.viewport.getCenter(!0);
742
- l === "top" ? m -= 6e-3 : l === "bottom" ? m += 6e-3 : l === "left" ? a -= 6e-3 : l === "right" && (a += 6e-3), i.value.area.moveToLabel({ x: a, y: m });
741
+ let { x: a, y: p } = i.value.viewer.viewport.getCenter(!0);
742
+ l === "top" ? p -= 6e-3 : l === "bottom" ? p += 6e-3 : l === "left" ? a -= 6e-3 : l === "right" && (a += 6e-3), i.value.area.moveToLabel({ x: a, y: p });
743
743
  }
744
744
  function h({ name: l, value: a }) {
745
745
  var r, s;
746
- const m = (s = (r = i.value.$options) == null ? void 0 : r.pxConversion) == null ? void 0 : s.imageCapRes;
746
+ const p = (s = (r = i.value.$options) == null ? void 0 : r.pxConversion) == null ? void 0 : s.imageCapRes;
747
747
  if (l === "visible") {
748
- if (v.value = a, a) {
749
- const p = i.value.area.imageToViewerElementRectangle(
748
+ if (d.value = a, a) {
749
+ const m = i.value.area.imageToViewerElementRectangle(
750
750
  {
751
751
  x: 0,
752
752
  y: 0,
753
- width: t.width * 1e3 / m,
754
- height: t.width * 1e3 / m
753
+ width: t.width * 1e3 / p,
754
+ height: t.width * 1e3 / p
755
755
  }
756
756
  );
757
- _.value = p.width + "px";
757
+ y.value = m.width + "px";
758
758
  }
759
759
  } else if (l === "change") {
760
760
  Object.assign(t, a);
761
- const p = i.value.area.imageToViewerElementRectangle(
761
+ const m = i.value.area.imageToViewerElementRectangle(
762
762
  {
763
763
  x: 0,
764
764
  y: 0,
765
- width: t.width * 1e3 / m,
766
- height: t.width * 1e3 / m
765
+ width: t.width * 1e3 / p,
766
+ height: t.width * 1e3 / p
767
767
  }
768
768
  );
769
- _.value = p.width + "px";
769
+ y.value = m.width + "px";
770
770
  }
771
771
  }
772
772
  return e({
773
773
  scopeChange: h
774
- }), (l, a) => v.value ? (y(), L("div", Rl, [
774
+ }), (l, a) => d.value ? (_(), L("div", Nl, [
775
775
  b("div", {
776
776
  class: "hzzt-kfb-microscope__container",
777
- style: W(u.value)
777
+ style: Z(c.value)
778
778
  }, null, 4),
779
779
  b("div", {
780
780
  class: "hzzt-kfb-microscope__top",
781
- onClick: a[0] || (a[0] = (m) => g("top"))
781
+ onClick: a[0] || (a[0] = (p) => g("top"))
782
782
  }, [
783
783
  T(X, {
784
784
  size: "24",
@@ -787,7 +787,7 @@ const $l = ["onClick"], Ll = ["src"], xl = {
787
787
  ]),
788
788
  b("div", {
789
789
  class: "hzzt-kfb-microscope__bottom",
790
- onClick: a[1] || (a[1] = (m) => g("bottom"))
790
+ onClick: a[1] || (a[1] = (p) => g("bottom"))
791
791
  }, [
792
792
  T(X, {
793
793
  size: "24",
@@ -796,7 +796,7 @@ const $l = ["onClick"], Ll = ["src"], xl = {
796
796
  ]),
797
797
  b("div", {
798
798
  class: "hzzt-kfb-microscope__left",
799
- onClick: a[2] || (a[2] = (m) => g("left"))
799
+ onClick: a[2] || (a[2] = (p) => g("left"))
800
800
  }, [
801
801
  T(X, {
802
802
  size: "24",
@@ -805,7 +805,7 @@ const $l = ["onClick"], Ll = ["src"], xl = {
805
805
  ]),
806
806
  b("div", {
807
807
  class: "hzzt-kfb-microscope__right",
808
- onClick: a[3] || (a[3] = (m) => g("right"))
808
+ onClick: a[3] || (a[3] = (p) => g("right"))
809
809
  }, [
810
810
  T(X, {
811
811
  size: "24",
@@ -814,13 +814,13 @@ const $l = ["onClick"], Ll = ["src"], xl = {
814
814
  ])
815
815
  ])) : A("", !0);
816
816
  }
817
- }), Nl = /* @__PURE__ */ he(Al, [["__scopeId", "data-v-e8b36101"]]), Bl = { class: "hzzt-kfb-label flex column" }, Dl = { class: "hzzt-kfb-label__img flex justify-content-center" }, Ul = ["src"], Fl = { class: "ellipsis flex-1" }, Kl = {
817
+ }), Dl = /* @__PURE__ */ he(Bl, [["__scopeId", "data-v-e8b36101"]]), Ul = { class: "hzzt-kfb-label flex column" }, Fl = { class: "hzzt-kfb-label__img flex justify-content-center" }, Kl = ["src"], jl = { class: "ellipsis flex-1" }, Ol = {
818
818
  class: "flex margin-b-4",
819
819
  style: { width: "100%" }
820
- }, jl = {
820
+ }, Gl = {
821
821
  class: "flex margin overflow-hidden",
822
822
  style: { height: "132px" }
823
- }, Ol = ["src"], Gl = ["src"], Wl = /* @__PURE__ */ ee({
823
+ }, Wl = ["src"], Zl = ["src"], ql = /* @__PURE__ */ ee({
824
824
  __name: "KfbLabel",
825
825
  props: {
826
826
  info: {},
@@ -828,136 +828,136 @@ const $l = ["onClick"], Ll = ["src"], xl = {
828
828
  pathologyHandle: { type: Function }
829
829
  },
830
830
  emits: ["tool"],
831
- setup(c, { emit: e }) {
832
- const { t: o } = de(), t = c, _ = e, v = $(!0), u = $(!1), i = B(() => t.slide.pathology_id ? o("修改病理号") : o("绑定病理号"));
831
+ setup(u, { emit: e }) {
832
+ const { t: n } = ie(), t = u, y = e, d = $(!0), c = $(!1), i = B(() => t.slide.pathology_id ? n("修改病理号") : n("绑定病理号"));
833
833
  function f() {
834
- t.slide.angle || (t.slide.angle = 0), t.slide.angle += 90, t.slide.angle > 360 && (t.slide.angle = t.slide.angle % 360), _("tool", "rotate", t.slide.angle);
834
+ 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);
835
835
  }
836
836
  function g() {
837
- u.value = !0;
837
+ c.value = !0;
838
838
  }
839
839
  function h() {
840
840
  t.pathologyHandle && t.pathologyHandle(t.slide).then(() => {
841
- u.value = !1;
841
+ c.value = !1;
842
842
  });
843
843
  }
844
- return (l, a) => (y(), L("div", Bl, [
845
- $e(b("div", { class: "hzzt-kfb-label__title" }, V(n(o)(`点击标签旋转${l.pathologyHandle ? ",点击病理号重绑" : ""}`)), 513), [
846
- [Re, v.value]
844
+ return (l, a) => (_(), L("div", Ul, [
845
+ $e(b("div", { class: "hzzt-kfb-label__title" }, E(o(n)(`点击标签旋转${l.pathologyHandle ? ",点击病理号重绑" : ""}`)), 513), [
846
+ [Pe, d.value]
847
847
  ]),
848
- $e(b("div", Dl, [
848
+ $e(b("div", Fl, [
849
849
  b("img", {
850
850
  src: l.info.labelImg,
851
- style: W({ transform: `rotate(${l.slide.angle}deg)` }),
851
+ style: Z({ transform: `rotate(${l.slide.angle}deg)` }),
852
852
  onClick: f
853
- }, null, 12, Ul)
853
+ }, null, 12, Kl)
854
854
  ], 512), [
855
- [Re, v.value]
855
+ [Pe, d.value]
856
856
  ]),
857
- l.pathologyHandle ? $e((y(), L("div", {
857
+ l.pathologyHandle ? $e((_(), L("div", {
858
858
  key: 0,
859
859
  class: "hzzt-kfb-label__pathology flex align-items-center justify-content-between",
860
860
  onClick: g
861
861
  }, [
862
- b("span", Fl, V(l.slide.pathology_number), 1),
862
+ b("span", jl, E(l.slide.pathology_number), 1),
863
863
  T(X, {
864
864
  size: "14",
865
865
  name: "annotate"
866
866
  })
867
867
  ], 512)), [
868
- [Re, v.value]
868
+ [Pe, d.value]
869
869
  ]) : A("", !0),
870
870
  b("span", {
871
- onClick: a[0] || (a[0] = (m) => v.value = !v.value),
872
- style: W({
873
- transform: `translateY(${v.value ? "-50%" : 0})`
871
+ onClick: a[0] || (a[0] = (p) => d.value = !d.value),
872
+ style: Z({
873
+ transform: `translateY(${d.value ? "-50%" : 0})`
874
874
  }),
875
875
  class: "hzzt-kfb-label__expend flex align-items-center justify-content-center"
876
876
  }, [
877
- v.value ? (y(), P(X, {
877
+ d.value ? (_(), P(X, {
878
878
  key: 0,
879
879
  size: "10",
880
880
  name: "arrowLeft"
881
- })) : (y(), P(X, {
881
+ })) : (_(), P(X, {
882
882
  key: 1,
883
883
  size: "10",
884
884
  name: "arrowRight"
885
885
  }))
886
886
  ], 4),
887
- T(n(je), {
888
- modelValue: u.value,
889
- "onUpdate:modelValue": a[5] || (a[5] = (m) => u.value = m),
887
+ T(o(je), {
888
+ modelValue: c.value,
889
+ "onUpdate:modelValue": a[5] || (a[5] = (p) => c.value = p),
890
890
  "append-to-body": !0,
891
891
  title: i.value,
892
892
  width: "450px"
893
893
  }, {
894
894
  footer: x(() => [
895
- T(n(ge), {
896
- onClick: a[4] || (a[4] = (m) => u.value = !1)
895
+ T(o(ge), {
896
+ onClick: a[4] || (a[4] = (p) => c.value = !1)
897
897
  }, {
898
898
  default: x(() => [
899
- G(V(n(o)("取消")), 1)
899
+ G(E(o(n)("取消")), 1)
900
900
  ]),
901
901
  _: 1
902
902
  }),
903
- T(n(ge), {
903
+ T(o(ge), {
904
904
  type: "primary",
905
905
  onClick: h
906
906
  }, {
907
907
  default: x(() => [
908
- G(V(n(o)("确认")), 1)
908
+ G(E(o(n)("确认")), 1)
909
909
  ]),
910
910
  _: 1
911
911
  })
912
912
  ]),
913
913
  default: x(() => [
914
- b("div", Kl, [
915
- b("div", jl, [
914
+ b("div", Ol, [
915
+ b("div", Gl, [
916
916
  b("img", {
917
917
  src: l.slide.labelImg
918
- }, null, 8, Ol),
918
+ }, null, 8, Wl),
919
919
  b("img", {
920
920
  src: l.slide.previewImg
921
- }, null, 8, Gl)
921
+ }, null, 8, Zl)
922
922
  ])
923
923
  ]),
924
- T(n(tt), { class: "margin-t-2" }, {
924
+ T(o(tt), { class: "margin-t-2" }, {
925
925
  default: x(() => [
926
- T(n(se), {
927
- label: n(o)("病理号")
926
+ T(o(se), {
927
+ label: o(n)("病理号")
928
928
  }, {
929
929
  default: x(() => [
930
- T(n(et), {
930
+ T(o(et), {
931
931
  modelValue: l.slide.pathology_number,
932
- "onUpdate:modelValue": a[1] || (a[1] = (m) => l.slide.pathology_number = m),
933
- placeholder: n(o)("输入病理号"),
932
+ "onUpdate:modelValue": a[1] || (a[1] = (p) => l.slide.pathology_number = p),
933
+ placeholder: o(n)("输入病理号"),
934
934
  clearable: ""
935
935
  }, null, 8, ["modelValue", "placeholder"])
936
936
  ]),
937
937
  _: 1
938
938
  }, 8, ["label"]),
939
- T(n(se), {
940
- label: n(o)("蜡块号")
939
+ T(o(se), {
940
+ label: o(n)("蜡块号")
941
941
  }, {
942
942
  default: x(() => [
943
- T(n(et), {
943
+ T(o(et), {
944
944
  modelValue: l.slide.paraffin_block_number,
945
- "onUpdate:modelValue": a[2] || (a[2] = (m) => l.slide.paraffin_block_number = m),
946
- placeholder: n(o)("输入蜡块号"),
945
+ "onUpdate:modelValue": a[2] || (a[2] = (p) => l.slide.paraffin_block_number = p),
946
+ placeholder: o(n)("输入蜡块号"),
947
947
  clearable: ""
948
948
  }, null, 8, ["modelValue", "placeholder"])
949
949
  ]),
950
950
  _: 1
951
951
  }, 8, ["label"]),
952
- l.slide.slide_id ? A("", !0) : (y(), P(n(se), {
952
+ l.slide.slide_id ? A("", !0) : (_(), P(o(se), {
953
953
  key: 0,
954
- label: n(o)("试剂")
954
+ label: o(n)("试剂")
955
955
  }, {
956
956
  default: x(() => [
957
- T(n(et), {
957
+ T(o(et), {
958
958
  modelValue: l.slide.reagent,
959
- "onUpdate:modelValue": a[3] || (a[3] = (m) => l.slide.reagent = m),
960
- placeholder: n(o)("输入试剂"),
959
+ "onUpdate:modelValue": a[3] || (a[3] = (p) => l.slide.reagent = p),
960
+ placeholder: o(n)("输入试剂"),
961
961
  clearable: ""
962
962
  }, null, 8, ["modelValue", "placeholder"])
963
963
  ]),
@@ -971,87 +971,87 @@ const $l = ["onClick"], Ll = ["src"], xl = {
971
971
  }, 8, ["modelValue", "title"])
972
972
  ]));
973
973
  }
974
- }), Zl = /* @__PURE__ */ he(Wl, [["__scopeId", "data-v-7397de48"]]);
975
- function ql(c, e) {
976
- const o = $(1), t = $(null), _ = $(null);
977
- function v() {
978
- c.value.viewer.addHandler("canvas-drag", (i) => {
974
+ }), Yl = /* @__PURE__ */ he(ql, [["__scopeId", "data-v-7397de48"]]);
975
+ function Xl(u, e) {
976
+ const n = $(1), t = $(null), y = $(null);
977
+ function d() {
978
+ u.value.viewer.addHandler("canvas-drag", (i) => {
979
979
  t.value || (t.value = i.position);
980
- }), c.value.viewer.addHandler("canvas-drag-end", (i) => {
981
- if (o.value !== 1) {
982
- _.value = i.position;
983
- const f = c.value.viewer.viewport.containerSize.x, g = c.value.viewer.viewport.containerSize.y, h = (_.value.x - t.value.x) / (f * e.value) * (o.value - 1), l = (_.value.y - t.value.y) / (g * e.value) * (o.value - 1), a = c.value.viewer.viewport.getCenter(), m = new Te.Point(a.x - h, a.y - l);
984
- c.value.viewer.viewport.panTo(m), t.value = null;
980
+ }), u.value.viewer.addHandler("canvas-drag-end", (i) => {
981
+ if (n.value !== 1) {
982
+ y.value = i.position;
983
+ const f = u.value.viewer.viewport.containerSize.x, g = u.value.viewer.viewport.containerSize.y, h = (y.value.x - t.value.x) / (f * e.value) * (n.value - 1), l = (y.value.y - t.value.y) / (g * e.value) * (n.value - 1), a = u.value.viewer.viewport.getCenter(), p = new Te.Point(a.x - h, a.y - l);
984
+ u.value.viewer.viewport.panTo(p), t.value = null;
985
985
  }
986
986
  });
987
987
  }
988
- function u({ name: i, value: f }) {
989
- i === "ratio" && (o.value = f / 1);
988
+ function c({ name: i, value: f }) {
989
+ i === "ratio" && (n.value = f / 1);
990
990
  }
991
991
  return {
992
- moveEvent: v,
993
- fastMove: u
992
+ moveEvent: d,
993
+ fastMove: c
994
994
  };
995
995
  }
996
- function Yl(c, e, o, t, _) {
997
- const v = $(void 0), u = $([]);
998
- ne(() => c.aiLabelList, h);
996
+ function Ql(u, e, n, t, y) {
997
+ const d = $(void 0), c = $([]);
998
+ ne(() => u.aiLabelList, h);
999
999
  function i() {
1000
- o.value.$on(ue.events.EVENT_END_PAINTING, f("add")), o.value.$on(ue.events.EVENT_AREA_MOVE_END, f("move")), o.value.$on(ue.events.EVENT_ADD_POLYGON_POINT, f("add-point")), o.value.$on(ue.events.EVENT_DELETE_POLYGON_POINT, f("delete-point")), o.value.$on(ue.events.EVENT_DELETE_LABEL, f("delete")), o.value.$on(ue.events.EVENT_SELECT_LABEL, (r) => {
1001
- v.value = r, m(), e("tool", "select-label", v.value);
1002
- }), o.value.$on(ue.events.EVENT_CANCEL_SELECT_LABEL, () => {
1003
- v.value = void 0, e("tool", "cancel-select-label", v.value);
1000
+ n.value.$on(ce.events.EVENT_END_PAINTING, f("add")), n.value.$on(ce.events.EVENT_AREA_MOVE_END, f("move")), n.value.$on(ce.events.EVENT_ADD_POLYGON_POINT, f("add-point")), n.value.$on(ce.events.EVENT_DELETE_POLYGON_POINT, f("delete-point")), n.value.$on(ce.events.EVENT_DELETE_LABEL, f("delete")), n.value.$on(ce.events.EVENT_SELECT_LABEL, (r) => {
1001
+ d.value = r, p(), e("tool", "select-label", d.value);
1002
+ }), n.value.$on(ce.events.EVENT_CANCEL_SELECT_LABEL, () => {
1003
+ d.value = void 0, e("tool", "cancel-select-label", d.value);
1004
1004
  }), f("list")();
1005
1005
  }
1006
1006
  function f(r) {
1007
1007
  return (s) => g(r, s);
1008
1008
  }
1009
1009
  function g(r, s) {
1010
- var p;
1011
- if (r === "add" && s && ((s == null ? void 0 : s.subType) || ((p = s == null ? void 0 : s.__data__) == null ? void 0 : p.subType)) === "voice")
1010
+ var m;
1011
+ if (r === "add" && s && ((s == null ? void 0 : s.subType) || ((m = s == null ? void 0 : s.__data__) == null ? void 0 : m.subType)) === "voice")
1012
1012
  t(s);
1013
1013
  else
1014
- return c.labelHandle(r, c.slide, s).then((w) => {
1015
- u.value = w, h();
1014
+ return u.labelHandle(r, u.slide, s).then((w) => {
1015
+ c.value = w, h();
1016
1016
  }).catch(() => {
1017
1017
  h();
1018
1018
  });
1019
1019
  }
1020
1020
  function h() {
1021
1021
  var r;
1022
- if ((r = o.value) != null && r.initLabelList) {
1023
- const s = [...u.value, ...c.aiLabelList || []];
1024
- s.find(({ id: p }) => {
1022
+ if ((r = n.value) != null && r.initLabelList) {
1023
+ const s = [...c.value, ...u.aiLabelList || []];
1024
+ s.find(({ id: m }) => {
1025
1025
  var w;
1026
- return p === ((w = v.value) == null ? void 0 : w.id);
1027
- }) || (v.value = void 0), o.value.initLabelList(s);
1026
+ return m === ((w = d.value) == null ? void 0 : w.id);
1027
+ }) || (d.value = void 0), n.value.initLabelList(s);
1028
1028
  }
1029
1029
  }
1030
1030
  function l(r, s) {
1031
1031
  var w, k;
1032
- v.value && (v.value.select = !1, v.value = void 0);
1033
- const p = (o.value.labelList || []).findIndex((d) => d.id === r.id);
1034
- if (p > -1) {
1035
- v.value = (w = o.value.labelList) == null ? void 0 : w[p], v.value.select = !0;
1036
- const d = o.value.area.getCenterPoint(r.region);
1037
- o.value.area.moveToLabel(d), (k = o.value.viewer) != null && k.canvas && o.value.viewer.canvas.focus(), m();
1038
- }
1039
- s && _(s);
1032
+ d.value && (d.value.select = !1, d.value = void 0);
1033
+ const m = (n.value.labelList || []).findIndex((v) => v.id === r.id);
1034
+ if (m > -1) {
1035
+ d.value = (w = n.value.labelList) == null ? void 0 : w[m], d.value.select = !0;
1036
+ const v = n.value.area.getCenterPoint(r.region);
1037
+ n.value.area.moveToLabel(v), (k = n.value.viewer) != null && k.canvas && n.value.viewer.canvas.focus(), p();
1038
+ }
1039
+ s && y(s);
1040
1040
  }
1041
1041
  function a(r) {
1042
- return c.labelHandle("add", c.slide, r).then((s) => {
1043
- u.value = s, h();
1042
+ return u.labelHandle("add", u.slide, r).then((s) => {
1043
+ c.value = s, h();
1044
1044
  }).catch(() => {
1045
1045
  h();
1046
1046
  });
1047
1047
  }
1048
- function m() {
1049
- var s, p, w, k;
1050
- (((s = v.value) == null ? void 0 : s.subType) || ((w = (p = v.value) == null ? void 0 : p.__data__) == null ? void 0 : w.subType)) === "voice" && ((k = v.value) != null && k.src) && new Audio(v.value.src).play();
1048
+ function p() {
1049
+ var s, m, w, k;
1050
+ (((s = d.value) == null ? void 0 : s.subType) || ((w = (m = d.value) == null ? void 0 : m.__data__) == null ? void 0 : w.subType)) === "voice" && ((k = d.value) != null && k.src) && new Audio(d.value.src).play();
1051
1051
  }
1052
1052
  return {
1053
- currentLabel: v,
1054
- localLabelList: u,
1053
+ currentLabel: d,
1054
+ localLabelList: c,
1055
1055
  initLabel: i,
1056
1056
  jumpToLabel: l,
1057
1057
  reloadLabelList: h,
@@ -1059,74 +1059,74 @@ function Yl(c, e, o, t, _) {
1059
1059
  addHandle: a
1060
1060
  };
1061
1061
  }
1062
- function Xl() {
1063
- function c(e, o) {
1064
- e.save(), e.strokeStyle = "rgba(0,0,0,0)", e.miterLimit = 4, e.font = "15px", e.fillStyle = o, e.font = "15px", e.scale(0.02734375, 0.02734375), e.save(), e.font = "15px", e.beginPath(), e.moveTo(512, 427.023), e.moveTo(422, 427.023), e.translate(512, 427.023), e.rotate(0), e.arc(0, 0, 90, 3.141592653589793, 6.283185307179586, !0), e.rotate(0), e.translate(-512, -427.023), e.translate(512, 427.023), e.rotate(0), e.arc(0, 0, 90, 0, 3.141592653589793, !0), e.rotate(0), e.translate(-512, -427.023), e.fill(), e.stroke(), e.restore(), e.save(), e.font = "15px", e.beginPath(), e.moveTo(512, 910.402), e.bezierCurveTo(492.86, 910.402, 474.51800000000003, 904.548, 458.95799999999997, 893.4730000000001), e.bezierCurveTo(444.895, 883.4630000000001, 434.032, 869.8770000000001, 427.36899999999997, 854.013), e.lineTo(255.043, 585.177), e.lineTo(254.889, 584.927), e.bezierCurveTo(225.522, 537.209, 210, 482.605, 210, 427.021), e.bezierCurveTo(210, 346.35400000000004, 241.414, 270.515, 298.454, 213.47500000000002), e.bezierCurveTo(355.494, 156.43500000000006, 431.333, 125.021, 512, 125.021), e.bezierCurveTo(592.6669999999999, 125.021, 668.506, 156.435, 725.546, 213.475), e.bezierCurveTo(782.587, 270.515, 814, 346.354, 814, 427.021), e.bezierCurveTo(814, 482.87, 798.345, 537.692, 768.726, 585.56), e.lineTo(768.462, 585.9789999999999), e.lineTo(596.381, 854.6949999999999), e.bezierCurveTo(589.626, 870.4209999999999, 578.721, 883.871, 564.677, 893.7499999999999), e.bezierCurveTo(549.192, 904.6449999999999, 530.977, 910.4019999999999, 512, 910.4019999999999), e.closePath(), e.moveTo(309.246, 551.141), e.lineTo(484.74, 824.9209999999999), e.lineTo(485.934, 828.1179999999999), e.bezierCurveTo(490.083, 839.2249999999999, 500.31500000000005, 846.4019999999999, 512, 846.4019999999999), e.bezierCurveTo(523.584, 846.4019999999999, 533.791, 839.3309999999999, 538.004, 828.387), e.lineTo(539.169, 825.3589999999999), e.lineTo(714.43, 551.678), e.bezierCurveTo(737.701, 513.983, 750, 470.884, 750, 427.021), e.bezierCurveTo(750, 363.449, 725.244, 303.682, 680.2909999999999, 258.72900000000004), e.bezierCurveTo(635.3389999999999, 213.77800000000005, 575.5719999999999, 189.02100000000004, 511.99999999999994, 189.02100000000004), e.bezierCurveTo(448.428, 189.02100000000004, 388.66099999999994, 213.77700000000004, 343.70799999999997, 258.72900000000004), e.bezierCurveTo(298.755, 303.68100000000004, 274, 363.449, 274, 427.021), e.bezierCurveTo(274, 470.661, 286.186, 513.573, 309.246, 551.1410000000001), e.closePath(), e.fill(), e.stroke(), e.restore(), e.restore();
1062
+ function Jl() {
1063
+ function u(e, n) {
1064
+ e.save(), e.strokeStyle = "rgba(0,0,0,0)", e.miterLimit = 4, e.font = "15px", e.fillStyle = n, e.font = "15px", e.scale(0.02734375, 0.02734375), e.save(), e.font = "15px", e.beginPath(), e.moveTo(512, 427.023), e.moveTo(422, 427.023), e.translate(512, 427.023), e.rotate(0), e.arc(0, 0, 90, 3.141592653589793, 6.283185307179586, !0), e.rotate(0), e.translate(-512, -427.023), e.translate(512, 427.023), e.rotate(0), e.arc(0, 0, 90, 0, 3.141592653589793, !0), e.rotate(0), e.translate(-512, -427.023), e.fill(), e.stroke(), e.restore(), e.save(), e.font = "15px", e.beginPath(), e.moveTo(512, 910.402), e.bezierCurveTo(492.86, 910.402, 474.51800000000003, 904.548, 458.95799999999997, 893.4730000000001), e.bezierCurveTo(444.895, 883.4630000000001, 434.032, 869.8770000000001, 427.36899999999997, 854.013), e.lineTo(255.043, 585.177), e.lineTo(254.889, 584.927), e.bezierCurveTo(225.522, 537.209, 210, 482.605, 210, 427.021), e.bezierCurveTo(210, 346.35400000000004, 241.414, 270.515, 298.454, 213.47500000000002), e.bezierCurveTo(355.494, 156.43500000000006, 431.333, 125.021, 512, 125.021), e.bezierCurveTo(592.6669999999999, 125.021, 668.506, 156.435, 725.546, 213.475), e.bezierCurveTo(782.587, 270.515, 814, 346.354, 814, 427.021), e.bezierCurveTo(814, 482.87, 798.345, 537.692, 768.726, 585.56), e.lineTo(768.462, 585.9789999999999), e.lineTo(596.381, 854.6949999999999), e.bezierCurveTo(589.626, 870.4209999999999, 578.721, 883.871, 564.677, 893.7499999999999), e.bezierCurveTo(549.192, 904.6449999999999, 530.977, 910.4019999999999, 512, 910.4019999999999), e.closePath(), e.moveTo(309.246, 551.141), e.lineTo(484.74, 824.9209999999999), e.lineTo(485.934, 828.1179999999999), e.bezierCurveTo(490.083, 839.2249999999999, 500.31500000000005, 846.4019999999999, 512, 846.4019999999999), e.bezierCurveTo(523.584, 846.4019999999999, 533.791, 839.3309999999999, 538.004, 828.387), e.lineTo(539.169, 825.3589999999999), e.lineTo(714.43, 551.678), e.bezierCurveTo(737.701, 513.983, 750, 470.884, 750, 427.021), e.bezierCurveTo(750, 363.449, 725.244, 303.682, 680.2909999999999, 258.72900000000004), e.bezierCurveTo(635.3389999999999, 213.77800000000005, 575.5719999999999, 189.02100000000004, 511.99999999999994, 189.02100000000004), e.bezierCurveTo(448.428, 189.02100000000004, 388.66099999999994, 213.77700000000004, 343.70799999999997, 258.72900000000004), e.bezierCurveTo(298.755, 303.68100000000004, 274, 363.449, 274, 427.021), e.bezierCurveTo(274, 470.661, 286.186, 513.573, 309.246, 551.1410000000001), e.closePath(), e.fill(), e.stroke(), e.restore(), e.restore();
1065
1065
  }
1066
1066
  return {
1067
- drawDot: c
1067
+ drawDot: u
1068
1068
  };
1069
1069
  }
1070
- function Ql(c, e) {
1071
- const { t: o } = de(), t = $(!1), _ = $();
1072
- let v = null;
1073
- const u = $(!1), i = $(0);
1070
+ function eo(u, e) {
1071
+ const { t: n } = ie(), t = $(!1), y = $();
1072
+ let d = null;
1073
+ const c = $(!1), i = $(0);
1074
1074
  let f = 0;
1075
1075
  const g = $([]), h = $(void 0);
1076
1076
  let l = !1;
1077
- function a(d, E) {
1078
- d.save(), d.strokeStyle = "rgba(0,0,0,0)", d.miterLimit = 4, d.font = "15px ''", d.fillStyle = E, d.font = " 15px ''", d.scale(0.03125, 0.03125), d.save(), d.font = " 15px ''", d.beginPath(), d.moveTo(515.041727, 670.617766), d.bezierCurveTo(606.625894, 670.617766, 681.137374, 596.113511, 681.137374, 504.52212), d.lineTo(681.137374, 229.350568), d.bezierCurveTo(681.137374, 137.76640100000003, 606.625894, 63.254920999999996, 515.041727, 63.254920999999996), d.bezierCurveTo(423.44311000000005, 63.254920999999996, 348.93885500000005, 137.766401, 348.93885600000004, 229.350568), d.lineTo(348.93885600000004, 504.52212), d.bezierCurveTo(348.93885600000004, 596.113512, 423.44311100000004, 670.617767, 515.041727, 670.617766), d.closePath(), d.fill(), d.stroke(), d.restore(), d.save(), d.font = " 15px ''", d.beginPath(), d.moveTo(801.643237, 874.001665), d.lineTo(558.391759, 874.001665), d.lineTo(558.391759, 828.578057), d.bezierCurveTo(719.899527, 807.264291, 844.993269, 668.7898399999999, 844.993269, 501.55986699999994), d.translate(801.643237, 501.55986699999994), d.rotate(0), d.arc(0, 0, 43.350032, 0, 3.141592653589793, !0), d.rotate(0), d.translate(-801.643237, -501.55986699999994), d.bezierCurveTo(758.2932050000001, 635.684865, 649.166725, 744.811345, 515.0345020000001, 744.811346), d.bezierCurveTo(380.9095040000001, 744.811346, 271.79024900000013, 635.6848659999999, 271.79024900000013, 501.55986699999994), d.translate(228.44021750000013, 501.5664510740879), d.rotate(0), d.arc(0, 0, 43.350032, -15188164315591997e-20, -3.1414407719461273, !0), d.rotate(0), d.translate(-228.44021750000013, -501.5664510740879), d.bezierCurveTo(185.09018600000013, 668.7898389999999, 310.1911530000001, 807.271516, 471.69169500000015, 828.578057), d.lineTo(471.69169500000015, 874.001665), d.lineTo(228.440217, 874.001665), d.translate(228.440217, 917.3516970000001), d.rotate(0), d.arc(0, 0, 43.350032, -1.5707963267948966, 1.5707963267948966, !0), d.rotate(0), d.translate(-228.440217, -917.3516970000001), d.lineTo(801.643237, 960.701729), d.translate(801.643237, 917.3516970000001), d.rotate(0), d.arc(0, 0, 43.350032, 1.5707963267948966, 4.71238898038469, !0), d.rotate(0), d.translate(-801.643237, -917.3516970000001), d.closePath(), d.fill(), d.stroke(), d.restore(), d.restore();
1077
+ function a(v, M) {
1078
+ v.save(), v.strokeStyle = "rgba(0,0,0,0)", v.miterLimit = 4, v.font = "15px ''", v.fillStyle = M, v.font = " 15px ''", v.scale(0.03125, 0.03125), v.save(), v.font = " 15px ''", v.beginPath(), v.moveTo(515.041727, 670.617766), v.bezierCurveTo(606.625894, 670.617766, 681.137374, 596.113511, 681.137374, 504.52212), v.lineTo(681.137374, 229.350568), v.bezierCurveTo(681.137374, 137.76640100000003, 606.625894, 63.254920999999996, 515.041727, 63.254920999999996), v.bezierCurveTo(423.44311000000005, 63.254920999999996, 348.93885500000005, 137.766401, 348.93885600000004, 229.350568), v.lineTo(348.93885600000004, 504.52212), v.bezierCurveTo(348.93885600000004, 596.113512, 423.44311100000004, 670.617767, 515.041727, 670.617766), v.closePath(), v.fill(), v.stroke(), v.restore(), v.save(), v.font = " 15px ''", v.beginPath(), v.moveTo(801.643237, 874.001665), v.lineTo(558.391759, 874.001665), v.lineTo(558.391759, 828.578057), v.bezierCurveTo(719.899527, 807.264291, 844.993269, 668.7898399999999, 844.993269, 501.55986699999994), v.translate(801.643237, 501.55986699999994), v.rotate(0), v.arc(0, 0, 43.350032, 0, 3.141592653589793, !0), v.rotate(0), v.translate(-801.643237, -501.55986699999994), v.bezierCurveTo(758.2932050000001, 635.684865, 649.166725, 744.811345, 515.0345020000001, 744.811346), v.bezierCurveTo(380.9095040000001, 744.811346, 271.79024900000013, 635.6848659999999, 271.79024900000013, 501.55986699999994), v.translate(228.44021750000013, 501.5664510740879), v.rotate(0), v.arc(0, 0, 43.350032, -15188164315591997e-20, -3.1414407719461273, !0), v.rotate(0), v.translate(-228.44021750000013, -501.5664510740879), v.bezierCurveTo(185.09018600000013, 668.7898389999999, 310.1911530000001, 807.271516, 471.69169500000015, 828.578057), v.lineTo(471.69169500000015, 874.001665), v.lineTo(228.440217, 874.001665), v.translate(228.440217, 917.3516970000001), v.rotate(0), v.arc(0, 0, 43.350032, -1.5707963267948966, 1.5707963267948966, !0), v.rotate(0), v.translate(-228.440217, -917.3516970000001), v.lineTo(801.643237, 960.701729), v.translate(801.643237, 917.3516970000001), v.rotate(0), v.arc(0, 0, 43.350032, 1.5707963267948966, 4.71238898038469, !0), v.rotate(0), v.translate(-801.643237, -917.3516970000001), v.closePath(), v.fill(), v.stroke(), v.restore(), v.restore();
1079
1079
  }
1080
- function m() {
1080
+ function p() {
1081
1081
  return Ce(this, null, function* () {
1082
1082
  try {
1083
- _.value = yield navigator.mediaDevices.getUserMedia({ audio: !0 }), v = new MediaRecorder(_.value), g.value = [], v.addEventListener("dataavailable", (d) => {
1084
- g.value.push(d.data);
1085
- }), v.addEventListener("stop", () => Ce(this, null, function* () {
1083
+ y.value = yield navigator.mediaDevices.getUserMedia({ audio: !0 }), d = new MediaRecorder(y.value), g.value = [], d.addEventListener("dataavailable", (v) => {
1084
+ g.value.push(v.data);
1085
+ }), d.addEventListener("stop", () => Ce(this, null, function* () {
1086
1086
  if (h.value) {
1087
- const d = new Blob(g.value, { type: c.audioType || "audio/wav" });
1088
- h.value.src = URL.createObjectURL(d);
1087
+ const v = new Blob(g.value, { type: u.audioType || "audio/wav" });
1088
+ h.value.src = URL.createObjectURL(v);
1089
1089
  }
1090
- u.value = !1, l && (yield k());
1091
- })), v.start(), u.value = !0, f = window.setInterval(() => {
1090
+ c.value = !1, l && (yield k());
1091
+ })), d.start(), c.value = !0, f = window.setInterval(() => {
1092
1092
  i.value++;
1093
1093
  }, 1e3);
1094
- } catch (d) {
1095
- kt.error(o("麦克风启用失败,请确认是否开启麦克风权限"));
1094
+ } catch (v) {
1095
+ kt.error(n("麦克风启用失败,请确认是否开启麦克风权限"));
1096
1096
  }
1097
1097
  });
1098
1098
  }
1099
1099
  function r() {
1100
- _.value && v ? (v.stop(), _.value.getTracks().forEach((d) => d.stop()), v = null, _.value = void 0) : (v = null, _.value = void 0), u.value = !1, f && (clearInterval(f), f = 0), i.value = 0;
1100
+ y.value && d ? (d.stop(), y.value.getTracks().forEach((v) => v.stop()), d = null, y.value = void 0) : (d = null, y.value = void 0), c.value = !1, f && (clearInterval(f), f = 0), i.value = 0;
1101
1101
  }
1102
- function s(d) {
1103
- t.value = !0, h.value = d, g.value = [], l = !1;
1102
+ function s(v) {
1103
+ t.value = !0, h.value = v, g.value = [], l = !1;
1104
1104
  }
1105
- function p() {
1106
- u.value && r(), t.value = !1, u.value = !1, l = !1;
1105
+ function m() {
1106
+ c.value && r(), t.value = !1, c.value = !1, l = !1;
1107
1107
  }
1108
1108
  function w() {
1109
1109
  return Ce(this, null, function* () {
1110
- if (!u.value && !g.value.length) {
1111
- kt.error(o("请先录音"));
1110
+ if (!c.value && !g.value.length) {
1111
+ kt.error(n("请先录音"));
1112
1112
  return;
1113
1113
  }
1114
- u.value && r(), u.value = !1, l = !0, g.value.length && (yield k()), t.value = !1;
1114
+ c.value && r(), c.value = !1, l = !0, g.value.length && (yield k()), t.value = !1;
1115
1115
  });
1116
1116
  }
1117
1117
  function k() {
1118
1118
  return Ce(this, null, function* () {
1119
- if (c.uploadHandle && h.value) {
1120
- const d = Ct.service({
1121
- text: o("录音上传中")
1122
- }), E = new Blob(g.value, { type: c.audioType || "audio/wav" });
1119
+ if (u.uploadHandle && h.value) {
1120
+ const v = Ct.service({
1121
+ text: n("录音上传中")
1122
+ }), M = new Blob(g.value, { type: u.audioType || "audio/wav" });
1123
1123
  g.value = [];
1124
1124
  try {
1125
- yield c.uploadHandle(c.slide, h.value, E).then((R) => {
1125
+ yield u.uploadHandle(u.slide, h.value, M).then((R) => {
1126
1126
  h.value.src = R;
1127
- }), d.close(), e(h.value);
1127
+ }), v.close(), e(h.value);
1128
1128
  } catch (R) {
1129
- d.close();
1129
+ v.close();
1130
1130
  }
1131
1131
  }
1132
1132
  });
@@ -1135,24 +1135,24 @@ function Ql(c, e) {
1135
1135
  voiceVisible: t,
1136
1136
  voiceForm: h,
1137
1137
  recordTime: i,
1138
- isRecording: u,
1138
+ isRecording: c,
1139
1139
  drawVoice: a,
1140
- startRecording: m,
1140
+ startRecording: p,
1141
1141
  stopRecording: r,
1142
1142
  initVoice: s,
1143
- cancelRecord: p,
1143
+ cancelRecord: m,
1144
1144
  confirmRecord: w
1145
1145
  };
1146
1146
  }
1147
- function Jl(c, e) {
1148
- const o = $([]), t = $(0), _ = $(!1);
1149
- let v = null;
1147
+ function to(u, e) {
1148
+ const n = $([]), t = $(0), y = $(!1);
1149
+ let d = null;
1150
1150
  ne(() => {
1151
1151
  var a;
1152
- return (a = c.hotmap) == null ? void 0 : a.enable;
1152
+ return (a = u.hotmap) == null ? void 0 : a.enable;
1153
1153
  }, () => {
1154
- var a, m;
1155
- if ((m = (a = e.value) == null ? void 0 : a.viewer) != null && m.world) {
1154
+ var a, p;
1155
+ if ((p = (a = e.value) == null ? void 0 : a.viewer) != null && p.world) {
1156
1156
  t.value = 0;
1157
1157
  const r = e.value.viewer.world.getItemAt(0);
1158
1158
  r && (r.tilesMatrix = {}, r.draw());
@@ -1162,158 +1162,158 @@ function Jl(c, e) {
1162
1162
  }), Ie(() => {
1163
1163
  window.removeEventListener("mousemove", f), window.removeEventListener("mouseup", h);
1164
1164
  });
1165
- function u(a, m, r) {
1166
- var p, w, k, d, E, R;
1167
- const s = me(j({}, m), {
1168
- file: (p = c.hotmap) == null ? void 0 : p.file
1165
+ function c(a, p, r) {
1166
+ var m, w, k, v, M, R;
1167
+ const s = me(j({}, p), {
1168
+ file: (m = u.hotmap) == null ? void 0 : m.file
1169
1169
  });
1170
- if ((w = c.hotmap) != null && w.info) {
1171
- if (r[m.x + "_" + m.y + "_" + Number(m.scale)]) {
1172
- if (((k = c.hotmap) == null ? void 0 : k.type) === "switch")
1173
- return c.tileHandle(s);
1174
- if (((d = c.hotmap) == null ? void 0 : d.type) === "drag")
1170
+ if ((w = u.hotmap) != null && w.info) {
1171
+ if (r[p.x + "_" + p.y + "_" + Number(p.scale)]) {
1172
+ if (((k = u.hotmap) == null ? void 0 : k.type) === "switch")
1173
+ return u.tileHandle(s);
1174
+ if (((v = u.hotmap) == null ? void 0 : v.type) === "drag")
1175
1175
  return i(a, s), a;
1176
1176
  }
1177
- } else return ((E = c.hotmap) == null ? void 0 : E.type) === "switch" ? c.tileHandle(s) : (((R = c.hotmap) == null ? void 0 : R.type) === "drag" && i(a, s), a);
1177
+ } else return ((M = u.hotmap) == null ? void 0 : M.type) === "switch" ? u.tileHandle(s) : (((R = u.hotmap) == null ? void 0 : R.type) === "drag" && i(a, s), a);
1178
1178
  }
1179
- function i(a, m) {
1180
- const r = o.value.find((s) => s.url === a) || {
1179
+ function i(a, p) {
1180
+ const r = n.value.find((s) => s.url === a) || {
1181
1181
  url: a,
1182
- x: m.x,
1183
- y: m.y,
1182
+ x: p.x,
1183
+ y: p.y,
1184
1184
  img: void 0,
1185
1185
  load: ""
1186
1186
  };
1187
- if (!(r != null && r.img) && (o.value.push(r), r.load !== "success")) {
1187
+ if (!(r != null && r.img) && (n.value.push(r), r.load !== "success")) {
1188
1188
  const s = new Image();
1189
- s.src = c.tileHandle(m), s.onload = () => {
1189
+ s.src = u.tileHandle(p), s.onload = () => {
1190
1190
  r.load = "success";
1191
1191
  }, r.img = s;
1192
1192
  }
1193
1193
  }
1194
1194
  function f(a) {
1195
- _.value && v && (t.value += a.x - v.x, t.value < 0 ? t.value = 0 : t.value > e.value.$options.width && (t.value = e.value.$options.width, _.value = !1), e.value.viewer.forceRedraw()), v = { x: a.x, y: a.y };
1195
+ y.value && d && (t.value += a.x - d.x, t.value < 0 ? t.value = 0 : t.value > e.value.$options.width && (t.value = e.value.$options.width, y.value = !1), e.value.viewer.forceRedraw()), d = { x: a.x, y: a.y };
1196
1196
  }
1197
1197
  function g(a) {
1198
- const { x: m, y: r } = a;
1199
- _.value = !0, v = { x: m, y: r };
1198
+ const { x: p, y: r } = a;
1199
+ y.value = !0, d = { x: p, y: r };
1200
1200
  }
1201
1201
  function h() {
1202
- _.value = !1, v = null;
1202
+ y.value = !1, d = null;
1203
1203
  }
1204
1204
  function l(a) {
1205
1205
  const {
1206
- context: m,
1206
+ context: p,
1207
1207
  sourceWidth: r,
1208
1208
  sourceHeight: s,
1209
- position: p,
1209
+ position: m,
1210
1210
  size: w,
1211
1211
  initRendered: k,
1212
- tile: d,
1213
- pixelDensityRatio: E
1214
- } = a, R = d.getUrl(), I = t.value * E, Z = p.original.x;
1215
- if (Z < I && Z + w.x > I) {
1216
- const Q = I - Z, ve = w.x - Q, te = o.value.find((ke) => ke.url === R), be = (te == null ? void 0 : te.load) === "success" ? te.img : k.canvas;
1217
- m.drawImage(
1212
+ tile: v,
1213
+ pixelDensityRatio: M
1214
+ } = a, R = v.getUrl(), S = t.value * M, Q = m.original.x;
1215
+ if (Q < S && Q + w.x > S) {
1216
+ const W = S - Q, ve = w.x - W, te = n.value.find((Se) => Se.url === R), be = (te == null ? void 0 : te.load) === "success" ? te.img : k.canvas;
1217
+ p.drawImage(
1218
1218
  be,
1219
1219
  0,
1220
1220
  0,
1221
- r * Q / w.x,
1221
+ r * W / w.x,
1222
1222
  s,
1223
- p.x,
1224
- p.y,
1225
- Q,
1223
+ m.x,
1224
+ m.y,
1225
+ W,
1226
1226
  w.y
1227
- ), m.drawImage(
1227
+ ), p.drawImage(
1228
1228
  k.canvas,
1229
- r * Q / w.x,
1229
+ r * W / w.x,
1230
1230
  0,
1231
1231
  r * ve / w.x,
1232
1232
  s,
1233
- p.x + Q,
1234
- p.y,
1233
+ m.x + W,
1234
+ m.y,
1235
1235
  ve,
1236
1236
  w.y
1237
1237
  );
1238
- } else if (Z + w.x <= I) {
1239
- const Q = o.value.find((te) => te.url === R), ve = (Q == null ? void 0 : Q.load) === "success" ? Q.img : k.canvas;
1240
- m.drawImage(
1238
+ } else if (Q + w.x <= S) {
1239
+ const W = n.value.find((te) => te.url === R), ve = (W == null ? void 0 : W.load) === "success" ? W.img : k.canvas;
1240
+ p.drawImage(
1241
1241
  ve,
1242
1242
  0,
1243
1243
  0,
1244
1244
  r,
1245
1245
  s,
1246
- p.x,
1247
- p.y,
1246
+ m.x,
1247
+ m.y,
1248
1248
  w.x,
1249
1249
  w.y
1250
1250
  );
1251
- } else Z >= I && m.drawImage(
1251
+ } else Q >= S && p.drawImage(
1252
1252
  k.canvas,
1253
1253
  0,
1254
1254
  0,
1255
1255
  r,
1256
1256
  s,
1257
- p.x,
1258
- p.y,
1257
+ m.x,
1258
+ m.y,
1259
1259
  w.x,
1260
1260
  w.y
1261
1261
  );
1262
1262
  }
1263
1263
  return {
1264
- getHotmapUrl: u,
1265
- hotmapImgs: o,
1264
+ getHotmapUrl: c,
1265
+ hotmapImgs: n,
1266
1266
  handlerImage: l,
1267
1267
  hotmapLine: t,
1268
1268
  lineMouseDown: g
1269
1269
  };
1270
1270
  }
1271
- function eo(c, e, o) {
1272
- const t = ll(), _ = $(!1), v = new BroadcastChannel("sync_kfb_view");
1273
- v.onmessage = (l) => {
1271
+ function lo(u, e, n) {
1272
+ const t = nl(), y = $(!1), d = new BroadcastChannel("sync_kfb_view");
1273
+ d.onmessage = (l) => {
1274
1274
  const a = l.data;
1275
1275
  g(a);
1276
1276
  }, pe(() => {
1277
- var l, a, m;
1278
- (l = o.value) == null || l.addEventListener("mouseenter", u), (a = o.value) == null || a.addEventListener("mousemove", u), (m = o.value) == null || m.addEventListener("mouseleave", i);
1277
+ var l, a, p;
1278
+ (l = n.value) == null || l.addEventListener("mouseenter", c), (a = n.value) == null || a.addEventListener("mousemove", c), (p = n.value) == null || p.addEventListener("mouseleave", i);
1279
1279
  }), Ie(() => {
1280
- var l, a, m;
1281
- (l = o.value) == null || l.removeEventListener("mouseenter", u), (a = o.value) == null || a.removeEventListener("mousemove", u), (m = o.value) == null || m.removeEventListener("mouseleave", i), v.close();
1280
+ var l, a, p;
1281
+ (l = n.value) == null || l.removeEventListener("mouseenter", c), (a = n.value) == null || a.removeEventListener("mousemove", c), (p = n.value) == null || p.removeEventListener("mouseleave", i), d.close();
1282
1282
  });
1283
- function u() {
1284
- _.value = !0;
1283
+ function c() {
1284
+ y.value = !0;
1285
1285
  }
1286
1286
  function i() {
1287
- _.value = !1;
1287
+ y.value = !1;
1288
1288
  }
1289
1289
  function f() {
1290
1290
  let l;
1291
1291
  e.value.viewer.addHandler("pan", (a) => {
1292
- var s, p, w, k;
1292
+ var s, m, w, k;
1293
1293
  if (!l) {
1294
- l = (p = (s = a.center) == null ? void 0 : s.clone) == null ? void 0 : p.call(s);
1294
+ l = (m = (s = a.center) == null ? void 0 : s.clone) == null ? void 0 : m.call(s);
1295
1295
  return;
1296
1296
  }
1297
- const m = a.center, r = (w = m == null ? void 0 : m.minus) == null ? void 0 : w.call(m, l);
1298
- l = (k = m == null ? void 0 : m.clone) == null ? void 0 : k.call(m), c.syncPosition && h({
1297
+ const p = a.center, r = (w = p == null ? void 0 : p.minus) == null ? void 0 : w.call(p, l);
1298
+ l = (k = p == null ? void 0 : p.clone) == null ? void 0 : k.call(p), u.syncPosition && h({
1299
1299
  position: r,
1300
1300
  type: "sync_position"
1301
1301
  });
1302
1302
  }), e.value.viewer.addHandler("zoom", (a) => {
1303
- c.syncZoom && h({
1303
+ u.syncZoom && h({
1304
1304
  zoom: a.zoom,
1305
1305
  type: "sync_zoom"
1306
1306
  });
1307
1307
  }), e.value.viewer.addHandler("animation-finish", () => {
1308
1308
  var r;
1309
- if (c.syncZoom && h({
1309
+ if (u.syncZoom && h({
1310
1310
  zoom: e.value.viewer.viewport.getZoom(!0),
1311
1311
  type: "sync_zoom"
1312
1312
  }), !l)
1313
1313
  return;
1314
- const a = e.value.viewer.viewport.getCenter(!0), m = (r = a == null ? void 0 : a.minus) == null ? void 0 : r.call(a, l);
1315
- l = void 0, c.syncPosition && h({
1316
- position: m,
1314
+ const a = e.value.viewer.viewport.getCenter(!0), p = (r = a == null ? void 0 : a.minus) == null ? void 0 : r.call(a, l);
1315
+ l = void 0, u.syncPosition && h({
1316
+ position: p,
1317
1317
  type: "sync_position"
1318
1318
  });
1319
1319
  });
@@ -1323,18 +1323,18 @@ function eo(c, e, o) {
1323
1323
  }
1324
1324
  function h(l) {
1325
1325
  var a;
1326
- _.value && v.postMessage(me(j({}, l), {
1326
+ y.value && d.postMessage(me(j({}, l), {
1327
1327
  uuid: t == null ? void 0 : t.uid,
1328
- fileName: (a = c.slide) == null ? void 0 : a.file
1328
+ fileName: (a = u.slide) == null ? void 0 : a.file
1329
1329
  }));
1330
1330
  }
1331
1331
  return {
1332
1332
  initSync: f
1333
1333
  };
1334
1334
  }
1335
- const to = { class: "hzzt-kfb-keyword flex wrap" }, lo = ["onMouseenter"], oo = /* @__PURE__ */ ee({
1335
+ const oo = { class: "hzzt-kfb-keyword flex wrap" }, no = ["onMouseenter"], ao = /* @__PURE__ */ ee({
1336
1336
  __name: "KfbKeyword",
1337
- setup(c) {
1337
+ setup(u) {
1338
1338
  const e = $([
1339
1339
  { code: "Q", icon: "zoomIn" },
1340
1340
  { code: "W", icon: "arrowUp" },
@@ -1342,89 +1342,89 @@ const to = { class: "hzzt-kfb-keyword flex wrap" }, lo = ["onMouseenter"], oo =
1342
1342
  { code: "A", icon: "arrowLeft" },
1343
1343
  { code: "S", icon: "arrowDown" },
1344
1344
  { code: "D", icon: "arrowRight" }
1345
- ]), o = J("kfbView", $({}));
1345
+ ]), n = J("kfbView", $({}));
1346
1346
  let t = null;
1347
- function _(u, i) {
1348
- u.preventDefault(), t && clearTimeout(t), t = setInterval(() => {
1349
- i === "E" && (o.value.viewer.viewport.zoomBy(1.1), o.value.viewer.viewport.applyConstraints()), i === "Q" && (o.value.viewer.viewport.zoomBy(0.9), o.value.viewer.viewport.applyConstraints()), i === "W" && (o.value.viewer.viewport.panBy(o.value.viewer.viewport.deltaPointsFromPixels(new Te.Point(0, -40))), o.value.viewer.viewport.applyConstraints()), i === "S" && (o.value.viewer.viewport.panBy(o.value.viewer.viewport.deltaPointsFromPixels(new Te.Point(0, 40))), o.value.viewer.viewport.applyConstraints()), i === "A" && (o.value.viewer.viewport.panBy(o.value.viewer.viewport.deltaPointsFromPixels(new Te.Point(-40, 0))), o.value.viewer.viewport.applyConstraints()), i === "D" && (o.value.viewer.viewport.panBy(o.value.viewer.viewport.deltaPointsFromPixels(new Te.Point(40, 0))), o.value.viewer.viewport.applyConstraints());
1347
+ function y(c, i) {
1348
+ c.preventDefault(), t && clearTimeout(t), t = setInterval(() => {
1349
+ i === "E" && (n.value.viewer.viewport.zoomBy(1.1), n.value.viewer.viewport.applyConstraints()), i === "Q" && (n.value.viewer.viewport.zoomBy(0.9), n.value.viewer.viewport.applyConstraints()), i === "W" && (n.value.viewer.viewport.panBy(n.value.viewer.viewport.deltaPointsFromPixels(new Te.Point(0, -40))), n.value.viewer.viewport.applyConstraints()), i === "S" && (n.value.viewer.viewport.panBy(n.value.viewer.viewport.deltaPointsFromPixels(new Te.Point(0, 40))), n.value.viewer.viewport.applyConstraints()), i === "A" && (n.value.viewer.viewport.panBy(n.value.viewer.viewport.deltaPointsFromPixels(new Te.Point(-40, 0))), n.value.viewer.viewport.applyConstraints()), i === "D" && (n.value.viewer.viewport.panBy(n.value.viewer.viewport.deltaPointsFromPixels(new Te.Point(40, 0))), n.value.viewer.viewport.applyConstraints());
1350
1350
  }, 120);
1351
1351
  }
1352
- function v() {
1352
+ function d() {
1353
1353
  t && (clearInterval(t), t = null);
1354
1354
  }
1355
1355
  return Ie(() => {
1356
1356
  clearTimeout(t);
1357
- }), (u, i) => (y(), L("div", to, [
1358
- (y(!0), L(le, null, oe(e.value, (f) => (y(), L("div", {
1357
+ }), (c, i) => (_(), L("div", oo, [
1358
+ (_(!0), L(le, null, oe(e.value, (f) => (_(), L("div", {
1359
1359
  key: f.code,
1360
1360
  class: "hzzt-kfb-keyword__code flex column align-items-center justify-content-center",
1361
- onMouseenter: (g) => _(g, f.code),
1362
- onMouseleave: v
1361
+ onMouseenter: (g) => y(g, f.code),
1362
+ onMouseleave: d
1363
1363
  }, [
1364
- b("p", null, V(f.code), 1),
1364
+ b("p", null, E(f.code), 1),
1365
1365
  T(X, {
1366
1366
  size: "14",
1367
1367
  name: f.icon
1368
1368
  }, null, 8, ["name"])
1369
- ], 40, lo))), 128))
1369
+ ], 40, no))), 128))
1370
1370
  ]));
1371
1371
  }
1372
- }), no = /* @__PURE__ */ he(oo, [["__scopeId", "data-v-c8d940f0"]]);
1373
- function ao(c, e, o = {}) {
1372
+ }), so = /* @__PURE__ */ he(ao, [["__scopeId", "data-v-c8d940f0"]]);
1373
+ function io(u, e, n = {}) {
1374
1374
  const {
1375
1375
  panSensitivity: t = 0.2,
1376
1376
  // 值越大,鼠标移动时图像移动越快
1377
- zoomSensitivity: _ = 1.1,
1377
+ zoomSensitivity: y = 1.1,
1378
1378
  // 值越大,滚轮缩放幅度越大
1379
- damping: v = 0.6,
1379
+ damping: d = 0.6,
1380
1380
  // 值越大,惯性滑动时间越长
1381
- minThreshold: u = 0.05
1381
+ minThreshold: c = 0.05
1382
1382
  // 值越小,停止移动时的精度越高
1383
- } = o;
1383
+ } = n;
1384
1384
  let i = !1, f = null, g = 0, h = 0, l = !1;
1385
1385
  const a = () => {
1386
- i = document.pointerLockElement === e.value, i || m();
1387
- }, m = () => {
1386
+ i = document.pointerLockElement === e.value, i || p();
1387
+ }, p = () => {
1388
1388
  g = 0, h = 0, f && (cancelAnimationFrame(f), f = null), l = !1;
1389
- }, r = (d) => Ce(this, null, function* () {
1389
+ }, r = (v) => Ce(this, null, function* () {
1390
1390
  try {
1391
- d.key === "l" && e.value && (document.pointerLockElement ? (document.exitPointerLock(), console.log("鼠标已解锁!")) : (yield e.value.requestPointerLock(), console.log("鼠标已锁定!")));
1392
- } catch (E) {
1393
- console.error("无法锁定鼠标:", E);
1391
+ v.key === "l" && e.value && (document.pointerLockElement ? (document.exitPointerLock(), console.log("鼠标已解锁!")) : (yield e.value.requestPointerLock(), console.log("鼠标已锁定!")));
1392
+ } catch (M) {
1393
+ console.error("无法锁定鼠标:", M);
1394
1394
  }
1395
- }), s = (d) => {
1395
+ }), s = (v) => {
1396
1396
  if (i) {
1397
- d.preventDefault();
1398
- const E = Math.pow(_, Math.sign(d.deltaY) * -1);
1399
- c.value.viewer.viewport.zoomBy(E), c.value.viewer.viewport.applyConstraints();
1397
+ v.preventDefault();
1398
+ const M = Math.pow(y, Math.sign(v.deltaY) * -1);
1399
+ u.value.viewer.viewport.zoomBy(M), u.value.viewer.viewport.applyConstraints();
1400
1400
  }
1401
- }, p = (d) => {
1402
- i && (g += d.movementX * t, h += d.movementY * t, !l && (Math.abs(g) > 1 || Math.abs(h) > 1) && (l = !0, f = requestAnimationFrame(w)));
1401
+ }, m = (v) => {
1402
+ i && (g += v.movementX * t, h += v.movementY * t, !l && (Math.abs(g) > 1 || Math.abs(h) > 1) && (l = !0, f = requestAnimationFrame(w)));
1403
1403
  }, w = () => {
1404
- const d = c.value.viewer.viewport;
1405
- if (Math.abs(g) > u || Math.abs(h) > u) {
1406
- const E = d.deltaPointsFromPixels(
1404
+ const v = u.value.viewer.viewport;
1405
+ if (Math.abs(g) > c || Math.abs(h) > c) {
1406
+ const M = v.deltaPointsFromPixels(
1407
1407
  new Te.Point(g, h)
1408
1408
  );
1409
- d.panBy(E), d.applyConstraints();
1409
+ v.panBy(M), v.applyConstraints();
1410
1410
  }
1411
- g *= v, h *= v, Math.abs(g) > u || Math.abs(h) > u ? f = requestAnimationFrame(w) : m();
1411
+ g *= d, h *= d, Math.abs(g) > c || Math.abs(h) > c ? f = requestAnimationFrame(w) : p();
1412
1412
  }, k = () => {
1413
1413
  i && document.exitPointerLock();
1414
1414
  };
1415
1415
  return pe(() => {
1416
- var d;
1417
- (d = e.value) == null || d.addEventListener("keydown", r), document.addEventListener("wheel", s, { passive: !1 }), document.addEventListener("click", k), document.addEventListener("mousemove", p), document.addEventListener("pointerlockchange", a);
1416
+ var v;
1417
+ (v = e.value) == null || v.addEventListener("keydown", r), document.addEventListener("wheel", s, { passive: !1 }), document.addEventListener("click", k), document.addEventListener("mousemove", m), document.addEventListener("pointerlockchange", a);
1418
1418
  }), Ie(() => {
1419
- var d;
1420
- (d = e.value) == null || d.removeEventListener("keydown", r), document.removeEventListener("click", k), document.removeEventListener("wheel", s), document.removeEventListener("mousemove", p), document.removeEventListener("pointerlockchange", a), m();
1419
+ var v;
1420
+ (v = e.value) == null || v.removeEventListener("keydown", r), document.removeEventListener("click", k), document.removeEventListener("wheel", s), document.removeEventListener("mousemove", m), document.removeEventListener("pointerlockchange", a), p();
1421
1421
  }), {
1422
- setConfig: (d) => {
1423
- Object.assign(o, d);
1422
+ setConfig: (v) => {
1423
+ Object.assign(n, v);
1424
1424
  }
1425
1425
  };
1426
1426
  }
1427
- const so = /* @__PURE__ */ ee({
1427
+ const ro = /* @__PURE__ */ ee({
1428
1428
  __name: "KfbLevel",
1429
1429
  props: /* @__PURE__ */ we({
1430
1430
  slides: { default: () => [] }
@@ -1435,41 +1435,41 @@ const so = /* @__PURE__ */ ee({
1435
1435
  "model-valueModifiers": {}
1436
1436
  }),
1437
1437
  emits: ["update:model-value"],
1438
- setup(c) {
1439
- const e = c, o = Ee(c, "model-value"), t = J("kfbView", $({})), _ = B(() => Array.from(new Array(e.slides.length + 1)).map((u, i) => i));
1440
- function v() {
1441
- const u = t.value.viewer.world.getItemAt(0), i = Object.keys(u.tilesMatrix);
1438
+ setup(u) {
1439
+ const e = u, n = Ee(u, "model-value"), t = J("kfbView", $({})), y = B(() => Array.from(new Array(e.slides.length + 1)).map((c, i) => i));
1440
+ function d() {
1441
+ const c = t.value.viewer.world.getItemAt(0), i = Object.keys(c.tilesMatrix);
1442
1442
  i.forEach((f, g) => {
1443
- g > i.length - 4 && (u.tilesMatrix[f] = {});
1444
- }), u.draw();
1443
+ g > i.length - 4 && (c.tilesMatrix[f] = {});
1444
+ }), c.draw();
1445
1445
  }
1446
- return (u, i) => (y(), L("div", {
1447
- class: ye(["hzzt-kfb-level flex column align-items-center", u.slides.length > 5 ? "hzzt-kfb-level--large" : ""])
1446
+ return (c, i) => (_(), L("div", {
1447
+ class: ye(["hzzt-kfb-level flex column align-items-center", c.slides.length > 5 ? "hzzt-kfb-level--large" : ""])
1448
1448
  }, [
1449
1449
  T(X, {
1450
1450
  name: "level",
1451
1451
  size: "24",
1452
1452
  class: "margin-b-4 margin-t-2"
1453
1453
  }),
1454
- T(n(al), {
1455
- modelValue: o.value,
1456
- "onUpdate:modelValue": i[0] || (i[0] = (f) => o.value = f),
1454
+ T(o(il), {
1455
+ modelValue: n.value,
1456
+ "onUpdate:modelValue": i[0] || (i[0] = (f) => n.value = f),
1457
1457
  vertical: "",
1458
- min: _.value[0],
1458
+ min: y.value[0],
1459
1459
  step: 1,
1460
- max: _.value[_.value.length - 1],
1460
+ max: y.value[y.value.length - 1],
1461
1461
  "show-stops": "",
1462
1462
  "show-tooltip": !0,
1463
1463
  placement: "left",
1464
- height: u.slides.length > 5 ? "180px" : "130px",
1465
- onInput: v
1464
+ height: c.slides.length > 5 ? "180px" : "130px",
1465
+ onInput: d
1466
1466
  }, null, 8, ["modelValue", "min", "max", "height"])
1467
1467
  ], 2));
1468
1468
  }
1469
- }), io = {
1469
+ }), uo = {
1470
1470
  key: 0,
1471
1471
  class: "flex hzzt-kfb-channel"
1472
- }, ro = ["onClick"], uo = /* @__PURE__ */ ee({
1472
+ }, co = ["onClick"], vo = /* @__PURE__ */ ee({
1473
1473
  __name: "KfbChannel",
1474
1474
  props: /* @__PURE__ */ we({
1475
1475
  info: {}
@@ -1480,8 +1480,8 @@ const so = /* @__PURE__ */ ee({
1480
1480
  "model-valueModifiers": {}
1481
1481
  }),
1482
1482
  emits: /* @__PURE__ */ we(["load"], ["update:model-value"]),
1483
- setup(c, { emit: e }) {
1484
- const o = c, t = e, _ = Ee(c, "model-value"), v = [
1483
+ setup(u, { emit: e }) {
1484
+ const n = u, t = e, y = Ee(u, "model-value"), d = [
1485
1485
  { key: "DAPI", color: "#4A6CF7" },
1486
1486
  { key: "480", color: "#00BFFF" },
1487
1487
  { key: "520", color: "#32CD32" },
@@ -1489,10 +1489,10 @@ const so = /* @__PURE__ */ ee({
1489
1489
  { key: "620", color: "#FF6347" },
1490
1490
  { key: "670", color: "#DC143C" },
1491
1491
  { key: "780", color: "#4B0082" }
1492
- ], u = B(() => {
1492
+ ], c = B(() => {
1493
1493
  var f;
1494
- return (((f = o.info) == null ? void 0 : f.channel) || []).map((g) => {
1495
- const h = v.find((l) => l.key === g.eqt_num);
1494
+ return (((f = n.info) == null ? void 0 : f.channel) || []).map((g) => {
1495
+ const h = d.find((l) => l.key === g.eqt_num);
1496
1496
  return {
1497
1497
  label: g.eqt_num,
1498
1498
  color: g.r ? `rgb(${g.r}, ${g.g}, ${g.b})` : h == null ? void 0 : h.color
@@ -1500,22 +1500,22 @@ const so = /* @__PURE__ */ ee({
1500
1500
  });
1501
1501
  });
1502
1502
  function i(f) {
1503
- _.value.includes(f) ? _.value = _.value.filter((g) => g !== f) : _.value.push(f), t("load");
1503
+ y.value.includes(f) ? y.value = y.value.filter((g) => g !== f) : y.value.push(f), t("load");
1504
1504
  }
1505
- return (f, g) => u.value.length > 0 ? (y(), L("div", io, [
1505
+ return (f, g) => c.value.length > 0 ? (_(), L("div", uo, [
1506
1506
  T(X, {
1507
1507
  name: "channel",
1508
1508
  size: "32"
1509
1509
  }),
1510
- (y(!0), L(le, null, oe(u.value, (h) => (y(), L("div", {
1510
+ (_(!0), L(le, null, oe(c.value, (h) => (_(), L("div", {
1511
1511
  key: h.label,
1512
- style: W({ background: h.color }),
1513
- class: ye(["hzzt-kfb-channel__box", _.value.includes(h.label) ? "" : "hzzt-kfb-channel__box--unactive"]),
1512
+ style: Z({ background: h.color }),
1513
+ class: ye(["hzzt-kfb-channel__box", y.value.includes(h.label) ? "" : "hzzt-kfb-channel__box--unactive"]),
1514
1514
  onClick: (l) => i(h.label)
1515
- }, V(h.label), 15, ro))), 128))
1515
+ }, E(h.label), 15, co))), 128))
1516
1516
  ])) : A("", !0);
1517
1517
  }
1518
- }), co = { class: "flex align-items-center justify-content-between" }, vo = { class: "hzzt-kfb-title" }, fo = { class: "hzzt-kfb-annotation__container flex-1" }, mo = ["onClick"], po = /* @__PURE__ */ ee({
1518
+ }), fo = { class: "flex align-items-center justify-content-between" }, mo = { class: "hzzt-kfb-title" }, po = { class: "hzzt-kfb-annotation__container flex-1" }, ho = ["onClick"], go = /* @__PURE__ */ ee({
1519
1519
  __name: "KfbAnnotation",
1520
1520
  props: /* @__PURE__ */ we({
1521
1521
  annotation: {},
@@ -1525,58 +1525,85 @@ const so = /* @__PURE__ */ ee({
1525
1525
  expandModifiers: {}
1526
1526
  }),
1527
1527
  emits: /* @__PURE__ */ we(["select"], ["update:expand"]),
1528
- setup(c, { emit: e }) {
1529
- const o = Ee(c, "expand"), t = e, { t: _ } = de();
1530
- function v(i) {
1528
+ setup(u, { emit: e }) {
1529
+ const n = Ee(u, "expand"), t = e, { t: y } = ie();
1530
+ function d(i) {
1531
1531
  const f = i.subType || i.tool || "";
1532
1532
  return `mark${f.substring(0, 1).toLocaleUpperCase()}${f.substring(1)}`;
1533
1533
  }
1534
- function u(i) {
1534
+ function c(i) {
1535
1535
  t("select", i);
1536
1536
  }
1537
- return (i, f) => (y(), L("div", {
1538
- class: ye(["hzzt-kfb-annotation flex column", o.value ? "hzzt-kfb-annotation--expand" : ""])
1537
+ return (i, f) => (_(), L("div", {
1538
+ class: ye(["hzzt-kfb-annotation flex column", n.value ? "hzzt-kfb-annotation--expand" : ""])
1539
1539
  }, [
1540
- b("div", co, [
1541
- $e(b("div", vo, [
1542
- b("span", null, V(n(_)("标注列表")), 1)
1540
+ b("div", fo, [
1541
+ $e(b("div", mo, [
1542
+ b("span", null, E(o(y)("标注列表")), 1)
1543
1543
  ], 512), [
1544
- [Re, o.value]
1544
+ [Pe, n.value]
1545
1545
  ]),
1546
1546
  T(X, {
1547
1547
  class: "hzzt-kfb-annotation__icon",
1548
- name: o.value ? "expandLeft" : "expandRight",
1549
- onClick: f[0] || (f[0] = (g) => o.value = !o.value)
1548
+ name: n.value ? "expandLeft" : "expandRight",
1549
+ onClick: f[0] || (f[0] = (g) => n.value = !n.value)
1550
1550
  }, null, 8, ["name"])
1551
1551
  ]),
1552
- $e(b("div", fo, [
1553
- (y(!0), L(le, null, oe(i.annotations, (g, h) => {
1552
+ $e(b("div", po, [
1553
+ (_(!0), L(le, null, oe(i.annotations, (g, h) => {
1554
1554
  var l;
1555
- return y(), L("div", {
1555
+ return _(), L("div", {
1556
1556
  class: ye(["hzzt-kfb-annotation__item", ((l = i.annotation) == null ? void 0 : l.id) === g.id ? "hzzt-kfb-annotation__item--active" : ""]),
1557
1557
  key: h,
1558
- onClick: (a) => u(g)
1558
+ onClick: (a) => c(g)
1559
1559
  }, [
1560
1560
  T(X, {
1561
1561
  size: "16",
1562
- name: v(g)
1562
+ name: d(g)
1563
1563
  }, null, 8, ["name"]),
1564
- b("span", null, V(n(_)("标注")) + V(h + 1), 1)
1565
- ], 10, mo);
1564
+ b("span", null, E(o(y)("标注")) + E(h + 1), 1)
1565
+ ], 10, ho);
1566
1566
  }), 128))
1567
1567
  ], 512), [
1568
- [Re, o.value]
1568
+ [Pe, n.value]
1569
1569
  ])
1570
1570
  ], 2));
1571
1571
  }
1572
- }), ho = /* @__PURE__ */ he(po, [["__scopeId", "data-v-bfc56a3e"]]), go = ["element-loading-text"], wo = {
1572
+ }), wo = /* @__PURE__ */ he(go, [["__scopeId", "data-v-bfc56a3e"]]);
1573
+ function Lt(u) {
1574
+ const { t: e } = ie();
1575
+ return B(() => {
1576
+ var y, d;
1577
+ const t = ((d = (y = u == null ? void 0 : u.slide) == null ? void 0 : y.analysis) == null ? void 0 : d.result) || "";
1578
+ return t.indexOf("疑似阳性") > -1 ? {
1579
+ type: "warning",
1580
+ name: t
1581
+ } : t.indexOf("阳性") > -1 ? {
1582
+ type: "danger",
1583
+ name: t
1584
+ } : t.indexOf("阴性") > -1 ? {
1585
+ type: "success",
1586
+ name: t
1587
+ } : t.indexOf("不合格") > -1 ? {
1588
+ type: "danger",
1589
+ name: t
1590
+ } : t.indexOf("合格") > -1 ? {
1591
+ type: "success",
1592
+ name: t
1593
+ } : {
1594
+ type: "info",
1595
+ name: t || e("未知")
1596
+ };
1597
+ });
1598
+ }
1599
+ const yo = ["element-loading-text"], _o = {
1573
1600
  key: 1,
1574
1601
  class: "hzzt-kfb-view__main flex align-items-center justify-content-center"
1575
- }, yo = {
1602
+ }, bo = {
1576
1603
  class: "hzzt-kfb-view__filter",
1577
1604
  height: "0",
1578
1605
  width: "0"
1579
- }, _o = { id: "colorMatrixFilter" }, bo = ["values"], ko = ["values"], zo = ["exponent"], Co = ["exponent"], To = ["exponent"], $o = { class: "flex nowrap justify-content-center overflow-hidden" }, Lo = ["src"], xo = ["src"], Eo = { class: "flex-1" }, Vo = { class: "flex-1" }, Mo = { class: "flex-1" }, Io = { class: "flex-1" }, So = { class: "flex-1" }, Ho = { class: "flex-1" }, Po = ["src"], Ro = {
1606
+ }, ko = { id: "colorMatrixFilter" }, zo = ["values"], Co = ["values"], To = ["exponent"], $o = ["exponent"], Lo = ["exponent"], xo = { class: "flex nowrap justify-content-center overflow-hidden" }, Eo = ["src"], Vo = ["src"], Mo = { class: "flex-1" }, Io = { class: "flex-1" }, So = { class: "flex-1" }, Ho = { class: "flex-1" }, Po = { class: "flex-1" }, Ro = { class: "flex-1" }, Ao = ["src"], No = {
1580
1607
  key: 2,
1581
1608
  class: "margin-l-2"
1582
1609
  }, Me = /* @__PURE__ */ ee({
@@ -1602,77 +1629,77 @@ const so = /* @__PURE__ */ ee({
1602
1629
  audioType: {}
1603
1630
  },
1604
1631
  emits: ["tool"],
1605
- setup(c, { expose: e, emit: o }) {
1606
- const t = c, _ = o, { t: v, locale: u } = de(), i = $(), f = $(), g = $(), h = $(!1), l = $({}), a = $(!1), m = $(0), r = $(0), s = $(0), p = $([]), w = $({
1632
+ setup(u, { expose: e, emit: n }) {
1633
+ const t = u, y = n, { t: d, locale: c } = ie(), i = $(), f = $(), g = $(), h = $(!1), l = $({}), a = $(!1), p = $(0), r = $(0), s = $(0), m = $([]), w = $({
1607
1634
  width: 0,
1608
1635
  height: 0,
1609
1636
  fileNum: 0,
1610
1637
  scanScale: 1,
1611
1638
  fileName: "",
1612
1639
  ratiomap: {}
1613
- }), k = J("show-kfb-label", $(!0)), d = J("show-keyboard", $(!1)), E = J("hidden-all-label", $(!1)), R = $(!1), I = Ct.directive;
1640
+ }), k = J("show-kfb-label", $(!0)), v = J("show-keyboard", $(!1)), M = J("hidden-all-label", $(!1)), R = $(!1), S = Ct.directive;
1614
1641
  ne(() => {
1615
1642
  var z;
1616
1643
  return (z = t.slide) == null ? void 0 : z.file;
1617
1644
  }, () => {
1618
- Ft(), setTimeout(() => {
1645
+ jt(), setTimeout(() => {
1619
1646
  it();
1620
1647
  }, 100);
1621
1648
  }), pe(() => {
1622
1649
  it();
1623
1650
  });
1624
- const {
1625
- imageProcess: Z,
1626
- matrixValues: Q,
1627
- saturateValues: ve,
1628
- forceRedraw: te
1629
- } = Cl(t), {
1630
- tailorEvent: be,
1631
- shotScreen: ke
1632
- } = Tl(_, l), {
1651
+ const Q = Lt(t), {
1652
+ imageProcess: W,
1653
+ matrixValues: ve,
1654
+ saturateValues: te,
1655
+ forceRedraw: be
1656
+ } = $l(t), {
1657
+ tailorEvent: Se,
1658
+ shotScreen: Ae
1659
+ } = Ll(y, l), {
1633
1660
  moveEvent: Ze,
1634
1661
  fastMove: qe
1635
- } = ql(l, r), { initSync: Ye } = eo(t, l, i);
1636
- ao(l, i);
1637
- const { drawDot: Xe } = Xl(), {
1638
- voiceVisible: Se,
1639
- voiceForm: C,
1640
- drawVoice: N,
1641
- recordTime: F,
1642
- isRecording: ie,
1643
- startRecording: He,
1644
- stopRecording: Lt,
1645
- initVoice: xt,
1646
- cancelRecord: Et,
1647
- confirmRecord: Vt
1648
- } = Ql(t, Pt), {
1662
+ } = Xl(l, r), { initSync: Ye } = lo(t, l, i);
1663
+ io(l, i);
1664
+ const { drawDot: Xe } = Jl(), {
1665
+ voiceVisible: C,
1666
+ voiceForm: N,
1667
+ drawVoice: F,
1668
+ recordTime: re,
1669
+ isRecording: ke,
1670
+ startRecording: xt,
1671
+ stopRecording: Et,
1672
+ initVoice: Vt,
1673
+ cancelRecord: Mt,
1674
+ confirmRecord: It
1675
+ } = eo(t, At), {
1649
1676
  currentLabel: Qe,
1650
1677
  localLabelList: nt,
1651
- initLabel: Mt,
1678
+ initLabel: St,
1652
1679
  jumpToLabel: at,
1653
- reloadLabelList: It,
1654
- eventHandel: St,
1655
- addHandle: Ht
1656
- } = Yl(t, _, l, xt, Je);
1657
- function Pt(z) {
1658
- Ht(z);
1680
+ reloadLabelList: Ht,
1681
+ eventHandel: Pt,
1682
+ addHandle: Rt
1683
+ } = Ql(t, y, l, Vt, Je);
1684
+ function At(z) {
1685
+ Rt(z);
1659
1686
  }
1660
1687
  const {
1661
- getHotmapUrl: Rt,
1662
- handlerImage: At,
1663
- hotmapLine: Nt,
1688
+ getHotmapUrl: Nt,
1689
+ handlerImage: Bt,
1690
+ hotmapLine: Dt,
1664
1691
  lineMouseDown: st,
1665
- hotmapImgs: Bt
1666
- } = Jl(t, l);
1692
+ hotmapImgs: Ut
1693
+ } = to(t, l);
1667
1694
  function it() {
1668
1695
  var z;
1669
- (z = t.slide) != null && z.file && t.fileHandle && (a.value || (a.value = !0, t.fileHandle(t.slide).then((S) => {
1696
+ (z = t.slide) != null && z.file && t.fileHandle && (a.value || (a.value = !0, t.fileHandle(t.slide).then((I) => {
1670
1697
  var q, ae, fe, K;
1671
- w.value = S, p.value = (((q = w.value) == null ? void 0 : q.channel) || []).map((U) => U.eqt_num), l.value = new ue(j({
1698
+ w.value = I, m.value = (((q = w.value) == null ? void 0 : q.channel) || []).map((U) => U.eqt_num), l.value = new ce(j({
1672
1699
  el: f.value,
1673
1700
  fileName: (ae = t.slide) == null ? void 0 : ae.file,
1674
1701
  scale: w.value.scanScale,
1675
- lang: (u == null ? void 0 : u.value) === "en-US" ? "en" : u == null ? void 0 : u.value,
1702
+ lang: (c == null ? void 0 : c.value) === "en-US" ? "en" : c == null ? void 0 : c.value,
1676
1703
  navigator: {
1677
1704
  style: "left: 0;bottom: 0",
1678
1705
  thumbnail: w.value.thumbnailImg,
@@ -1707,21 +1734,21 @@ const so = /* @__PURE__ */ ee({
1707
1734
  animationTime: 0,
1708
1735
  tileSources: rt()
1709
1736
  },
1710
- tileDrawing: At,
1737
+ tileDrawing: Bt,
1711
1738
  label: {
1712
1739
  drawing: (U, D, ze) => {
1713
1740
  var Ne;
1714
1741
  if (D != null && D.custom) {
1715
1742
  const Y = U.getContext("2d");
1716
1743
  Y.save(), Y.beginPath();
1717
- const Pe = (D == null ? void 0 : D.subType) || ((Ne = D == null ? void 0 : D.__data__) == null ? void 0 : Ne.subType);
1718
- Pe === "count" ? (Y.translate(ze.x - 14, ze.y - 22), Xe(Y, (D == null ? void 0 : D.strokeStyle) || "")) : Pe === "voice" ? (Y.translate(ze.x - 16, ze.y - 18), N(Y, (D == null ? void 0 : D.strokeStyle) || "")) : t.labelDrawing && t.labelDrawing(Y, D), Y.restore();
1744
+ const He = (D == null ? void 0 : D.subType) || ((Ne = D == null ? void 0 : D.__data__) == null ? void 0 : Ne.subType);
1745
+ He === "count" ? (Y.translate(ze.x - 14, ze.y - 22), Xe(Y, (D == null ? void 0 : D.strokeStyle) || "")) : He === "voice" ? (Y.translate(ze.x - 16, ze.y - 18), F(Y, (D == null ? void 0 : D.strokeStyle) || "")) : t.labelDrawing && t.labelDrawing(Y, D), Y.restore();
1719
1746
  }
1720
1747
  }
1721
1748
  }
1722
- }, t.options || {})), l.value.viewer.drawer.canvas.style.filter = "url(#colorMatrixFilter)", Mt(), Ut(), Ye();
1749
+ }, t.options || {})), l.value.viewer.drawer.canvas.style.filter = "url(#colorMatrixFilter)", St(), Kt(), Ye();
1723
1750
  }).finally(() => {
1724
- a.value = !1, E.value && (vt({
1751
+ a.value = !1, M.value && (vt({
1725
1752
  show: !1,
1726
1753
  ruler: !1
1727
1754
  }), ft({
@@ -1731,11 +1758,11 @@ const so = /* @__PURE__ */ ee({
1731
1758
  }, 100));
1732
1759
  })));
1733
1760
  }
1734
- function Dt() {
1761
+ function Ft() {
1735
1762
  const z = l.value.viewer;
1736
1763
  if (z.world) {
1737
- const S = z.world.getItemAt(0), q = z.viewport.getZoom(), ae = z.viewport.getCenter();
1738
- z.world.removeItem(S), z.addTiledImage({
1764
+ const I = z.world.getItemAt(0), q = z.viewport.getZoom(), ae = z.viewport.getCenter();
1765
+ z.world.removeItem(I), z.addTiledImage({
1739
1766
  tileSource: rt(),
1740
1767
  success: function() {
1741
1768
  z.viewport.zoomTo(q), z.viewport.panTo(ae);
@@ -1745,9 +1772,9 @@ const so = /* @__PURE__ */ ee({
1745
1772
  }
1746
1773
  function rt() {
1747
1774
  var fe, K;
1748
- const z = w.value.tileWidth || w.value.imageBlockLen || 256, S = w.value.tileHeight || w.value.imageBlockLen || 256, q = {};
1775
+ const z = w.value.tileWidth || w.value.imageBlockLen || 256, I = w.value.tileHeight || w.value.imageBlockLen || 256, q = {};
1749
1776
  (fe = t.hotmap) != null && fe.enable && (((K = t.hotmap) == null ? void 0 : K.info) || []).forEach((U) => {
1750
- q[U[0] / z + "_" + U[1] / S + "_" + U[2]] = !0;
1777
+ q[U[0] / z + "_" + U[1] / I + "_" + U[2]] = !0;
1751
1778
  });
1752
1779
  let ae = 10;
1753
1780
  return Object.keys(w.value.ratiomap).forEach((U) => {
@@ -1757,7 +1784,7 @@ const so = /* @__PURE__ */ ee({
1757
1784
  height: w.value.height,
1758
1785
  width: w.value.width,
1759
1786
  tileWidth: z,
1760
- tileHeight: S,
1787
+ tileHeight: I,
1761
1788
  minLevel: Math.floor(ae || 8),
1762
1789
  getTileUrl: (U, D, ze) => {
1763
1790
  var pt, ht, gt, wt;
@@ -1767,30 +1794,30 @@ const so = /* @__PURE__ */ ee({
1767
1794
  y: ze,
1768
1795
  scale: "0",
1769
1796
  level: U,
1770
- channel: JSON.stringify(p.value)
1797
+ channel: JSON.stringify(m.value)
1771
1798
  };
1772
1799
  w.value.fileNum === U ? (U = w.value.scanScale, Y.scale = U.toFixed(6)) : (U = w.value.scanScale / Math.pow(2, w.value.fileNum - U), Y.scale = U.toFixed(6)), Y.level = Ne, Y.file = s.value === 0 ? Y.file : ((gt = (ht = t.slide) == null ? void 0 : ht.children) == null ? void 0 : gt[s.value - 1]) || "";
1773
- const Pe = t.tileHandle(Y);
1774
- return (wt = t.hotmap) != null && wt.enable ? Rt(Pe, Y, q) : Pe;
1800
+ const He = t.tileHandle(Y);
1801
+ return (wt = t.hotmap) != null && wt.enable ? Nt(He, Y, q) : He;
1775
1802
  }
1776
1803
  };
1777
1804
  }
1778
- function Ut() {
1805
+ function Kt() {
1779
1806
  l.value.viewer.addHandler("rotate", (z) => {
1780
- m.value = z.degrees || 0;
1807
+ p.value = z.degrees || 0;
1781
1808
  }), l.value.viewer.addHandler("zoom", (z) => {
1782
- const S = l.value.viewer.viewport.viewportToImageZoom(
1809
+ const I = l.value.viewer.viewport.viewportToImageZoom(
1783
1810
  z.zoom || 0
1784
1811
  ) * Number(l.value.$options.scale);
1785
- r.value = Number(S.toFixed(2));
1786
- }), l.value.$on(ue.events.EVENT_NAVIGATOR_VESTIGE, (z) => {
1812
+ r.value = Number(I.toFixed(2));
1813
+ }), l.value.$on(ce.events.EVENT_NAVIGATOR_VESTIGE, (z) => {
1787
1814
  t.navigatorHandle && t.navigatorHandle("add", t.slide, z);
1788
1815
  }), t.navigatorHandle && t.navigatorHandle("list", t.slide).then((z) => {
1789
- var S, q;
1790
- (q = (S = l.value.navigator) == null ? void 0 : S.drawPointList) == null || q.call(S, z);
1791
- }), be(), Ze();
1816
+ var I, q;
1817
+ (q = (I = l.value.navigator) == null ? void 0 : I.drawPointList) == null || q.call(I, z);
1818
+ }), Se(), Ze();
1792
1819
  }
1793
- function Ft() {
1820
+ function jt() {
1794
1821
  var z;
1795
1822
  (z = l.value) != null && z.destroy && (l.value.destroy(), l.value = {}, w.value = {
1796
1823
  width: 0,
@@ -1799,25 +1826,25 @@ const so = /* @__PURE__ */ ee({
1799
1826
  scanScale: 1,
1800
1827
  fileName: "",
1801
1828
  ratiomap: {}
1802
- }, Bt.value = [], p.value = [], r.value = 0, m.value = 0, s.value = 0);
1829
+ }, Ut.value = [], m.value = [], r.value = 0, p.value = 0, s.value = 0);
1803
1830
  }
1804
- function ut(z, S) {
1805
- z === "annotate" ? ct(S) : z === "tailor" ? ke(S) : z === "info" ? h.value = !0 : z === "flip" ? dt() : z === "delete" ? St("delete")(Qe.value) : _("tool", z, S);
1831
+ function ut(z, I) {
1832
+ z === "annotate" ? ct(I) : z === "tailor" ? Ae(I) : z === "info" ? h.value = !0 : z === "flip" ? dt() : z === "delete" ? Pt("delete")(Qe.value) : y("tool", z, I);
1806
1833
  }
1807
1834
  function ct(z) {
1808
1835
  z.tool === "Voice" && (z.subType = "voice", z.tool = "Dot", z.custom = !0), l.value.board.startDraw(z);
1809
1836
  }
1810
- function Kt() {
1837
+ function Ot() {
1811
1838
  l.value.board.endDraw();
1812
1839
  }
1813
1840
  function dt() {
1814
1841
  l.value.viewer.viewport.toggleFlip();
1815
1842
  }
1816
- function jt(z) {
1817
- var S, q;
1818
- (q = (S = g.value) == null ? void 0 : S.scopeChange) == null || q.call(S, z);
1843
+ function Gt(z) {
1844
+ var I, q;
1845
+ (q = (I = g.value) == null ? void 0 : I.scopeChange) == null || q.call(I, z);
1819
1846
  }
1820
- function Ot() {
1847
+ function Wt() {
1821
1848
  h.value = !0;
1822
1849
  }
1823
1850
  function vt(z) {
@@ -1830,216 +1857,217 @@ const so = /* @__PURE__ */ ee({
1830
1857
  l.value.navigator.element.style.display = z ? "flex" : "none";
1831
1858
  }
1832
1859
  function Je(z) {
1833
- const S = l.value.viewer.viewport.imageToViewportZoom(Number(z / l.value.$options.scale));
1834
- l.value.viewer.viewport.zoomTo(S);
1860
+ const I = l.value.viewer.viewport.imageToViewportZoom(Number(z / l.value.$options.scale));
1861
+ l.value.viewer.viewport.zoomTo(I);
1835
1862
  }
1836
- function Gt(z, S) {
1863
+ function Zt(z, I) {
1837
1864
  l.value.area && (l.value.area.moveToLabel(l.value.viewer.viewport.imageToViewportCoordinates(
1838
1865
  z.x + z.width / 2,
1839
1866
  z.y + z.height / 2
1840
- )), Je(S));
1867
+ )), Je(I));
1841
1868
  }
1842
- return re("kfbView", l), re("currentLabel", Qe), e({
1869
+ return ue("kfbView", l), ue("currentLabel", Qe), e({
1843
1870
  kfbView: l,
1844
- degrees: m,
1871
+ degrees: p,
1845
1872
  zoom: r,
1846
- forceRedraw: te,
1873
+ forceRedraw: be,
1847
1874
  toggleFlip: dt,
1848
1875
  startDraw: ct,
1849
- endDraw: Kt,
1850
- shotScreen: ke,
1851
- info: Ot,
1852
- scopeChange: jt,
1876
+ endDraw: Ot,
1877
+ shotScreen: Ae,
1878
+ info: Wt,
1879
+ scopeChange: Gt,
1853
1880
  updateGrid: vt,
1854
1881
  updateGraduation: ft,
1855
1882
  updateNavigator: mt,
1856
1883
  fastMove: qe,
1857
1884
  zoomTo: Je,
1858
1885
  jumpToLabel: at,
1859
- jumpToPosition: Gt,
1860
- reloadLabelList: It
1861
- }), (z, S) => {
1886
+ jumpToPosition: Zt,
1887
+ reloadLabelList: Ht
1888
+ }), (z, I) => {
1862
1889
  var q, ae, fe;
1863
- return y(), L("div", {
1890
+ return _(), L("div", {
1864
1891
  ref_key: "mainKfbViewRef",
1865
1892
  ref: i,
1866
1893
  class: "hzzt-kfb-view"
1867
1894
  }, [
1868
- z.slide.file ? $e((y(), L("div", {
1895
+ z.slide.file ? $e((_(), L("div", {
1869
1896
  key: 0,
1870
1897
  ref_key: "kfbViewMainRef",
1871
1898
  ref: f,
1872
1899
  class: "hzzt-kfb-view__main",
1873
- "element-loading-text": n(v)("加载中"),
1900
+ "element-loading-text": o(d)("加载中"),
1874
1901
  "element-loading-background": "rgba(0, 0, 0, 0.8)"
1875
- }, null, 8, go)), [
1876
- [n(I), a.value]
1877
- ]) : (y(), L("div", wo, S[5] || (S[5] = [
1902
+ }, null, 8, yo)), [
1903
+ [o(S), a.value]
1904
+ ]) : (_(), L("div", _o, I[5] || (I[5] = [
1878
1905
  b("img", {
1879
1906
  style: { width: "50%" },
1880
1907
  src: Ge
1881
1908
  }, null, -1)
1882
1909
  ]))),
1883
- z.slide.analysis && z.slide.analysis.result ? (y(), P(n(Tt), {
1910
+ z.slide.analysis && z.slide.analysis.result ? (_(), P(o(Tt), {
1884
1911
  key: 2,
1885
- class: "hzzt-kfb-view__tag"
1912
+ class: "hzzt-kfb-view__tag",
1913
+ type: o(Q).type
1886
1914
  }, {
1887
1915
  default: x(() => [
1888
- G(V(z.slide.analysis.result), 1)
1916
+ G(E(o(Q).name), 1)
1889
1917
  ]),
1890
1918
  _: 1
1891
- })) : A("", !0),
1892
- (y(), L("svg", yo, [
1893
- b("filter", _o, [
1919
+ }, 8, ["type"])) : A("", !0),
1920
+ (_(), L("svg", bo, [
1921
+ b("filter", ko, [
1894
1922
  b("feColorMatrix", {
1895
- values: n(Q),
1923
+ values: o(ve),
1896
1924
  type: "matrix"
1897
- }, null, 8, bo),
1925
+ }, null, 8, zo),
1898
1926
  b("feColorMatrix", {
1899
- values: n(ve),
1927
+ values: o(te),
1900
1928
  type: "saturate"
1901
- }, null, 8, ko),
1929
+ }, null, 8, Co),
1902
1930
  b("feComponentTransfer", null, [
1903
1931
  b("feFuncR", {
1904
1932
  id: "feFuncR",
1905
1933
  type: "gamma",
1906
- exponent: n(Z).ga,
1934
+ exponent: o(W).ga,
1907
1935
  amplitude: "1",
1908
1936
  offset: "0"
1909
- }, null, 8, zo),
1937
+ }, null, 8, To),
1910
1938
  b("feFuncG", {
1911
1939
  id: "feFuncG",
1912
1940
  type: "gamma",
1913
- exponent: n(Z).ga,
1941
+ exponent: o(W).ga,
1914
1942
  amplitude: "1",
1915
1943
  offset: "0"
1916
- }, null, 8, Co),
1944
+ }, null, 8, $o),
1917
1945
  b("feFuncB", {
1918
1946
  id: "feFuncB",
1919
1947
  type: "gamma",
1920
- exponent: n(Z).ga,
1948
+ exponent: o(W).ga,
1921
1949
  amplitude: "1",
1922
1950
  offset: "0"
1923
- }, null, 8, To)
1951
+ }, null, 8, Lo)
1924
1952
  ])
1925
1953
  ])
1926
1954
  ])),
1927
- T(Pl, {
1955
+ T(Al, {
1928
1956
  menus: z.menus,
1929
1957
  onTool: ut
1930
1958
  }, null, 8, ["menus"]),
1931
- T(Nl, Ke(z.microscope, {
1959
+ T(Dl, Ke(z.microscope, {
1932
1960
  ref_key: "microscopeRef",
1933
1961
  ref: g
1934
1962
  }), null, 16),
1935
- n(k) && z.slide.file ? (y(), P(Zl, {
1963
+ o(k) && z.slide.file ? (_(), P(Yl, {
1936
1964
  key: 3,
1937
1965
  info: w.value,
1938
1966
  slide: z.slide,
1939
1967
  pathologyHandle: z.pathologyHandle,
1940
1968
  onTool: ut
1941
1969
  }, null, 8, ["info", "slide", "pathologyHandle"])) : A("", !0),
1942
- n(d) ? (y(), P(no, { key: 4 })) : A("", !0),
1943
- (q = z.slide.children) != null && q.length ? (y(), P(so, {
1970
+ o(v) ? (_(), P(so, { key: 4 })) : A("", !0),
1971
+ (q = z.slide.children) != null && q.length ? (_(), P(ro, {
1944
1972
  key: 5,
1945
1973
  modelValue: s.value,
1946
- "onUpdate:modelValue": S[0] || (S[0] = (K) => s.value = K),
1974
+ "onUpdate:modelValue": I[0] || (I[0] = (K) => s.value = K),
1947
1975
  slides: z.slide.children
1948
1976
  }, null, 8, ["modelValue", "slides"])) : A("", !0),
1949
- (fe = (ae = w.value) == null ? void 0 : ae.channel) != null && fe.length ? (y(), P(uo, {
1977
+ (fe = (ae = w.value) == null ? void 0 : ae.channel) != null && fe.length ? (_(), P(vo, {
1950
1978
  key: 6,
1951
- modelValue: p.value,
1952
- "onUpdate:modelValue": S[1] || (S[1] = (K) => p.value = K),
1979
+ modelValue: m.value,
1980
+ "onUpdate:modelValue": I[1] || (I[1] = (K) => m.value = K),
1953
1981
  info: w.value,
1954
- onLoad: Dt
1982
+ onLoad: Ft
1955
1983
  }, null, 8, ["modelValue", "info"])) : A("", !0),
1956
- n(nt).length ? (y(), P(ho, {
1984
+ o(nt).length ? (_(), P(wo, {
1957
1985
  key: 7,
1958
1986
  expand: R.value,
1959
- "onUpdate:expand": S[2] || (S[2] = (K) => R.value = K),
1960
- style: W({
1987
+ "onUpdate:expand": I[2] || (I[2] = (K) => R.value = K),
1988
+ style: Z({
1961
1989
  top: z.slide.analysis && z.slide.analysis.result ? "24px" : "4px"
1962
1990
  }),
1963
- annotation: n(Qe),
1964
- annotations: n(nt),
1965
- onSelect: n(at)
1991
+ annotation: o(Qe),
1992
+ annotations: o(nt),
1993
+ onSelect: o(at)
1966
1994
  }, null, 8, ["expand", "style", "annotation", "annotations", "onSelect"])) : A("", !0),
1967
- T(n(je), {
1995
+ T(o(je), {
1968
1996
  modelValue: h.value,
1969
- "onUpdate:modelValue": S[3] || (S[3] = (K) => h.value = K),
1997
+ "onUpdate:modelValue": I[3] || (I[3] = (K) => h.value = K),
1970
1998
  "append-to-body": !0,
1971
- title: n(v)("图像信息"),
1999
+ title: o(d)("图像信息"),
1972
2000
  width: "700px",
1973
2001
  top: "5vh"
1974
2002
  }, {
1975
2003
  default: x(() => [
1976
- T(n(tt), { "label-position": "left" }, {
2004
+ T(o(tt), { "label-position": "left" }, {
1977
2005
  default: x(() => [
1978
- T(n(se), {
2006
+ T(o(se), {
1979
2007
  class: "flex",
1980
2008
  "label-width": "0px"
1981
2009
  }, {
1982
2010
  default: x(() => [
1983
- b("div", $o, [
2011
+ b("div", xo, [
1984
2012
  b("img", {
1985
2013
  src: w.value.labelImg,
1986
2014
  style: { height: "180px" }
1987
- }, null, 8, Lo),
2015
+ }, null, 8, Eo),
1988
2016
  b("img", {
1989
2017
  src: w.value.previewImg,
1990
2018
  style: { height: "180px" },
1991
2019
  class: "flex-1"
1992
- }, null, 8, xo)
2020
+ }, null, 8, Vo)
1993
2021
  ])
1994
2022
  ]),
1995
2023
  _: 1
1996
2024
  }),
1997
- T(n(se), {
1998
- label: n(v)("文件名")
2025
+ T(o(se), {
2026
+ label: o(d)("文件名")
1999
2027
  }, {
2000
2028
  default: x(() => [
2001
- b("span", Eo, V(w.value.fileName), 1)
2029
+ b("span", Mo, E(w.value.fileName), 1)
2002
2030
  ]),
2003
2031
  _: 1
2004
2032
  }, 8, ["label"]),
2005
- T(n(se), {
2006
- label: n(v)("图像像素")
2033
+ T(o(se), {
2034
+ label: o(d)("图像像素")
2007
2035
  }, {
2008
2036
  default: x(() => [
2009
- b("span", Vo, V(w.value.width) + "Pixel - " + V(w.value.height) + "Pixel", 1)
2037
+ b("span", Io, E(w.value.width) + "Pixel - " + E(w.value.height) + "Pixel", 1)
2010
2038
  ]),
2011
2039
  _: 1
2012
2040
  }, 8, ["label"]),
2013
- T(n(se), {
2014
- label: n(v)("扫描倍率")
2041
+ T(o(se), {
2042
+ label: o(d)("扫描倍率")
2015
2043
  }, {
2016
2044
  default: x(() => [
2017
- b("span", Mo, V(w.value.scanScale), 1)
2045
+ b("span", So, E(w.value.scanScale), 1)
2018
2046
  ]),
2019
2047
  _: 1
2020
2048
  }, 8, ["label"]),
2021
- T(n(se), {
2022
- label: n(v)("扫描时刻")
2049
+ T(o(se), {
2050
+ label: o(d)("扫描时刻")
2023
2051
  }, {
2024
2052
  default: x(() => [
2025
- b("span", Io, V(w.value.scanTime), 1)
2053
+ b("span", Ho, E(w.value.scanTime), 1)
2026
2054
  ]),
2027
2055
  _: 1
2028
2056
  }, 8, ["label"]),
2029
- T(n(se), {
2030
- label: n(v)("扫描时间")
2057
+ T(o(se), {
2058
+ label: o(d)("扫描时间")
2031
2059
  }, {
2032
2060
  default: x(() => [
2033
- b("span", So, V(w.value.scanDuration || 0) + "s", 1)
2061
+ b("span", Po, E(w.value.scanDuration || 0) + "s", 1)
2034
2062
  ]),
2035
2063
  _: 1
2036
2064
  }, 8, ["label"]),
2037
- w.value.ext ? (y(), P(n(se), {
2065
+ w.value.ext ? (_(), P(o(se), {
2038
2066
  key: 0,
2039
- label: n(v)("扫描设备")
2067
+ label: o(d)("扫描设备")
2040
2068
  }, {
2041
2069
  default: x(() => [
2042
- b("span", Ho, V(w.value.ext.machineNum || ""), 1)
2070
+ b("span", Ro, E(w.value.ext.machineNum || ""), 1)
2043
2071
  ]),
2044
2072
  _: 1
2045
2073
  }, 8, ["label"])) : A("", !0)
@@ -2049,73 +2077,73 @@ const so = /* @__PURE__ */ ee({
2049
2077
  ]),
2050
2078
  _: 1
2051
2079
  }, 8, ["modelValue", "title"]),
2052
- T(n(je), {
2053
- modelValue: n(Se),
2054
- "onUpdate:modelValue": S[4] || (S[4] = (K) => Ve(Se) ? Se.value = K : null),
2080
+ T(o(je), {
2081
+ modelValue: o(C),
2082
+ "onUpdate:modelValue": I[4] || (I[4] = (K) => Ve(C) ? C.value = K : null),
2055
2083
  "append-to-body": !0,
2056
- title: n(v)("语音输入"),
2084
+ title: o(d)("语音输入"),
2057
2085
  width: "500px",
2058
2086
  top: "5vh"
2059
2087
  }, {
2060
2088
  footer: x(() => [
2061
- T(n(ge), { onClick: n(Et) }, {
2089
+ T(o(ge), { onClick: o(Mt) }, {
2062
2090
  default: x(() => [
2063
- G(V(n(v)("取消")), 1)
2091
+ G(E(o(d)("取消")), 1)
2064
2092
  ]),
2065
2093
  _: 1
2066
2094
  }, 8, ["onClick"]),
2067
- T(n(ge), {
2095
+ T(o(ge), {
2068
2096
  type: "primary",
2069
- onClick: n(Vt)
2097
+ onClick: o(It)
2070
2098
  }, {
2071
2099
  default: x(() => [
2072
- G(V(n(v)("确定")), 1)
2100
+ G(E(o(d)("确定")), 1)
2073
2101
  ]),
2074
2102
  _: 1
2075
2103
  }, 8, ["onClick"])
2076
2104
  ]),
2077
2105
  default: x(() => [
2078
- T(n(tt), { "label-position": "left" }, {
2106
+ T(o(tt), { "label-position": "left" }, {
2079
2107
  default: x(() => {
2080
2108
  var K;
2081
2109
  return [
2082
- T(n(se), null, {
2110
+ T(o(se), null, {
2083
2111
  default: x(() => {
2084
2112
  var U;
2085
2113
  return [
2086
- (U = n(C)) != null && U.src ? (y(), L("audio", {
2114
+ (U = o(N)) != null && U.src ? (_(), L("audio", {
2087
2115
  key: 0,
2088
2116
  class: "width-100%",
2089
- src: n(C).src,
2117
+ src: o(N).src,
2090
2118
  controls: "",
2091
2119
  preload: "auto"
2092
- }, null, 8, Po)) : A("", !0)
2120
+ }, null, 8, Ao)) : A("", !0)
2093
2121
  ];
2094
2122
  }),
2095
2123
  _: 1
2096
2124
  }),
2097
- (K = n(C)) != null && K.src ? A("", !0) : (y(), P(n(se), { key: 0 }, {
2125
+ (K = o(N)) != null && K.src ? A("", !0) : (_(), P(o(se), { key: 0 }, {
2098
2126
  default: x(() => [
2099
- n(ie) ? (y(), P(n(ge), {
2127
+ o(ke) ? (_(), P(o(ge), {
2100
2128
  key: 1,
2101
2129
  type: "danger",
2102
- onClick: n(Lt)
2130
+ onClick: o(Et)
2103
2131
  }, {
2104
2132
  default: x(() => [
2105
- G(V(n(v)("结束录音")), 1)
2133
+ G(E(o(d)("结束录音")), 1)
2106
2134
  ]),
2107
2135
  _: 1
2108
- }, 8, ["onClick"])) : (y(), P(n(ge), {
2136
+ }, 8, ["onClick"])) : (_(), P(o(ge), {
2109
2137
  key: 0,
2110
2138
  type: "primary",
2111
- onClick: n(He)
2139
+ onClick: o(xt)
2112
2140
  }, {
2113
2141
  default: x(() => [
2114
- G(V(n(v)("开始录音")), 1)
2142
+ G(E(o(d)("开始录音")), 1)
2115
2143
  ]),
2116
2144
  _: 1
2117
2145
  }, 8, ["onClick"])),
2118
- n(ie) ? (y(), L("span", Ro, V(n(v)("录音时长")) + ":" + V(n(F)) + "s", 1)) : A("", !0)
2146
+ o(ke) ? (_(), L("span", No, E(o(d)("录音时长")) + ":" + E(o(re)) + "s", 1)) : A("", !0)
2119
2147
  ]),
2120
2148
  _: 1
2121
2149
  }))
@@ -2126,17 +2154,17 @@ const so = /* @__PURE__ */ ee({
2126
2154
  ]),
2127
2155
  _: 1
2128
2156
  }, 8, ["modelValue", "title"]),
2129
- z.hotmap && z.hotmap.enable && z.hotmap.type !== "switch" ? (y(), L("div", {
2157
+ z.hotmap && z.hotmap.enable && z.hotmap.type !== "switch" ? (_(), L("div", {
2130
2158
  key: 8,
2131
2159
  class: "hzzt-kfb-view__hotmap",
2132
- style: W({ left: n(Nt) + "px" })
2160
+ style: Z({ left: o(Dt) + "px" })
2133
2161
  }, [
2134
- T(n(_e), {
2162
+ T(o(_e), {
2135
2163
  class: "icon-caret-left",
2136
2164
  size: "30",
2137
- onMousedown: n(st)
2165
+ onMousedown: o(st)
2138
2166
  }, {
2139
- default: x(() => S[6] || (S[6] = [
2167
+ default: x(() => I[6] || (I[6] = [
2140
2168
  b("svg", {
2141
2169
  xmlns: "http://www.w3.org/2000/svg",
2142
2170
  viewBox: "0 0 1024 1024"
@@ -2150,12 +2178,12 @@ const so = /* @__PURE__ */ ee({
2150
2178
  _: 1,
2151
2179
  __: [6]
2152
2180
  }, 8, ["onMousedown"]),
2153
- T(n(_e), {
2181
+ T(o(_e), {
2154
2182
  class: "icon-caret-right",
2155
2183
  size: "30",
2156
- onMousedown: n(st)
2184
+ onMousedown: o(st)
2157
2185
  }, {
2158
- default: x(() => S[7] || (S[7] = [
2186
+ default: x(() => I[7] || (I[7] = [
2159
2187
  b("svg", {
2160
2188
  xmlns: "http://www.w3.org/2000/svg",
2161
2189
  viewBox: "0 0 1024 1024"
@@ -2170,58 +2198,58 @@ const so = /* @__PURE__ */ ee({
2170
2198
  __: [7]
2171
2199
  }, 8, ["onMousedown"])
2172
2200
  ], 4)) : A("", !0),
2173
- ce(z.$slots, "default")
2201
+ de(z.$slots, "default")
2174
2202
  ], 512);
2175
2203
  };
2176
2204
  }
2177
2205
  });
2178
- function Ao(c, e) {
2206
+ function Bo(u, e) {
2179
2207
  var h, l;
2180
- const o = $(!!((h = c.ai) != null && h.default)), t = $(!!((l = c.ai) != null && l.default)), _ = $([]), v = B(
2208
+ const n = $(!!((h = u.ai) != null && h.default)), t = $(!!((l = u.ai) != null && l.default)), y = $([]), d = B(
2181
2209
  () => {
2182
- var a, m, r, s;
2183
- return (m = (a = e.value) == null ? void 0 : a.analysis) != null && m.id ? ((s = (r = e.value) == null ? void 0 : r.analysis) == null ? void 0 : s.class) || "auto" : "";
2210
+ var a, p, r, s;
2211
+ return (p = (a = e.value) == null ? void 0 : a.analysis) != null && p.id ? ((s = (r = e.value) == null ? void 0 : r.analysis) == null ? void 0 : s.class) || "auto" : "";
2184
2212
  }
2185
2213
  );
2186
2214
  ne(() => {
2187
2215
  var a;
2188
- return (a = c.ai) == null ? void 0 : a.default;
2216
+ return (a = u.ai) == null ? void 0 : a.default;
2189
2217
  }, (a) => {
2190
- o.value = !!a, t.value = !!a;
2218
+ n.value = !!a, t.value = !!a;
2191
2219
  }), ne(() => {
2192
2220
  var a;
2193
2221
  return (a = e == null ? void 0 : e.value) == null ? void 0 : a.id;
2194
- }, u), pe(() => {
2195
- var a, m;
2196
- o.value = !!((a = c.ai) != null && a.default), t.value = !!((m = c.ai) != null && m.default), u();
2222
+ }, c), pe(() => {
2223
+ var a, p;
2224
+ n.value = !!((a = u.ai) != null && a.default), t.value = !!((p = u.ai) != null && p.default), c();
2197
2225
  });
2198
- function u() {
2226
+ function c() {
2199
2227
  var a;
2200
- (a = e.value) != null && a.id && v.value ? o.value || t.value ? i() : _.value = [] : _.value = [];
2228
+ (a = e.value) != null && a.id && d.value ? n.value || t.value ? i() : y.value = [] : y.value = [];
2201
2229
  }
2202
2230
  function i() {
2203
- c.ai.handle(v.value, e.value).then((a) => {
2204
- _.value = a;
2231
+ u.ai.handle(d.value, e.value).then((a) => {
2232
+ y.value = a;
2205
2233
  }).catch(() => {
2206
- _.value = [], v.value === "IQC" ? t.value = !1 : o.value = !1;
2234
+ y.value = [], d.value === "IQC" ? t.value = !1 : n.value = !1;
2207
2235
  });
2208
2236
  }
2209
2237
  function f() {
2210
- t.value = !1, u();
2238
+ t.value = !1, c();
2211
2239
  }
2212
2240
  function g() {
2213
- o.value = !1, u();
2241
+ n.value = !1, c();
2214
2242
  }
2215
2243
  return {
2216
- analysisClass: v,
2217
- aiLabelList: _,
2218
- enableAi: o,
2244
+ analysisClass: d,
2245
+ aiLabelList: y,
2246
+ enableAi: n,
2219
2247
  enableIqc: t,
2220
2248
  toggleIqc: g,
2221
2249
  toggleAi: f
2222
2250
  };
2223
2251
  }
2224
- const No = ["src", "fit"], Bo = ["src", "fit"], Ue = /* @__PURE__ */ ee({
2252
+ const Do = ["src", "fit"], Uo = ["src", "fit"], Ue = /* @__PURE__ */ ee({
2225
2253
  name: "KfbImage",
2226
2254
  __name: "KfbImage",
2227
2255
  props: {
@@ -2232,7 +2260,7 @@ const No = ["src", "fit"], Bo = ["src", "fit"], Ue = /* @__PURE__ */ ee({
2232
2260
  },
2233
2261
  fit: {
2234
2262
  type: String,
2235
- validator: (c) => ["", "contain", "cover", "fill", "none", "scale-down"].includes(c),
2263
+ validator: (u) => ["", "contain", "cover", "fill", "none", "scale-down"].includes(u),
2236
2264
  default: ""
2237
2265
  },
2238
2266
  retryTimes: {
@@ -2244,68 +2272,68 @@ const No = ["src", "fit"], Bo = ["src", "fit"], Ue = /* @__PURE__ */ ee({
2244
2272
  default: () => ({})
2245
2273
  }
2246
2274
  },
2247
- setup(c) {
2248
- const e = c;
2249
- let o = 0;
2250
- const t = $(!1), _ = ot({
2275
+ setup(u) {
2276
+ const e = u;
2277
+ let n = 0;
2278
+ const t = $(!1), y = ot({
2251
2279
  x: 0,
2252
2280
  y: 0
2253
- }), v = B(() => ({
2254
- top: `${_.y + 10}px`,
2255
- left: `${_.x}px`,
2281
+ }), d = B(() => ({
2282
+ top: `${y.y + 10}px`,
2283
+ left: `${y.x}px`,
2256
2284
  transform: "translateY(-50%)",
2257
2285
  width: `${4 * 300 / 3}px`,
2258
2286
  height: "300px",
2259
2287
  background: "rgba(0,0,0,0.8)",
2260
2288
  zIndex: "10000"
2261
2289
  }));
2262
- function u(h) {
2290
+ function c(h) {
2263
2291
  const l = h.target;
2264
- o < e.retryTimes ? (l.src = e.src, o++) : l.src = Ge;
2292
+ n < e.retryTimes ? (l.src = e.src, n++) : l.src = Ge;
2265
2293
  }
2266
2294
  function i(h) {
2267
2295
  if (h.target) {
2268
- const s = h.target, p = s.tagName;
2296
+ const s = h.target, m = s.tagName;
2269
2297
  let w = "";
2270
- if (s.tagName === "IMG" ? w = s.src || "" : p === "DIV" && (w = s.children[0].src || ""), w.indexOf(Ge) > -1)
2298
+ if (s.tagName === "IMG" ? w = s.src || "" : m === "DIV" && (w = s.children[0].src || ""), w.indexOf(Ge) > -1)
2271
2299
  return;
2272
2300
  }
2273
- const { x: l, y: a } = f(h), m = 4 * 300 / 3, r = 300;
2274
- _.x = Math.min(Math.max(l, m / 2), window.innerWidth - m / 2), _.y = Math.min(Math.max(a, r / 2), window.innerHeight - r / 2), t.value = !0;
2301
+ const { x: l, y: a } = f(h), p = 4 * 300 / 3, r = 300;
2302
+ y.x = Math.min(Math.max(l, p / 2), window.innerWidth - p / 2), y.y = Math.min(Math.max(a, r / 2), window.innerHeight - r / 2), t.value = !0;
2275
2303
  }
2276
2304
  function f(h) {
2277
- const l = h.target, a = h.offsetX, m = h.offsetY, r = l.clientWidth, s = l.clientHeight;
2305
+ const l = h.target, a = h.offsetX, p = h.offsetY, r = l.clientWidth, s = l.clientHeight;
2278
2306
  return {
2279
2307
  x: h.clientX + r - a,
2280
- y: h.clientY - m + s / 2
2308
+ y: h.clientY - p + s / 2
2281
2309
  };
2282
2310
  }
2283
2311
  function g() {
2284
2312
  t.value = !1;
2285
2313
  }
2286
- return (h, l) => (y(), L("div", {
2314
+ return (h, l) => (_(), L("div", {
2287
2315
  class: "relative",
2288
2316
  onMouseenter: i,
2289
2317
  onMouseleave: g
2290
2318
  }, [
2291
2319
  b("img", {
2292
- src: c.src,
2293
- fit: c.fit,
2294
- onError: u,
2320
+ src: u.src,
2321
+ fit: u.fit,
2322
+ onError: c,
2295
2323
  style: {
2296
2324
  height: "100%",
2297
2325
  width: "100%"
2298
2326
  }
2299
- }, null, 40, No),
2300
- (y(), P(Fe, { to: "body" }, [
2301
- t.value ? (y(), L("div", {
2327
+ }, null, 40, Do),
2328
+ (_(), P(Fe, { to: "body" }, [
2329
+ t.value ? (_(), L("div", {
2302
2330
  key: 0,
2303
2331
  class: "fixed hzzt-kfb-img-triangle-left",
2304
- style: W(v.value)
2332
+ style: Z(d.value)
2305
2333
  }, [
2306
2334
  b("img", {
2307
- src: c.src,
2308
- fit: c.fit,
2335
+ src: u.src,
2336
+ fit: u.fit,
2309
2337
  style: {
2310
2338
  objectFit: "contain",
2311
2339
  height: "100%",
@@ -2315,32 +2343,32 @@ const No = ["src", "fit"], Bo = ["src", "fit"], Ue = /* @__PURE__ */ ee({
2315
2343
  t.value = !0;
2316
2344
  }),
2317
2345
  onMouseleave: g
2318
- }, null, 40, Bo)
2346
+ }, null, 40, Uo)
2319
2347
  ], 4)) : A("", !0)
2320
2348
  ]))
2321
2349
  ], 32));
2322
2350
  }
2323
- }), Do = {}, Uo = {
2351
+ }), Fo = {}, Ko = {
2324
2352
  xmlns: "http://www.w3.org/2000/svg",
2325
2353
  viewBox: "0 0 1024 1024"
2326
2354
  };
2327
- function Fo(c, e) {
2328
- return y(), L("svg", Uo, e[0] || (e[0] = [
2355
+ function jo(u, e) {
2356
+ return _(), L("svg", Ko, e[0] || (e[0] = [
2329
2357
  b("path", {
2330
2358
  fill: "currentColor",
2331
2359
  d: "M160 448a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zM160 896a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32z"
2332
2360
  }, null, -1)
2333
2361
  ]));
2334
2362
  }
2335
- const Ko = /* @__PURE__ */ he(Do, [["render", Fo]]), jo = {}, Oo = {
2363
+ const Oo = /* @__PURE__ */ he(Fo, [["render", jo]]), Go = {}, Wo = {
2336
2364
  width: "16",
2337
2365
  height: "16",
2338
2366
  viewBox: "0 0 16 16",
2339
2367
  fill: "none",
2340
2368
  xmlns: "http://www.w3.org/2000/svg"
2341
2369
  };
2342
- function Go(c, e) {
2343
- return y(), L("svg", Oo, e[0] || (e[0] = [
2370
+ function Zo(u, e) {
2371
+ return _(), L("svg", Wo, e[0] || (e[0] = [
2344
2372
  b("g", { id: "Frame" }, [
2345
2373
  b("path", {
2346
2374
  id: "Vector",
@@ -2351,69 +2379,69 @@ function Go(c, e) {
2351
2379
  ], -1)
2352
2380
  ]));
2353
2381
  }
2354
- const Wo = /* @__PURE__ */ he(jo, [["render", Go]]), Zo = { class: "hzzt-kfb-slides" }, qo = { class: "hzzt-kfb-slides__row" }, Yo = { class: "hzzt-kfb-slides__top" }, Xo = { class: "text-primary" }, Qo = { class: "flex align-items-center" }, Jo = { key: 0 }, en = ["data-index", "onClick"], tn = { class: "hzzt-kfb-slides__gallery" }, ln = ["onClick"], on = {
2382
+ const qo = /* @__PURE__ */ he(Go, [["render", Zo]]), Yo = { class: "hzzt-kfb-slides" }, Xo = { class: "hzzt-kfb-slides__row" }, Qo = { class: "hzzt-kfb-slides__top" }, Jo = { class: "text-primary" }, en = { class: "flex align-items-center" }, tn = { key: 0 }, ln = ["data-index", "onClick"], on = { class: "hzzt-kfb-slides__gallery" }, nn = ["onClick"], an = {
2355
2383
  key: 0,
2356
2384
  class: "hzzt-kfb-slides__read"
2357
- }, nn = ["onClick"], an = {
2385
+ }, sn = ["onClick"], rn = {
2358
2386
  key: 1,
2359
2387
  class: "flex column"
2360
- }, sn = { class: "hzzt-kfb-slides__header" }, rn = { class: "w-30%" }, un = { class: "w-40%" }, cn = { class: "w-20%" }, dn = ["data-index", "onClick"], vn = { class: "w-30% flex" }, fn = { class: "hzzt-kfb-slides__gallery" }, mn = {
2388
+ }, un = { class: "hzzt-kfb-slides__header" }, cn = { class: "w-30%" }, dn = { class: "w-40%" }, vn = { class: "w-20%" }, fn = ["data-index", "onClick"], mn = { class: "w-30% flex" }, pn = { class: "hzzt-kfb-slides__gallery" }, hn = {
2361
2389
  key: 0,
2362
2390
  class: "hzzt-kfb-slides__read"
2363
- }, pn = { class: "w-40% flex" }, hn = ["onClick"], gn = ["onClick"], wn = {
2391
+ }, gn = { class: "w-40% flex" }, wn = ["onClick"], yn = ["onClick"], _n = {
2364
2392
  key: 0,
2365
2393
  class: "flex column py-2"
2366
- }, yn = { class: "flex align-items-center justify-content-center" }, _n = { class: "margin-r-1" }, bn = {
2394
+ }, bn = { class: "flex align-items-center justify-content-center" }, kn = { class: "margin-r-1" }, zn = {
2367
2395
  key: 0,
2368
2396
  class: "margin-r-1 margin-l-2"
2369
- }, kn = /* @__PURE__ */ ee({
2397
+ }, Cn = /* @__PURE__ */ ee({
2370
2398
  __name: "KfbSlideList",
2371
2399
  props: {
2372
2400
  slides: {}
2373
2401
  },
2374
2402
  emits: ["select", "tool"],
2375
- setup(c, { expose: e, emit: o }) {
2376
- const t = c, _ = o, v = J("file-index", {
2403
+ setup(u, { expose: e, emit: n }) {
2404
+ const t = u, y = n, d = J("file-index", {
2377
2405
  value: 0
2378
- }), u = J("divide", {
2406
+ }), c = J("divide", {
2379
2407
  value: !1
2380
2408
  }), i = J("sync", {
2381
2409
  value: !1
2382
- }), f = $(!1), g = $(), h = B(() => t.slides.filter(({ read: p }) => p)), l = B(() => t.slides.filter(({ check: p }) => p)), { t: a } = de();
2383
- function m(p) {
2384
- v.value = p, _("select", p);
2410
+ }), f = $(!1), g = $(), h = B(() => t.slides.filter(({ read: m }) => m)), l = B(() => t.slides.filter(({ check: m }) => m)), { t: a } = ie();
2411
+ function p(m) {
2412
+ d.value = m, y("select", m);
2385
2413
  }
2386
- function r(p) {
2387
- p.check = !p.check;
2414
+ function r(m) {
2415
+ m.check = !m.check;
2388
2416
  }
2389
- function s(p) {
2390
- var k, d, E;
2391
- const w = ((E = (d = (k = g.value.querySelector('[data-index="0"]')) == null ? void 0 : k.getBoundingClientRect) == null ? void 0 : d.call(k)) == null ? void 0 : E.y) || 0;
2392
- g.value.scrollTop = g.value.querySelector(`[data-index="${p}"]`).getBoundingClientRect().y - w;
2417
+ function s(m) {
2418
+ var k, v, M;
2419
+ const w = ((M = (v = (k = g.value.querySelector('[data-index="0"]')) == null ? void 0 : k.getBoundingClientRect) == null ? void 0 : v.call(k)) == null ? void 0 : M.y) || 0;
2420
+ g.value.scrollTop = g.value.querySelector(`[data-index="${m}"]`).getBoundingClientRect().y - w;
2393
2421
  }
2394
2422
  return e({
2395
2423
  jumpToSlide: s
2396
- }), (p, w) => (y(), L("div", Zo, [
2397
- b("div", qo, [
2398
- b("div", Yo, [
2424
+ }), (m, w) => (_(), L("div", Yo, [
2425
+ b("div", Xo, [
2426
+ b("div", Qo, [
2399
2427
  b("span", null, [
2400
2428
  w[4] || (w[4] = G("已读:")),
2401
- b("span", Xo, V(h.value.length), 1),
2402
- G("/" + V(p.slides.length), 1)
2429
+ b("span", Jo, E(h.value.length), 1),
2430
+ G("/" + E(m.slides.length), 1)
2403
2431
  ]),
2404
- b("div", Qo, [
2405
- T(n(_e), {
2432
+ b("div", en, [
2433
+ T(o(_e), {
2406
2434
  class: "margin-r-2 pointer",
2407
2435
  size: "16",
2408
2436
  color: f.value ? "#999" : "#000",
2409
2437
  onClick: w[0] || (w[0] = (k) => f.value = !f.value)
2410
2438
  }, {
2411
2439
  default: x(() => [
2412
- T(Ko)
2440
+ T(Oo)
2413
2441
  ]),
2414
2442
  _: 1
2415
2443
  }, 8, ["color"]),
2416
- T(n(_e), {
2444
+ T(o(_e), {
2417
2445
  class: "pointer",
2418
2446
  name: "cus-list",
2419
2447
  size: "16",
@@ -2421,7 +2449,7 @@ const Wo = /* @__PURE__ */ he(jo, [["render", Go]]), Zo = { class: "hzzt-kfb-sli
2421
2449
  onClick: w[1] || (w[1] = (k) => f.value = !f.value)
2422
2450
  }, {
2423
2451
  default: x(() => [
2424
- T(Wo)
2452
+ T(qo)
2425
2453
  ]),
2426
2454
  _: 1
2427
2455
  }, 8, ["color"])
@@ -2433,37 +2461,37 @@ const Wo = /* @__PURE__ */ he(jo, [["render", Go]]), Zo = { class: "hzzt-kfb-sli
2433
2461
  ref_key: "slidesRef",
2434
2462
  ref: g
2435
2463
  }, [
2436
- f.value ? (y(), L("ul", an, [
2437
- b("li", sn, [
2464
+ f.value ? (_(), L("ul", rn, [
2465
+ b("li", un, [
2438
2466
  w[5] || (w[5] = b("div", { class: "w-10%" }, null, -1)),
2439
- b("div", rn, V(n(a)("缩略图")), 1),
2440
- b("div", un, V(n(a)("切片名")), 1),
2441
- b("div", cn, V(n(a)("评分")), 1)
2467
+ b("div", cn, E(o(a)("缩略图")), 1),
2468
+ b("div", dn, E(o(a)("切片名")), 1),
2469
+ b("div", vn, E(o(a)("评分")), 1)
2442
2470
  ]),
2443
- (y(!0), L(le, null, oe(p.slides, (k, d) => (y(), L("li", {
2444
- key: d,
2445
- "data-index": d,
2471
+ (_(!0), L(le, null, oe(m.slides, (k, v) => (_(), L("li", {
2472
+ key: v,
2473
+ "data-index": v,
2446
2474
  class: "flex align-items-center overflow-hidden",
2447
- style: W({
2448
- backgroundColor: n(v) === d ? "rgba(6, 85, 195, 0.1)" : "#fff"
2475
+ style: Z({
2476
+ backgroundColor: o(d) === v ? "rgba(6, 85, 195, 0.1)" : "#fff"
2449
2477
  }),
2450
- onClick: (E) => m(d)
2478
+ onClick: (M) => p(v)
2451
2479
  }, [
2452
2480
  b("div", {
2453
2481
  class: "w-10% text-center",
2454
2482
  onClick: Be(() => {
2455
2483
  }, ["stop"])
2456
2484
  }, [
2457
- T(n(Oe), {
2485
+ T(o(Oe), {
2458
2486
  modelValue: k.check,
2459
- "onUpdate:modelValue": (E) => k.check = E,
2487
+ "onUpdate:modelValue": (M) => k.check = M,
2460
2488
  style: { width: "14px", height: "16px" }
2461
2489
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
2462
2490
  ]),
2463
- b("div", vn, [
2464
- b("div", fn, [
2491
+ b("div", mn, [
2492
+ b("div", pn, [
2465
2493
  T(Ue, {
2466
- style: W([{ transform: `rotate(${k.angle}deg)` }, { height: "45px" }]),
2494
+ style: Z([{ transform: `rotate(${k.angle}deg)` }, { height: "45px" }]),
2467
2495
  "retry-times": 1,
2468
2496
  src: k.labelImg,
2469
2497
  fit: "cover",
@@ -2476,11 +2504,11 @@ const Wo = /* @__PURE__ */ he(jo, [["render", Go]]), Zo = { class: "hzzt-kfb-sli
2476
2504
  style: { height: "45px" },
2477
2505
  class: "flex-1"
2478
2506
  }, null, 8, ["src"]),
2479
- k.read ? A("", !0) : (y(), L("div", mn, V(n(a)("未读")), 1))
2507
+ k.read ? A("", !0) : (_(), L("div", hn, E(o(a)("未读")), 1))
2480
2508
  ])
2481
2509
  ]),
2482
- b("div", pn, [
2483
- T(n(zt), {
2510
+ b("div", gn, [
2511
+ T(o(zt), {
2484
2512
  effect: "dark",
2485
2513
  placement: "bottom",
2486
2514
  content: `${k.name}`
@@ -2490,30 +2518,30 @@ const Wo = /* @__PURE__ */ he(jo, [["render", Go]]), Zo = { class: "hzzt-kfb-sli
2490
2518
  style: { "line-height": "16px" },
2491
2519
  class: "margin-l-1 ellipsis hzzt-kfb-slides__text",
2492
2520
  dir: "rtl",
2493
- onClick: Be((E) => r(k), ["stop"])
2494
- }, V(k.name), 9, hn)
2521
+ onClick: Be((M) => r(k), ["stop"])
2522
+ }, E(k.name), 9, wn)
2495
2523
  ]),
2496
2524
  _: 2
2497
2525
  }, 1032, ["content"])
2498
2526
  ]),
2499
2527
  b("div", {
2500
2528
  class: "w-20% flex text-center pointer",
2501
- style: W({
2529
+ style: Z({
2502
2530
  color: k.gradeColor
2503
2531
  }),
2504
- onClick: (E) => _("tool", "grade", k)
2505
- }, V(k.grade), 13, gn)
2506
- ], 12, dn))), 128))
2507
- ])) : (y(), L("div", Jo, [
2508
- (y(!0), L(le, null, oe(p.slides, (k, d) => (y(), L("div", {
2509
- key: d,
2510
- class: ye(["hzzt-kfb-slides__box", n(v) === d ? "hzzt-kfb-slides__box--active" : ""]),
2511
- "data-index": d,
2512
- onClick: (E) => m(d)
2532
+ onClick: (M) => y("tool", "grade", k)
2533
+ }, E(k.grade), 13, yn)
2534
+ ], 12, fn))), 128))
2535
+ ])) : (_(), L("div", tn, [
2536
+ (_(!0), L(le, null, oe(m.slides, (k, v) => (_(), L("div", {
2537
+ key: v,
2538
+ class: ye(["hzzt-kfb-slides__box", o(d) === v ? "hzzt-kfb-slides__box--active" : ""]),
2539
+ "data-index": v,
2540
+ onClick: (M) => p(v)
2513
2541
  }, [
2514
- b("div", tn, [
2542
+ b("div", on, [
2515
2543
  T(Ue, {
2516
- style: W({ transform: `rotate(${k.angle}deg)` }),
2544
+ style: Z({ transform: `rotate(${k.angle}deg)` }),
2517
2545
  "retry-times": 1,
2518
2546
  src: k.labelImg,
2519
2547
  class: "hzzt-kfb-slides__img",
@@ -2531,12 +2559,12 @@ const Wo = /* @__PURE__ */ he(jo, [["render", Go]]), Zo = { class: "hzzt-kfb-sli
2531
2559
  onClick: Be(() => {
2532
2560
  }, ["stop"])
2533
2561
  }, [
2534
- T(n(Oe), {
2562
+ T(o(Oe), {
2535
2563
  modelValue: k.check,
2536
- "onUpdate:modelValue": (E) => k.check = E,
2564
+ "onUpdate:modelValue": (M) => k.check = M,
2537
2565
  style: { width: "14px", height: "16px" }
2538
2566
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
2539
- T(n(zt), {
2567
+ T(o(zt), {
2540
2568
  effect: "dark",
2541
2569
  placement: "bottom",
2542
2570
  content: `${k.name}`
@@ -2545,36 +2573,36 @@ const Wo = /* @__PURE__ */ he(jo, [["render", Go]]), Zo = { class: "hzzt-kfb-sli
2545
2573
  b("span", {
2546
2574
  style: { "line-height": "16px", "text-align": "center", width: "calc(100% - 14px)" },
2547
2575
  class: "margin-l-1 ellipsis",
2548
- onClick: Be((E) => r(k), ["stop"])
2549
- }, V(k.name), 9, ln)
2576
+ onClick: Be((M) => r(k), ["stop"])
2577
+ }, E(k.name), 9, nn)
2550
2578
  ]),
2551
2579
  _: 2
2552
2580
  }, 1032, ["content"])
2553
2581
  ]),
2554
- k.read ? A("", !0) : (y(), L("div", on, V(n(a)("未读")), 1)),
2555
- k.grade ? (y(), L("div", {
2582
+ k.read ? A("", !0) : (_(), L("div", an, E(o(a)("未读")), 1)),
2583
+ k.grade ? (_(), L("div", {
2556
2584
  key: 1,
2557
2585
  class: "hzzt-kfb-slides__grade",
2558
- style: W({
2586
+ style: Z({
2559
2587
  background: k.gradeColor
2560
2588
  }),
2561
- onClick: (E) => _("tool", "grade", k)
2562
- }, V(k.grade), 13, nn)) : A("", !0),
2563
- ce(p.$slots, "slide", { slide: k }, void 0, !0)
2564
- ], 10, en))), 128))
2589
+ onClick: (M) => y("tool", "grade", k)
2590
+ }, E(k.grade), 13, sn)) : A("", !0),
2591
+ de(m.$slots, "slide", { slide: k }, void 0, !0)
2592
+ ], 10, ln))), 128))
2565
2593
  ]))
2566
2594
  ], 512),
2567
- l.value.length > 1 ? (y(), L("div", wn, [
2568
- b("div", yn, [
2569
- b("span", _n, V(n(a)("分屏")), 1),
2570
- T(n(Le), {
2571
- modelValue: n(u),
2572
- "onUpdate:modelValue": w[2] || (w[2] = (k) => Ve(u) ? u.value = k : null)
2595
+ l.value.length > 1 ? (_(), L("div", _n, [
2596
+ b("div", bn, [
2597
+ b("span", kn, E(o(a)("分屏")), 1),
2598
+ T(o(Le), {
2599
+ modelValue: o(c),
2600
+ "onUpdate:modelValue": w[2] || (w[2] = (k) => Ve(c) ? c.value = k : null)
2573
2601
  }, null, 8, ["modelValue"]),
2574
- n(u) ? (y(), L("span", bn, V(n(a)("同步")), 1)) : A("", !0),
2575
- n(u) ? (y(), P(n(Le), {
2602
+ o(c) ? (_(), L("span", zn, E(o(a)("同步")), 1)) : A("", !0),
2603
+ o(c) ? (_(), P(o(Le), {
2576
2604
  key: 1,
2577
- modelValue: n(i),
2605
+ modelValue: o(i),
2578
2606
  "onUpdate:modelValue": w[3] || (w[3] = (k) => Ve(i) ? i.value = k : null)
2579
2607
  }, null, 8, ["modelValue"])) : A("", !0)
2580
2608
  ])
@@ -2582,78 +2610,62 @@ const Wo = /* @__PURE__ */ he(jo, [["render", Go]]), Zo = { class: "hzzt-kfb-sli
2582
2610
  ])
2583
2611
  ]));
2584
2612
  }
2585
- }), zn = /* @__PURE__ */ he(kn, [["__scopeId", "data-v-d3cde57c"]]), Cn = { class: "hzzt-kfb-ai overflow-hidden" }, Tn = { class: "flex align-items-center margin-t-1" }, $n = { style: { color: "var(--el-color-success)" } }, Ln = { class: "flex-1 flex overflow-auto wrap margin-t-1" }, xn = ["onClick"], En = {
2613
+ }), Tn = /* @__PURE__ */ he(Cn, [["__scopeId", "data-v-d3cde57c"]]), $n = { class: "hzzt-kfb-ai overflow-hidden" }, Ln = { class: "flex align-items-center margin-t-1" }, xn = { style: { color: "var(--el-color-success)" } }, En = { class: "flex-1 flex overflow-auto wrap margin-t-1" }, Vn = ["onClick"], Mn = {
2586
2614
  key: 0,
2587
2615
  style: { "margin-left": "2px" }
2588
- }, Vn = /* @__PURE__ */ ee({
2616
+ }, In = /* @__PURE__ */ ee({
2589
2617
  name: "KfbAiList",
2590
2618
  __name: "list",
2591
2619
  props: {
2592
2620
  data: { default: () => [] },
2593
2621
  slide: { default: () => ({}) }
2594
2622
  },
2595
- setup(c, { expose: e }) {
2596
- const o = c, { t } = de(), _ = J("kfbViewRef"), v = $(-1), u = $(1), i = $(100), f = $(!0), g = $([]), h = B(() => o.data.filter((E) => g.value.includes(E.cls || ""))), l = B(() => h.value.slice((u.value - 1) * i.value, u.value * i.value)), a = B(() => {
2597
- var R, I;
2598
- const E = ((I = (R = o.slide) == null ? void 0 : R.analysis) == null ? void 0 : I.result) || "";
2599
- return E.indexOf("疑似阳性") > -1 ? {
2600
- type: "warning",
2601
- name: E
2602
- } : E.indexOf("阳性") > -1 ? {
2603
- type: "danger",
2604
- name: E
2605
- } : E.indexOf("阴性") > -1 ? {
2606
- type: "success",
2607
- name: E
2608
- } : {
2609
- type: "info",
2610
- name: E || t("未知")
2611
- };
2612
- }), m = B(() => {
2613
- const E = /* @__PURE__ */ new Set();
2614
- return o.data.forEach((R) => {
2615
- const I = R.cls || "";
2616
- I && !E.has(I) && E.add(I);
2617
- }), Array.from(E);
2618
- }), r = B(() => g.value.length !== 0 && g.value.length !== m.value.length);
2619
- ne(() => m.value, (E) => {
2620
- s(), g.value = [...E];
2623
+ setup(u, { expose: e }) {
2624
+ const n = u, { t } = ie(), y = J("kfbViewRef"), d = $(-1), c = $(1), i = $(100), f = $(!0), g = $([]), h = B(() => n.data.filter((M) => g.value.includes(M.cls || ""))), l = B(() => h.value.slice((c.value - 1) * i.value, c.value * i.value)), a = B(() => {
2625
+ const M = /* @__PURE__ */ new Set();
2626
+ return n.data.forEach((R) => {
2627
+ const S = R.cls || "";
2628
+ S && !M.has(S) && M.add(S);
2629
+ }), Array.from(M);
2630
+ }), p = B(() => g.value.length !== 0 && g.value.length !== a.value.length), r = Lt(n);
2631
+ ne(() => a.value, (M) => {
2632
+ s(), g.value = [...M];
2621
2633
  }), pe(() => {
2622
- g.value = [...m.value];
2634
+ g.value = [...a.value];
2623
2635
  });
2624
2636
  function s() {
2625
- v.value = -1, u.value = 1, i.value = 100, f.value = !0;
2637
+ d.value = -1, c.value = 1, i.value = 100, f.value = !0;
2626
2638
  }
2627
- function p(E) {
2628
- const R = h.value.findIndex((I) => I.id === E.id);
2629
- v.value = R, _.value.jumpToLabel(E, 5);
2639
+ function m(M) {
2640
+ const R = h.value.findIndex((S) => S.id === M.id);
2641
+ d.value = R, y.value.jumpToLabel(M, 5);
2630
2642
  }
2631
- function w(E) {
2632
- const R = o.data.filter((I) => I.cls === E);
2643
+ function w(M) {
2644
+ const R = n.data.filter((S) => S.cls === M);
2633
2645
  return R.length ? `(${R.length})` : "";
2634
2646
  }
2635
2647
  function k() {
2636
- v.value = -1, f.value = g.value.length == m.value.length;
2648
+ d.value = -1, f.value = g.value.length == a.value.length;
2637
2649
  }
2638
- function d(E) {
2639
- g.value = E ? [...m.value] : [], v.value = -1;
2650
+ function v(M) {
2651
+ g.value = M ? [...a.value] : [], d.value = -1;
2640
2652
  }
2641
2653
  return e({
2642
2654
  labelList: h
2643
- }), (E, R) => (y(), L("div", Cn, [
2644
- b("div", Tn, [
2645
- T(n(sl), {
2655
+ }), (M, R) => (_(), L("div", $n, [
2656
+ b("div", Ln, [
2657
+ T(o(rl), {
2646
2658
  placement: "bottom",
2647
2659
  trigger: "click",
2648
2660
  width: "160"
2649
2661
  }, {
2650
2662
  reference: x(() => [
2651
- T(n(ge), {
2663
+ T(o(ge), {
2652
2664
  class: "margin-r-1",
2653
2665
  type: "primary"
2654
2666
  }, {
2655
2667
  default: x(() => [
2656
- G(V(n(t)("分类")) + " ", 1),
2668
+ G(E(o(t)("分类")) + " ", 1),
2657
2669
  T(X, { name: "arrowDown" })
2658
2670
  ]),
2659
2671
  _: 1
@@ -2661,31 +2673,31 @@ const Wo = /* @__PURE__ */ he(jo, [["render", Go]]), Zo = { class: "hzzt-kfb-sli
2661
2673
  ]),
2662
2674
  default: x(() => [
2663
2675
  b("div", null, [
2664
- T(n(Oe), {
2676
+ T(o(Oe), {
2665
2677
  modelValue: f.value,
2666
- "onUpdate:modelValue": R[0] || (R[0] = (I) => f.value = I),
2667
- indeterminate: r.value,
2668
- onChange: d
2678
+ "onUpdate:modelValue": R[0] || (R[0] = (S) => f.value = S),
2679
+ indeterminate: p.value,
2680
+ onChange: v
2669
2681
  }, {
2670
2682
  default: x(() => [
2671
- G(V(n(t)("全选")), 1)
2683
+ G(E(o(t)("全选")), 1)
2672
2684
  ]),
2673
2685
  _: 1
2674
2686
  }, 8, ["modelValue", "indeterminate"]),
2675
- T(n(il), {
2687
+ T(o(ul), {
2676
2688
  modelValue: g.value,
2677
- "onUpdate:modelValue": R[1] || (R[1] = (I) => g.value = I),
2689
+ "onUpdate:modelValue": R[1] || (R[1] = (S) => g.value = S),
2678
2690
  class: "flex column",
2679
2691
  onChange: k
2680
2692
  }, {
2681
2693
  default: x(() => [
2682
- (y(!0), L(le, null, oe(m.value, (I) => (y(), P(n(Oe), {
2683
- key: I,
2684
- value: I
2694
+ (_(!0), L(le, null, oe(a.value, (S) => (_(), P(o(Oe), {
2695
+ key: S,
2696
+ value: S
2685
2697
  }, {
2686
2698
  default: x(() => [
2687
- G(V(I) + " ", 1),
2688
- b("span", $n, V(w(I)), 1)
2699
+ G(E(S) + " ", 1),
2700
+ b("span", xn, E(w(S)), 1)
2689
2701
  ]),
2690
2702
  _: 2
2691
2703
  }, 1032, ["value"]))), 128))
@@ -2696,53 +2708,53 @@ const Wo = /* @__PURE__ */ he(jo, [["render", Go]]), Zo = { class: "hzzt-kfb-sli
2696
2708
  ]),
2697
2709
  _: 1
2698
2710
  }),
2699
- T(n(Tt), {
2700
- type: a.value.type,
2711
+ T(o(Tt), {
2712
+ type: o(r).type,
2701
2713
  class: "margin-l-1"
2702
2714
  }, {
2703
2715
  default: x(() => [
2704
- G(V(a.value.name), 1)
2716
+ G(E(o(r).name), 1)
2705
2717
  ]),
2706
2718
  _: 1
2707
2719
  }, 8, ["type"])
2708
2720
  ]),
2709
- b("div", Ln, [
2710
- (y(!0), L(le, null, oe(l.value, (I, Z) => (y(), L("div", {
2711
- key: Z + (u.value - 1) * i.value,
2712
- class: ye(`hzzt-kfb-ai__img ${v.value === Z + (u.value - 1) * i.value ? "hzzt-kfb-ai__img--active" : ""}`),
2713
- onClick: (Q) => p(I)
2721
+ b("div", En, [
2722
+ (_(!0), L(le, null, oe(l.value, (S, Q) => (_(), L("div", {
2723
+ key: Q + (c.value - 1) * i.value,
2724
+ class: ye(`hzzt-kfb-ai__img ${d.value === Q + (c.value - 1) * i.value ? "hzzt-kfb-ai__img--active" : ""}`),
2725
+ onClick: (W) => m(S)
2714
2726
  }, [
2715
- T(n(ul), {
2727
+ T(o(dl), {
2716
2728
  "retry-times": 1,
2717
- src: I.imageUrl,
2718
- "error-src": n(Ge)
2729
+ src: S.imageUrl,
2730
+ "error-src": o(Ge)
2719
2731
  }, null, 8, ["src", "error-src"]),
2720
2732
  b("div", {
2721
- style: W({ color: I.strokeStyle }),
2733
+ style: Z({ color: S.strokeStyle }),
2722
2734
  class: "ellipsis"
2723
2735
  }, [
2724
- G(V(I.cls) + " ", 1),
2725
- I.score ? (y(), L("span", En, V(I.score), 1)) : A("", !0)
2736
+ G(E(S.cls) + " ", 1),
2737
+ S.score ? (_(), L("span", Mn, E(S.score), 1)) : A("", !0)
2726
2738
  ], 4)
2727
- ], 10, xn))), 128))
2739
+ ], 10, Vn))), 128))
2728
2740
  ]),
2729
- T(n(rl), {
2741
+ T(o(cl), {
2730
2742
  class: "wrap",
2731
- "current-page": u.value,
2732
- "onUpdate:currentPage": R[2] || (R[2] = (I) => u.value = I),
2743
+ "current-page": c.value,
2744
+ "onUpdate:currentPage": R[2] || (R[2] = (S) => c.value = S),
2733
2745
  "page-size": i.value,
2734
- "onUpdate:pageSize": R[3] || (R[3] = (I) => i.value = I),
2746
+ "onUpdate:pageSize": R[3] || (R[3] = (S) => i.value = S),
2735
2747
  "page-sizes": [100, 200, 300, 400],
2736
2748
  layout: "total, sizes, prev, pager, next",
2737
2749
  total: h.value.length
2738
2750
  }, null, 8, ["current-page", "page-size", "total"])
2739
2751
  ]));
2740
2752
  }
2741
- }), Mn = { class: "hzzt-kfb-slide" }, In = { class: "flex flex-1 overflow-hidden" }, Sn = { class: "flex flex-1" }, Hn = {
2753
+ }), Sn = { class: "hzzt-kfb-slide" }, Hn = { class: "flex flex-1 overflow-hidden" }, Pn = { class: "flex flex-1" }, Rn = {
2742
2754
  key: 0,
2743
2755
  style: { height: "100%", width: "100%" },
2744
2756
  class: "flex wrap"
2745
- }, Pn = ["onClick"], We = /* @__PURE__ */ ee({
2757
+ }, An = ["onClick"], We = /* @__PURE__ */ ee({
2746
2758
  name: "HzztKfbSlide",
2747
2759
  __name: "index",
2748
2760
  props: /* @__PURE__ */ we({
@@ -2764,18 +2776,18 @@ const Wo = /* @__PURE__ */ he(jo, [["render", Go]]), Zo = { class: "hzzt-kfb-sli
2764
2776
  indexModifiers: {}
2765
2777
  }),
2766
2778
  emits: /* @__PURE__ */ we(["tool"], ["update:index"]),
2767
- setup(c, { expose: e, emit: o }) {
2768
- const t = c, _ = o, v = Ee(c, "index"), u = B(() => t.slides[v.value]), i = B(() => t.slides.filter(({ check: C }) => C)), f = $(), g = $(), h = $(), l = $(), a = $(t.showKeyboard), m = $(t.showKfbLabel), r = $(!1), s = $(!1), p = $(!1), { t: w } = de(), k = B(() => {
2779
+ setup(u, { expose: e, emit: n }) {
2780
+ const t = u, y = n, d = Ee(u, "index"), c = B(() => t.slides[d.value]), i = B(() => t.slides.filter(({ check: C }) => C)), f = $(), g = $(), h = $(), l = $(), a = $(t.showKeyboard), p = $(t.showKfbLabel), r = $(!1), s = $(!1), m = $(!1), { t: w } = ie(), k = B(() => {
2769
2781
  var C;
2770
2782
  if (r.value) {
2771
2783
  const N = i.value.findIndex(({ id: F }) => {
2772
- var ie;
2773
- return F === ((ie = u.value) == null ? void 0 : ie.id);
2784
+ var re;
2785
+ return F === ((re = c.value) == null ? void 0 : re.id);
2774
2786
  });
2775
2787
  return ((C = h.value) == null ? void 0 : C[N]) || g.value;
2776
2788
  } else
2777
2789
  return g.value;
2778
- }), d = B(() => i.value.length <= 1 ? {
2790
+ }), v = B(() => i.value.length <= 1 ? {
2779
2791
  height: "100%",
2780
2792
  width: "100%"
2781
2793
  } : i.value.length <= 2 ? {
@@ -2796,81 +2808,81 @@ const Wo = /* @__PURE__ */ he(jo, [["render", Go]]), Zo = { class: "hzzt-kfb-sli
2796
2808
  });
2797
2809
  ne(() => i.value, (C) => {
2798
2810
  r.value && C.length <= 1 && (r.value = !1);
2799
- }), ne(() => u.value, (C) => {
2811
+ }), ne(() => c.value, (C) => {
2800
2812
  if (C) {
2801
2813
  const N = C.read;
2802
- C.read = !0, _("tool", "choose", {
2814
+ C.read = !0, y("tool", "choose", {
2803
2815
  slide: C,
2804
2816
  read: N
2805
2817
  });
2806
2818
  }
2807
2819
  });
2808
2820
  const {
2809
- analysisClass: E,
2821
+ analysisClass: M,
2810
2822
  aiLabelList: R,
2811
- enableAi: I,
2812
- enableIqc: Z,
2813
- toggleIqc: Q,
2823
+ enableAi: S,
2824
+ enableIqc: Q,
2825
+ toggleIqc: W,
2814
2826
  toggleAi: ve
2815
- } = Ao(t, u);
2827
+ } = Bo(t, c);
2816
2828
  function te(C, N) {
2817
- C === "next" && t.slides[v.value + 1] && v.value++, C === "prev" && t.slides[v.value - 1] && v.value--, (C === "label" || C === "tool") && (m.value = N), _("tool", C, N);
2829
+ C === "next" && t.slides[d.value + 1] && d.value++, C === "prev" && t.slides[d.value - 1] && d.value--, (C === "label" || C === "tool") && (p.value = N), y("tool", C, N);
2818
2830
  }
2819
2831
  function be(C) {
2820
- var F, ie, He;
2832
+ var F, re, ke;
2821
2833
  const N = me(j({}, t.kfb), {
2822
2834
  process: t.process,
2823
2835
  microscope: t.microscope,
2824
2836
  slide: C,
2825
- aiLabelList: u.value.id === C.id ? ((F = l.value) == null ? void 0 : F.labelList) || [] : [],
2826
- hotmap: (ie = C == null ? void 0 : C.hotmap) != null && ie.file ? me(j({}, (C == null ? void 0 : C.hotmap) || {}), {
2827
- enable: I.value
2837
+ aiLabelList: c.value.id === C.id ? ((F = l.value) == null ? void 0 : F.labelList) || [] : [],
2838
+ hotmap: (re = C == null ? void 0 : C.hotmap) != null && re.file ? me(j({}, (C == null ? void 0 : C.hotmap) || {}), {
2839
+ enable: S.value
2828
2840
  }) : void 0,
2829
2841
  syncPosition: s.value,
2830
2842
  syncZoom: s.value,
2831
2843
  handle: void 0
2832
2844
  });
2833
- return (He = t.kfb) != null && He.handle ? t.kfb.handle(C, N) : N;
2845
+ return (ke = t.kfb) != null && ke.handle ? t.kfb.handle(C, N) : N;
2834
2846
  }
2835
- function ke(C) {
2836
- v.value = t.slides.findIndex((N) => N.id === C.id);
2847
+ function Se(C) {
2848
+ d.value = t.slides.findIndex((N) => N.id === C.id);
2837
2849
  }
2838
- function Ze(C) {
2850
+ function Ae(C) {
2839
2851
  r.value && (t.slides[C].check = !0);
2840
2852
  }
2841
- function qe() {
2853
+ function Ze() {
2842
2854
  var C;
2843
- m.value = !p.value, (C = r.value ? h.value : [g.value]) == null || C.forEach((N) => {
2844
- p.value && (N.updateGrid({
2845
- show: !p.value,
2846
- ruler: !p.value
2847
- }), a.value = !p.value), N.updateGraduation({
2848
- show: !p.value
2849
- }), N.updateNavigator(!p.value);
2855
+ p.value = !m.value, (C = r.value ? h.value : [g.value]) == null || C.forEach((N) => {
2856
+ m.value && (N.updateGrid({
2857
+ show: !m.value,
2858
+ ruler: !m.value
2859
+ }), a.value = !m.value), N.updateGraduation({
2860
+ show: !m.value
2861
+ }), N.updateNavigator(!m.value);
2850
2862
  });
2851
2863
  }
2852
- function Ye(C) {
2853
- v.value = C, f.value && f.value.jumpToSlide(C);
2864
+ function qe(C) {
2865
+ d.value = C, f.value && f.value.jumpToSlide(C);
2854
2866
  }
2855
- function Xe(C, N) {
2867
+ function Ye(C, N) {
2856
2868
  k.value && k.value.jumpToLabel(C, N);
2857
2869
  }
2858
- function Se(C, N) {
2870
+ function Xe(C, N) {
2859
2871
  k.value && k.value.jumpToPosition(C, N);
2860
2872
  }
2861
- return re("kfbViewRef", k), re("show-keyboard", a), re("show-kfb-label", m), re("hidden-all-label", p), re("file-index", v), re("divide", r), re("sync", s), e({
2873
+ return ue("kfbViewRef", k), ue("show-keyboard", a), ue("show-kfb-label", p), ue("hidden-all-label", m), ue("file-index", d), ue("divide", r), ue("sync", s), e({
2862
2874
  divide: r,
2863
- slide: u,
2875
+ slide: c,
2864
2876
  kfbViewRef: k,
2865
- jumpToSlide: Ye,
2866
- jumpToLabel: Xe,
2867
- jumpToPosition: Se,
2877
+ jumpToSlide: qe,
2878
+ jumpToLabel: Ye,
2879
+ jumpToPosition: Xe,
2868
2880
  enableAI: B(() => {
2869
2881
  var C;
2870
2882
  return ((C = t.ai) == null ? void 0 : C.enable) && R.value.length;
2871
2883
  })
2872
- }), (C, N) => (y(), L("div", Mn, [
2873
- C.menus.length ? (y(), P(Ae, {
2884
+ }), (C, N) => (_(), L("div", Sn, [
2885
+ C.menus.length ? (_(), P(Re, {
2874
2886
  key: 0,
2875
2887
  menu: C.menus,
2876
2888
  "show-menu-text": C.showMenuText,
@@ -2879,122 +2891,122 @@ const Wo = /* @__PURE__ */ he(jo, [["render", Go]]), Zo = { class: "hzzt-kfb-sli
2879
2891
  onTool: te
2880
2892
  }, {
2881
2893
  left: x(() => [
2882
- ce(C.$slots, "left")
2894
+ de(C.$slots, "left")
2883
2895
  ]),
2884
2896
  right: x(() => [
2885
- T(n(Le), {
2886
- modelValue: p.value,
2887
- "onUpdate:modelValue": N[0] || (N[0] = (F) => p.value = F),
2888
- "active-text": n(w)("隐藏标签"),
2897
+ T(o(Le), {
2898
+ modelValue: m.value,
2899
+ "onUpdate:modelValue": N[0] || (N[0] = (F) => m.value = F),
2900
+ "active-text": o(w)("隐藏标签"),
2889
2901
  class: "margin-r-2",
2890
- onChange: qe
2902
+ onChange: Ze
2891
2903
  }, null, 8, ["modelValue", "active-text"]),
2892
- C.ai && C.ai.enable && n(E) === "IQC" ? (y(), P(n(Le), {
2904
+ C.ai && C.ai.enable && o(M) === "IQC" ? (_(), P(o(Le), {
2893
2905
  key: 0,
2894
- modelValue: n(Z),
2895
- "onUpdate:modelValue": N[1] || (N[1] = (F) => Ve(Z) ? Z.value = F : null),
2896
- "active-text": n(w)("AI质控"),
2906
+ modelValue: o(Q),
2907
+ "onUpdate:modelValue": N[1] || (N[1] = (F) => Ve(Q) ? Q.value = F : null),
2908
+ "active-text": o(w)("AI质控"),
2897
2909
  class: "margin-r-2",
2898
- onChange: n(Q)
2899
- }, null, 8, ["modelValue", "active-text", "onChange"])) : C.ai && C.ai.enable && n(E) ? (y(), P(n(Le), {
2910
+ onChange: o(W)
2911
+ }, null, 8, ["modelValue", "active-text", "onChange"])) : C.ai && C.ai.enable && o(M) ? (_(), P(o(Le), {
2900
2912
  key: 1,
2901
- modelValue: n(I),
2902
- "onUpdate:modelValue": N[2] || (N[2] = (F) => Ve(I) ? I.value = F : null),
2903
- "active-text": n(w)("AI分析"),
2913
+ modelValue: o(S),
2914
+ "onUpdate:modelValue": N[2] || (N[2] = (F) => Ve(S) ? S.value = F : null),
2915
+ "active-text": o(w)("AI分析"),
2904
2916
  class: "margin-r-2",
2905
- onChange: n(ve)
2917
+ onChange: o(ve)
2906
2918
  }, null, 8, ["modelValue", "active-text", "onChange"])) : A("", !0),
2907
- ce(C.$slots, "right")
2919
+ de(C.$slots, "right")
2908
2920
  ]),
2909
2921
  _: 3
2910
2922
  }, 8, ["menu", "show-menu-text", "process", "microscope"])) : A("", !0),
2911
- b("div", In, [
2912
- C.showList ? (y(), P(Fe, {
2923
+ b("div", Hn, [
2924
+ C.showList ? (_(), P(Fe, {
2913
2925
  key: 0,
2914
2926
  defer: "",
2915
2927
  to: "#kfb-slide-list",
2916
2928
  disabled: !C.teleport
2917
2929
  }, [
2918
- T(zn, {
2930
+ T(Tn, {
2919
2931
  ref_key: "slidesRef",
2920
2932
  ref: f,
2921
- style: W(C.teleport ? "" : "width: 250px"),
2933
+ style: Z(C.teleport ? "" : "width: 250px"),
2922
2934
  slides: C.slides,
2923
- onSelect: Ze,
2935
+ onSelect: Ae,
2924
2936
  onTool: te
2925
2937
  }, {
2926
2938
  slide: x(({ slide: F }) => [
2927
- ce(C.$slots, "list", { slide: F })
2939
+ de(C.$slots, "list", { slide: F })
2928
2940
  ]),
2929
2941
  _: 3
2930
2942
  }, 8, ["style", "slides"])
2931
2943
  ], 8, ["disabled"])) : A("", !0),
2932
- (y(), P(Fe, {
2944
+ (_(), P(Fe, {
2933
2945
  defer: "",
2934
2946
  to: "#kfb-slide-view",
2935
2947
  disabled: !C.teleport
2936
2948
  }, [
2937
- b("div", Sn, [
2938
- i.value.length && r.value ? (y(), L("ul", Hn, [
2939
- (y(!0), L(le, null, oe(i.value, (F, ie) => (y(), L("li", {
2940
- key: ie,
2941
- style: W(d.value),
2942
- class: ye(u.value.id === F.id ? "hzzt-kfb-view-screen-active" : ""),
2943
- onClick: (He) => ke(F)
2949
+ b("div", Pn, [
2950
+ i.value.length && r.value ? (_(), L("ul", Rn, [
2951
+ (_(!0), L(le, null, oe(i.value, (F, re) => (_(), L("li", {
2952
+ key: re,
2953
+ style: Z(v.value),
2954
+ class: ye(c.value.id === F.id ? "hzzt-kfb-view-screen-active" : ""),
2955
+ onClick: (ke) => Se(F)
2944
2956
  }, [
2945
- (y(), P(Me, Ke({
2957
+ (_(), P(Me, Ke({
2946
2958
  ref_for: !0,
2947
2959
  ref_key: "kfbViewRefs",
2948
2960
  ref: h,
2949
- key: `kfb-${ie}`
2961
+ key: `kfb-${re}`
2950
2962
  }, { ref_for: !0 }, be(F), { onTool: te }), {
2951
2963
  default: x(() => [
2952
- ce(C.$slots, "kfb", { slide: F })
2964
+ de(C.$slots, "kfb", { slide: F })
2953
2965
  ]),
2954
2966
  _: 2
2955
2967
  }, 1040))
2956
- ], 14, Pn))), 128))
2957
- ])) : u.value ? (y(), P(Me, Ke({
2968
+ ], 14, An))), 128))
2969
+ ])) : c.value ? (_(), P(Me, Ke({
2958
2970
  key: 1,
2959
2971
  ref_key: "kfbViewRef",
2960
2972
  ref: g
2961
- }, be(u.value), { onTool: te }), {
2973
+ }, be(c.value), { onTool: te }), {
2962
2974
  default: x(() => [
2963
- ce(C.$slots, "kfb", { slide: u.value })
2975
+ de(C.$slots, "kfb", { slide: c.value })
2964
2976
  ]),
2965
2977
  _: 3
2966
2978
  }, 16)) : A("", !0)
2967
2979
  ])
2968
2980
  ], 8, ["disabled"])),
2969
- C.ai && C.ai.enable && n(R).length ? (y(), P(Fe, {
2981
+ C.ai && C.ai.enable && o(R).length ? (_(), P(Fe, {
2970
2982
  key: 1,
2971
2983
  defer: "",
2972
2984
  to: "#kfb-slide-ai",
2973
2985
  disabled: !C.teleport
2974
2986
  }, [
2975
- T(Vn, {
2976
- style: W(C.teleport ? "" : "width: 350px"),
2987
+ T(In, {
2988
+ style: Z(C.teleport ? "" : "width: 350px"),
2977
2989
  ref_key: "kfbAiRef",
2978
2990
  ref: l,
2979
- data: n(R),
2980
- slide: u.value
2991
+ data: o(R),
2992
+ slide: c.value
2981
2993
  }, null, 8, ["style", "data", "slide"])
2982
2994
  ], 8, ["disabled"])) : A("", !0),
2983
- ce(C.$slots, "default")
2995
+ de(C.$slots, "default")
2984
2996
  ])
2985
2997
  ]));
2986
2998
  }
2987
2999
  });
2988
3000
  We.name = "HzztKfbSlide";
2989
3001
  Me.name = "HzztKfbView";
2990
- Ae.name = "HzztKfbToolbox";
2991
- const Rn = (c, e) => {
2992
- c.use(cl, e == null ? void 0 : e.i18n), c.component(We.name, We), c.component(Me.name, Me), c.component(Ae.name, Ae);
2993
- }, Fn = {
2994
- install: Rn,
3002
+ Re.name = "HzztKfbToolbox";
3003
+ const Nn = (u, e) => {
3004
+ u.use(vl, e == null ? void 0 : e.i18n), u.component(We.name, We), u.component(Me.name, Me), u.component(Re.name, Re);
3005
+ }, jn = {
3006
+ install: Nn,
2995
3007
  HzztKfbSlide: We,
2996
3008
  HzztKfbView: Me,
2997
- HzztKfbToolbox: Ae
3009
+ HzztKfbToolbox: Re
2998
3010
  };
2999
3011
  export {
3000
3012
  $t as D,
@@ -3003,7 +3015,7 @@ export {
3003
3015
  lt as b,
3004
3016
  We as c,
3005
3017
  Me as d,
3006
- Ae as e,
3007
- Fn as i,
3008
- de as u
3018
+ Re as e,
3019
+ jn as i,
3020
+ ie as u
3009
3021
  };