hzzt-kfb-slide 0.0.8 → 0.0.9
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/{annotateR7c0LCw2.js → annotateBSN_N98d.js} +1 -1
- package/dist/components/annotateCskNt8uV.js +132 -0
- package/dist/components/{annotateFlT59Ud8.js → annotateDQQc3oYO.js} +1 -1
- package/dist/components/annotateWlJ-PlkO.js +1 -0
- package/dist/components/{arrowDHcko1dw.js → arrowCircleCLHjzy7J.js} +1 -1
- package/dist/components/{arrowDRio3eqx.js → arrowCircleDN2Qevn_.js} +9 -9
- package/dist/components/{arrowDownDRpTqVDK.js → arrowDownB5PEMVYP.js} +1 -1
- package/dist/components/{arrowDownByED8CSr.js → arrowDownztxcPDK2.js} +1 -1
- package/dist/components/{arrowLeftCl2XVnFB.js → arrowLeftBTScpoSq.js} +1 -1
- package/dist/components/{arrowLeftDjcuA_pb.js → arrowLeftC_h3QrNf.js} +1 -1
- package/dist/components/{arrowRightDSkHKM4y.js → arrowRightBAEhIIeD.js} +1 -1
- package/dist/components/{arrowRightClSGs6Mb.js → arrowRightDaLk5ye2.js} +1 -1
- package/dist/components/{arrowUpCgzq2L8A.js → arrowUpB_mDEoVE.js} +1 -1
- package/dist/components/{arrowUpQVIPK_NQ.js → arrowUpBuwILzVM.js} +1 -1
- package/dist/components/arrowq3GgyGtl.js +23 -0
- package/dist/components/arrowqeUXLexE.js +1 -0
- package/dist/components/bilateralC8BCqacM.js +1 -0
- package/dist/components/bilateralsYVc46ez.js +27 -0
- package/dist/components/{channelD-dojSaC.js → channelCm6WfZhE.js} +1 -1
- package/dist/components/{channelCTQgwZV_.js → channelCxhiBqFa.js} +1 -1
- package/dist/components/{checkCqCYDYr4.js → checkgqabT7oF.js} +1 -1
- package/dist/components/{checkCBxyasVc.js → checklhwJw6ij.js} +1 -1
- package/dist/components/{configGeQGhW9C.js → config8wBzwVWe.js} +1 -1
- package/dist/components/{configP_8ZVyfi.js → configCo2pzSSl.js} +1 -1
- package/dist/components/customDdRy3S9S.js +1 -0
- package/dist/components/{customBr26z068.js → customoXQbJYSP.js} +3 -2
- package/dist/components/{deleteBNIxfTCo.js → deleteDFVCacNy.js} +1 -1
- package/dist/components/{deleteuibq0KAI.js → deletegLcmbyGU.js} +1 -1
- package/dist/components/{dotBucEP5Z8.js → dotB2b_Bc58.js} +10 -9
- package/dist/components/dotBOQVdiVZ.js +1 -0
- package/dist/components/{dotDhjymv7s.js → dotBdyZ6Zs_.js} +1 -1
- package/dist/components/dotBjtFccSw.js +1 -0
- package/dist/components/{dotBJ-lSESE.js → dotBx_U-TRs.js} +1 -1
- package/dist/components/dotDVIxo3b0.js +25 -0
- package/dist/components/{downloadB5STpOaR.js → downloadCO9Cz6dr.js} +1 -1
- package/dist/components/downloadCq-yv4BU.js +1 -0
- package/dist/components/{downloadDnWeuVMn.js → downloadDYN6iKOq.js} +11 -10
- package/dist/components/{downloadBrpaJY3x.js → downloadDfTBHJ7d.js} +1 -1
- package/dist/components/ellipseDPdtULn7.js +23 -0
- package/dist/components/ellipseDxOwmrP-.js +1 -0
- package/dist/components/expandLeftBmr3uw-F.js +21 -0
- package/dist/components/expandLeftDgZEeCXR.js +1 -0
- package/dist/components/expandRightBPDxAHAT.js +21 -0
- package/dist/components/expandRightBvHDRlw9.js +1 -0
- package/dist/components/flagC_HXmW12.js +29 -0
- package/dist/components/flagDCxIuLfr.js +1 -0
- package/dist/components/{flipD7XBmACU.js → flipCNkGkJFc.js} +1 -1
- package/dist/components/{flipDlTFW9pO.js → flipK09gW4-M.js} +1 -1
- package/dist/components/fontBIHY17oy.js +1 -0
- package/dist/components/fontDXUcdfsw.js +23 -0
- package/dist/components/{fullscreenBGej63GA.js → fullscreenCEFKqV7l.js} +4 -3
- package/dist/components/{fullscreenoNyXD8h3.js → fullscreenDPi8Xahs.js} +1 -1
- package/dist/components/{fullscreenCxtySrDu.js → fullscreenDZYz-sfk.js} +1 -1
- package/dist/components/fullscreenDd3GiUQ4.js +1 -0
- package/dist/components/indexBMt2qfwG.js +3006 -0
- package/dist/components/indexCIVMES3X.js +4 -0
- package/dist/components/{infoBjk0dOPE.js → infoBWvCO9_7.js} +1 -1
- package/dist/components/{infoCA6EWNF3.js → infolJ1oViok.js} +1 -1
- package/dist/components/{levelbRjS_tcK.js → level3wMXDN6Y.js} +1 -1
- package/dist/components/{levelCG93ncZs.js → levelBeCwZgz9.js} +1 -1
- package/dist/components/lineBYCqffsD.js +1 -0
- package/dist/components/linerKZy_PBV.js +23 -0
- package/dist/components/{microscopeD-FrVKRB.js → microscopeB6_xwHWr.js} +1 -1
- package/dist/components/{microscopey8VfYeuX.js → microscopeB9wC5wRM.js} +5 -4
- package/dist/components/microscopeBm3v4wJv.js +1 -0
- package/dist/components/{microscopeD-EjOdf2.js → microscopeDsuJ4oWc.js} +1 -1
- package/dist/components/{moveCCkgUb-0.js → moveCCEIbSgO.js} +11 -10
- package/dist/components/{moveDYmvf7k8.js → moveDB4RR4wM.js} +1 -1
- package/dist/components/moveDU5gi3Hs.js +1 -0
- package/dist/components/{movebJvf1oPR.js → movel8WgST25.js} +1 -1
- package/dist/components/{nextC6ATDCIW.js → nextCU-KJqvj.js} +1 -1
- package/dist/components/{nextDdiDIgB2.js → next_hDHaXI8.js} +1 -1
- package/dist/components/polygonI_Zz93ii.js +23 -0
- package/dist/components/polygonidXC3FDF.js +1 -0
- package/dist/components/{prevC43MjkJW.js → prevBeyGPDD3.js} +1 -1
- package/dist/components/{prevD3zqAMQc.js → prevDVlS4e4B.js} +1 -1
- package/dist/components/{processDR1VlciH.js → processBUT2dQY5.js} +5 -4
- package/dist/components/{processCDMD34sa.js → processD0b1s4d4.js} +1 -1
- package/dist/components/{processDq-wdwXj.js → processDAd-rsJz.js} +1 -1
- package/dist/components/processpK6pP0DH.js +1 -0
- package/dist/components/rectangleD4mKwQvO.js +23 -0
- package/dist/components/rectangleD7n6Vvt6.js +1 -0
- package/dist/components/{rotateCVpCm-tK.js → rotateBgGcEeK6.js} +1 -1
- package/dist/components/{rotateB2TKrdOd.js → rotateDZ2LcDRk.js} +1 -1
- package/dist/components/rotateDh6-tIqc.js +1 -0
- package/dist/components/{rotateD_vW_yY0.js → rotatePTOj7NOR.js} +10 -9
- package/dist/components/{settingCqgEfv1i.js → settingB_4RabuF.js} +5 -4
- package/dist/components/{settingB6ugQHJp.js → settingDCw5DNWc.js} +1 -1
- package/dist/components/{settingDgfjjrts.js → settingDx9NClvs.js} +1 -1
- package/dist/components/settingsSpWOZGB.js +1 -0
- package/dist/components/starDBBLg7cl.js +1 -0
- package/dist/components/starZ-R1XM0P.js +25 -0
- package/dist/components/{tailorCBjKU02K.js → tailorBIcgkHyw.js} +1 -1
- package/dist/components/{tailorDzvy19FE.js → tailorvV9idwBq.js} +1 -1
- package/dist/components/{useCommonBD90FQd0.js → useCommonDOhNsd5o.js} +1 -1
- package/dist/components/{useCommonBD-xKHu3.js → useCommonSF_YB4y_.js} +1 -1
- package/dist/components/voice0zCcCgj_.js +25 -0
- package/dist/components/voiceoSSHyjHA.js +1 -0
- package/dist/components/{zoomB5HF8Hai.js → zoomDQAi2Vcg.js} +1 -1
- package/dist/components/{zoomInBrNwgimx.js → zoomInBW6dNl06.js} +1 -1
- package/dist/components/{zoomInC3EAqFg-.js → zoomInDtlrDlNR.js} +1 -1
- package/dist/components/{zoomOutDafuMDlQ.js → zoomOutBKc239cL.js} +1 -1
- package/dist/components/{zoomOutGi1JWbc1.js → zoomOut_jWy0Idj.js} +1 -1
- package/dist/components/{zoomBcO2XFbA.js → zoomluz7C-Dr.js} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.css +1 -1
- package/dist/index.es.js +5 -5
- package/package.json +1 -1
- package/types/components/KfbView/KfbAnnotation.vue.d.ts +17 -0
- package/types/components/KfbView/index.vue.d.ts +2 -2
- package/types/components/KfbView/useLabel.d.ts +81 -0
- package/types/components/icon/expandLeft.vue.d.ts +2 -0
- package/types/components/icon/expandRight.vue.d.ts +2 -0
- package/types/components/icon/mark/arrow.vue.d.ts +2 -0
- package/types/components/icon/mark/bilateral.vue.d.ts +2 -0
- package/types/components/icon/mark/dot.vue.d.ts +2 -0
- package/types/components/icon/mark/ellipse.vue.d.ts +2 -0
- package/types/components/icon/mark/flag.vue.d.ts +2 -0
- package/types/components/icon/mark/font.vue.d.ts +2 -0
- package/types/components/icon/mark/line.vue.d.ts +2 -0
- package/types/components/icon/mark/polygon.vue.d.ts +2 -0
- package/types/components/icon/mark/rectangle.vue.d.ts +2 -0
- package/types/components/icon/mark/star.vue.d.ts +2 -0
- package/types/components/icon/mark/voice.vue.d.ts +2 -0
- package/types/components/toolbox/instances.d.ts +1 -0
- package/dist/components/annotateJzE3toJV.js +0 -1
- package/dist/components/annotatemJxZMVPO.js +0 -123
- package/dist/components/customB1-3lgH0.js +0 -1
- package/dist/components/dotDc-QmqaE.js +0 -1
- package/dist/components/downloadDh6wiado.js +0 -1
- package/dist/components/fullscreenOKvUhCk1.js +0 -1
- package/dist/components/indexB0v3MpmE.js +0 -2937
- package/dist/components/indexBkFttmTs.js +0 -4
- package/dist/components/microscopeDd_Bl9hM.js +0 -1
- package/dist/components/moveQ5bEeY1C.js +0 -1
- package/dist/components/processD1w3RPEQ.js +0 -1
- package/dist/components/rotateDEPrY9R8.js +0 -1
- package/dist/components/settingDCqhAo43.js +0 -1
- /package/types/components/icon/{arrow.vue.d.ts → arrowCircle.vue.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./indexCIVMES3X.js"),r={},o={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function l(i,t){return e.openBlock(),e.createElementBlock("svg",o,t[0]||(t[0]=[e.createElementVNode("g",null,[e.createElementVNode("path",{d:"M20.25 21H3.75C3.55109 21 3.36032 20.921 3.21967 20.7803C3.07902 20.6397 3 20.4489 3 20.25V3.75C3 3.55109 3.07902 3.36032 3.21967 3.21967C3.36032 3.07902 3.55109 3 3.75 3H20.25C20.4489 3 20.6397 3.07902 20.7803 3.21967C20.921 3.36032 21 3.55109 21 3.75V20.25C21 20.4489 20.921 20.6397 20.7803 20.7803C20.6397 20.921 20.4489 21 20.25 21ZM4.5 19.5H19.5V4.5H4.5V19.5Z",fill:"currentColor"})],-1)]))}const c=n._export_sfc(r,[["render",l]]);exports.default=c;
|
|
@@ -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("./indexCIVMES3X.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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),x=require("kfb-view"),_=require("./useCommonDOhNsd5o.js"),s=require("element-plus"),V=require("./rotateBgGcEeK6.js"),N=require("./arrowCircleCLHjzy7J.js"),C=require("./indexCIVMES3X.js"),E={class:"flex align-items-center"},k={class:"flex column align-items-center flex-1"},w={class:"flex justify-content-center align-items-center"},h={class:"hzzt-kfb-toolbox-rotate__container"},y={class:"hzzt-kfb-toolbox-rotate__angle"},P={class:"hzzt-kfb-toolbox__icon"},q=e.defineComponent({name:"ToolRotate",__name:"rotate",props:e.mergeDefaults({size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function},options:{}},_.defaultProps),setup($){var f;const{t:g,textClass:b}=_.useCommon(),n=e.inject("kfbViewRef"),i=e.ref(!1),r=e.ref(((f=n==null?void 0:n.value)==null?void 0:f.degrees)||0);e.watch(()=>{var o;return(o=n==null?void 0:n.value)==null?void 0:o.degrees},o=>{r.value=o});function a(o){var t;r.value=parseFloat(o.toFixed(2)),(t=n==null?void 0:n.value)!=null&&t.kfbView&&n.value.kfbView.viewer.viewport.setRotation(r.value)}function d(o){const t=document.querySelector(".hzzt-kfb-toolbox-rotate__container");if(!t)return;const l=t.getBoundingClientRect(),c={x:32,y:32},v={x:o.clientX-l.left,y:o.clientY-l.top};if(x.isPointInEllipse(v,c,32,32)){const p=x.getAngle(c,{x:c.x,y:0},v);if(isNaN(p/Math.PI*180))return;let u=parseFloat((p/Math.PI*180).toFixed(2));u<0&&(u+=360),i.value=!0,a(u)}}function z(o){i.value&&d(o)}function m(){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",P,[e.createVNode(e.unref(s.ElIcon),{size:o.size},{default:e.withCtx(()=>[e.createVNode(V.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",k,[e.createElementVNode("div",{class:"hzzt-kfb-toolbox-rotate__btn margin-b-1",onClick:t[0]||(t[0]=l=>a(0))}),e.createElementVNode("div",w,[e.createElementVNode("div",{class:"hzzt-kfb-toolbox-rotate__btn margin-r-1",onClick:t[1]||(t[1]=l=>a(270))}),e.createElementVNode("div",h,[e.createElementVNode("div",{class:"hzzt-kfb-toolbox-rotate__img",style:e.normalizeStyle({transform:`rotate(${r.value}deg)`}),onMousedown:d,onMousemove:z,onMouseup:m,onMouseleave:m},[e.createVNode(N.default)],36)]),e.createElementVNode("div",{class:"hzzt-kfb-toolbox-rotate__btn margin-l-1",onClick:t[2]||(t[2]=l=>a(90))})]),e.createElementVNode("div",{class:"hzzt-kfb-toolbox-rotate__btn margin-t-1",onClick:t[3]||(t[3]=l=>a(180))})]),e.createElementVNode("div",y,[e.createVNode(e.unref(s.ElInputNumber),{modelValue:r.value,"onUpdate:modelValue":t[4]||(t[4]=l=>r.value=l),min:0,max:360,step:5,onChange:t[5]||(t[5]=l=>a(r.value))},null,8,["modelValue"])])])]),_:1})]),_:1}))}}),M=C._export_sfc(q,[["__scopeId","data-v-23fd8f31"]]);exports.default=M;
|
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as C, mergeDefaults as y, inject as h, ref as g, watch as w, createBlock as V, openBlock as P, unref as i, withCtx as c, createVNode as r, createElementVNode as o, normalizeStyle as E, normalizeClass as I, toDisplayString as M } from "vue";
|
|
2
2
|
import { isPointInEllipse as $, getAngle as F } from "kfb-view";
|
|
3
|
-
import { u as N, d as B } from "./
|
|
3
|
+
import { u as N, d as B } from "./useCommonSF_YB4y_.js";
|
|
4
4
|
import { ElPopover as D, ElCard as R, ElInputNumber as S, ElIcon as j } from "element-plus";
|
|
5
|
-
import A from "./
|
|
6
|
-
import q from "./
|
|
7
|
-
import { _ as T } from "./
|
|
8
|
-
const U = { class: "flex align-items-center" }, X = { class: "flex column align-items-center flex-1" }, Y = { class: "flex justify-content-center align-items-center" }, G = { class: "hzzt-kfb-toolbox-rotate__container" }, H = { class: "hzzt-kfb-toolbox-rotate__angle" }, J = { class: "hzzt-kfb-toolbox__icon" }, K = /* @__PURE__ */
|
|
5
|
+
import A from "./rotateDZ2LcDRk.js";
|
|
6
|
+
import q from "./arrowCircleDN2Qevn_.js";
|
|
7
|
+
import { _ as T } from "./indexBMt2qfwG.js";
|
|
8
|
+
const U = { class: "flex align-items-center" }, X = { class: "flex column align-items-center flex-1" }, Y = { class: "flex justify-content-center align-items-center" }, G = { class: "hzzt-kfb-toolbox-rotate__container" }, H = { class: "hzzt-kfb-toolbox-rotate__angle" }, J = { class: "hzzt-kfb-toolbox__icon" }, K = /* @__PURE__ */ C({
|
|
9
9
|
name: "ToolRotate",
|
|
10
10
|
__name: "rotate",
|
|
11
|
-
props: /* @__PURE__ */
|
|
11
|
+
props: /* @__PURE__ */ y({
|
|
12
12
|
size: {},
|
|
13
13
|
text: {},
|
|
14
14
|
name: {},
|
|
15
15
|
component: {},
|
|
16
16
|
isPrevent: { type: Boolean },
|
|
17
|
-
callback: { type: Function }
|
|
17
|
+
callback: { type: Function },
|
|
18
|
+
options: {}
|
|
18
19
|
}, B),
|
|
19
20
|
setup(L) {
|
|
20
21
|
var v;
|
|
@@ -125,7 +126,7 @@ const U = { class: "flex align-items-center" }, X = { class: "flex column align-
|
|
|
125
126
|
_: 1
|
|
126
127
|
}));
|
|
127
128
|
}
|
|
128
|
-
}), nt = /* @__PURE__ */ T(K, [["__scopeId", "data-v-
|
|
129
|
+
}), nt = /* @__PURE__ */ T(K, [["__scopeId", "data-v-23fd8f31"]]);
|
|
129
130
|
export {
|
|
130
131
|
nt as default
|
|
131
132
|
};
|
|
@@ -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 "./useCommonSF_YB4y_.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 "./settingDCw5DNWc.js";
|
|
5
|
+
import { _ as B } from "./indexBMt2qfwG.js";
|
|
6
6
|
const I = { class: "hzzt-kfb-toolbox__icon" }, P = /* @__PURE__ */ x({
|
|
7
7
|
name: "ToolSetting",
|
|
8
8
|
__name: "setting",
|
|
@@ -12,7 +12,8 @@ const I = { class: "hzzt-kfb-toolbox__icon" }, P = /* @__PURE__ */ x({
|
|
|
12
12
|
name: {},
|
|
13
13
|
component: {},
|
|
14
14
|
isPrevent: { type: Boolean },
|
|
15
|
-
callback: { type: Function }
|
|
15
|
+
callback: { type: Function },
|
|
16
|
+
options: {}
|
|
16
17
|
}, w),
|
|
17
18
|
emits: ["tool"],
|
|
18
19
|
setup(D, { emit: p }) {
|
|
@@ -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("./indexCIVMES3X.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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),d=require("./useCommonDOhNsd5o.js"),r=require("element-plus"),m=require("./settingDx9NClvs.js"),v=require("./indexCIVMES3X.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},options:{}},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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./indexCIVMES3X.js"),r={},o={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function l(L,t){return e.openBlock(),e.createElementBlock("svg",o,t[0]||(t[0]=[e.createElementVNode("g",null,[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.1529 4.44025C10.8361 2.79767 13.1631 2.79767 13.8463 4.44025L14.7047 6.50373C14.9927 7.19608 15.6447 7.66939 16.3922 7.72931L18.6197 7.90705C20.3929 8.04936 21.1114 10.2624 19.7603 11.4197L18.0631 12.8738C17.4936 13.3618 17.2455 14.1278 17.4195 14.8572L17.9381 17.0311C18.3505 18.7613 16.4679 20.1291 14.9498 19.202L13.0426 18.0369C12.4025 17.646 11.5976 17.646 10.9576 18.0369L9.05037 19.202C7.53225 20.1292 5.64957 18.7614 6.06209 17.0311L6.58065 14.8572C6.75466 14.1277 6.50569 13.3617 5.93611 12.8738L4.23885 11.4197C2.88828 10.2623 3.60732 8.04922 5.38045 7.90705L7.60799 7.72931C8.35551 7.66939 9.00744 7.19611 9.29549 6.50373L10.1529 4.44025ZM12.9234 5.21955C12.5817 4.39867 11.4185 4.3987 11.0767 5.21955L9.85408 8.15998C9.71 8.50601 9.38399 8.74233 9.01033 8.77228L5.83748 9.02717C4.95088 9.09824 4.59083 10.2043 5.26619 10.783L7.68416 12.8543C7.96892 13.0982 8.09339 13.4808 8.00643 13.8455L7.26815 16.9422C7.0618 17.8073 8.00228 18.4913 8.76131 18.0281L11.4791 16.368C11.7989 16.1728 12.2012 16.1728 12.5211 16.368L15.2379 18.0281C15.997 18.4918 16.9384 17.8074 16.732 16.9422L15.9937 13.8455C15.9068 13.4808 16.0312 13.0983 16.316 12.8543L18.734 10.783C19.4092 10.2043 19.0492 9.09824 18.1627 9.02717L14.9898 8.77228C14.6162 8.74233 14.2902 8.50598 14.1461 8.15998L12.9234 5.21955Z",fill:"currentColor"})],-1)]))}const C=n._export_sfc(r,[["render",l]]);exports.default=C;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { createElementBlock as o, openBlock as r, createElementVNode as t } from "vue";
|
|
2
|
+
import { _ as C } from "./indexBMt2qfwG.js";
|
|
3
|
+
const L = {}, n = {
|
|
4
|
+
width: "24",
|
|
5
|
+
height: "24",
|
|
6
|
+
viewBox: "0 0 24 24",
|
|
7
|
+
fill: "none",
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
9
|
+
};
|
|
10
|
+
function l(s, e) {
|
|
11
|
+
return r(), o("svg", n, e[0] || (e[0] = [
|
|
12
|
+
t("g", null, [
|
|
13
|
+
t("path", {
|
|
14
|
+
"fill-rule": "evenodd",
|
|
15
|
+
"clip-rule": "evenodd",
|
|
16
|
+
d: "M10.1529 4.44025C10.8361 2.79767 13.1631 2.79767 13.8463 4.44025L14.7047 6.50373C14.9927 7.19608 15.6447 7.66939 16.3922 7.72931L18.6197 7.90705C20.3929 8.04936 21.1114 10.2624 19.7603 11.4197L18.0631 12.8738C17.4936 13.3618 17.2455 14.1278 17.4195 14.8572L17.9381 17.0311C18.3505 18.7613 16.4679 20.1291 14.9498 19.202L13.0426 18.0369C12.4025 17.646 11.5976 17.646 10.9576 18.0369L9.05037 19.202C7.53225 20.1292 5.64957 18.7614 6.06209 17.0311L6.58065 14.8572C6.75466 14.1277 6.50569 13.3617 5.93611 12.8738L4.23885 11.4197C2.88828 10.2623 3.60732 8.04922 5.38045 7.90705L7.60799 7.72931C8.35551 7.66939 9.00744 7.19611 9.29549 6.50373L10.1529 4.44025ZM12.9234 5.21955C12.5817 4.39867 11.4185 4.3987 11.0767 5.21955L9.85408 8.15998C9.71 8.50601 9.38399 8.74233 9.01033 8.77228L5.83748 9.02717C4.95088 9.09824 4.59083 10.2043 5.26619 10.783L7.68416 12.8543C7.96892 13.0982 8.09339 13.4808 8.00643 13.8455L7.26815 16.9422C7.0618 17.8073 8.00228 18.4913 8.76131 18.0281L11.4791 16.368C11.7989 16.1728 12.2012 16.1728 12.5211 16.368L15.2379 18.0281C15.997 18.4918 16.9384 17.8074 16.732 16.9422L15.9937 13.8455C15.9068 13.4808 16.0312 13.0983 16.316 12.8543L18.734 10.783C19.4092 10.2043 19.0492 9.09824 18.1627 9.02717L14.9898 8.77228C14.6162 8.74233 14.2902 8.50598 14.1461 8.15998L12.9234 5.21955Z",
|
|
17
|
+
fill: "currentColor"
|
|
18
|
+
})
|
|
19
|
+
], -1)
|
|
20
|
+
]));
|
|
21
|
+
}
|
|
22
|
+
const d = /* @__PURE__ */ C(L, [["render", l]]);
|
|
23
|
+
export {
|
|
24
|
+
d as default
|
|
25
|
+
};
|
|
@@ -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("./indexCIVMES3X.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("./indexCIVMES3X.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;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { createElementBlock as o, openBlock as r, createElementVNode as t } from "vue";
|
|
2
|
+
import { _ as c } from "./indexBMt2qfwG.js";
|
|
3
|
+
const n = {}, l = {
|
|
4
|
+
viewBox: "0 0 1024 1024",
|
|
5
|
+
version: "1.1",
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: "200",
|
|
8
|
+
height: "200"
|
|
9
|
+
};
|
|
10
|
+
function s(i, e) {
|
|
11
|
+
return r(), o("svg", l, e[0] || (e[0] = [
|
|
12
|
+
t("path", {
|
|
13
|
+
d: "M515.041727 670.617766c91.584167 0 166.095647-74.504255 166.095647-166.095646V229.350568c0-91.584167-74.51148-166.095647-166.095647-166.095647-91.598617 0-166.102872 74.51148-166.102871 166.095647V504.52212c0 91.591392 74.504255 166.095647 166.102871 166.095646z",
|
|
14
|
+
fill: "currentColor"
|
|
15
|
+
}, null, -1),
|
|
16
|
+
t("path", {
|
|
17
|
+
d: "M801.643237 874.001665H558.391759v-45.423608c161.507768-21.313766 286.60151-159.788217 286.60151-327.01819a43.350032 43.350032 0 0 0-86.700064 0c0 134.124998-109.12648 243.251478-243.258703 243.251479-134.124998 0-243.244253-109.12648-243.244253-243.251479a43.350032 43.350032 0 0 0-86.700063 0c0 167.229972 125.100967 305.711649 286.601509 327.01819v45.423608H228.440217a43.350032 43.350032 0 0 0 0 86.700064h573.20302a43.350032 43.350032 0 0 0 0-86.700064z",
|
|
18
|
+
fill: "currentColor"
|
|
19
|
+
}, null, -1)
|
|
20
|
+
]));
|
|
21
|
+
}
|
|
22
|
+
const _ = /* @__PURE__ */ c(n, [["render", s]]);
|
|
23
|
+
export {
|
|
24
|
+
_ as default
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./indexCIVMES3X.js"),o={},c={viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"200",height:"200"};function n(i,t){return e.openBlock(),e.createElementBlock("svg",c,t[0]||(t[0]=[e.createElementVNode("path",{d:"M515.041727 670.617766c91.584167 0 166.095647-74.504255 166.095647-166.095646V229.350568c0-91.584167-74.51148-166.095647-166.095647-166.095647-91.598617 0-166.102872 74.51148-166.102871 166.095647V504.52212c0 91.591392 74.504255 166.095647 166.102871 166.095646z",fill:"currentColor"},null,-1),e.createElementVNode("path",{d:"M801.643237 874.001665H558.391759v-45.423608c161.507768-21.313766 286.60151-159.788217 286.60151-327.01819a43.350032 43.350032 0 0 0-86.700064 0c0 134.124998-109.12648 243.251478-243.258703 243.251479-134.124998 0-243.244253-109.12648-243.244253-243.251479a43.350032 43.350032 0 0 0-86.700063 0c0 167.229972 125.100967 305.711649 286.601509 327.01819v45.423608H228.440217a43.350032 43.350032 0 0 0 0 86.700064h573.20302a43.350032 43.350032 0 0 0 0-86.700064z",fill:"currentColor"},null,-1)]))}const l=r._export_sfc(o,[["render",n]]);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 f, renderList as k, 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 "./indexBMt2qfwG.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",
|
|
@@ -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("./indexCIVMES3X.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("./indexCIVMES3X.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 +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("./indexCIVMES3X.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 c;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(`${((c=t==null?void 0:t.value)==null?void 0:c.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 s(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=>s(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=>s(Number(n.value.replace("x",""))),["enter"]))},null,8,["modelValue"])])]))}}),g=_._export_sfc(x,[["__scopeId","data-v-af758f1f"]]);exports.default=g;
|
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/indexCIVMES3X.js");exports.HzztKfbSlide=e._sfc_main$1;exports.HzztKfbToolbox=e._sfc_main$3;exports.HzztKfbView=e._sfc_main$2;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;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;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;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-25dae76d]{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-25dae76d]{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-25dae76d]{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-25dae76d]{color:var(--el-color-primary)}.hzzt-kfb-slides__box[data-v-25dae76d]{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-25dae76d]{border:2px solid #366EF4}.hzzt-kfb-slides__gallery[data-v-25dae76d]{display:flex;position:relative;overflow:hidden;border-radius:4px}.hzzt-kfb-slides__img[data-v-25dae76d]{width:100px;max-height:100px}.hzzt-kfb-slides__img1[data-v-25dae76d]{max-height:100px}.hzzt-kfb-slides__read[data-v-25dae76d]{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-25dae76d]{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-25dae76d]{display:flex;align-items:center;height:30px}.hzzt-kfb-slides__text[data-v-25dae76d]{width:100%}.hzzt-kfb-slides .w-10\%[data-v-25dae76d]{width:10%}.hzzt-kfb-slides .w-20\%[data-v-25dae76d]{width:20%}.hzzt-kfb-slides .w-30\%[data-v-25dae76d]{width:30%}.hzzt-kfb-slides .w-40\%[data-v-25dae76d]{width:40%}.hzzt-kfb-slides .text-center[data-v-25dae76d]{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-0141cae6],.el-card[data-v-ca4687d6]{border:none;--el-card-padding: 12px}.hzzt-kfb-toolbox-dot__box[data-v-ca4687d6]{width:24px;height:24px;border-radius:4px;margin:0 4px;cursor:pointer}.hzzt-kfb-toolbox-dot__box[data-v-ca4687d6]: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-af758f1f]{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;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-414722d0]{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-414722d0]{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-414722d0]:hover{background:var(--el-color-info-light-8)}.hzzt-kfb-menu .hzzt-kfb-menu-item:hover .hzzt-kfb-sub-menu[data-v-414722d0]{display:block}.hzzt-kfb-menu .hzzt-kfb-menu-item .hzzt-kfb-sub-menu[data-v-414722d0]{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-414722d0],.hzzt-kfb-menu[data-v-414722d0] .el-cascader-menu{min-width:auto}.hzzt-kfb-menu[data-v-414722d0] .el-cascader-menu .el-cascader-node__label{display:flex;align-items:center;padding:0 16px 0 8px}.hzzt-kfb-menu[data-v-414722d0] .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-annotation[data-v-bfc56a3e]{position:absolute;top:4px;right:4px;background:#fffc;box-shadow:0 0 8px #dbdbdb33;border:1px solid rgba(255,255,255,.8);overflow:hidden;width:40px;height:40px;border-radius:50%;align-items:center;justify-content:center;transition:width .2s linear}.hzzt-kfb-annotation.hzzt-kfb-annotation--expand[data-v-bfc56a3e]{align-items:inherit;justify-content:inherit;height:auto;width:160px;bottom:20%;border-radius:8px;padding:8px 12px}.hzzt-kfb-title[data-v-bfc56a3e]{display:flex;align-items:center;font-size:14px;line-height:22px;font-weight:700}.hzzt-kfb-title[data-v-bfc56a3e]:before{display:block;content:" ";background:var(--el-color-primary);width:2px;height:12px;margin-right:4px}.hzzt-kfb-annotation__icon[data-v-bfc56a3e]{cursor:pointer}.hzzt-kfb-annotation__container[data-v-bfc56a3e]{display:flex;flex-direction:column;grid-column-gap:8px;overflow-y:auto}.hzzt-kfb-annotation__item[data-v-bfc56a3e]{display:flex;align-items:center;border-radius:6px;padding:4px;font-size:14px;line-height:22px;cursor:pointer}.hzzt-kfb-annotation__item.hzzt-kfb-annotation__item--active[data-v-bfc56a3e],.hzzt-kfb-annotation__item[data-v-bfc56a3e]:hover{background:var(--el-color-primary-light-7)}.hzzt-kfb-annotation__item .el-icon[data-v-bfc56a3e]{margin:0 4px}.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;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;user-select:none}.hzzt-kfb-view__tag{position:absolute;right:8px;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-d3cde57c]{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-d3cde57c]{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-d3cde57c]{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-d3cde57c]{color:var(--el-color-primary)}.hzzt-kfb-slides__box[data-v-d3cde57c]{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-d3cde57c]{border:2px solid #366EF4}.hzzt-kfb-slides__gallery[data-v-d3cde57c]{display:flex;position:relative;overflow:hidden;border-radius:4px}.hzzt-kfb-slides__img[data-v-d3cde57c]{width:100px;max-height:100px}.hzzt-kfb-slides__img1[data-v-d3cde57c]{max-height:100px}.hzzt-kfb-slides__read[data-v-d3cde57c]{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-d3cde57c]{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-d3cde57c]{display:flex;align-items:center;height:30px}.hzzt-kfb-slides__text[data-v-d3cde57c]{width:100%}.hzzt-kfb-slides .w-10\%[data-v-d3cde57c]{width:10%}.hzzt-kfb-slides .w-20\%[data-v-d3cde57c]{width:20%}.hzzt-kfb-slides .w-30\%[data-v-d3cde57c]{width:30%}.hzzt-kfb-slides .w-40\%[data-v-d3cde57c]{width:40%}.hzzt-kfb-slides .text-center[data-v-d3cde57c]{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-23fd8f31],.el-card[data-v-ca4687d6]{border:none;--el-card-padding: 12px}.hzzt-kfb-toolbox-dot__box[data-v-ca4687d6]{width:24px;height:24px;border-radius:4px;margin:0 4px;cursor:pointer}.hzzt-kfb-toolbox-dot__box[data-v-ca4687d6]:hover{opacity:.8}.hzzt-kfb-toolbox-annotate-icon[data-v-c599cd1a]{cursor:pointer;display:flex;justify-content:center;align-items:center;padding:8px}.hzzt-kfb-toolbox-annotate-icon[data-v-c599cd1a]:hover{background:#84b5ff}.el-card[data-v-c599cd1a],.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-af758f1f]{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 {
|
|
1
|
+
import { c as e, e as f, d as o, i as t } from "./components/indexBMt2qfwG.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
e as HzztKfbSlide,
|
|
4
|
+
f as HzztKfbToolbox,
|
|
5
|
+
o as HzztKfbView,
|
|
6
|
+
t as default
|
|
7
7
|
};
|
package/package.json
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Label } from "@/components/KfbView/index.ts";
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
annotation?: Label;
|
|
4
|
+
annotations: Label[];
|
|
5
|
+
};
|
|
6
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
7
|
+
'expand'?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
"update:expand": (value: boolean | undefined) => any;
|
|
11
|
+
} & {
|
|
12
|
+
select: (label: Label) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
|
+
onSelect?: ((label: Label) => any) | undefined;
|
|
15
|
+
"onUpdate:expand"?: ((value: boolean | undefined) => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
export default _default;
|
|
@@ -10,9 +10,9 @@ declare function updateGraduation(options: any): void;
|
|
|
10
10
|
declare function updateNavigator(flag: any): void;
|
|
11
11
|
declare function zoomTo(zoom: any): void;
|
|
12
12
|
declare function jumpToPosition(region: Rect, zoom: any): void;
|
|
13
|
-
declare var
|
|
13
|
+
declare var __VLS_144: {};
|
|
14
14
|
type __VLS_Slots = {} & {
|
|
15
|
-
default?: (props: typeof
|
|
15
|
+
default?: (props: typeof __VLS_144) => any;
|
|
16
16
|
};
|
|
17
17
|
declare const __VLS_component: import("vue").DefineComponent<KfbProps, {
|
|
18
18
|
kfbView: Ref<{
|
|
@@ -83,6 +83,87 @@ export declare function useLabel(props: KfbProps, emit: Emits, kfbView: Ref<KfbV
|
|
|
83
83
|
__other__: any;
|
|
84
84
|
__data__: any;
|
|
85
85
|
} | undefined>;
|
|
86
|
+
localLabelList: 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
|
+
}[], 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;
|
|
166
|
+
}[]>;
|
|
86
167
|
initLabel: () => void;
|
|
87
168
|
jumpToLabel: (label: Label, zoom?: number) => void;
|
|
88
169
|
reloadLabelList: () => void;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./indexBkFttmTs.js"),c=require("./useCommonBD90FQd0.js"),o=require("element-plus"),_=require("./annotateR7c0LCw2.js"),v=["onClick"],x=["src","alt"],C=e.defineComponent({name:"ToolAnnotate",__name:"annotate",props:e.mergeDefaults({size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function}},c.defaultProps),emits:["tool"],setup(b,{emit:i}){const u=i,{t:l,textClass:d}=c.useCommon(),s={line:t.line,arrow:t.arrow,bilateral:t.bilateral,rectangle:t.rectangle,ellipse:t.ellipse,polygon:t.polygon,star:t.star,flag:t.flag,dot:t.dot,font:t.font,voice:t.voice},f=Object.keys(s).map(n=>({name:n,src:s[n]})),a=e.ref(!1);function p(n){a.value=!1,u("tool","annotate",{tool:n.substring(0,1).toLocaleUpperCase()+n.substring(1)})}function m(){a.value=!a.value}return(n,y)=>(e.openBlock(),e.createBlock(e.unref(o.ElPopover),{visible:a.value,"popper-class":"el-popover-padding-0",placement:"bottom",width:"220px",trigger:"click"},{reference:e.withCtx(()=>[e.createElementVNode("div",{class:"hzzt-kfb-toolbox__icon",onClick:m},[e.createVNode(e.unref(o.ElIcon),{size:n.size},{default:e.withCtx(()=>[e.createVNode(_.default)]),_:1},8,["size"]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(d))},e.toDisplayString(e.unref(l)(n.text||"标注")),3)])]),default:e.withCtx(()=>[e.createVNode(e.unref(o.ElCard),{shadow:"never",header:e.unref(l)("标注工具"),"body-style":{padding:"8px"}},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(e.unref(o.ElText),{type:"danger"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)("按ESC可退出标注模式")),1)]),_:1})]),e.createElementVNode("div",null,[e.createVNode(e.unref(o.ElText),{type:"danger"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)("点击标注按Delete键可删除标注")),1)]),_:1})]),e.createVNode(e.unref(o.ElRow),null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(f),(r,g)=>(e.openBlock(),e.createBlock(e.unref(o.ElCol),{key:g,class:"flex justify-content-center align-items-center",span:8},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"hzzt-kfb-toolbox-annotate-img",onClick:E=>p(r.name)},[e.createElementVNode("img",{style:{width:"100%"},src:r.src,alt:r.name},null,8,x)],8,v)]),_:2},1024))),128))]),_:1})]),_:1},8,["header"])]),_:1},8,["visible"]))}}),h=t._export_sfc(C,[["__scopeId","data-v-71f2944f"]]);exports.default=h;
|