hzzt-kfb-slide 0.0.3 → 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.
- package/dist/components/{annotateCdbWkykl.js → annotateC6KKIN-C.js} +1 -1
- package/dist/components/annotateCH4GAooA.js +1 -0
- package/dist/components/{annotateD0egGTin.js → annotateCriDzoRR.js} +37 -36
- package/dist/components/{annotateCtCMs-ef.js → annotateDrBDAiwJ.js} +1 -1
- package/dist/components/{arrowC9aIuvQe.js → arrowDPk76wAe.js} +1 -1
- package/dist/components/{arrowDownC6bqk-lY.js → arrowDownBdM08C-k.js} +1 -1
- package/dist/components/{arrowDownGmouwhLr.js → arrowDownDI6AMcyz.js} +1 -1
- package/dist/components/{arrowDG9uJA9k.js → arrowFPEB8W4f.js} +1 -1
- package/dist/components/{arrowLeftBOXSO3ql.js → arrowLeftCHTZ9DsM.js} +1 -1
- package/dist/components/{arrowLeftDtz6Sjds.js → arrowLeftM_OyaeGe.js} +1 -1
- package/dist/components/{arrowRightHppOESBK.js → arrowRightCxryh7mK.js} +1 -1
- package/dist/components/{arrowRightDSH6IzNE.js → arrowRightDjW4cZXc.js} +1 -1
- package/dist/components/{arrowUpCuroteRQ.js → arrowUpBBOMqRwJ.js} +1 -1
- package/dist/components/{arrowUpCHU6h7kZ.js → arrowUpDoHvHUV6.js} +1 -1
- package/dist/components/{channelNB37p_zP.js → channel0jNldMsg.js} +1 -1
- package/dist/components/{channelB8E2yoQ7.js → channelCsDQbKiD.js} +1 -1
- package/dist/components/{checkLEGWCAxP.js → check0Zxvds83.js} +1 -1
- package/dist/components/{checkseAngK1P.js → checkBWJi9_a6.js} +1 -1
- package/dist/components/{configDLPuCFH1.js → config6VhhjpQh.js} +1 -1
- package/dist/components/{configCCGG0UB4.js → configCQX8ZTs2.js} +1 -1
- package/dist/components/{customDo3qaJ1U.js → customDNzwsLNR.js} +1 -1
- package/dist/components/{customBbYfn41m.js → customs0nLjsaE.js} +1 -1
- package/dist/components/{deleteMXhIkgfB.js → deleteCgLqIVRl.js} +1 -1
- package/dist/components/{deleteD2WtxFlL.js → deleteDnKSpkZO.js} +1 -1
- package/dist/components/{dotDJRbd0BV.js → dotBeWq5BYs.js} +1 -1
- package/dist/components/dotBi2ivVYX.js +1 -0
- package/dist/components/{dotg0NvS9Ck.js → dotCi0WBjE9.js} +17 -16
- package/dist/components/{dotEN0Eh5Op.js → dotxBw0mBnq.js} +1 -1
- package/dist/components/{downloadD_Bmec44.js → downloadBnTQzA4j.js} +3 -3
- package/dist/components/{downloadGX-_YQez.js → downloadDF2_6Y-f.js} +1 -1
- package/dist/components/{downloadCaAoF5Or.js → downloadDNe3qbJ7.js} +1 -1
- package/dist/components/{downloadCaJyQTwU.js → downloadDeswf8ql.js} +1 -1
- package/dist/components/{flipBkZOXGJN.js → flipB4UaXh-c.js} +1 -1
- package/dist/components/{flipCC_nhFBO.js → flipDkEX3ZQH.js} +1 -1
- package/dist/components/{fullscreenDUzxAfXo.js → fullscreenBIXfsULV.js} +1 -1
- package/dist/components/{fullscreenDjH9QoF2.js → fullscreenC9wvJxvO.js} +2 -2
- package/dist/components/{fullscreenEVnYx--1.js → fullscreenCGx_0CaO.js} +1 -1
- package/dist/components/{fullscreenC380_EU3.js → fullscreenDbpR9B7w.js} +1 -1
- package/dist/components/{indexDdIv5EKS.js → indexBm-HXbj3.js} +4652 -4511
- package/dist/components/indexCa2d-Wjt.js +30 -0
- package/dist/components/{infoBFIavOPB.js → infoCjs_wSRJ.js} +1 -1
- package/dist/components/{infoCp5QUeZm.js → infogZMbfIdS.js} +1 -1
- package/dist/components/{levelZfTb2sPf.js → level9TdUqGzt.js} +1 -1
- package/dist/components/{levelC1Ud4D0B.js → levelCY1NlHIe.js} +1 -1
- package/dist/components/{microscopeXeEtWd1W.js → microscope4FIRB1UB.js} +1 -1
- package/dist/components/{microscopeCmqOpPc4.js → microscopeC2JZ0eI2.js} +3 -3
- package/dist/components/{microscopeBeixYxYI.js → microscopeDRt26GBO.js} +1 -1
- package/dist/components/{microscopeDZWMA8RW.js → microscopeDUGvuln-.js} +1 -1
- package/dist/components/{moveDwsVnmQi.js → moveBhV9kg6L.js} +1 -1
- package/dist/components/{moveBzePKtM6.js → moveCu3V3JqI.js} +1 -1
- package/dist/components/{moveBea2jbYH.js → moveD38V2VTD.js} +1 -1
- package/dist/components/{moveB1DiH4PI.js → movebkPadei-.js} +3 -3
- package/dist/components/{nextC52pb5sE.js → nextClAf7xMw.js} +1 -1
- package/dist/components/{nextDYmCUlzZ.js → nextCoqEdtnZ.js} +1 -1
- package/dist/components/{prevv0XqJ_iF.js → prevB3w5Xo5F.js} +1 -1
- package/dist/components/{prevT7x-zgKu.js → prevJkp-fUef.js} +1 -1
- package/dist/components/{processBiTw6vPV.js → processB578krhc.js} +1 -1
- package/dist/components/{processCmTYHlH3.js → processBS-P5qTF.js} +1 -1
- package/dist/components/{processDW13CjX-.js → process_4OLLR3I.js} +1 -1
- package/dist/components/{process0WK-TxPd.js → processdjntnqTL.js} +3 -3
- package/dist/components/{rotateCbkJvPFi.js → rotateBtBfaYlt.js} +1 -1
- package/dist/components/{rotateDlk_Qk4Y.js → rotateCGoD_DlO.js} +1 -1
- package/dist/components/{rotateLcm0V_kN.js → rotateDlOeZK_Y.js} +4 -4
- package/dist/components/{rotateBViLTXxd.js → rotateDzNJl50p.js} +1 -1
- package/dist/components/{settingCZkmIJSr.js → settingB87fba2e.js} +3 -3
- package/dist/components/{settingDyHmqPh3.js → settingCBl44H7B.js} +1 -1
- package/dist/components/{settingDVPXWTEf.js → settingCE2-cMN2.js} +1 -1
- package/dist/components/{setting3RU3dG2s.js → settingDKu9dgXl.js} +1 -1
- package/dist/components/{tailorBgKlGdZj.js → tailorIfjKVe1q.js} +1 -1
- package/dist/components/{tailorDHg9ZsXw.js → tailorrql5Z5dC.js} +1 -1
- package/dist/components/{useCommonB2St3W5r.js → useCommonCm7rhO60.js} +1 -1
- package/dist/components/{useCommonCwKio4Jh.js → useCommonDGun_T6i.js} +1 -1
- package/dist/components/{zoomBKsf5GkB.js → zoomDRHWcY_A.js} +1 -1
- package/dist/components/{zoomIn73PRBFpz.js → zoomInBtOl0w7G.js} +1 -1
- package/dist/components/{zoomInDWX2Osc6.js → zoomInDBLRbkSc.js} +1 -1
- package/dist/components/{zoomOutgHFV2sxE.js → zoomOutBii_59lh.js} +1 -1
- package/dist/components/{zoomOutD8Mlbb8q.js → zoomOutD6o_vR_h.js} +1 -1
- package/dist/components/{zoomCnS6EmhN.js → zoomrgQT7EYg.js} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.css +1 -1
- package/dist/index.es.js +1 -1
- package/package.json +1 -1
- package/types/components/KfbView/index.d.ts +5 -1
- package/types/components/KfbView/index.vue.d.ts +8 -4
- package/types/components/KfbView/useLabel.d.ts +90 -3
- package/types/components/KfbView/useVoice.d.ts +8 -0
- package/types/components/ai/useAi.d.ts +6 -2
- package/types/index.d.ts +18 -6
- package/types/instances.d.ts +1 -0
- package/dist/components/annotateBNqnmoMI.js +0 -1
- package/dist/components/dotBgHmd0mz.js +0 -1
- package/dist/components/indexD_phlegk.js +0 -30
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./indexCa2d-Wjt.js"),o={},r={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"};function c(C,t){return e.openBlock(),e.createElementBlock("svg",r,t[0]||(t[0]=[e.createElementVNode("g",{id:"24*24/æç¤º"},[e.createElementVNode("path",{id:"Subtract","fill-rule":"evenodd","clip-rule":"evenodd",d:"M2 12C2 6.48013 6.47433 2 12 2C17.5201 2 22 6.48013 22 12C22 17.5257 17.5201 22 12 22C6.47991 22 2 17.5257 2 12ZM12.168 15.2761C11.8141 16.152 12.2581 17.082 13.1461 17.352C14.0339 17.6222 14.0161 18.03 13.1102 18.2517L12.4083 18.4256C11.4963 18.6534 10.2302 18.6295 9.60024 18.3776C8.97024 18.1256 8.74219 17.2017 9.09024 16.3317L10.6622 12.4137C11.0161 11.5378 10.5602 10.6198 9.65414 10.3678L9.35414 10.2839C8.44805 10.032 8.4661 9.70195 9.3961 9.55195L10.2961 9.40804C11.22 9.25805 12.4981 9.34219 13.128 9.59414C13.7641 9.84609 13.992 10.77 13.6381 11.64L12.168 15.2761ZM11.52 7.05C11.52 6.36586 12.0722 5.8139 12.7561 5.8139C13.44 5.8139 13.9981 6.36609 13.9922 7.05C13.9922 7.73414 13.44 8.28609 12.7561 8.28609C12.072 8.28609 11.52 7.7339 11.52 7.05Z"})],-1)]))}const d=n._export_sfc(o,[["render",c]]);exports.default=d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),c=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),c=require("./indexCa2d-Wjt.js"),f={},l={t:"1751700110518",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1574",width:"32",height:"32"};function n(i,t){return e.openBlock(),e.createElementBlock("svg",l,t[0]||(t[0]=[e.createElementVNode("path",{d:"M979.776 260.032c-2.496-2.816-4.992-5.696-7.808-8.064-7.488-6.272-15.488-11.712-24.384-16.064-130.816-64.192-261.504-128.64-392.32-192.832C544 37.632 532.096 33.6 519.552 32h-12.16c-30.4 5.568-56.512 21.696-83.584 34.88-118.592 57.472-236.992 115.136-355.2 173.376-18.304 9.088-32.576 23.488-35.904 45.504-0.128 0.768-0.448 1.472-0.704 2.176v9.344c1.92 10.048 5.12 19.584 11.904 27.584 2.368 2.688 4.608 5.568 7.36 7.808 7.232 5.824 14.528 11.456 22.976 15.616 131.776 64.704 263.36 129.664 395.264 194.176 11.136 5.504 22.592 10.88 35.456 12.032 13.056 1.216 25.28-1.024 36.8-6.656a771854.477 771854.477 0 0 0 399.936-195.712c4.48-2.24 9.152-4.096 13.376-6.72 12.48-7.488 24.192-16.128 30.784-29.632 2.816-5.76 4.096-12.288 6.144-18.496v-9.344c-2.048-10.176-5.312-19.904-12.224-27.904z","p-id":"1575",fill:"#ffffff"},null,-1),e.createElementVNode("path",{d:"M934.848 454.976c-14.336-2.496-28.352-1.088-41.536 5.44-25.344 12.608-50.496 25.728-76.032 38.016-100.224 48.128-200.64 96-300.928 144.064-2.88 1.344-5.184 1.536-8.192 0.128-122.88-59.584-245.696-119.04-368.512-178.56-20.608-9.984-42.432-12.992-64.704-8.832-22.848 4.352-38.72 23.232-41.92 47.232-0.192 1.28-0.704 2.624-1.024 3.904v12.16c1.92 9.856 5.12 19.2 11.584 27.2 6.144 7.552 13.312 13.76 21.952 17.984 134.976 66.944 270.016 133.952 405.184 200.512 10.816 5.312 22.016 10.56 34.624 11.584 12.672 1.024 24.704-1.088 35.968-6.464 138.816-66.432 277.632-132.8 416.256-199.552 18.624-8.96 29.184-24.832 33.408-44.864 0.384-1.472 0.704-3.008 1.088-4.48v-11.264c-1.28-4.096-2.112-8.448-3.776-12.352-9.792-24.128-28.288-37.376-53.44-41.856z","p-id":"1576",fill:"#ffffff"},null,-1),e.createElementVNode("path",{d:"M934.784 670.656c-14.272-2.496-28.352-1.088-41.536 5.44-25.664 12.736-51.136 25.984-76.928 38.464-99.776 47.872-199.552 95.424-299.328 143.296-3.648 1.664-6.464 1.6-9.92-0.128C384.96 798.464 262.784 739.328 140.608 680c-18.88-9.152-38.72-11.84-59.2-10.24-23.808 1.792-42.176 19.136-47.36 43.264-0.704 3.008-1.408 5.952-2.048 8.96v12.16c1.92 9.664 4.992 18.88 11.264 26.816 6.272 7.872 13.696 14.208 22.656 18.624C200.704 846.4 335.552 913.28 470.528 979.776c11.52 5.696 23.616 10.944 36.8 12.16h9.344c10.816-1.728 20.992-5.12 30.848-10.112 12.672-6.4 26.048-11.52 38.848-17.664 123.2-59.2 246.336-118.528 369.344-177.792 19.52-9.408 30.848-25.28 35.2-46.272 0.32-1.344 0.64-2.688 1.024-4.032V724.8c-1.28-4.096-2.112-8.448-3.776-12.352-9.664-24.128-28.224-37.376-53.376-41.792z","p-id":"1577",fill:"#ffffff"},null,-1)]))}const o=c._export_sfc(f,[["render",n]]);exports.default=o;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as h, mergeDefaults as C, reactive as E, watch as _, ref as w, createBlock as k, openBlock as z, unref as o, withCtx as m, createVNode as n, createElementVNode as s, toDisplayString as p, normalizeClass as I } from "vue";
|
|
2
|
-
import P from "./
|
|
2
|
+
import P from "./microscope4FIRB1UB.js";
|
|
3
3
|
import { ElPopover as U, ElCard as $, ElRadioGroup as y, ElRadio as v, ElInputNumber as f, ElColorPicker as B, ElIcon as D } from "element-plus";
|
|
4
|
-
import { u as N, d as O } from "./
|
|
5
|
-
import { i as g, _ as R } from "./
|
|
4
|
+
import { u as N, d as O } from "./useCommonDGun_T6i.js";
|
|
5
|
+
import { i as g, _ as R } from "./indexBm-HXbj3.js";
|
|
6
6
|
const F = { class: "flex align-items-center margin-t-2" }, M = { style: { "min-width": "120px" } }, S = { class: "flex align-items-center margin-t-2" }, T = { style: { "min-width": "120px" } }, W = { class: "flex align-items-center margin-t-2" }, j = { style: { "min-width": "120px" } }, A = /* @__PURE__ */ h({
|
|
7
7
|
name: "ToolMicroscope",
|
|
8
8
|
__name: "microscope",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),V=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),V=require("./microscopeDUGvuln-.js"),n=require("element-plus"),m=require("./useCommonCm7rhO60.js"),d=require("./indexCa2d-Wjt.js"),g={class:"flex align-items-center margin-t-2"},E={style:{"min-width":"120px"}},b={class:"flex align-items-center margin-t-2"},x={style:{"min-width":"120px"}},N={class:"flex align-items-center margin-t-2"},C={style:{"min-width":"120px"}},h=e.defineComponent({name:"ToolMicroscope",__name:"microscope",props:e.mergeDefaults({scope:{},size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function}},{...m.defaultProps,scope:()=>({...d.DEFAULT_MICROSCOPE})}),emits:["tool"],setup(p,{emit:f}){const u=p,o=e.reactive({...d.DEFAULT_MICROSCOPE,...u.scope});e.watch(()=>u.scope,r=>{Object.assign(o,r)});const c=f,{t:i,textClass:v}=m.useCommon(),s=e.ref(!1);function a(r,t){r==="visible"?(s.value=!s.value,c("tool","microscope",{name:r,value:s.value})):c("tool","microscope",{name:r,value:t})}return(r,t)=>(e.openBlock(),e.createBlock(e.unref(n.ElPopover),{visible:s.value,"popper-class":"el-popover-padding-0",placement:"bottom",width:"300px",trigger:"click"},{reference:e.withCtx(()=>[e.createElementVNode("div",{class:"hzzt-kfb-toolbox__icon",onClick:t[8]||(t[8]=l=>a("visible",s.value))},[e.createVNode(e.unref(n.ElIcon),{size:r.size},{default:e.withCtx(()=>[e.createVNode(V.default)]),_:1},8,["size"]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(v))},e.toDisplayString(e.unref(i)(r.text||"镜下")),3)])]),default:e.withCtx(()=>[e.createVNode(e.unref(n.ElCard),{shadow:"never",header:e.unref(i)("镜下视野")},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(e.unref(n.ElRadioGroup),{modelValue:o.shape,"onUpdate:modelValue":t[0]||(t[0]=l=>o.shape=l),onChange:t[1]||(t[1]=l=>a("change",o))},{default:e.withCtx(()=>[e.createVNode(e.unref(n.ElRadio),{value:"50%",label:e.unref(i)("圆形")},null,8,["label"]),e.createVNode(e.unref(n.ElRadio),{value:"0",label:e.unref(i)("矩形")},null,8,["label"])]),_:1},8,["modelValue"]),e.createElementVNode("div",g,[e.createElementVNode("p",E,e.toDisplayString(e.unref(i)("视野直径(mm)"))+": ",1),e.createVNode(e.unref(n.ElInputNumber),{class:"flex-1",modelValue:o.width,"onUpdate:modelValue":t[2]||(t[2]=l=>o.width=l),onInput:t[3]||(t[3]=l=>a("change",o))},null,8,["modelValue"])]),e.createElementVNode("div",b,[e.createElementVNode("p",x,e.toDisplayString(e.unref(i)("边框宽度"))+"(px): ",1),e.createVNode(e.unref(n.ElInputNumber),{class:"flex-1",modelValue:o.borderWidth,"onUpdate:modelValue":t[4]||(t[4]=l=>o.borderWidth=l),onInput:t[5]||(t[5]=l=>a("change",o))},null,8,["modelValue"])]),e.createElementVNode("div",N,[e.createElementVNode("p",C,e.toDisplayString(e.unref(i)("边框颜色"))+": ",1),e.createVNode(e.unref(n.ElColorPicker),{modelValue:o.color,"onUpdate:modelValue":t[6]||(t[6]=l=>o.color=l),onChange:t[7]||(t[7]=l=>a("change",o))},null,8,["modelValue"])])])]),_:1},8,["header"])]),_:1},8,["visible"]))}}),w=d._export_sfc(h,[["__scopeId","data-v-fe8098cc"]]);exports.default=w;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("./indexCa2d-Wjt.js"),n={},r={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"};function c(s,t){return e.openBlock(),e.createElementBlock("svg",r,t[0]||(t[0]=[e.createElementVNode("g",{id:"24*24/显微镜"},[e.createElementVNode("path",{id:"Vector",d:"M10.3277 17.3171C10.7838 17.3171 11.1554 16.9691 11.1554 16.5419C11.1554 16.1148 10.7838 15.7667 10.3277 15.7667H4.5C4.04392 15.7667 3.6723 16.1148 3.6723 16.5419C3.6723 16.9691 4.04392 17.3171 4.5 17.3171H5.3277V18.8834H2.8277C2.37162 18.8834 2 19.2314 2 19.6586V21.2248C2 21.652 2.37162 22 2.8277 22H21.1723C21.6284 22 22 21.652 22 21.2248V19.6586C22 19.2314 21.6284 18.8834 21.1723 18.8834H18.8074C20.0912 14.5644 19.4493 10.8624 16.8818 7.84069L15.5135 10.0714C17.152 12.4761 17.3885 15.387 16.2061 18.8834H9.51689V17.3171H10.3277ZM10.3615 3.58498L7.43919 8.3153L7.08446 8.12546C6.47635 7.80905 5.71622 7.99889 5.37838 8.56843C5.04054 9.12214 5.24324 9.83407 5.83446 10.1505L12.3209 13.6626C12.9122 13.9948 13.6892 13.805 14.027 13.2513C14.3818 12.6976 14.1791 11.9698 13.5878 11.6534H13.5709L13.2162 11.4636L16.1385 6.70161C17.0676 5.21449 16.5439 3.30022 14.9561 2.43009C13.3682 1.55996 11.3243 2.0504 10.3953 3.53752C10.3784 3.55334 10.3615 3.56916 10.3615 3.58498Z"})],-1)]))}const C=o._export_sfc(n,[["render",c]]);exports.default=C;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./useCommonCm7rhO60.js"),c=require("./moveD38V2VTD.js"),r=require("element-plus"),p=require("./indexCa2d-Wjt.js"),f={class:"margin-b-1"},b=e.defineComponent({name:"ToolMove",__name:"move",props:e.mergeDefaults({size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function}},u.defaultProps),emits:["tool"],setup(g,{emit:m}){const d=m,{t:i,textClass:v}=u.useCommon(),n=e.ref(!1),l=e.ref(1);function s(o,t){o==="visible"?n.value=!n.value:d("tool","move",{name:o,value:t})}return(o,t)=>(e.openBlock(),e.createBlock(e.unref(r.ElPopover),{visible:n.value,"popper-class":"el-popover-padding-0",placement:"bottom",width:"200px",trigger:"click"},{reference:e.withCtx(()=>[e.createElementVNode("div",{class:"hzzt-kfb-toolbox__icon",onClick:t[3]||(t[3]=a=>s("visible",n.value))},[e.createVNode(e.unref(r.ElIcon),{size:o.size},{default:e.withCtx(()=>[e.createVNode(c.default)]),_:1},8,["size"]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(v))},e.toDisplayString(e.unref(i)(o.text||"快速移动")),3)])]),default:e.withCtx(()=>[e.createVNode(e.unref(r.ElCard),{shadow:"never"},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("p",f,e.toDisplayString(e.unref(i)("图像移动倍率"))+":",1),e.createVNode(e.unref(r.ElInputNumber),{modelValue:l.value,"onUpdate:modelValue":t[0]||(t[0]=a=>l.value=a),step:.2,min:1,max:10,onChange:t[1]||(t[1]=a=>s("ratio",l.value)),onInput:t[2]||(t[2]=a=>s("ratio",l.value))},null,8,["modelValue"])])]),_:1})]),_:1},8,["visible"]))}}),C=p._export_sfc(b,[["__scopeId","data-v-aa10a89d"]]);exports.default=C;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./indexCa2d-Wjt.js"),o={},r={t:"1716452230517",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5203",width:"128",height:"128"};function c(s,t){return e.openBlock(),e.createElementBlock("svg",r,t[0]||(t[0]=[e.createElementVNode("path",{d:"M682.666667 341.333333V170.666667l341.333333 341.333333-341.333333 341.333333v-170.666666h-213.333334V341.333333h213.333334zM384 341.333333H298.666667v341.333334h85.333333V341.333333zM212.736 341.333333H128v341.333334h84.736V341.333333zM42.666667 341.333333H0v341.333334h42.666667V341.333333z","p-id":"5204"},null,-1)]))}const i=n._export_sfc(o,[["render",c]]);exports.default=i;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as b, mergeDefaults as _, ref as u, createBlock as C, openBlock as g, unref as o, withCtx as s, createVNode as i, createElementVNode as r, toDisplayString as v, normalizeClass as x } from "vue";
|
|
2
|
-
import { u as z, d as k } from "./
|
|
3
|
-
import E from "./
|
|
2
|
+
import { u as z, d as k } from "./useCommonDGun_T6i.js";
|
|
3
|
+
import E from "./moveBhV9kg6L.js";
|
|
4
4
|
import { ElPopover as V, ElCard as I, ElInputNumber as w, ElIcon as B } from "element-plus";
|
|
5
|
-
import { _ as M } from "./
|
|
5
|
+
import { _ as M } from "./indexBm-HXbj3.js";
|
|
6
6
|
const N = { class: "margin-b-1" }, P = /* @__PURE__ */ b({
|
|
7
7
|
name: "ToolMove",
|
|
8
8
|
__name: "move",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),C=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),C=require("./indexCa2d-Wjt.js"),r={},o={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function n(c,t){return e.openBlock(),e.createElementBlock("svg",o,t[0]||(t[0]=[e.createElementVNode("g",{id:"上一例"},[e.createElementVNode("path",{id:"Subtract",d:"M12.9012 6.09942C13.2648 5.91152 13.6903 6.0067 14.0204 6.24493C16.6043 8.10984 18.3663 10.1237 19.2186 11.2049C19.5935 11.6804 19.5935 12.3192 19.2186 12.7947C18.3663 13.8759 16.6043 15.8897 14.0204 17.7547C13.6903 17.9929 13.2648 18.0881 12.9012 17.9002C12.6792 17.7854 12.4124 17.6134 12.1327 17.3553C11.9272 17.1657 11.7725 16.9887 11.6561 16.8328C11.3717 16.4518 11.5019 15.9679 11.8377 15.6277C13.3236 14.1225 14.8063 12.6746 15.3153 12.1795C15.3392 12.1562 15.3579 12.1282 15.3709 12.0975C15.384 12.0666 15.3905 12.0333 15.3905 11.9998C15.3905 11.9663 15.384 11.933 15.3709 11.9022C15.3579 11.8714 15.3392 11.8434 15.3153 11.8201C14.8063 11.325 13.3237 9.87706 11.8377 8.37188C11.5019 8.03166 11.3717 7.5478 11.6561 7.1668C11.7725 7.01089 11.9272 6.83394 12.1327 6.64434C12.4125 6.38625 12.6792 6.21425 12.9012 6.09942Z",fill:"currentColor","fill-opacity":"0.9"}),e.createElementVNode("path",{id:"Subtract_2",d:"M6.40122 6.09942C6.76477 5.91152 7.1903 6.0067 7.52036 6.24493C10.1043 8.10984 11.8663 10.1237 12.7186 11.2049C13.0935 11.6804 13.0935 12.3192 12.7186 12.7947C11.8663 13.8759 10.1043 15.8897 7.52036 17.7547C7.19029 17.9929 6.76478 18.0881 6.40122 17.9002C6.17924 17.7854 5.91243 17.6134 5.63266 17.3553C5.42717 17.1657 5.27248 16.9887 5.1561 16.8328C4.87166 16.4518 5.00188 15.9679 5.33774 15.6277C6.82361 14.1225 8.30629 12.6746 8.81528 12.1795C8.83919 12.1562 8.85793 12.1282 8.87094 12.0975C8.88399 12.0666 8.89047 12.0333 8.89047 11.9998C8.89047 11.9663 8.88399 11.933 8.87094 11.9022C8.85793 11.8714 8.83919 11.8434 8.81528 11.8201C8.30629 11.325 6.82371 9.87706 5.33774 8.37188C5.00193 8.03166 4.87171 7.5478 5.1561 7.1668C5.27252 7.01089 5.42718 6.83394 5.63266 6.64434C5.91247 6.38625 6.17924 6.21425 6.40122 6.09942Z",fill:"currentColor","fill-opacity":"0.9"})],-1)]))}const l=C._export_sfc(r,[["render",n]]);exports.default=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),C=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),C=require("./indexCa2d-Wjt.js"),r={},o={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function n(c,t){return e.openBlock(),e.createElementBlock("svg",o,t[0]||(t[0]=[e.createElementVNode("g",{id:"上一例"},[e.createElementVNode("path",{id:"Subtract",d:"M11.0988 6.09942C10.7352 5.91152 10.3097 6.0067 9.97964 6.24493C7.39574 8.10984 5.63367 10.1237 4.7814 11.2049C4.40654 11.6804 4.40654 12.3192 4.7814 12.7947C5.63366 13.8759 7.39572 15.8897 9.97964 17.7547C10.3097 17.9929 10.7352 18.0881 11.0988 17.9002C11.3208 17.7854 11.5876 17.6134 11.8673 17.3553C12.0728 17.1657 12.2275 16.9887 12.3439 16.8328C12.6283 16.4518 12.4981 15.9679 12.1623 15.6277C10.6764 14.1225 9.19371 12.6746 8.68472 12.1795C8.66081 12.1562 8.64207 12.1282 8.62906 12.0975C8.61601 12.0666 8.60953 12.0333 8.60953 11.9998C8.60953 11.9663 8.61601 11.933 8.62906 11.9022C8.64207 11.8714 8.66081 11.8434 8.68472 11.8201C9.19371 11.325 10.6763 9.87706 12.1623 8.37188C12.4981 8.03166 12.6283 7.5478 12.3439 7.1668C12.2275 7.01089 12.0728 6.83394 11.8673 6.64434C11.5875 6.38625 11.3208 6.21425 11.0988 6.09942Z",fill:"currentColor","fill-opacity":"0.9"}),e.createElementVNode("path",{id:"Subtract_2",d:"M17.5988 6.09942C17.2352 5.91152 16.8097 6.0067 16.4796 6.24493C13.8957 8.10984 12.1337 10.1237 11.2814 11.2049C10.9065 11.6804 10.9065 12.3192 11.2814 12.7947C12.1337 13.8759 13.8957 15.8897 16.4796 17.7547C16.8097 17.9929 17.2352 18.0881 17.5988 17.9002C17.8208 17.7854 18.0876 17.6134 18.3673 17.3553C18.5728 17.1657 18.7275 16.9887 18.8439 16.8328C19.1283 16.4518 18.9981 15.9679 18.6623 15.6277C17.1764 14.1225 15.6937 12.6746 15.1847 12.1795C15.1608 12.1562 15.1421 12.1282 15.1291 12.0975C15.116 12.0666 15.1095 12.0333 15.1095 11.9998C15.1095 11.9663 15.116 11.933 15.1291 11.9022C15.1421 11.8714 15.1608 11.8434 15.1847 11.8201C15.6937 11.325 17.1763 9.87706 18.6623 8.37188C18.9981 8.03166 19.1283 7.5478 18.8439 7.1668C18.7275 7.01089 18.5728 6.83394 18.3673 6.64434C18.0875 6.38625 17.8208 6.21425 17.5988 6.09942Z",fill:"currentColor","fill-opacity":"0.9"})],-1)]))}const l=C._export_sfc(r,[["render",n]]);exports.default=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("./useCommonCm7rhO60.js"),t=require("element-plus"),x=require("./process_4OLLR3I.js"),s=require("./indexCa2d-Wjt.js"),E={class:"margin-l-4"},N={class:"margin-l-4"},g={class:"margin-l-4"},_={class:"margin-l-4"},h={class:"margin-l-4"},b={class:"margin-l-4"},w={class:"margin-l-4"},S={class:"flex justify-content-end"},y={class:"hzzt-kfb-toolbox__icon"},D=e.defineComponent({name:"ToolProcess",__name:"process",props:e.mergeDefaults({process:{},size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function}},{...i.defaultProps,process:()=>({...s.DEFAULT_PROCESS})}),emits:["tool"],setup(c,{emit:m}){const f=c,d=m,{t:n,textClass:p}=i.useCommon(),l=e.reactive({...s.DEFAULT_PROCESS,...f.process});function r(){d("tool","process",l)}function V(){Object.assign(l,s.DEFAULT_PROCESS),r()}function C(){d("tool","save_process",l)}return(u,o)=>(e.openBlock(),e.createBlock(e.unref(t.ElPopover),{"popper-class":"el-popover-padding-0",placement:"bottom",width:"400px",trigger:"click"},{reference:e.withCtx(()=>[e.createElementVNode("div",y,[e.createVNode(e.unref(t.ElIcon),{size:u.size},{default:e.withCtx(()=>[e.createVNode(x.default)]),_:1},8,["size"]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(p))},e.toDisplayString(e.unref(n)(u.text||"图像处理")),3)])]),default:e.withCtx(()=>[e.createVNode(e.unref(t.ElCard),{shadow:"never",header:e.unref(n)("图像处理")},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElForm),null,{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElRow),null,{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElCol),{span:24},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElFormItem),{label:e.unref(n)("红通道")},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElSlider),{modelValue:l.r,"onUpdate:modelValue":o[0]||(o[0]=a=>l.r=a),class:"flex-1",step:.1,min:-1,max:1,onChange:r},null,8,["modelValue"]),e.createElementVNode("span",E,e.toDisplayString(l.r*100)+"%",1)]),_:1},8,["label"])]),_:1}),e.createVNode(e.unref(t.ElCol),{span:24},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElFormItem),{label:e.unref(n)("绿通道")},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElSlider),{modelValue:l.g,"onUpdate:modelValue":o[1]||(o[1]=a=>l.g=a),class:"flex-1",step:.1,min:-1,max:1,onChange:r},null,8,["modelValue"]),e.createElementVNode("span",N,e.toDisplayString(l.g*100)+"%",1)]),_:1},8,["label"])]),_:1}),e.createVNode(e.unref(t.ElCol),{span:24},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElFormItem),{label:e.unref(n)("蓝通道")},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElSlider),{modelValue:l.b,"onUpdate:modelValue":o[2]||(o[2]=a=>l.b=a),class:"flex-1",step:.1,min:-1,max:1,onChange:r},null,8,["modelValue"]),e.createElementVNode("span",g,e.toDisplayString(l.b*100)+"%",1)]),_:1},8,["label"])]),_:1}),e.createVNode(e.unref(t.ElCol),{span:24},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElFormItem),{label:e.unref(n)("gamma值")},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElSlider),{modelValue:l.ga,"onUpdate:modelValue":o[3]||(o[3]=a=>l.ga=a),class:"flex-1",step:.01,min:-.05,max:2,onChange:r},null,8,["modelValue"]),e.createElementVNode("span",_,e.toDisplayString(l.ga),1)]),_:1},8,["label"])]),_:1}),e.createVNode(e.unref(t.ElCol),{span:24},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElFormItem),{label:e.unref(n)("对比度")},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElSlider),{modelValue:l.c,"onUpdate:modelValue":o[4]||(o[4]=a=>l.c=a),class:"flex-1",step:.1,min:-1,max:1,onChange:r},null,8,["modelValue"]),e.createElementVNode("span",h,e.toDisplayString(l.c*100)+"%",1)]),_:1},8,["label"])]),_:1}),e.createVNode(e.unref(t.ElCol),{span:24},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElFormItem),{label:e.unref(n)("饱和度")},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElSlider),{modelValue:l.s,"onUpdate:modelValue":o[5]||(o[5]=a=>l.s=a),class:"flex-1",step:.1,min:-1,max:1,onChange:r},null,8,["modelValue"]),e.createElementVNode("span",b,e.toDisplayString(l.s*100)+"%",1)]),_:1},8,["label"])]),_:1}),e.createVNode(e.unref(t.ElCol),{span:24},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElFormItem),{label:e.unref(n)("亮度")},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElSlider),{modelValue:l.l,"onUpdate:modelValue":o[6]||(o[6]=a=>l.l=a),class:"flex-1",step:.1,min:-1,max:1,onChange:r},null,8,["modelValue"]),e.createElementVNode("span",w,e.toDisplayString(l.l*100)+"%",1)]),_:1},8,["label"])]),_:1})]),_:1})]),_:1}),e.createElementVNode("div",S,[e.createVNode(e.unref(t.ElButton),{onClick:V},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("重置")),1)]),_:1}),e.createVNode(e.unref(t.ElButton),{type:"primary",onClick:C},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("保存")),1)]),_:1})])]),_:1},8,["header"])]),_:1}))}}),v=s._export_sfc(D,[["__scopeId","data-v-bdb018f5"]]);exports.default=v;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("./indexCa2d-Wjt.js"),r={},n={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"};function c(d,t){return e.openBlock(),e.createElementBlock("svg",n,t[0]||(t[0]=[e.createElementVNode("g",{id:"24*24/图片"},[e.createElementVNode("path",{id:"Vector",d:"M20 4H4C2.9 4 2 4.9 2 6V18C2 19.1 2.9 20 4 20H20C21.1 20 22 19.1 22 18V6C22 4.9 21.1 4 20 4ZM4 7C4 6.45 4.45 6 5 6H19C19.55 6 20 6.45 20 7V17C20 17.15 19.95 17.25 19.95 17.35L16.35 11.4C16.2 11.15 15.8 11.05 15.6 11.3L13.5 13.1C13.25 13.3 12.9 13.25 12.7 12.95L10.45 8.75C10.25 8.4 9.8 8.4 9.55 8.7L4.05 17.35C4.05 17.25 4 17.1 4 17V7Z"}),e.createElementVNode("path",{id:"Vector_2",d:"M16 8.5C16 8.89782 16.158 9.27936 16.4393 9.56066C16.7206 9.84197 17.1022 10 17.5 10C17.8978 10 18.2794 9.84197 18.5607 9.56066C18.842 9.27936 19 8.89782 19 8.5C19 8.10218 18.842 7.72064 18.5607 7.43934C18.2794 7.15804 17.8978 7 17.5 7C17.1022 7 16.7206 7.15804 16.4393 7.43934C16.158 7.72064 16 8.10218 16 8.5Z"})],-1)]))}const C=o._export_sfc(r,[["render",c]]);exports.default=C;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as U, mergeDefaults as k, reactive as z, createBlock as P, openBlock as y, unref as e, withCtx as o, createVNode as l, createElementVNode as d, toDisplayString as m, createTextVNode as g, normalizeClass as w } from "vue";
|
|
2
|
-
import { u as B, d as D } from "./
|
|
2
|
+
import { u as B, d as D } from "./useCommonDGun_T6i.js";
|
|
3
3
|
import { ElPopover as F, ElCard as S, ElForm as I, ElRow as N, ElCol as p, ElFormItem as u, ElSlider as i, ElButton as b, ElIcon as R } from "element-plus";
|
|
4
|
-
import T from "./
|
|
5
|
-
import { D as f, _ as j } from "./
|
|
4
|
+
import T from "./processB578krhc.js";
|
|
5
|
+
import { D as f, _ as j } from "./indexBm-HXbj3.js";
|
|
6
6
|
const O = { class: "margin-l-4" }, A = { class: "margin-l-4" }, L = { class: "margin-l-4" }, q = { class: "margin-l-4" }, G = { class: "margin-l-4" }, H = { class: "margin-l-4" }, J = { class: "margin-l-4" }, K = { class: "flex justify-content-end" }, M = { class: "hzzt-kfb-toolbox__icon" }, Q = /* @__PURE__ */ U({
|
|
7
7
|
name: "ToolProcess",
|
|
8
8
|
__name: "process",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("./indexCa2d-Wjt.js"),n={},r={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"};function c(i,t){return e.openBlock(),e.createElementBlock("svg",r,t[0]||(t[0]=[e.createElementVNode("g",{id:"24*24/旋转"},[e.createElementVNode("path",{id:"Vector",d:"M10.875 1.5H15.375C18.0674 1.5 20.25 3.68262 20.25 6.375V9H22.3052C22.4723 9 22.5558 9.20203 22.4377 9.32016L18.671 13.0868C18.5618 13.196 18.375 13.1184 18.375 12.964V6.375C18.375 4.71816 17.0318 3.375 15.375 3.375H10.875C10.6679 3.375 10.5 3.20712 10.5 3V1.875C10.5 1.66788 10.6679 1.5 10.875 1.5ZM1.875 20.25H15.375C15.5822 20.25 15.75 20.0822 15.75 19.875V6.375C15.75 6.16781 15.5822 6 15.375 6H1.875C1.66781 6 1.5 6.16781 1.5 6.375V19.875C1.5 20.0822 1.66781 20.25 1.875 20.25Z"})],-1)]))}const s=o._export_sfc(n,[["render",c]]);exports.default=s;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as w, mergeDefaults as y, inject as C, ref as b, watch as h, createBlock as V, openBlock as $, unref as i, withCtx as c, createVNode as r, createElementVNode as o, normalizeStyle as P, normalizeClass as E, toDisplayString as I } from "vue";
|
|
2
|
-
import { a as M, b as F, _ as N } from "./
|
|
3
|
-
import { u as B, d as D } from "./
|
|
2
|
+
import { a as M, b as F, _ as N } from "./indexBm-HXbj3.js";
|
|
3
|
+
import { u as B, d as D } from "./useCommonDGun_T6i.js";
|
|
4
4
|
import { ElPopover as R, ElCard as S, ElInputNumber as j, ElIcon as A } from "element-plus";
|
|
5
|
-
import K from "./
|
|
6
|
-
import q from "./
|
|
5
|
+
import K from "./rotateBtBfaYlt.js";
|
|
6
|
+
import q from "./arrowFPEB8W4f.js";
|
|
7
7
|
const T = { class: "flex align-items-center" }, U = { class: "flex column align-items-center flex-1" }, X = { class: "flex justify-content-center align-items-center" }, Y = { class: "hzzt-kfb-toolbox-rotate__container" }, G = { class: "hzzt-kfb-toolbox-rotate__angle" }, H = { class: "hzzt-kfb-toolbox__icon" }, J = /* @__PURE__ */ w({
|
|
8
8
|
name: "ToolRotate",
|
|
9
9
|
__name: "rotate",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),d=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),d=require("./indexCa2d-Wjt.js"),x=require("./useCommonCm7rhO60.js"),s=require("element-plus"),z=require("./rotateCGoD_DlO.js"),N=require("./arrowDPk76wAe.js"),E={class:"flex align-items-center"},w={class:"flex column align-items-center flex-1"},C={class:"flex justify-content-center align-items-center"},k={class:"hzzt-kfb-toolbox-rotate__container"},h={class:"hzzt-kfb-toolbox-rotate__angle"},y={class:"hzzt-kfb-toolbox__icon"},P=e.defineComponent({name:"ToolRotate",__name:"rotate",props:e.mergeDefaults({size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function}},x.defaultProps),setup(q){var v;const{t:g,textClass:b}=x.useCommon(),n=e.inject("kfbViewRef"),i=e.ref(!1),a=e.ref(((v=n==null?void 0:n.value)==null?void 0:v.degrees)??0);e.watch(()=>{var o;return(o=n==null?void 0:n.value)==null?void 0:o.degrees},o=>{a.value=o});function r(o){var t;a.value=parseFloat(o.toFixed(2)),(t=n==null?void 0:n.value)!=null&&t.kfbView&&n.value.kfbView.viewer.viewport.setRotation(a.value)}function m(o){const t=document.querySelector(".hzzt-kfb-toolbox-rotate__container");if(!t)return;const l=t.getBoundingClientRect(),c={x:32,y:32},p={x:o.clientX-l.left,y:o.clientY-l.top};if(d._KfbView$isPointInEllipse(p,c,32,32)){const _=d._KfbView$getAngle(c,{x:c.x,y:0},p);if(isNaN(_/Math.PI*180))return;let u=parseFloat((_/Math.PI*180).toFixed(2));u<0&&(u+=360),i.value=!0,r(u)}}function V(o){i.value&&m(o)}function f(){i.value=!1}return(o,t)=>(e.openBlock(),e.createBlock(e.unref(s.ElPopover),{placement:"bottom",width:"260px",trigger:"click","popper-class":"el-popover-padding-0"},{reference:e.withCtx(()=>[e.createElementVNode("div",y,[e.createVNode(e.unref(s.ElIcon),{size:o.size},{default:e.withCtx(()=>[e.createVNode(z.default)]),_:1},8,["size"]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(b))},e.toDisplayString(e.unref(g)(o.text||"旋转")),3)])]),default:e.withCtx(()=>[e.createVNode(e.unref(s.ElCard),{shadow:"never","body-style":{padding:"12px 12px 12px 0"}},{default:e.withCtx(()=>[e.createElementVNode("div",E,[e.createElementVNode("div",w,[e.createElementVNode("div",{class:"hzzt-kfb-toolbox-rotate__btn margin-b-1",onClick:t[0]||(t[0]=l=>r(0))}),e.createElementVNode("div",C,[e.createElementVNode("div",{class:"hzzt-kfb-toolbox-rotate__btn margin-r-1",onClick:t[1]||(t[1]=l=>r(270))}),e.createElementVNode("div",k,[e.createElementVNode("div",{class:"hzzt-kfb-toolbox-rotate__img",style:e.normalizeStyle({transform:`rotate(${a.value}deg)`}),onMousedown:m,onMousemove:V,onMouseup:f,onMouseleave:f},[e.createVNode(N.default)],36)]),e.createElementVNode("div",{class:"hzzt-kfb-toolbox-rotate__btn margin-l-1",onClick:t[2]||(t[2]=l=>r(90))})]),e.createElementVNode("div",{class:"hzzt-kfb-toolbox-rotate__btn margin-t-1",onClick:t[3]||(t[3]=l=>r(180))})]),e.createElementVNode("div",h,[e.createVNode(e.unref(s.ElInputNumber),{modelValue:a.value,"onUpdate:modelValue":t[4]||(t[4]=l=>a.value=l),min:0,max:360,step:5,onChange:t[5]||(t[5]=l=>r(a.value))},null,8,["modelValue"])])])]),_:1})]),_:1}))}}),$=d._export_sfc(P,[["__scopeId","data-v-9856a364"]]);exports.default=$;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as x, mergeDefaults as f, ref as b, createBlock as V, openBlock as c, unref as e, withCtx as r, createVNode as i, createElementVNode as m, normalizeClass as C, toDisplayString as z } from "vue";
|
|
2
|
-
import { u as E, d as w } from "./
|
|
2
|
+
import { u as E, d as w } from "./useCommonDGun_T6i.js";
|
|
3
3
|
import { ElPopover as k, ElCard as U, ElForm as F, ElFormItem as d, ElSwitch as s, ElIcon as S } from "element-plus";
|
|
4
|
-
import _ from "./
|
|
5
|
-
import { _ as B } from "./
|
|
4
|
+
import _ from "./settingCBl44H7B.js";
|
|
5
|
+
import { _ as B } from "./indexBm-HXbj3.js";
|
|
6
6
|
const I = { class: "hzzt-kfb-toolbox__icon" }, P = /* @__PURE__ */ x({
|
|
7
7
|
name: "ToolSetting",
|
|
8
8
|
__name: "setting",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("vue"),t=require("./
|
|
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("./
|
|
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 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),V=require("./
|
|
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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),n=require("./
|
|
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 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("element-plus"),_=require("./
|
|
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("./
|
|
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 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./
|
|
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 "./
|
|
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/
|
|
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-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}
|
|
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
package/package.json
CHANGED
|
@@ -13,6 +13,7 @@ export interface Label {
|
|
|
13
13
|
measure?: boolean;
|
|
14
14
|
points?: Point[];
|
|
15
15
|
tool?: string;
|
|
16
|
+
subType?: string;
|
|
16
17
|
src?: string;
|
|
17
18
|
scale?: number;
|
|
18
19
|
region?: Rect;
|
|
@@ -22,12 +23,13 @@ export interface Label {
|
|
|
22
23
|
isClose?: boolean;
|
|
23
24
|
select?: boolean;
|
|
24
25
|
show?: boolean;
|
|
25
|
-
|
|
26
|
+
isAi?: boolean;
|
|
26
27
|
custom?: boolean;
|
|
27
28
|
cls?: string;
|
|
28
29
|
score?: number;
|
|
29
30
|
imageUrl?: string;
|
|
30
31
|
__other__: any;
|
|
32
|
+
__data__: any;
|
|
31
33
|
}
|
|
32
34
|
export interface Point {
|
|
33
35
|
x: number;
|
|
@@ -193,7 +195,9 @@ export interface KfbProps {
|
|
|
193
195
|
tileHandle: (params: TileParams) => string;
|
|
194
196
|
navigatorHandle?: (type: string, slide: DigitalSlide, data?: any) => Promise<any>;
|
|
195
197
|
pathologyHandle?: (slide: DigitalSlide) => Promise<boolean>;
|
|
198
|
+
uploadHandle?: (slide: DigitalSlide, label: Label, blob: Blob) => Promise<string>;
|
|
196
199
|
options?: Record<string, any>;
|
|
200
|
+
labelDrawing?: (ctx: CanvasRenderingContext2D, label: Label) => void;
|
|
197
201
|
process?: Process;
|
|
198
202
|
microscope?: Microscope;
|
|
199
203
|
menus?: Menu[];
|