hzzt-kfb-slide 0.0.2 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/dist/components/{annotateCnEsVKZh.js → annotateC6KKIN-C.js} +1 -1
  2. package/dist/components/annotateCH4GAooA.js +1 -0
  3. package/dist/components/{annotateBqmjdjvz.js → annotateCriDzoRR.js} +37 -36
  4. package/dist/components/{annotateBVEx-rya.js → annotateDrBDAiwJ.js} +1 -1
  5. package/dist/components/{arrowK6nDwd7R.js → arrowDPk76wAe.js} +1 -1
  6. package/dist/components/{arrowDownCPhRTVmw.js → arrowDownBdM08C-k.js} +1 -1
  7. package/dist/components/{arrowDownB5-0ALxZ.js → arrowDownDI6AMcyz.js} +1 -1
  8. package/dist/components/{arrowDu4kVbgE.js → arrowFPEB8W4f.js} +1 -1
  9. package/dist/components/{arrowLeftCU3T3r30.js → arrowLeftCHTZ9DsM.js} +1 -1
  10. package/dist/components/{arrowLeftBpJAKYIU.js → arrowLeftM_OyaeGe.js} +1 -1
  11. package/dist/components/{arrowRightmZqySSay.js → arrowRightCxryh7mK.js} +1 -1
  12. package/dist/components/{arrowRightClWKIUuS.js → arrowRightDjW4cZXc.js} +1 -1
  13. package/dist/components/{arrowUpt5FuC3FU.js → arrowUpBBOMqRwJ.js} +1 -1
  14. package/dist/components/{arrowUpBou4eMQV.js → arrowUpDoHvHUV6.js} +1 -1
  15. package/dist/components/{channelC2Ri97Of.js → channel0jNldMsg.js} +1 -1
  16. package/dist/components/{channelCwUVeFpV.js → channelCsDQbKiD.js} +1 -1
  17. package/dist/components/{check0RJobaJ4.js → check0Zxvds83.js} +1 -1
  18. package/dist/components/{checkDfZPSwE6.js → checkBWJi9_a6.js} +1 -1
  19. package/dist/components/{configCgTZWYHR.js → config6VhhjpQh.js} +1 -1
  20. package/dist/components/{configC6FKsyN9.js → configCQX8ZTs2.js} +1 -1
  21. package/dist/components/{customB30kJ3DX.js → customDNzwsLNR.js} +5 -6
  22. package/dist/components/customs0nLjsaE.js +1 -0
  23. package/dist/components/{deleteBXoB6UTd.js → deleteCgLqIVRl.js} +1 -1
  24. package/dist/components/{deleteBaA_lSdx.js → deleteDnKSpkZO.js} +1 -1
  25. package/dist/components/{dotB8_2mIMY.js → dotBeWq5BYs.js} +1 -1
  26. package/dist/components/dotBi2ivVYX.js +1 -0
  27. package/dist/components/{dotCQaSpfEa.js → dotCi0WBjE9.js} +23 -22
  28. package/dist/components/{dotR12-Fs6I.js → dotxBw0mBnq.js} +1 -1
  29. package/dist/components/{downloadDSy6Lx_1.js → downloadBnTQzA4j.js} +11 -11
  30. package/dist/components/{downloadDIRWuAsZ.js → downloadDF2_6Y-f.js} +1 -1
  31. package/dist/components/{downloadL7bwn8r7.js → downloadDNe3qbJ7.js} +1 -1
  32. package/dist/components/{downloadZXx1by-2.js → downloadDeswf8ql.js} +1 -1
  33. package/dist/components/{flipzeRs4WK2.js → flipB4UaXh-c.js} +1 -1
  34. package/dist/components/{flipBWJDgBtU.js → flipDkEX3ZQH.js} +1 -1
  35. package/dist/components/fullscreenBIXfsULV.js +1 -0
  36. package/dist/components/{fullscreenCNn3z9l_.js → fullscreenC9wvJxvO.js} +6 -7
  37. package/dist/components/{fullscreenBHPtTX2M.js → fullscreenCGx_0CaO.js} +1 -1
  38. package/dist/components/{fullscreenBdMJB4PD.js → fullscreenDbpR9B7w.js} +1 -1
  39. package/dist/components/{indexCJCVhkFm.js → indexBm-HXbj3.js} +5474 -5291
  40. package/dist/components/indexCa2d-Wjt.js +30 -0
  41. package/dist/components/{infoBltXncgb.js → infoCjs_wSRJ.js} +1 -1
  42. package/dist/components/{infoDtaFyr6c.js → infogZMbfIdS.js} +1 -1
  43. package/dist/components/{levelCdq1V4Yc.js → level9TdUqGzt.js} +1 -1
  44. package/dist/components/{level0fz2ixaa.js → levelCY1NlHIe.js} +1 -1
  45. package/dist/components/{microscope4jUbJj-C.js → microscope4FIRB1UB.js} +1 -1
  46. package/dist/components/{microscopeCJSAsiIQ.js → microscopeC2JZ0eI2.js} +13 -13
  47. package/dist/components/{microscope6R__I7ur.js → microscopeDRt26GBO.js} +1 -1
  48. package/dist/components/{microscope8r-_ZsCK.js → microscopeDUGvuln-.js} +1 -1
  49. package/dist/components/{moveDg8vDZ98.js → moveBhV9kg6L.js} +1 -1
  50. package/dist/components/{moveCXbqdVKV.js → moveCu3V3JqI.js} +1 -1
  51. package/dist/components/{moveJ_q2x0EZ.js → moveD38V2VTD.js} +1 -1
  52. package/dist/components/{movelpGiPnJ5.js → movebkPadei-.js} +12 -12
  53. package/dist/components/{nextCMCmaDTi.js → nextClAf7xMw.js} +1 -1
  54. package/dist/components/{nextC0vHwAp5.js → nextCoqEdtnZ.js} +1 -1
  55. package/dist/components/{prevuRCPUsG0.js → prevB3w5Xo5F.js} +1 -1
  56. package/dist/components/{prevBzXgP68U.js → prevJkp-fUef.js} +1 -1
  57. package/dist/components/{processD1EQvj3k.js → processB578krhc.js} +1 -1
  58. package/dist/components/{processC0vYuwue.js → processBS-P5qTF.js} +1 -1
  59. package/dist/components/{processBpBLPw3-.js → process_4OLLR3I.js} +1 -1
  60. package/dist/components/{processFuA_wiCf.js → processdjntnqTL.js} +21 -21
  61. package/dist/components/{rotateBb7eL6EN.js → rotateBtBfaYlt.js} +1 -1
  62. package/dist/components/{rotatea8JeBygQ.js → rotateCGoD_DlO.js} +1 -1
  63. package/dist/components/{rotateEKM-FQDQ.js → rotateDlOeZK_Y.js} +9 -9
  64. package/dist/components/{rotateBtvqvLPE.js → rotateDzNJl50p.js} +1 -1
  65. package/dist/components/{settingCPNMWWj9.js → settingB87fba2e.js} +12 -12
  66. package/dist/components/{settingBOwtgZSJ.js → settingCBl44H7B.js} +1 -1
  67. package/dist/components/{settingBf-9h3FW.js → settingCE2-cMN2.js} +1 -1
  68. package/dist/components/{settingC-mv7W3Q.js → settingDKu9dgXl.js} +1 -1
  69. package/dist/components/{tailorCwnyDUsI.js → tailorIfjKVe1q.js} +1 -1
  70. package/dist/components/{tailorDGEwHYjf.js → tailorrql5Z5dC.js} +1 -1
  71. package/dist/components/useCommonCm7rhO60.js +1 -0
  72. package/dist/components/{useCommonCBKfFiqW.js → useCommonDGun_T6i.js} +10 -5
  73. package/dist/components/{zoomDc8tU8Zx.js → zoomDRHWcY_A.js} +1 -1
  74. package/dist/components/{zoomInBD6Lg2YX.js → zoomInBtOl0w7G.js} +1 -1
  75. package/dist/components/{zoomInCJguF0C1.js → zoomInDBLRbkSc.js} +1 -1
  76. package/dist/components/{zoomOutVGTP5fYm.js → zoomOutBii_59lh.js} +1 -1
  77. package/dist/components/{zoomOutDV9dPg1z.js → zoomOutD6o_vR_h.js} +1 -1
  78. package/dist/components/{zoomDRrzKbUt.js → zoomrgQT7EYg.js} +1 -1
  79. package/dist/index.cjs.js +1 -1
  80. package/dist/index.css +1 -1
  81. package/dist/index.es.js +3 -3
  82. package/package.json +6 -6
  83. package/types/components/KfbToolbox.vue.d.ts +4 -0
  84. package/types/components/KfbView/index.d.ts +16 -8
  85. package/types/components/KfbView/index.vue.d.ts +10 -5
  86. package/types/components/KfbView/useImageProcess.d.ts +1 -2
  87. package/types/components/KfbView/useLabel.d.ts +90 -3
  88. package/types/components/KfbView/useVoice.d.ts +8 -0
  89. package/types/components/ai/useAi.d.ts +6 -2
  90. package/types/components/toolbox/instances.d.ts +1 -10
  91. package/types/components/toolbox/process.vue.d.ts +2 -1
  92. package/types/index.d.ts +910 -0
  93. package/types/index.vue.d.ts +5 -0
  94. package/types/instances.d.ts +7 -3
  95. package/dist/components/annotateSkfOL59Z.js +0 -1
  96. package/dist/components/customDiZEAr4q.js +0 -1
  97. package/dist/components/dot_nBePo5G.js +0 -1
  98. package/dist/components/fullscreenBNpKNuBF.js +0 -1
  99. package/dist/components/indexBI9sOqLg.js +0 -30
  100. package/dist/components/useCommoney7551no.js +0 -1
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as t, openBlock as o, createElementVNode as e } from "vue";
2
- import { _ as r } from "./indexCJCVhkFm.js";
2
+ import { _ as r } from "./indexBm-HXbj3.js";
3
3
  const n = {}, c = {
4
4
  viewBox: "0 0 24 24",
5
5
  xmlns: "http://www.w3.org/2000/svg"
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("vue"),t=require("./indexBI9sOqLg.js"),n={},o={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"};function r(d,e){return C.openBlock(),C.createElementBlock("svg",o,e[0]||(e[0]=[C.createElementVNode("g",{id:"24*24/设置"},[C.createElementVNode("path",{id:"Subtract","fill-rule":"evenodd","clip-rule":"evenodd",d:"M21.8811 9.11141L21.9182 9.16079C21.9799 9.25956 22.017 9.38301 21.9923 9.50646V14.494C21.9923 14.6175 21.9676 14.7409 21.9058 14.8397L21.8688 14.8891C21.7453 15.0989 21.523 15.2347 21.2761 15.2347C21.202 15.2347 21.1155 15.2224 21.0414 15.1977C20.9179 15.1607 20.7945 15.136 20.6586 15.136C20.0782 15.136 19.4855 15.531 19.1398 16.1236C18.7076 16.8643 18.7816 17.7902 19.3003 18.2223C19.5596 18.4445 19.6337 18.8025 19.4608 19.0988L19.4114 19.1729C19.362 19.2717 19.2632 19.3581 19.1645 19.4198L14.8425 21.9136C14.7313 21.963 14.6202 22 14.4967 22H14.3609C14.0398 22 13.7681 21.7778 13.6941 21.4568C13.5582 20.8148 12.8297 20.3457 12.0023 20.3457C11.175 20.3457 10.4464 20.8272 10.3106 21.4568C10.2488 21.7778 9.9648 22 9.64374 22H9.5079C9.38442 22 9.26093 21.9753 9.16214 21.9136L4.82781 19.4322C4.72902 19.3828 4.64258 19.284 4.58084 19.1852L4.5191 19.0865C4.35857 18.8025 4.42031 18.4445 4.66728 18.2223C5.16122 17.8026 5.22297 16.926 4.80312 16.1977C4.46971 15.6051 3.88932 15.2224 3.33364 15.2224C3.21016 15.2224 3.08667 15.2471 2.97553 15.2841C2.90144 15.3088 2.82735 15.3211 2.75326 15.3211C2.50629 15.3211 2.28402 15.1853 2.16053 14.9755L2.08644 14.852C2.03705 14.7409 2 14.6298 2 14.5063V9.50646C2 9.38301 2.0247 9.25956 2.08644 9.16079L2.11114 9.08672C2.23462 8.87685 2.4569 8.74105 2.70387 8.74105C2.79031 8.74105 2.87675 8.76574 2.95084 8.79043C3.08667 8.83981 3.2225 8.8645 3.35834 8.8645C3.95107 8.8645 4.5438 8.4818 4.87721 7.88922C5.3094 7.13615 5.22297 6.23493 4.69198 5.7905C4.43266 5.56828 4.35857 5.21027 4.53145 4.91398L4.58084 4.82756C4.63024 4.7288 4.72902 4.64238 4.82781 4.58065L9.17449 2.08688C9.28563 2.0375 9.39677 2.00047 9.52025 2.00047H9.65609C9.97715 1.98812 10.2488 2.22268 10.3229 2.53132C10.4587 3.14859 11.1873 3.60537 12.0147 3.60537C12.842 3.60537 13.5706 3.13624 13.7064 2.53132C13.7681 2.22268 14.0522 2.00047 14.3732 2.00047H14.5091C14.6325 2.00047 14.756 2.02516 14.8548 2.08688L19.1768 4.58065C19.2756 4.64238 19.362 4.7288 19.4238 4.82756L19.4608 4.88929C19.6337 5.18558 19.572 5.55594 19.3126 5.76581C18.7569 6.22259 18.6829 7.14849 19.1151 7.90156C19.4485 8.49414 20.0535 8.87685 20.6339 8.87685C20.7821 8.87685 20.9179 8.85216 21.0538 8.80278C21.1279 8.77809 21.202 8.76574 21.2884 8.76574C21.5354 8.76574 21.7576 8.90154 21.8811 9.11141ZM7 12C7 14.76 9.24 17 12 17C14.76 17 17 14.76 17 12C17 9.24 14.76 7 12 7C9.24 7 7 9.24 7 12Z"})],-1)]))}const c=t._export_sfc(n,[["render",r]]);exports.default=c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("vue"),t=require("./indexCa2d-Wjt.js"),n={},o={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"};function r(d,e){return C.openBlock(),C.createElementBlock("svg",o,e[0]||(e[0]=[C.createElementVNode("g",{id:"24*24/设置"},[C.createElementVNode("path",{id:"Subtract","fill-rule":"evenodd","clip-rule":"evenodd",d:"M21.8811 9.11141L21.9182 9.16079C21.9799 9.25956 22.017 9.38301 21.9923 9.50646V14.494C21.9923 14.6175 21.9676 14.7409 21.9058 14.8397L21.8688 14.8891C21.7453 15.0989 21.523 15.2347 21.2761 15.2347C21.202 15.2347 21.1155 15.2224 21.0414 15.1977C20.9179 15.1607 20.7945 15.136 20.6586 15.136C20.0782 15.136 19.4855 15.531 19.1398 16.1236C18.7076 16.8643 18.7816 17.7902 19.3003 18.2223C19.5596 18.4445 19.6337 18.8025 19.4608 19.0988L19.4114 19.1729C19.362 19.2717 19.2632 19.3581 19.1645 19.4198L14.8425 21.9136C14.7313 21.963 14.6202 22 14.4967 22H14.3609C14.0398 22 13.7681 21.7778 13.6941 21.4568C13.5582 20.8148 12.8297 20.3457 12.0023 20.3457C11.175 20.3457 10.4464 20.8272 10.3106 21.4568C10.2488 21.7778 9.9648 22 9.64374 22H9.5079C9.38442 22 9.26093 21.9753 9.16214 21.9136L4.82781 19.4322C4.72902 19.3828 4.64258 19.284 4.58084 19.1852L4.5191 19.0865C4.35857 18.8025 4.42031 18.4445 4.66728 18.2223C5.16122 17.8026 5.22297 16.926 4.80312 16.1977C4.46971 15.6051 3.88932 15.2224 3.33364 15.2224C3.21016 15.2224 3.08667 15.2471 2.97553 15.2841C2.90144 15.3088 2.82735 15.3211 2.75326 15.3211C2.50629 15.3211 2.28402 15.1853 2.16053 14.9755L2.08644 14.852C2.03705 14.7409 2 14.6298 2 14.5063V9.50646C2 9.38301 2.0247 9.25956 2.08644 9.16079L2.11114 9.08672C2.23462 8.87685 2.4569 8.74105 2.70387 8.74105C2.79031 8.74105 2.87675 8.76574 2.95084 8.79043C3.08667 8.83981 3.2225 8.8645 3.35834 8.8645C3.95107 8.8645 4.5438 8.4818 4.87721 7.88922C5.3094 7.13615 5.22297 6.23493 4.69198 5.7905C4.43266 5.56828 4.35857 5.21027 4.53145 4.91398L4.58084 4.82756C4.63024 4.7288 4.72902 4.64238 4.82781 4.58065L9.17449 2.08688C9.28563 2.0375 9.39677 2.00047 9.52025 2.00047H9.65609C9.97715 1.98812 10.2488 2.22268 10.3229 2.53132C10.4587 3.14859 11.1873 3.60537 12.0147 3.60537C12.842 3.60537 13.5706 3.13624 13.7064 2.53132C13.7681 2.22268 14.0522 2.00047 14.3732 2.00047H14.5091C14.6325 2.00047 14.756 2.02516 14.8548 2.08688L19.1768 4.58065C19.2756 4.64238 19.362 4.7288 19.4238 4.82756L19.4608 4.88929C19.6337 5.18558 19.572 5.55594 19.3126 5.76581C18.7569 6.22259 18.6829 7.14849 19.1151 7.90156C19.4485 8.49414 20.0535 8.87685 20.6339 8.87685C20.7821 8.87685 20.9179 8.85216 21.0538 8.80278C21.1279 8.77809 21.202 8.76574 21.2884 8.76574C21.5354 8.76574 21.7576 8.90154 21.8811 9.11141ZM7 12C7 14.76 9.24 17 12 17C14.76 17 17 14.76 17 12C17 9.24 14.76 7 12 7C9.24 7 7 9.24 7 12Z"})],-1)]))}const c=t._export_sfc(n,[["render",r]]);exports.default=c;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),d=require("./indexBI9sOqLg.js"),m=require("./useCommoney7551no.js"),r=require("element-plus"),v=require("./settingBf-9h3FW.js"),x={class:"hzzt-kfb-toolbox__icon"},c=e.defineComponent({name:"ToolSetting",__name:"setting",props:e.mergeDefaults({size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function}},d.defaultProps),emits:["tool"],setup(V,{emit:s}){const i=s,{t:o,textClass:f}=m.useCommon(),a=e.ref({all:!0,grid:!1,ruler:!1,navigator:!0,graduation:!0});function u(n,t){n==="grid"||n==="graduation"?i("tool",n,{show:t}):n==="ruler"?i("tool",n,{ruler:t}):n==="tool"&&(a.value.grid=!!t,a.value.ruler=!!t,a.value.navigator=!!t,a.value.graduation=!!t),i("tool",n,t)}return(n,t)=>(e.openBlock(),e.createBlock(e.unref(r.ElPopover),{placement:"bottom",width:"230px",trigger:"click","popper-class":"el-popover-padding-0"},{reference:e.withCtx(()=>[e.createElementVNode("div",x,[e.createVNode(e.unref(r.ElIcon),{size:n.size},{default:e.withCtx(()=>[e.createVNode(v.default)]),_:1},8,["size"]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(f))},e.toDisplayString(e.unref(o)(n.text||"工具")),3)])]),default:e.withCtx(()=>[e.createVNode(e.unref(r.ElCard),{shadow:"never",header:e.unref(o)("工具"),"body-style":{padding:0}},{default:e.withCtx(()=>[e.createVNode(e.unref(r.ElForm),{"label-width":"85px","label-position":"right"},{default:e.withCtx(()=>[e.createVNode(e.unref(r.ElFormItem),{label:e.unref(o)("全部")},{default:e.withCtx(()=>[e.createVNode(e.unref(r.ElSwitch),{modelValue:a.value.all,"onUpdate:modelValue":t[0]||(t[0]=l=>a.value.all=l),"active-text":e.unref(o)("开"),"inactive-text":e.unref(o)("关"),onChange:t[1]||(t[1]=l=>u("tool",l))},null,8,["modelValue","active-text","inactive-text"])]),_:1},8,["label"]),e.createVNode(e.unref(r.ElFormItem),{label:e.unref(o)("自动网格")},{default:e.withCtx(()=>[e.createVNode(e.unref(r.ElSwitch),{modelValue:a.value.grid,"onUpdate:modelValue":t[2]||(t[2]=l=>a.value.grid=l),"active-text":e.unref(o)("开"),"inactive-text":e.unref(o)("关"),onChange:t[3]||(t[3]=l=>u("grid",l))},null,8,["modelValue","active-text","inactive-text"])]),_:1},8,["label"]),e.createVNode(e.unref(r.ElFormItem),{label:e.unref(o)("自动标尺")},{default:e.withCtx(()=>[e.createVNode(e.unref(r.ElSwitch),{modelValue:a.value.ruler,"onUpdate:modelValue":t[4]||(t[4]=l=>a.value.ruler=l),"active-text":e.unref(o)("开"),"inactive-text":e.unref(o)("关"),onChange:t[5]||(t[5]=l=>u("ruler",l))},null,8,["modelValue","active-text","inactive-text"])]),_:1},8,["label"]),e.createVNode(e.unref(r.ElFormItem),{label:e.unref(o)("导航图")},{default:e.withCtx(()=>[e.createVNode(e.unref(r.ElSwitch),{modelValue:a.value.navigator,"onUpdate:modelValue":t[6]||(t[6]=l=>a.value.navigator=l),"active-text":e.unref(o)("开"),"inactive-text":e.unref(o)("关"),onChange:t[7]||(t[7]=l=>u("navigator",l))},null,8,["modelValue","active-text","inactive-text"])]),_:1},8,["label"]),e.createVNode(e.unref(r.ElFormItem),{label:e.unref(o)("比例尺")},{default:e.withCtx(()=>[e.createVNode(e.unref(r.ElSwitch),{modelValue:a.value.graduation,"onUpdate:modelValue":t[8]||(t[8]=l=>a.value.graduation=l),"active-text":e.unref(o)("开"),"inactive-text":e.unref(o)("关"),onChange:t[9]||(t[9]=l=>u("graduation",l))},null,8,["modelValue","active-text","inactive-text"])]),_:1},8,["label"])]),_:1})]),_:1},8,["header"])]),_:1}))}}),g=d._export_sfc(c,[["__scopeId","data-v-3599775b"]]);exports.default=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),d=require("./useCommonCm7rhO60.js"),r=require("element-plus"),m=require("./settingCE2-cMN2.js"),v=require("./indexCa2d-Wjt.js"),x={class:"hzzt-kfb-toolbox__icon"},c=e.defineComponent({name:"ToolSetting",__name:"setting",props:e.mergeDefaults({size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function}},d.defaultProps),emits:["tool"],setup(V,{emit:s}){const i=s,{t:o,textClass:f}=d.useCommon(),a=e.ref({all:!0,grid:!1,ruler:!1,navigator:!0,graduation:!0});function u(n,t){n==="grid"||n==="graduation"?i("tool",n,{show:t}):n==="ruler"?i("tool",n,{ruler:t}):n==="tool"&&(a.value.grid=!!t,a.value.ruler=!!t,a.value.navigator=!!t,a.value.graduation=!!t),i("tool",n,t)}return(n,t)=>(e.openBlock(),e.createBlock(e.unref(r.ElPopover),{placement:"bottom",width:"230px",trigger:"click","popper-class":"el-popover-padding-0"},{reference:e.withCtx(()=>[e.createElementVNode("div",x,[e.createVNode(e.unref(r.ElIcon),{size:n.size},{default:e.withCtx(()=>[e.createVNode(m.default)]),_:1},8,["size"]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(f))},e.toDisplayString(e.unref(o)(n.text||"工具")),3)])]),default:e.withCtx(()=>[e.createVNode(e.unref(r.ElCard),{shadow:"never",header:e.unref(o)("工具"),"body-style":{padding:0}},{default:e.withCtx(()=>[e.createVNode(e.unref(r.ElForm),{"label-width":"85px","label-position":"right"},{default:e.withCtx(()=>[e.createVNode(e.unref(r.ElFormItem),{label:e.unref(o)("全部")},{default:e.withCtx(()=>[e.createVNode(e.unref(r.ElSwitch),{modelValue:a.value.all,"onUpdate:modelValue":t[0]||(t[0]=l=>a.value.all=l),"active-text":e.unref(o)("开"),"inactive-text":e.unref(o)("关"),onChange:t[1]||(t[1]=l=>u("tool",l))},null,8,["modelValue","active-text","inactive-text"])]),_:1},8,["label"]),e.createVNode(e.unref(r.ElFormItem),{label:e.unref(o)("自动网格")},{default:e.withCtx(()=>[e.createVNode(e.unref(r.ElSwitch),{modelValue:a.value.grid,"onUpdate:modelValue":t[2]||(t[2]=l=>a.value.grid=l),"active-text":e.unref(o)("开"),"inactive-text":e.unref(o)("关"),onChange:t[3]||(t[3]=l=>u("grid",l))},null,8,["modelValue","active-text","inactive-text"])]),_:1},8,["label"]),e.createVNode(e.unref(r.ElFormItem),{label:e.unref(o)("自动标尺")},{default:e.withCtx(()=>[e.createVNode(e.unref(r.ElSwitch),{modelValue:a.value.ruler,"onUpdate:modelValue":t[4]||(t[4]=l=>a.value.ruler=l),"active-text":e.unref(o)("开"),"inactive-text":e.unref(o)("关"),onChange:t[5]||(t[5]=l=>u("ruler",l))},null,8,["modelValue","active-text","inactive-text"])]),_:1},8,["label"]),e.createVNode(e.unref(r.ElFormItem),{label:e.unref(o)("导航图")},{default:e.withCtx(()=>[e.createVNode(e.unref(r.ElSwitch),{modelValue:a.value.navigator,"onUpdate:modelValue":t[6]||(t[6]=l=>a.value.navigator=l),"active-text":e.unref(o)("开"),"inactive-text":e.unref(o)("关"),onChange:t[7]||(t[7]=l=>u("navigator",l))},null,8,["modelValue","active-text","inactive-text"])]),_:1},8,["label"]),e.createVNode(e.unref(r.ElFormItem),{label:e.unref(o)("比例尺")},{default:e.withCtx(()=>[e.createVNode(e.unref(r.ElSwitch),{modelValue:a.value.graduation,"onUpdate:modelValue":t[8]||(t[8]=l=>a.value.graduation=l),"active-text":e.unref(o)("开"),"inactive-text":e.unref(o)("关"),onChange:t[9]||(t[9]=l=>u("graduation",l))},null,8,["modelValue","active-text","inactive-text"])]),_:1},8,["label"])]),_:1})]),_:1},8,["header"])]),_:1}))}}),g=v._export_sfc(c,[["__scopeId","data-v-3599775b"]]);exports.default=g;
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as e, openBlock as o, createElementVNode as V } from "vue";
2
- import { _ as H } from "./indexCJCVhkFm.js";
2
+ import { _ as H } from "./indexBm-HXbj3.js";
3
3
  const r = {}, n = {
4
4
  viewBox: "0 0 24 24",
5
5
  xmlns: "http://www.w3.org/2000/svg"
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),V=require("./indexBI9sOqLg.js"),o={},r={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"};function n(c,t){return e.openBlock(),e.createElementBlock("svg",r,t[0]||(t[0]=[e.createElementVNode("g",{id:"24*24/框选"},[e.createElementVNode("path",{id:"Vector",d:"M6.00001 1.94995H7.95001V3.89995H6.00001V1.94995ZM1.95001 13.95H3.90001V15.9H1.95001V13.95ZM13.95 1.94995H15.9V3.89995H13.95V1.94995ZM1.95001 10.05H3.90001V12H1.95001V10.05ZM10.05 1.94995H12V3.89995H10.05V1.94995ZM21.9 21.3V17.4L19.95 18L21.9 21.3ZM1.95001 5.99995H3.90001V7.94995H1.95001V5.99995Z"}),e.createElementVNode("path",{id:"Vector_2",d:"M21.75 8.24995C21.6 8.09995 21.3 7.94995 21 7.94995H16.05V5.99995H13.95V7.94995H9.00001C8.70001 7.94995 8.55001 8.09995 8.25001 8.24995C8.10001 8.54995 7.95001 8.69995 7.95001 8.99995V13.95H6.00001V15.9H7.95001V21C7.95001 21.3 8.10001 21.45 8.25001 21.75C8.40001 21.9 8.70001 22.05 9.00001 22.05H20.1L18.3 18.9L16.05 21V12.9L22.05 16.35V8.99995C22.05 8.69995 21.9 8.54995 21.75 8.24995ZM1.95001 1.94995H3.90001V3.89995H1.95001V1.94995Z"})],-1)]))}const H=V._export_sfc(o,[["render",n]]);exports.default=H;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),V=require("./indexCa2d-Wjt.js"),o={},r={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"};function n(c,t){return e.openBlock(),e.createElementBlock("svg",r,t[0]||(t[0]=[e.createElementVNode("g",{id:"24*24/框选"},[e.createElementVNode("path",{id:"Vector",d:"M6.00001 1.94995H7.95001V3.89995H6.00001V1.94995ZM1.95001 13.95H3.90001V15.9H1.95001V13.95ZM13.95 1.94995H15.9V3.89995H13.95V1.94995ZM1.95001 10.05H3.90001V12H1.95001V10.05ZM10.05 1.94995H12V3.89995H10.05V1.94995ZM21.9 21.3V17.4L19.95 18L21.9 21.3ZM1.95001 5.99995H3.90001V7.94995H1.95001V5.99995Z"}),e.createElementVNode("path",{id:"Vector_2",d:"M21.75 8.24995C21.6 8.09995 21.3 7.94995 21 7.94995H16.05V5.99995H13.95V7.94995H9.00001C8.70001 7.94995 8.55001 8.09995 8.25001 8.24995C8.10001 8.54995 7.95001 8.69995 7.95001 8.99995V13.95H6.00001V15.9H7.95001V21C7.95001 21.3 8.10001 21.45 8.25001 21.75C8.40001 21.9 8.70001 22.05 9.00001 22.05H20.1L18.3 18.9L16.05 21V12.9L22.05 16.35V8.99995C22.05 8.69995 21.9 8.54995 21.75 8.24995ZM1.95001 1.94995H3.90001V3.89995H1.95001V1.94995Z"})],-1)]))}const H=V._export_sfc(o,[["render",n]]);exports.default=H;
@@ -0,0 +1 @@
1
+ "use strict";const e=require("vue"),n=require("./indexCa2d-Wjt.js"),u={size:24,isPrevent:!1};function c(){const t=e.inject("show-text",{value:!0}),{t:o}=n.useLocalI18n(),s=e.computed(()=>t.value?"hzzt-kfb-toolbox__text":"hzzt-kfb-toolbox__tooltip");return{showText:t,t:o,textClass:s}}exports.defaultProps=u;exports.useCommon=c;
@@ -1,9 +1,13 @@
1
- import { inject as s, computed as u } from "vue";
2
- import { u as n } from "./indexCJCVhkFm.js";
3
- function l() {
1
+ import { inject as s, computed as n } from "vue";
2
+ import { u } from "./indexBm-HXbj3.js";
3
+ const l = {
4
+ size: 24,
5
+ isPrevent: !1
6
+ };
7
+ function c() {
4
8
  const t = s("show-text", {
5
9
  value: !0
6
- }), { t: o } = n(), e = u(
10
+ }), { t: o } = u(), e = n(
7
11
  () => t.value ? "hzzt-kfb-toolbox__text" : "hzzt-kfb-toolbox__tooltip"
8
12
  );
9
13
  return {
@@ -13,5 +17,6 @@ function l() {
13
17
  };
14
18
  }
15
19
  export {
16
- l as u
20
+ l as d,
21
+ c as u
17
22
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("element-plus"),_=require("./indexBI9sOqLg.js"),b={class:"hzzt-kfb-toolbox-zoom"},z=["data-index","onClick"],k={class:"hzzt-kfb-toolbox__text"},p={class:"hzzt-kfb-toolbox-zoom__button"},x=e.defineComponent({name:"ToolZoom",__name:"zoom",emits:["tool"],setup(v,{emit:r}){var s;const u=r,t=e.inject("kfbViewRef"),m=[{scaleNum:2,style:"background-color: rgba(0, 0, 0, 0.5)"},{scaleNum:4,style:"background-color: rgba(0, 0, 0, 0.6)"},{scaleNum:10,style:"background-color: rgba(0, 0, 0, 0.7)"},{scaleNum:20,style:"background-color: rgba(0, 0, 0, 0.8)"},{scaleNum:40,style:"background-color: rgba(0, 0, 0, 0.8)"}],n=e.ref(`${((s=t==null?void 0:t.value)==null?void 0:s.zoom)??"0x"}`);e.watch(()=>{var o;return(o=t==null?void 0:t.value)==null?void 0:o.zoom},o=>{n.value=`${o}x`});function c(o){u("tool","zoom",o)}return(o,a)=>(e.openBlock(),e.createElementBlock("div",b,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(m,(l,d)=>e.createElementVNode("div",{key:d,class:"hzzt-kfb-toolbox__icon","data-index":l.scaleNum,onClick:N=>c(l.scaleNum)},[e.createElementVNode("span",k,e.toDisplayString(l.scaleNum)+"x",1)],8,z)),64)),e.createElementVNode("div",p,[e.createVNode(e.unref(i.ElInput),{modelValue:n.value,"onUpdate:modelValue":a[0]||(a[0]=l=>n.value=l),class:"hzzt-kfb-toolbox-zoom__input",onKeydown:a[1]||(a[1]=e.withKeys(l=>c(Number(n.value.replace("x",""))),["enter"]))},null,8,["modelValue"])])]))}}),g=_._export_sfc(x,[["__scopeId","data-v-6bcef5d5"]]);exports.default=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("element-plus"),_=require("./indexCa2d-Wjt.js"),b={class:"hzzt-kfb-toolbox-zoom"},z=["data-index","onClick"],k={class:"hzzt-kfb-toolbox__text"},p={class:"hzzt-kfb-toolbox-zoom__button"},x=e.defineComponent({name:"ToolZoom",__name:"zoom",emits:["tool"],setup(v,{emit:r}){var s;const u=r,t=e.inject("kfbViewRef"),m=[{scaleNum:2,style:"background-color: rgba(0, 0, 0, 0.5)"},{scaleNum:4,style:"background-color: rgba(0, 0, 0, 0.6)"},{scaleNum:10,style:"background-color: rgba(0, 0, 0, 0.7)"},{scaleNum:20,style:"background-color: rgba(0, 0, 0, 0.8)"},{scaleNum:40,style:"background-color: rgba(0, 0, 0, 0.8)"}],n=e.ref(`${((s=t==null?void 0:t.value)==null?void 0:s.zoom)??"0x"}`);e.watch(()=>{var o;return(o=t==null?void 0:t.value)==null?void 0:o.zoom},o=>{n.value=`${o}x`});function c(o){u("tool","zoom",o)}return(o,a)=>(e.openBlock(),e.createElementBlock("div",b,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(m,(l,d)=>e.createElementVNode("div",{key:d,class:"hzzt-kfb-toolbox__icon","data-index":l.scaleNum,onClick:N=>c(l.scaleNum)},[e.createElementVNode("span",k,e.toDisplayString(l.scaleNum)+"x",1)],8,z)),64)),e.createElementVNode("div",p,[e.createVNode(e.unref(i.ElInput),{modelValue:n.value,"onUpdate:modelValue":a[0]||(a[0]=l=>n.value=l),class:"hzzt-kfb-toolbox-zoom__input",onKeydown:a[1]||(a[1]=e.withKeys(l=>c(Number(n.value.replace("x",""))),["enter"]))},null,8,["modelValue"])])]))}}),g=_._export_sfc(x,[["__scopeId","data-v-6bcef5d5"]]);exports.default=g;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./indexBI9sOqLg.js"),o={},l={t:"1748500532947",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"10927",width:"32",height:"32"};function r(i,t){return e.openBlock(),e.createElementBlock("svg",l,t[0]||(t[0]=[e.createElementVNode("path",{d:"M919.264 905.984l-138.912-138.912C851.808 692.32 896 591.328 896 480c0-229.376-186.624-416-416-416S64 250.624 64 480s186.624 416 416 416c95.008 0 182.432-32.384 252.544-86.208l141.44 141.44a31.904 31.904 0 0 0 45.248 0 32 32 0 0 0 0.032-45.248zM128 480C128 285.92 285.92 128 480 128s352 157.92 352 352-157.92 352-352 352S128 674.08 128 480z","p-id":"10928",fill:"#333333"},null,-1),e.createElementVNode("path",{d:"M625.792 448H336a32 32 0 0 0 0 64h289.792a32 32 0 1 0 0-64z","p-id":"10929",fill:"#333333"},null,-1)]))}const c=n._export_sfc(o,[["render",r]]);exports.default=c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./indexCa2d-Wjt.js"),o={},l={t:"1748500532947",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"10927",width:"32",height:"32"};function r(i,t){return e.openBlock(),e.createElementBlock("svg",l,t[0]||(t[0]=[e.createElementVNode("path",{d:"M919.264 905.984l-138.912-138.912C851.808 692.32 896 591.328 896 480c0-229.376-186.624-416-416-416S64 250.624 64 480s186.624 416 416 416c95.008 0 182.432-32.384 252.544-86.208l141.44 141.44a31.904 31.904 0 0 0 45.248 0 32 32 0 0 0 0.032-45.248zM128 480C128 285.92 285.92 128 480 128s352 157.92 352 352-157.92 352-352 352S128 674.08 128 480z","p-id":"10928",fill:"#333333"},null,-1),e.createElementVNode("path",{d:"M625.792 448H336a32 32 0 0 0 0 64h289.792a32 32 0 1 0 0-64z","p-id":"10929",fill:"#333333"},null,-1)]))}const c=n._export_sfc(o,[["render",r]]);exports.default=c;
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as n, createElementVNode as e } from "vue";
2
- import { _ as l } from "./indexCJCVhkFm.js";
2
+ import { _ as l } from "./indexBm-HXbj3.js";
3
3
  const s = {}, r = {
4
4
  t: "1748500532947",
5
5
  class: "icon",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as s, createElementVNode as t } from "vue";
2
- import { _ as a } from "./indexCJCVhkFm.js";
2
+ import { _ as a } from "./indexBm-HXbj3.js";
3
3
  const c = {}, l = {
4
4
  t: "1748500019773",
5
5
  class: "icon",
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./indexBI9sOqLg.js"),c={},o={t:"1748500019773",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9740",width:"32",height:"32"};function s(i,t){return e.openBlock(),e.createElementBlock("svg",o,t[0]||(t[0]=[e.createElementVNode("path",{d:"M919.264 905.984l-138.912-138.912C851.808 692.32 896 591.328 896 480c0-229.376-186.624-416-416-416S64 250.624 64 480s186.624 416 416 416c95.008 0 182.432-32.384 252.544-86.208l141.44 141.44a31.904 31.904 0 0 0 45.248 0 32 32 0 0 0 0.032-45.248zM128 480C128 285.92 285.92 128 480 128s352 157.92 352 352-157.92 352-352 352S128 674.08 128 480z","p-id":"9741",fill:"#333333","data-spm-anchor-id":"a313x.search_index.0.i5.3c223a8142DgM6",class:"selected"},null,-1),e.createElementVNode("path",{d:"M625.792 448H512v-112a32 32 0 0 0-64 0V448h-112a32 32 0 0 0 0 64H448v112a32 32 0 1 0 64 0V512h113.792a32 32 0 1 0 0-64z","p-id":"9742",fill:"#333333"},null,-1)]))}const l=n._export_sfc(c,[["render",s]]);exports.default=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./indexCa2d-Wjt.js"),c={},o={t:"1748500019773",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9740",width:"32",height:"32"};function s(i,t){return e.openBlock(),e.createElementBlock("svg",o,t[0]||(t[0]=[e.createElementVNode("path",{d:"M919.264 905.984l-138.912-138.912C851.808 692.32 896 591.328 896 480c0-229.376-186.624-416-416-416S64 250.624 64 480s186.624 416 416 416c95.008 0 182.432-32.384 252.544-86.208l141.44 141.44a31.904 31.904 0 0 0 45.248 0 32 32 0 0 0 0.032-45.248zM128 480C128 285.92 285.92 128 480 128s352 157.92 352 352-157.92 352-352 352S128 674.08 128 480z","p-id":"9741",fill:"#333333","data-spm-anchor-id":"a313x.search_index.0.i5.3c223a8142DgM6",class:"selected"},null,-1),e.createElementVNode("path",{d:"M625.792 448H512v-112a32 32 0 0 0-64 0V448h-112a32 32 0 0 0 0 64H448v112a32 32 0 1 0 64 0V512h113.792a32 32 0 1 0 0-64z","p-id":"9742",fill:"#333333"},null,-1)]))}const l=n._export_sfc(c,[["render",s]]);exports.default=l;
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as b, inject as z, ref as p, watch as x, createElementBlock as r, openBlock as m, createElementVNode as s, Fragment as k, renderList as f, toDisplayString as g, createVNode as v, unref as N, withKeys as y } from "vue";
2
2
  import { ElInput as h } from "element-plus";
3
- import { _ as V } from "./indexCJCVhkFm.js";
3
+ import { _ as V } from "./indexBm-HXbj3.js";
4
4
  const w = { class: "hzzt-kfb-toolbox-zoom" }, $ = ["data-index", "onClick"], C = { class: "hzzt-kfb-toolbox__text" }, E = { class: "hzzt-kfb-toolbox-zoom__button" }, B = /* @__PURE__ */ b({
5
5
  name: "ToolZoom",
6
6
  __name: "zoom",
package/dist/index.cjs.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./components/indexBI9sOqLg.js");exports.HzztKfbSlide=e._sfc_main;exports.HzztKfbToolbox=e._sfc_main$2;exports.HzztKfbView=e._sfc_main$1;exports.default=e.index;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./components/indexCa2d-Wjt.js");exports.HzztKfbSlide=e._sfc_main;exports.HzztKfbToolbox=e._sfc_main$2;exports.HzztKfbView=e._sfc_main$1;exports.default=e.index;
package/dist/index.css CHANGED
@@ -1 +1 @@
1
- @charset "UTF-8";.hzzt-kfb-tool-config{--hzzt-kfb-tool-config-title-font-size: 20px;--hzzt-kfb-tool-config-title-color: #000000;--hzzt-kfb-tool-config-font-size: 14px;--hzzt-kfb-tool-config-color: #000000;--hzzt-kfb-tool-config-icon-color: #ffffff;--hzzt-kfb-tool-config-icon-background-color: #000000;--hzzt-kfb-tool-config-block-background-color: #ffffff;font-size:var(--hzzt-kfb-tool-config-font-size);color:var(--hzzt-kfb-tool-config-color)}.hzzt-kfb-tool-config__title{font-size:var(--hzzt-kfb-tool-config-title-font-size);color:var(--hzzt-kfb-tool-config-title-color)}.hzzt-kfb-tool-config__icon{width:48px;height:48px;border-radius:100%;color:var(--hzzt-kfb-tool-config-icon-color);background-color:var(--hzzt-kfb-tool-config-icon-background-color)}.hzzt-kfb-tool-config__block{width:240px;padding:8px;margin-bottom:8px;background-color:var(--hzzt-kfb-tool-config-block-background-color);border:var(--el-border)}.hzzt-kfb-toolbox{--hzzt-kfb-toolbox-padding: 8px 0;--hzzt-kfb-toolbox-font-size: 12px;--hzzt-kfb-toolbox-background-color: #fff;--hzzt-kfb-toolbox-icon-width: 40px;--hzzt-kfb-toolbox-icon-color: #000000;--hzzt-kfb-toolbox-icon-hover-color: #FFFFFF;--hzzt-kfb-toolbox-icon-hover-background-color: #424D68;--hzzt-kfb-toolbox-tooltip-color: #FFFFFF;--hzzt-kfb-toolbox-tooltip-background-color: #0655C3;--hzzt-kfb-toolbox-text-color: #000000;--hzzt-kfb-toolbox-text-hover-color: #FFFFFF;display:flex;align-items:center;justify-content:space-between;background-color:var(--hzzt-kfb-toolbox-background-color);padding:var(--hzzt-kfb-toolbox-padding);font-size:var(--hzzt-kfb-toolbox-font-size);position:relative;border-bottom:1px solid var(--hzzt-border-color, #DCDCDC);width:100%}.hzzt-kfb-toolbox__component{display:flex;flex:1;align-items:center;justify-content:center}.hzzt-kfb-toolbox__icon{min-width:var(--hzzt-kfb-toolbox-icon-width);color:var(--hzzt-kfb-toolbox-icon-color);display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;position:relative;margin:0 4px}.hzzt-kfb-toolbox__icon:hover{color:var(--hzzt-kfb-toolbox-icon-hover-color);background:var(--hzzt-kfb-toolbox-icon-hover-background-color);border-radius:4px}.hzzt-kfb-toolbox__icon:hover .hzzt-kfb-toolbox__tooltip{display:flex}.hzzt-kfb-toolbox__icon:hover .hzzt-kfb-toolbox__text{color:var(--hzzt-kfb-toolbox-text-hover-color)}.hzzt-kfb-toolbox__tooltip{align-items:center;justify-content:center;background-color:var(--hzzt-kfb-toolbox-tooltip-background-color);position:absolute;color:var(--hzzt-kfb-toolbox-tooltip-color);padding:2px 4px;border-radius:4px;top:30px;display:none;white-space:nowrap;z-index:9999}.hzzt-kfb-toolbox__text{color:var(--hzzt-kfb-toolbox-text-color)}.hzzt-kfb-toolbox__line{--hzzt-kfb-toolbox-line-color: #A8ABB2;margin:0 8px;width:1px;height:20px;background:var(--hzzt-kfb-toolbox-line-color)}.hzzt-kfb-toolbox-rotate__angle .el-input-number{width:120PX}.hzzt-kfb-toolbox-rotate__btn{--hzzt-kfb-toolbox-rotate-btn-backgroud-color: #3B55BF;cursor:pointer;width:10px;height:10px;background:var(--hzzt-kfb-toolbox-rotate-btn-backgroud-color);z-index:2}.hzzt-kfb-toolbox-rotate__container{width:64px;height:64px}.hzzt-kfb-toolbox-rotate__img{cursor:pointer;-webkit-user-select:none;user-select:none;width:100%;height:100%}.hzzt-kfb-toolbox-zoom{display:flex;--hzzt-kfb-toolbox-zoom-backgroud-color: #F3F3F4}.hzzt-kfb-toolbox-zoom__button{font-size:16px;line-height:16px;margin-left:2px;height:32px;background:var(--hzzt-kfb-toolbox-zoom-backgroud-color);border-radius:4px;border:1px solid #DCDDE1}.hzzt-kfb-toolbox-zoom__input{width:60px;height:30px;--el-input-bg-color: getCssVarNoName($B, "backgroud-color");--el-input-text-color: #000;--el-input-border: none}.hzzt-kfb-toolbox-zoom__input .el-input__wrapper{box-shadow:none}.hzzt-kfb-toolbox-zoom__input .el-input__wrapper .el-input__inner{font-size:16px;font-weight:600}.el-popover-padding-0{--el-popover-padding: 0 }.hzzt-kfb-menu[data-v-1add2dfa]{position:absolute;display:none;background:#fff;box-shadow:var(--el-box-shadow);border-radius:var(--el-border-radius-base);padding:8px 0;font-size:14px}.hzzt-kfb-menu .hzzt-kfb-menu-item[data-v-1add2dfa]{min-width:200px;display:flex;align-items:center;justify-content:space-between;padding:6px 16px;position:relative;cursor:pointer;line-height:1}.hzzt-kfb-menu .hzzt-kfb-menu-item[data-v-1add2dfa]:hover{background:var(--el-color-info-light-8)}.hzzt-kfb-menu .hzzt-kfb-menu-item:hover .hzzt-kfb-sub-menu[data-v-1add2dfa]{display:block}.hzzt-kfb-menu .hzzt-kfb-menu-item .hzzt-kfb-sub-menu[data-v-1add2dfa]{position:absolute;display:none;left:0;top:0;transform:translate(200px);box-shadow:var(--el-box-shadow);border-radius:var(--el-border-radius-base);padding:8px 0;background:#fff}.hzzt-kfb-menu .hzzt-kfb-menu-item .hzzt-kfb-sub-menu .hzzt-kfb-menu-item[data-v-1add2dfa],.hzzt-kfb-menu[data-v-1add2dfa] .el-cascader-menu{min-width:auto}.hzzt-kfb-menu[data-v-1add2dfa] .el-cascader-menu .el-cascader-node__label{display:flex;align-items:center;padding:0 16px 0 8px}.hzzt-kfb-menu[data-v-1add2dfa] .el-cascader-menu .el-cascader-menu__wrap.el-scrollbar__wrap{height:auto}.hzzt-kfb-microscope[data-v-e8b36101]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none}.hzzt-kfb-microscope .hzzt-kfb-microscope__container[data-v-e8b36101]{border:2px dashed red;border-radius:50%;min-width:24px;min-height:24px}.hzzt-kfb-microscope .hzzt-kfb-microscope__top[data-v-e8b36101]{width:18px;height:18px;position:absolute;top:-20px;left:50%;cursor:pointer;transform:translate(-50%);pointer-events:auto}.hzzt-kfb-microscope .hzzt-kfb-microscope__bottom[data-v-e8b36101]{width:18px;height:18px;position:absolute;bottom:-20px;left:50%;cursor:pointer;transform:translate(-50%);pointer-events:auto}.hzzt-kfb-microscope .hzzt-kfb-microscope__left[data-v-e8b36101]{width:18px;height:18px;position:absolute;left:-20px;top:50%;cursor:pointer;transform:translateY(-50%);pointer-events:auto}.hzzt-kfb-microscope .hzzt-kfb-microscope__right[data-v-e8b36101]{width:18px;height:18px;position:absolute;right:-20px;top:50%;cursor:pointer;transform:translateY(-50%);pointer-events:auto}.hzzt-kfb-label[data-v-7397de48]{position:absolute;top:0;left:0;background:#fff;color:#000}.hzzt-kfb-label .hzzt-kfb-label__title[data-v-7397de48]{font-size:12px;color:#000;padding:0 4px}.hzzt-kfb-label .hzzt-kfb-label__img[data-v-7397de48]{cursor:pointer;background:#0000004d}.hzzt-kfb-label .hzzt-kfb-label__img img[data-v-7397de48]{height:120px;width:120px}.hzzt-kfb-label .hzzt-kfb-label__pathology[data-v-7397de48]{--set-patholgy-height: 20px;height:var(--set-patholgy-height);font-size:12px;width:100%;display:flex;align-items:center;cursor:pointer;padding:2px 4px;border:1px solid var(--el-border-color)}.hzzt-kfb-label .hzzt-kfb-label__expend[data-v-7397de48]{position:absolute;--expand-button-width: 10px;width:var(--expand-button-width);height:40px;top:50%;transform:translateY(-50%);right:calc(-1 * var(--expand-button-width));background:#0006;border-radius:0 6px 6px 0;cursor:pointer;color:#fff}.hzzt-kfb-keyword[data-v-c8d940f0]{position:absolute;bottom:5px;left:50%;width:156px;margin-left:-78px}.hzzt-kfb-keyword .hzzt-kfb-keyword__code[data-v-c8d940f0]{margin:2px;width:48px;height:48px;background-color:#c8c8c880;color:#333;cursor:pointer}.hzzt-kfb-keyword .hzzt-kfb-keyword__code[data-v-c8d940f0]:hover{background-color:#bebebecc}.hzzt-kfb-level{position:absolute;right:50px;bottom:300px;height:200px;width:30px;border-radius:4px;background:#00000040}.hzzt-kfb-level .el-slider__runway{background-color:#00000080}.hzzt-kfb-level .el-slider__bar{background-color:unset}.hzzt-kfb-level .el-slider__stop{background-color:#e2e2e2}.hzzt-kfb-level--large{height:250px}.hzzt-kfb-channel{position:absolute;bottom:20px;right:50px;border:1px solid #000;border-radius:4px;background:#fff9}.hzzt-kfb-channel__box{min-width:48px;height:32px;margin:0 2px;border-radius:2px;cursor:pointer;text-align:center;line-height:32px;font-weight:700;border-left:1px solid #000;border-right:1px solid #000}.hzzt-kfb-channel__box--unactive{background:#fff!important;color:#000}.hzzt-kfb-channel__box:last-child{margin-right:0;border-right:unset}.hzzt-kfb-view{position:relative}.hzzt-kfb-view__main{width:100%;height:100%}.hzzt-kfb-view__filter{position:absolute}.hzzt-kfb-view__hotmap{position:absolute;left:0;top:0;height:100%;width:2px;color:red;background:red;z-index:999}.hzzt-kfb-view__hotmap .icon-caret-left{position:absolute;top:50%;left:-22px;color:red;font-size:30px;transform:translateY(-50%);cursor:pointer;-webkit-user-select:none;user-select:none}.hzzt-kfb-view__hotmap .icon-caret-right{position:absolute;top:50%;left:-7px;color:red;font-size:30px;transform:translateY(-50%);cursor:pointer;-webkit-user-select:none;user-select:none}.hzzt-kfb-view__tag{position:absolute;right:4px;top:4px;z-index:999}.hzzt-kfb-img-triangle-left:after{content:"";position:absolute;left:-10px;top:50%;transform:translate(-50%);width:0;height:0;border:10px solid transparent;border-right-color:#000c}.hzzt-kfb-slides[data-v-c2a1a22e]{background-color:#fff;box-sizing:border-box;display:flex;flex-direction:column;height:100%;width:100%;overflow:auto;border-right:2px solid #DCDCDC}.hzzt-kfb-slides__row[data-v-c2a1a22e]{align-items:center;display:flex;flex:1;flex-direction:column;overflow:hidden;min-height:0;padding:0 8px;font-size:12px}.hzzt-kfb-slides__top[data-v-c2a1a22e]{align-items:center;display:flex;justify-content:space-between;overflow:hidden;width:100%;font-size:14px;margin:4px 0;color:#000}.hzzt-kfb-slides__top .text-primary[data-v-c2a1a22e]{color:var(--el-color-primary)}.hzzt-kfb-slides__box[data-v-c2a1a22e]{border:1px solid #DCDDE1;border-radius:5px;background-color:#f2f3ff;cursor:pointer;width:100%;padding:6px;margin-bottom:8px;position:relative;overflow:hidden}.hzzt-kfb-slides__box--active[data-v-c2a1a22e]{border:2px solid #366EF4}.hzzt-kfb-slides__gallery[data-v-c2a1a22e]{display:flex;position:relative;overflow:hidden;border-radius:4px}.hzzt-kfb-slides__img[data-v-c2a1a22e]{width:100px;max-height:100px}.hzzt-kfb-slides__img1[data-v-c2a1a22e]{max-height:100px}.hzzt-kfb-slides__read[data-v-c2a1a22e]{position:absolute;top:6px;z-index:2;left:6px;width:32px;height:16px;background:var(--el-color-danger);color:#fff;border-radius:999px;text-align:center;line-height:16px}.hzzt-kfb-slides__grade[data-v-c2a1a22e]{position:absolute;top:6px;z-index:2;right:6px;width:32px;height:16px;color:#fff;border-radius:999px;text-align:center;line-height:16px}.hzzt-kfb-slides__header[data-v-c2a1a22e]{display:flex;align-items:center;height:30px}.hzzt-kfb-slides__text[data-v-c2a1a22e]{width:100%}.hzzt-kfb-slides .w-10\%[data-v-c2a1a22e]{width:10%}.hzzt-kfb-slides .w-20\%[data-v-c2a1a22e]{width:20%}.hzzt-kfb-slides .w-30\%[data-v-c2a1a22e]{width:30%}.hzzt-kfb-slides .w-40\%[data-v-c2a1a22e]{width:40%}.hzzt-kfb-slides .text-center[data-v-c2a1a22e]{text-align:center}.hzzt-kfb-ai{--hzzt-kfb-ai-background-color: #fff;--hzzt-kfb-ai-font-size: 14px;--hzzt-kfb-ai-img-width: 100px;--hzzt-kfb-ai-height-width: 100px;background-color:var(--hzzt-kfb-ai-background-color);font-size:var(--hzzt-kfb-ai-font-size);box-sizing:border-box;display:flex;flex-direction:column;height:100%}.hzzt-kfb-ai__img{border:2px solid var(--el-border-color);border-radius:3px;cursor:pointer;margin-bottom:4px;margin-right:4px;width:calc(var(--hzzt-kfb-ai-img-width) + 4px)}.hzzt-kfb-ai__img--active{border-color:var(--el-color-primary)}.hzzt-kfb-ai__img img{display:block;height:var(--hzzt-kfb-ai-img-height);object-fit:contain;overflow:hidden;width:var(--hzzt-kfb-ai-img-width)}.label-sub-title{border-top:1px solid #eee;font-size:14px;font-weight:700}.hzzt-kfb-slide{width:100%;height:100%;display:flex;flex-direction:column}.hzzt-kfb-slide .hzzt-kfb-view{height:100%;width:100%;overflow:hidden}.hzzt-kfb-slide .hzzt-kfb-view-screen-active{box-shadow:0 4px 10px #00000080;border:2px solid var(--el-color-primary)!important}.el-card[data-v-3599775b],.el-card[data-v-9856a364],.el-card[data-v-76430a1a]{border:none;--el-card-padding: 12px}.hzzt-kfb-toolbox-dot__box[data-v-76430a1a]{width:24px;height:24px;border-radius:4px;margin:0 4px;cursor:pointer}.hzzt-kfb-toolbox-dot__box[data-v-76430a1a]:hover{opacity:.8}.hzzt-kfb-toolbox-annotate-img[data-v-9cfc89b6]{cursor:pointer;padding:4px;width:40px;height:40px}.hzzt-kfb-toolbox-annotate-img[data-v-9cfc89b6]:hover{background:#84b5ff}.el-card[data-v-9cfc89b6],.el-card[data-v-97c96c68],.el-card[data-v-fe8098cc]{border:none;--el-card-padding: 12px}.el-card[data-v-aa10a89d]{border:none}.hzzt-kfb-toolbox__icon[data-v-6bcef5d5]{font-size:16px;font-weight:600;margin:0;line-height:1}.el-card[data-v-b1632013]{border:none;--el-card-padding: 12px}
1
+ @charset "UTF-8";.hzzt-kfb-tool-config{--hzzt-kfb-tool-config-title-font-size: 20px;--hzzt-kfb-tool-config-title-color: #000000;--hzzt-kfb-tool-config-font-size: 14px;--hzzt-kfb-tool-config-color: #000000;--hzzt-kfb-tool-config-icon-color: #ffffff;--hzzt-kfb-tool-config-icon-background-color: #000000;--hzzt-kfb-tool-config-block-background-color: #ffffff;font-size:var(--hzzt-kfb-tool-config-font-size);color:var(--hzzt-kfb-tool-config-color)}.hzzt-kfb-tool-config__title{font-size:var(--hzzt-kfb-tool-config-title-font-size);color:var(--hzzt-kfb-tool-config-title-color)}.hzzt-kfb-tool-config__icon{width:48px;height:48px;border-radius:100%;color:var(--hzzt-kfb-tool-config-icon-color);background-color:var(--hzzt-kfb-tool-config-icon-background-color)}.hzzt-kfb-tool-config__block{width:240px;padding:8px;margin-bottom:8px;background-color:var(--hzzt-kfb-tool-config-block-background-color);border:var(--el-border)}.hzzt-kfb-toolbox{--hzzt-kfb-toolbox-padding: 8px 0;--hzzt-kfb-toolbox-font-size: 12px;--hzzt-kfb-toolbox-background-color: #fff;--hzzt-kfb-toolbox-icon-width: 40px;--hzzt-kfb-toolbox-icon-color: #000000;--hzzt-kfb-toolbox-icon-hover-color: #FFFFFF;--hzzt-kfb-toolbox-icon-hover-background-color: #424D68;--hzzt-kfb-toolbox-tooltip-color: #FFFFFF;--hzzt-kfb-toolbox-tooltip-background-color: #0655C3;--hzzt-kfb-toolbox-text-color: #000000;--hzzt-kfb-toolbox-text-hover-color: #FFFFFF;display:flex;align-items:center;justify-content:space-between;background-color:var(--hzzt-kfb-toolbox-background-color);padding:var(--hzzt-kfb-toolbox-padding);font-size:var(--hzzt-kfb-toolbox-font-size);position:relative;border-bottom:1px solid var(--hzzt-border-color, #DCDCDC);width:100%}.hzzt-kfb-toolbox__component{display:flex;flex:1;align-items:center;justify-content:center}.hzzt-kfb-toolbox__icon{min-width:var(--hzzt-kfb-toolbox-icon-width);color:var(--hzzt-kfb-toolbox-icon-color);display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;position:relative;margin:0 4px}.hzzt-kfb-toolbox__icon:hover{color:var(--hzzt-kfb-toolbox-icon-hover-color);background:var(--hzzt-kfb-toolbox-icon-hover-background-color);border-radius:4px}.hzzt-kfb-toolbox__icon:hover .hzzt-kfb-toolbox__tooltip{display:flex}.hzzt-kfb-toolbox__icon:hover .hzzt-kfb-toolbox__text{color:var(--hzzt-kfb-toolbox-text-hover-color)}.hzzt-kfb-toolbox__tooltip{align-items:center;justify-content:center;background-color:var(--hzzt-kfb-toolbox-tooltip-background-color);position:absolute;color:var(--hzzt-kfb-toolbox-tooltip-color);padding:2px 4px;border-radius:4px;top:30px;display:none;white-space:nowrap;z-index:9999}.hzzt-kfb-toolbox__text{color:var(--hzzt-kfb-toolbox-text-color)}.hzzt-kfb-toolbox__line{--hzzt-kfb-toolbox-line-color: #A8ABB2;margin:0 8px;width:1px;height:20px;background:var(--hzzt-kfb-toolbox-line-color)}.hzzt-kfb-toolbox-rotate__angle .el-input-number{width:120PX}.hzzt-kfb-toolbox-rotate__btn{--hzzt-kfb-toolbox-rotate-btn-backgroud-color: #3B55BF;cursor:pointer;width:10px;height:10px;background:var(--hzzt-kfb-toolbox-rotate-btn-backgroud-color);z-index:2}.hzzt-kfb-toolbox-rotate__container{width:64px;height:64px}.hzzt-kfb-toolbox-rotate__img{cursor:pointer;-webkit-user-select:none;user-select:none;width:100%;height:100%}.hzzt-kfb-toolbox-zoom{display:flex;--hzzt-kfb-toolbox-zoom-backgroud-color: #F3F3F4}.hzzt-kfb-toolbox-zoom__button{font-size:16px;line-height:16px;margin-left:2px;height:32px;background:var(--hzzt-kfb-toolbox-zoom-backgroud-color);border-radius:4px;border:1px solid #DCDDE1}.hzzt-kfb-toolbox-zoom__input{width:60px;height:30px;--el-input-bg-color: getCssVarNoName($B, "backgroud-color");--el-input-text-color: #000;--el-input-border: none}.hzzt-kfb-toolbox-zoom__input .el-input__wrapper{box-shadow:none}.hzzt-kfb-toolbox-zoom__input .el-input__wrapper .el-input__inner{font-size:16px;font-weight:600}.el-popover-padding-0{--el-popover-padding: 0 }.hzzt-kfb-menu[data-v-739aad62]{position:absolute;display:none;background:#fff;box-shadow:var(--el-box-shadow);border-radius:var(--el-border-radius-base);padding:8px 0;font-size:14px}.hzzt-kfb-menu .hzzt-kfb-menu-item[data-v-739aad62]{min-width:200px;display:flex;align-items:center;justify-content:space-between;padding:6px 16px;position:relative;cursor:pointer;line-height:1}.hzzt-kfb-menu .hzzt-kfb-menu-item[data-v-739aad62]:hover{background:var(--el-color-info-light-8)}.hzzt-kfb-menu .hzzt-kfb-menu-item:hover .hzzt-kfb-sub-menu[data-v-739aad62]{display:block}.hzzt-kfb-menu .hzzt-kfb-menu-item .hzzt-kfb-sub-menu[data-v-739aad62]{position:absolute;display:none;left:0;top:0;transform:translate(200px);box-shadow:var(--el-box-shadow);border-radius:var(--el-border-radius-base);padding:8px 0;background:#fff}.hzzt-kfb-menu .hzzt-kfb-menu-item .hzzt-kfb-sub-menu .hzzt-kfb-menu-item[data-v-739aad62],.hzzt-kfb-menu[data-v-739aad62] .el-cascader-menu{min-width:auto}.hzzt-kfb-menu[data-v-739aad62] .el-cascader-menu .el-cascader-node__label{display:flex;align-items:center;padding:0 16px 0 8px}.hzzt-kfb-menu[data-v-739aad62] .el-cascader-menu .el-cascader-menu__wrap.el-scrollbar__wrap{height:auto}.hzzt-kfb-microscope[data-v-e8b36101]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none}.hzzt-kfb-microscope .hzzt-kfb-microscope__container[data-v-e8b36101]{border:2px dashed red;border-radius:50%;min-width:24px;min-height:24px}.hzzt-kfb-microscope .hzzt-kfb-microscope__top[data-v-e8b36101]{width:18px;height:18px;position:absolute;top:-20px;left:50%;cursor:pointer;transform:translate(-50%);pointer-events:auto}.hzzt-kfb-microscope .hzzt-kfb-microscope__bottom[data-v-e8b36101]{width:18px;height:18px;position:absolute;bottom:-20px;left:50%;cursor:pointer;transform:translate(-50%);pointer-events:auto}.hzzt-kfb-microscope .hzzt-kfb-microscope__left[data-v-e8b36101]{width:18px;height:18px;position:absolute;left:-20px;top:50%;cursor:pointer;transform:translateY(-50%);pointer-events:auto}.hzzt-kfb-microscope .hzzt-kfb-microscope__right[data-v-e8b36101]{width:18px;height:18px;position:absolute;right:-20px;top:50%;cursor:pointer;transform:translateY(-50%);pointer-events:auto}.hzzt-kfb-label[data-v-7397de48]{position:absolute;top:0;left:0;background:#fff;color:#000}.hzzt-kfb-label .hzzt-kfb-label__title[data-v-7397de48]{font-size:12px;color:#000;padding:0 4px}.hzzt-kfb-label .hzzt-kfb-label__img[data-v-7397de48]{cursor:pointer;background:#0000004d}.hzzt-kfb-label .hzzt-kfb-label__img img[data-v-7397de48]{height:120px;width:120px}.hzzt-kfb-label .hzzt-kfb-label__pathology[data-v-7397de48]{--set-patholgy-height: 20px;height:var(--set-patholgy-height);font-size:12px;width:100%;display:flex;align-items:center;cursor:pointer;padding:2px 4px;border:1px solid var(--el-border-color)}.hzzt-kfb-label .hzzt-kfb-label__expend[data-v-7397de48]{position:absolute;--expand-button-width: 10px;width:var(--expand-button-width);height:40px;top:50%;transform:translateY(-50%);right:calc(-1 * var(--expand-button-width));background:#0006;border-radius:0 6px 6px 0;cursor:pointer;color:#fff}.hzzt-kfb-keyword[data-v-c8d940f0]{position:absolute;bottom:5px;left:50%;width:156px;margin-left:-78px}.hzzt-kfb-keyword .hzzt-kfb-keyword__code[data-v-c8d940f0]{margin:2px;width:48px;height:48px;background-color:#c8c8c880;color:#333;cursor:pointer}.hzzt-kfb-keyword .hzzt-kfb-keyword__code[data-v-c8d940f0]:hover{background-color:#bebebecc}.hzzt-kfb-level{position:absolute;right:50px;bottom:300px;height:200px;width:30px;border-radius:4px;background:#00000040}.hzzt-kfb-level .el-slider__runway{background-color:#00000080}.hzzt-kfb-level .el-slider__bar{background-color:unset}.hzzt-kfb-level .el-slider__stop{background-color:#e2e2e2}.hzzt-kfb-level--large{height:250px}.hzzt-kfb-channel{position:absolute;bottom:20px;right:50px;border:1px solid #000;border-radius:4px;background:#fff9}.hzzt-kfb-channel__box{min-width:48px;height:32px;margin:0 2px;border-radius:2px;cursor:pointer;text-align:center;line-height:32px;font-weight:700;border-left:1px solid #000;border-right:1px solid #000}.hzzt-kfb-channel__box--unactive{background:#fff!important;color:#000}.hzzt-kfb-channel__box:last-child{margin-right:0;border-right:unset}.hzzt-kfb-view{position:relative}.hzzt-kfb-view__main{width:100%;height:100%}.hzzt-kfb-view__filter{position:absolute}.hzzt-kfb-view__hotmap{position:absolute;left:0;top:0;height:100%;width:2px;color:red;background:red;z-index:999}.hzzt-kfb-view__hotmap .icon-caret-left{position:absolute;top:50%;left:-22px;color:red;font-size:30px;transform:translateY(-50%);cursor:pointer;-webkit-user-select:none;user-select:none}.hzzt-kfb-view__hotmap .icon-caret-right{position:absolute;top:50%;left:-7px;color:red;font-size:30px;transform:translateY(-50%);cursor:pointer;-webkit-user-select:none;user-select:none}.hzzt-kfb-view__tag{position:absolute;right:4px;top:4px;z-index:999}.hzzt-kfb-img-triangle-left:after{content:"";position:absolute;left:-10px;top:50%;transform:translate(-50%);width:0;height:0;border:10px solid transparent;border-right-color:#000c}.hzzt-kfb-slides[data-v-c2a1a22e]{background-color:#fff;box-sizing:border-box;display:flex;flex-direction:column;height:100%;width:100%;overflow:auto;border-right:2px solid #DCDCDC}.hzzt-kfb-slides__row[data-v-c2a1a22e]{align-items:center;display:flex;flex:1;flex-direction:column;overflow:hidden;min-height:0;padding:0 8px;font-size:12px}.hzzt-kfb-slides__top[data-v-c2a1a22e]{align-items:center;display:flex;justify-content:space-between;overflow:hidden;width:100%;font-size:14px;margin:4px 0;color:#000}.hzzt-kfb-slides__top .text-primary[data-v-c2a1a22e]{color:var(--el-color-primary)}.hzzt-kfb-slides__box[data-v-c2a1a22e]{border:1px solid #DCDDE1;border-radius:5px;background-color:#f2f3ff;cursor:pointer;width:100%;padding:6px;margin-bottom:8px;position:relative;overflow:hidden}.hzzt-kfb-slides__box--active[data-v-c2a1a22e]{border:2px solid #366EF4}.hzzt-kfb-slides__gallery[data-v-c2a1a22e]{display:flex;position:relative;overflow:hidden;border-radius:4px}.hzzt-kfb-slides__img[data-v-c2a1a22e]{width:100px;max-height:100px}.hzzt-kfb-slides__img1[data-v-c2a1a22e]{max-height:100px}.hzzt-kfb-slides__read[data-v-c2a1a22e]{position:absolute;top:6px;z-index:2;left:6px;width:32px;height:16px;background:var(--el-color-danger);color:#fff;border-radius:999px;text-align:center;line-height:16px}.hzzt-kfb-slides__grade[data-v-c2a1a22e]{position:absolute;top:6px;z-index:2;right:6px;width:32px;height:16px;color:#fff;border-radius:999px;text-align:center;line-height:16px}.hzzt-kfb-slides__header[data-v-c2a1a22e]{display:flex;align-items:center;height:30px}.hzzt-kfb-slides__text[data-v-c2a1a22e]{width:100%}.hzzt-kfb-slides .w-10\%[data-v-c2a1a22e]{width:10%}.hzzt-kfb-slides .w-20\%[data-v-c2a1a22e]{width:20%}.hzzt-kfb-slides .w-30\%[data-v-c2a1a22e]{width:30%}.hzzt-kfb-slides .w-40\%[data-v-c2a1a22e]{width:40%}.hzzt-kfb-slides .text-center[data-v-c2a1a22e]{text-align:center}.hzzt-kfb-ai{--hzzt-kfb-ai-background-color: #fff;--hzzt-kfb-ai-font-size: 14px;--hzzt-kfb-ai-img-width: 100px;--hzzt-kfb-ai-height-width: 100px;background-color:var(--hzzt-kfb-ai-background-color);font-size:var(--hzzt-kfb-ai-font-size);box-sizing:border-box;display:flex;flex-direction:column;height:100%}.hzzt-kfb-ai__img{border:2px solid var(--el-border-color);border-radius:3px;cursor:pointer;margin-bottom:4px;margin-right:4px;width:calc(var(--hzzt-kfb-ai-img-width) + 4px)}.hzzt-kfb-ai__img--active{border-color:var(--el-color-primary)}.hzzt-kfb-ai__img img{display:block;height:var(--hzzt-kfb-ai-img-height);object-fit:contain;overflow:hidden;width:var(--hzzt-kfb-ai-img-width)}.label-sub-title{border-top:1px solid #eee;font-size:14px;font-weight:700}.hzzt-kfb-slide{width:100%;height:100%;display:flex;flex-direction:column}.hzzt-kfb-slide .hzzt-kfb-view{height:100%;width:100%;overflow:hidden}.hzzt-kfb-slide .hzzt-kfb-view-screen-active{box-shadow:0 4px 10px #00000080;border:2px solid var(--el-color-primary)!important}.el-card[data-v-3599775b],.el-card[data-v-9856a364],.el-card[data-v-a25cff87]{border:none;--el-card-padding: 12px}.hzzt-kfb-toolbox-dot__box[data-v-a25cff87]{width:24px;height:24px;border-radius:4px;margin:0 4px;cursor:pointer}.hzzt-kfb-toolbox-dot__box[data-v-a25cff87]:hover{opacity:.8}.hzzt-kfb-toolbox-annotate-img[data-v-71f2944f]{cursor:pointer;padding:4px;width:40px;height:40px}.hzzt-kfb-toolbox-annotate-img[data-v-71f2944f]:hover{background:#84b5ff}.el-card[data-v-71f2944f],.el-card[data-v-bdb018f5],.el-card[data-v-fe8098cc]{border:none;--el-card-padding: 12px}.el-card[data-v-aa10a89d]{border:none}.hzzt-kfb-toolbox__icon[data-v-6bcef5d5]{font-size:16px;font-weight:600;margin:0;line-height:1}.el-card[data-v-b1632013]{border:none;--el-card-padding: 12px}
package/dist/index.es.js CHANGED
@@ -1,7 +1,7 @@
1
- import { k as a, n as f, m as t, o as b } from "./components/indexCJCVhkFm.js";
1
+ import { j as f, m as o, k as t, n as b } from "./components/indexBm-HXbj3.js";
2
2
  export {
3
- a as HzztKfbSlide,
4
- f as HzztKfbToolbox,
3
+ f as HzztKfbSlide,
4
+ o as HzztKfbToolbox,
5
5
  t as HzztKfbView,
6
6
  b as default
7
7
  };
package/package.json CHANGED
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "name": "hzzt-kfb-slide",
3
- "main": "./dist/index.cjs.js",
4
- "module": "./dist/index.es.js",
5
- "style": "./dist/index.css",
6
- "types": "./types/index.d.ts",
3
+ "main": "dist/index.cjs.js",
4
+ "module": "dist/index.es.js",
5
+ "style": "dist/index.css",
6
+ "types": "types/index.d.ts",
7
7
  "files": [
8
8
  "dist",
9
9
  "types",
10
10
  "package.json"
11
11
  ],
12
12
  "license": "MIT",
13
- "version": "0.0.2",
13
+ "version": "0.0.4",
14
14
  "type": "module",
15
15
  "scripts": {
16
16
  "dev": "vite",
17
17
  "build": "vite build && npm run build:types",
18
- "build:types": "vue-tsc --declaration --emitDeclarationOnly --outDir dist/types --project tsconfig.lib.json",
18
+ "build:types": "vue-tsc --project tsconfig.lib.json --outDir dist/types",
19
19
  "preview": "vite preview"
20
20
  },
21
21
  "dependencies": {
@@ -1,6 +1,10 @@
1
+ import { Microscope, Process } from "@/components/KfbView/index.ts";
1
2
  import { ToolboxMenu } from "@/instances.ts";
2
3
  type __VLS_Props = {
3
4
  menu: (string | ToolboxMenu)[];
5
+ process?: Process;
6
+ microscope?: Microscope;
7
+ showMenuText?: boolean;
4
8
  };
5
9
  declare var __VLS_1: {}, __VLS_15: {};
6
10
  type __VLS_Slots = {} & {
@@ -1,4 +1,3 @@
1
- import { Process } from "@/components/toolbox/instances.ts";
2
1
  import { type Component } from "vue";
3
2
  import { DigitalSlide } from "@/instances.ts";
4
3
  export interface Label {
@@ -14,6 +13,7 @@ export interface Label {
14
13
  measure?: boolean;
15
14
  points?: Point[];
16
15
  tool?: string;
16
+ subType?: string;
17
17
  src?: string;
18
18
  scale?: number;
19
19
  region?: Rect;
@@ -23,12 +23,13 @@ export interface Label {
23
23
  isClose?: boolean;
24
24
  select?: boolean;
25
25
  show?: boolean;
26
- is_ai?: boolean;
26
+ isAi?: boolean;
27
27
  custom?: boolean;
28
28
  cls?: string;
29
29
  score?: number;
30
30
  imageUrl?: string;
31
31
  __other__: any;
32
+ __data__: any;
32
33
  }
33
34
  export interface Point {
34
35
  x: number;
@@ -176,12 +177,17 @@ export interface Microscope {
176
177
  color: string;
177
178
  borderWidth: number;
178
179
  }
179
- export declare const DEFAULT_MICROSCOPE: {
180
- shape: string;
181
- width: number;
182
- color: string;
183
- borderWidth: number;
184
- };
180
+ export declare const DEFAULT_MICROSCOPE: Microscope;
181
+ export interface Process {
182
+ r: number;
183
+ g: number;
184
+ b: number;
185
+ c: number;
186
+ s: number;
187
+ l: number;
188
+ ga: number;
189
+ }
190
+ export declare const DEFAULT_PROCESS: Process;
185
191
  export interface KfbProps {
186
192
  slide: DigitalSlide;
187
193
  fileHandle: (slide: DigitalSlide) => Promise<FileInterface>;
@@ -189,7 +195,9 @@ export interface KfbProps {
189
195
  tileHandle: (params: TileParams) => string;
190
196
  navigatorHandle?: (type: string, slide: DigitalSlide, data?: any) => Promise<any>;
191
197
  pathologyHandle?: (slide: DigitalSlide) => Promise<boolean>;
198
+ uploadHandle?: (slide: DigitalSlide, label: Label, blob: Blob) => Promise<string>;
192
199
  options?: Record<string, any>;
200
+ labelDrawing?: (ctx: CanvasRenderingContext2D, label: Label) => void;
193
201
  process?: Process;
194
202
  microscope?: Microscope;
195
203
  menus?: Menu[];
@@ -9,9 +9,9 @@ declare function updateGrid(options: any): void;
9
9
  declare function updateGraduation(options: any): void;
10
10
  declare function updateNavigator(flag: any): void;
11
11
  declare function zoomTo(zoom: any): void;
12
- declare var __VLS_89: {};
12
+ declare var __VLS_137: {};
13
13
  type __VLS_Slots = {} & {
14
- default?: (props: typeof __VLS_89) => any;
14
+ default?: (props: typeof __VLS_137) => any;
15
15
  };
16
16
  declare const __VLS_component: import("vue").DefineComponent<KfbProps, {
17
17
  kfbView: Ref<{
@@ -33,6 +33,7 @@ declare const __VLS_component: import("vue").DefineComponent<KfbProps, {
33
33
  clone?: (() => import("@/components/KfbView/index.ts").Point) | undefined;
34
34
  }[] | undefined;
35
35
  tool?: string | undefined;
36
+ subType?: string | undefined;
36
37
  src?: string | undefined;
37
38
  scale?: number | undefined;
38
39
  region?: {
@@ -47,12 +48,13 @@ declare const __VLS_component: import("vue").DefineComponent<KfbProps, {
47
48
  isClose?: boolean | undefined;
48
49
  select?: boolean | undefined;
49
50
  show?: boolean | undefined;
50
- is_ai?: boolean | undefined;
51
+ isAi?: boolean | undefined;
51
52
  custom?: boolean | undefined;
52
53
  cls?: string | undefined;
53
54
  score?: number | undefined;
54
55
  imageUrl?: string | undefined;
55
56
  __other__: any;
57
+ __data__: any;
56
58
  }[] | undefined;
57
59
  viewer: {
58
60
  viewport: {
@@ -143,6 +145,7 @@ declare const __VLS_component: import("vue").DefineComponent<KfbProps, {
143
145
  clone?: (() => import("@/components/KfbView/index.ts").Point) | undefined;
144
146
  }[] | undefined;
145
147
  tool?: string | undefined;
148
+ subType?: string | undefined;
146
149
  src?: string | undefined;
147
150
  scale?: number | undefined;
148
151
  region?: {
@@ -157,12 +160,13 @@ declare const __VLS_component: import("vue").DefineComponent<KfbProps, {
157
160
  isClose?: boolean | undefined;
158
161
  select?: boolean | undefined;
159
162
  show?: boolean | undefined;
160
- is_ai?: boolean | undefined;
163
+ isAi?: boolean | undefined;
161
164
  custom?: boolean | undefined;
162
165
  cls?: string | undefined;
163
166
  score?: number | undefined;
164
167
  imageUrl?: string | undefined;
165
168
  __other__: any;
169
+ __data__: any;
166
170
  }[] | undefined;
167
171
  viewer: {
168
172
  viewport: {
@@ -237,7 +241,7 @@ declare const __VLS_component: import("vue").DefineComponent<KfbProps, {
237
241
  }>;
238
242
  degrees: Ref<number, number>;
239
243
  zoom: Ref<number, number>;
240
- forceRedraw: (process?: import("../toolbox/instances.ts").Process) => void;
244
+ forceRedraw: (process?: import("@/components/KfbView/index.ts").Process) => void;
241
245
  toggleFlip: typeof toggleFlip;
242
246
  startDraw: typeof startDraw;
243
247
  endDraw: typeof endDraw;
@@ -260,6 +264,7 @@ declare const __VLS_component: import("vue").DefineComponent<KfbProps, {
260
264
  onTool?: ((action: string, value?: any) => any) | undefined;
261
265
  }>, {
262
266
  microscope: import("@/components/KfbView/index.ts").Microscope;
267
+ process: import("@/components/KfbView/index.ts").Process;
263
268
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
264
269
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
265
270
  export default _default;
@@ -1,5 +1,4 @@
1
- import { Process } from "@/components/toolbox/instances.ts";
2
- import { KfbProps } from "@/components/KfbView/index.ts";
1
+ import { Process, KfbProps } from "@/components/KfbView/index.ts";
3
2
  export declare function useImageProcess(props: KfbProps): {
4
3
  imageProcess: {
5
4
  r: number;
@@ -19,6 +19,7 @@ export declare function useLabel(props: KfbProps, kfbView: Ref<KfbViewInterface>
19
19
  clone?: (() => import("@/components/KfbView/index.ts").Point) | undefined;
20
20
  }[] | undefined;
21
21
  tool?: string | undefined;
22
+ subType?: string | undefined;
22
23
  src?: string | undefined;
23
24
  scale?: number | undefined;
24
25
  region?: {
@@ -33,12 +34,13 @@ export declare function useLabel(props: KfbProps, kfbView: Ref<KfbViewInterface>
33
34
  isClose?: boolean | undefined;
34
35
  select?: boolean | undefined;
35
36
  show?: boolean | undefined;
36
- is_ai?: boolean | undefined;
37
+ isAi?: boolean | undefined;
37
38
  custom?: boolean | undefined;
38
39
  cls?: string | undefined;
39
40
  score?: number | undefined;
40
41
  imageUrl?: string | undefined;
41
42
  __other__: any;
43
+ __data__: any;
42
44
  } | undefined, Label | {
43
45
  id?: number | undefined;
44
46
  parent_id?: number | undefined;
@@ -57,6 +59,7 @@ export declare function useLabel(props: KfbProps, kfbView: Ref<KfbViewInterface>
57
59
  clone?: (() => import("@/components/KfbView/index.ts").Point) | undefined;
58
60
  }[] | undefined;
59
61
  tool?: string | undefined;
62
+ subType?: string | undefined;
60
63
  src?: string | undefined;
61
64
  scale?: number | undefined;
62
65
  region?: {
@@ -71,15 +74,99 @@ export declare function useLabel(props: KfbProps, kfbView: Ref<KfbViewInterface>
71
74
  isClose?: boolean | undefined;
72
75
  select?: boolean | undefined;
73
76
  show?: boolean | undefined;
74
- is_ai?: boolean | undefined;
77
+ isAi?: boolean | undefined;
75
78
  custom?: boolean | undefined;
76
79
  cls?: string | undefined;
77
80
  score?: number | undefined;
78
81
  imageUrl?: string | undefined;
79
82
  __other__: any;
83
+ __data__: any;
84
+ } | undefined>;
85
+ voiceVisible: Ref<boolean, boolean>;
86
+ labelForm: Ref<{
87
+ id?: number | undefined;
88
+ parent_id?: number | undefined;
89
+ lineWidth?: number | undefined;
90
+ strokeStyle?: string | undefined;
91
+ fillStyle?: string | undefined;
92
+ fontSize?: number | undefined;
93
+ description?: string | undefined;
94
+ text?: string | undefined;
95
+ angle?: number | undefined;
96
+ measure?: boolean | undefined;
97
+ points?: {
98
+ x: number;
99
+ y: number;
100
+ minus?: ((point: import("@/components/KfbView/index.ts").Point) => import("@/components/KfbView/index.ts").Point) | undefined;
101
+ clone?: (() => import("@/components/KfbView/index.ts").Point) | undefined;
102
+ }[] | undefined;
103
+ tool?: string | undefined;
104
+ subType?: string | undefined;
105
+ src?: string | undefined;
106
+ scale?: number | undefined;
107
+ region?: {
108
+ x: number;
109
+ y: number;
110
+ width: number;
111
+ height: number;
112
+ } | undefined;
113
+ move?: boolean | undefined;
114
+ resize?: boolean | undefined;
115
+ isROI?: boolean | undefined;
116
+ isClose?: boolean | undefined;
117
+ select?: boolean | undefined;
118
+ show?: boolean | undefined;
119
+ isAi?: boolean | undefined;
120
+ custom?: boolean | undefined;
121
+ cls?: string | undefined;
122
+ score?: number | undefined;
123
+ imageUrl?: string | undefined;
124
+ __other__: any;
125
+ __data__: any;
126
+ } | undefined, Label | {
127
+ id?: number | undefined;
128
+ parent_id?: number | undefined;
129
+ lineWidth?: number | undefined;
130
+ strokeStyle?: string | undefined;
131
+ fillStyle?: string | undefined;
132
+ fontSize?: number | undefined;
133
+ description?: string | undefined;
134
+ text?: string | undefined;
135
+ angle?: number | undefined;
136
+ measure?: boolean | undefined;
137
+ points?: {
138
+ x: number;
139
+ y: number;
140
+ minus?: ((point: import("@/components/KfbView/index.ts").Point) => import("@/components/KfbView/index.ts").Point) | undefined;
141
+ clone?: (() => import("@/components/KfbView/index.ts").Point) | undefined;
142
+ }[] | undefined;
143
+ tool?: string | undefined;
144
+ subType?: string | undefined;
145
+ src?: string | undefined;
146
+ scale?: number | undefined;
147
+ region?: {
148
+ x: number;
149
+ y: number;
150
+ width: number;
151
+ height: number;
152
+ } | undefined;
153
+ move?: boolean | undefined;
154
+ resize?: boolean | undefined;
155
+ isROI?: boolean | undefined;
156
+ isClose?: boolean | undefined;
157
+ select?: boolean | undefined;
158
+ show?: boolean | undefined;
159
+ isAi?: boolean | undefined;
160
+ custom?: boolean | undefined;
161
+ cls?: string | undefined;
162
+ score?: number | undefined;
163
+ imageUrl?: string | undefined;
164
+ __other__: any;
165
+ __data__: any;
80
166
  } | undefined>;
81
167
  initLabel: () => void;
82
168
  selectLabel: (label: Label) => void;
83
169
  reloadLabelList: () => void;
84
- eventHandel: (type: string) => (label?: Label) => Promise<void>;
170
+ eventHandel: (type: string) => (label?: Label) => Promise<void> | undefined;
171
+ addHandle: (label?: Label) => Promise<void>;
85
172
  };
@@ -0,0 +1,8 @@
1
+ import { type Ref } from "vue";
2
+ import { KfbProps, Label } from "@/components/KfbView/index.ts";
3
+ export declare function useVoice(props: KfbProps, label: Ref<Label | undefined>): {
4
+ drawVoice: (ctx: CanvasRenderingContext2D, color: string) => void;
5
+ isRecording: Ref<boolean, boolean>;
6
+ startRecording: () => Promise<void>;
7
+ stopRecording: () => void;
8
+ };
@@ -21,6 +21,7 @@ export declare function useAi(props: Props, slide: Ref<DigitalSlide>): {
21
21
  clone?: (() => import("@/components/KfbView/index.ts").Point) | undefined;
22
22
  }[] | undefined;
23
23
  tool?: string | undefined;
24
+ subType?: string | undefined;
24
25
  src?: string | undefined;
25
26
  scale?: number | undefined;
26
27
  region?: {
@@ -35,12 +36,13 @@ export declare function useAi(props: Props, slide: Ref<DigitalSlide>): {
35
36
  isClose?: boolean | undefined;
36
37
  select?: boolean | undefined;
37
38
  show?: boolean | undefined;
38
- is_ai?: boolean | undefined;
39
+ isAi?: boolean | undefined;
39
40
  custom?: boolean | undefined;
40
41
  cls?: string | undefined;
41
42
  score?: number | undefined;
42
43
  imageUrl?: string | undefined;
43
44
  __other__: any;
45
+ __data__: any;
44
46
  }[], Label[] | {
45
47
  id?: number | undefined;
46
48
  parent_id?: number | undefined;
@@ -59,6 +61,7 @@ export declare function useAi(props: Props, slide: Ref<DigitalSlide>): {
59
61
  clone?: (() => import("@/components/KfbView/index.ts").Point) | undefined;
60
62
  }[] | undefined;
61
63
  tool?: string | undefined;
64
+ subType?: string | undefined;
62
65
  src?: string | undefined;
63
66
  scale?: number | undefined;
64
67
  region?: {
@@ -73,12 +76,13 @@ export declare function useAi(props: Props, slide: Ref<DigitalSlide>): {
73
76
  isClose?: boolean | undefined;
74
77
  select?: boolean | undefined;
75
78
  show?: boolean | undefined;
76
- is_ai?: boolean | undefined;
79
+ isAi?: boolean | undefined;
77
80
  custom?: boolean | undefined;
78
81
  cls?: string | undefined;
79
82
  score?: number | undefined;
80
83
  imageUrl?: string | undefined;
81
84
  __other__: any;
85
+ __data__: any;
82
86
  }[]>;
83
87
  enableAi: Ref<boolean, boolean>;
84
88
  enableIqc: Ref<boolean, boolean>;
@@ -1,4 +1,5 @@
1
1
  import type { Component } from "vue";
2
+ import { Process } from "@/components/KfbView/index.ts";
2
3
  export interface PropsInterface {
3
4
  size?: number;
4
5
  text?: string;
@@ -11,16 +12,6 @@ export declare const defaultProps: {
11
12
  size: number;
12
13
  isPrevent: boolean;
13
14
  };
14
- export interface Process {
15
- r: number;
16
- g: number;
17
- b: number;
18
- c: number;
19
- s: number;
20
- l: number;
21
- ga: number;
22
- }
23
15
  export interface ProcessProps extends PropsInterface {
24
16
  process?: Process;
25
17
  }
26
- export declare const DEFAULT_PROCESS: Process;
@@ -1,4 +1,5 @@
1
- import { ProcessProps, Process } from "@/components/toolbox/instances.ts";
1
+ import { ProcessProps } from "@/components/toolbox/instances.ts";
2
+ import { Process } from "@/components/KfbView/index.ts";
2
3
  declare const _default: import("vue").DefineComponent<ProcessProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
3
4
  tool: (action: string, value?: any) => any;
4
5
  }, string, import("vue").PublicProps, Readonly<ProcessProps> & Readonly<{